1217 lines
1.9 MiB
Generated
1217 lines
1.9 MiB
Generated
var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>uq(e,typeof t!="symbol"?t+"":t,n);function cq(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).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 ff=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dq(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var $h={exports:{}},Zl={};/**
|
||
* @license React
|
||
* react-jsx-runtime.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var WC;function fq(){if(WC)return Zl;WC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var l in a)l!=="key"&&(o[l]=a[l])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Zl.Fragment=t,Zl.jsx=n,Zl.jsxs=n,Zl}var YC;function pq(){return YC||(YC=1,$h.exports=fq()),$h.exports}var w=pq(),qh={exports:{}},it={};/**
|
||
* @license React
|
||
* react.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var KC;function gq(){if(KC)return it;KC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function m(D){return D===null||typeof D!="object"?null:(D=g&&D[g]||D["@@iterator"],typeof D=="function"?D:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,S={};function k(D,V,B){this.props=D,this.context=V,this.refs=S,this.updater=B||b}k.prototype.isReactComponent={},k.prototype.setState=function(D,V){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,V,"setState")},k.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function R(){}R.prototype=k.prototype;function x(D,V,B){this.props=D,this.context=V,this.refs=S,this.updater=B||b}var A=x.prototype=new R;A.constructor=x,y(A,k.prototype),A.isPureReactComponent=!0;var N=Array.isArray,O={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function _(D,V,B,M,K,ee){return B=ee.ref,{$$typeof:e,type:D,key:V,ref:B!==void 0?B:null,props:ee}}function P(D,V){return _(D.type,V,void 0,void 0,void 0,D.props)}function I(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function L(D){var V={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(B){return V[B]})}var H=/\/+/g;function $(D,V){return typeof D=="object"&&D!==null&&D.key!=null?L(""+D.key):V.toString(36)}function U(){}function W(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(U,U):(D.status="pending",D.then(function(V){D.status==="pending"&&(D.status="fulfilled",D.value=V)},function(V){D.status==="pending"&&(D.status="rejected",D.reason=V)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function Z(D,V,B,M,K){var ee=typeof D;(ee==="undefined"||ee==="boolean")&&(D=null);var Q=!1;if(D===null)Q=!0;else switch(ee){case"bigint":case"string":case"number":Q=!0;break;case"object":switch(D.$$typeof){case e:case t:Q=!0;break;case p:return Q=D._init,Z(Q(D._payload),V,B,M,K)}}if(Q)return K=K(D),Q=M===""?"."+$(D,0):M,N(K)?(B="",Q!=null&&(B=Q.replace(H,"$&/")+"/"),Z(K,V,B,"",function(ke){return ke})):K!=null&&(I(K)&&(K=P(K,B+(K.key==null||D&&D.key===K.key?"":(""+K.key).replace(H,"$&/")+"/")+Q)),V.push(K)),1;Q=0;var J=M===""?".":M+":";if(N(D))for(var ae=0;ae<D.length;ae++)M=D[ae],ee=J+$(M,ae),Q+=Z(M,V,B,ee,K);else if(ae=m(D),typeof ae=="function")for(D=ae.call(D),ae=0;!(M=D.next()).done;)M=M.value,ee=J+$(M,ae++),Q+=Z(M,V,B,ee,K);else if(ee==="object"){if(typeof D.then=="function")return Z(W(D),V,B,M,K);throw V=String(D),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return Q}function j(D,V,B){if(D==null)return D;var M=[],K=0;return Z(D,M,"","",function(ee){return V.call(B,ee,K++)}),M}function G(D){if(D._status===-1){var V=D._result;V=V(),V.then(function(B){(D._status===0||D._status===-1)&&(D._status=1,D._result=B)},function(B){(D._status===0||D._status===-1)&&(D._status=2,D._result=B)}),D._status===-1&&(D._status=0,D._result=V)}if(D._status===1)return D._result.default;throw D._result}var z=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)};function Y(){}return it.Children={map:j,forEach:function(D,V,B){j(D,function(){V.apply(this,arguments)},B)},count:function(D){var V=0;return j(D,function(){V++}),V},toArray:function(D){return j(D,function(V){return V})||[]},only:function(D){if(!I(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},it.Component=k,it.Fragment=n,it.Profiler=a,it.PureComponent=x,it.StrictMode=r,it.Suspense=c,it.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,it.act=function(){throw Error("act(...) is not supported in production builds of React.")},it.cache=function(D){return function(){return D.apply(null,arguments)}},it.cloneElement=function(D,V,B){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var M=y({},D.props),K=D.key,ee=void 0;if(V!=null)for(Q in V.ref!==void 0&&(ee=void 0),V.key!==void 0&&(K=""+V.key),V)!C.call(V,Q)||Q==="key"||Q==="__self"||Q==="__source"||Q==="ref"&&V.ref===void 0||(M[Q]=V[Q]);var Q=arguments.length-2;if(Q===1)M.children=B;else if(1<Q){for(var J=Array(Q),ae=0;ae<Q;ae++)J[ae]=arguments[ae+2];M.children=J}return _(D.type,K,void 0,void 0,ee,M)},it.createContext=function(D){return D={$$typeof:s,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:o,_context:D},D},it.createElement=function(D,V,B){var M,K={},ee=null;if(V!=null)for(M in V.key!==void 0&&(ee=""+V.key),V)C.call(V,M)&&M!=="key"&&M!=="__self"&&M!=="__source"&&(K[M]=V[M]);var Q=arguments.length-2;if(Q===1)K.children=B;else if(1<Q){for(var J=Array(Q),ae=0;ae<Q;ae++)J[ae]=arguments[ae+2];K.children=J}if(D&&D.defaultProps)for(M in Q=D.defaultProps,Q)K[M]===void 0&&(K[M]=Q[M]);return _(D,ee,void 0,void 0,null,K)},it.createRef=function(){return{current:null}},it.forwardRef=function(D){return{$$typeof:l,render:D}},it.isValidElement=I,it.lazy=function(D){return{$$typeof:p,_payload:{_status:-1,_result:D},_init:G}},it.memo=function(D,V){return{$$typeof:d,type:D,compare:V===void 0?null:V}},it.startTransition=function(D){var V=O.T,B={};O.T=B;try{var M=D(),K=O.S;K!==null&&K(B,M),typeof M=="object"&&M!==null&&typeof M.then=="function"&&M.then(Y,z)}catch(ee){z(ee)}finally{O.T=V}},it.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},it.use=function(D){return O.H.use(D)},it.useActionState=function(D,V,B){return O.H.useActionState(D,V,B)},it.useCallback=function(D,V){return O.H.useCallback(D,V)},it.useContext=function(D){return O.H.useContext(D)},it.useDebugValue=function(){},it.useDeferredValue=function(D,V){return O.H.useDeferredValue(D,V)},it.useEffect=function(D,V){return O.H.useEffect(D,V)},it.useId=function(){return O.H.useId()},it.useImperativeHandle=function(D,V,B){return O.H.useImperativeHandle(D,V,B)},it.useInsertionEffect=function(D,V){return O.H.useInsertionEffect(D,V)},it.useLayoutEffect=function(D,V){return O.H.useLayoutEffect(D,V)},it.useMemo=function(D,V){return O.H.useMemo(D,V)},it.useOptimistic=function(D,V){return O.H.useOptimistic(D,V)},it.useReducer=function(D,V,B){return O.H.useReducer(D,V,B)},it.useRef=function(D){return O.H.useRef(D)},it.useState=function(D){return O.H.useState(D)},it.useSyncExternalStore=function(D,V,B){return O.H.useSyncExternalStore(D,V,B)},it.useTransition=function(){return O.H.useTransition()},it.version="19.0.0",it}var XC;function qf(){return XC||(XC=1,qh.exports=gq()),qh.exports}var E=qf();const ye=cn(E),hq=cq({__proto__:null,default:ye},[E]);var Vh={exports:{}},Ql={},Wh={exports:{}},Yh={};/**
|
||
* @license React
|
||
* scheduler.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var ZC;function mq(){return ZC||(ZC=1,function(e){function t(j,G){var z=j.length;j.push(G);e:for(;0<z;){var Y=z-1>>>1,D=j[Y];if(0<a(D,G))j[Y]=G,j[z]=D,z=Y;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var G=j[0],z=j.pop();if(z!==G){j[0]=z;e:for(var Y=0,D=j.length,V=D>>>1;Y<V;){var B=2*(Y+1)-1,M=j[B],K=B+1,ee=j[K];if(0>a(M,z))K<D&&0>a(ee,M)?(j[Y]=ee,j[K]=z,Y=K):(j[Y]=M,j[B]=z,Y=B);else if(K<D&&0>a(ee,z))j[Y]=ee,j[K]=z,Y=K;else break e}}return G}function a(j,G){var z=j.sortIndex-G.sortIndex;return z!==0?z:j.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function A(j){for(var G=n(d);G!==null;){if(G.callback===null)r(d);else if(G.startTime<=j)r(d),G.sortIndex=G.expirationTime,t(c,G);else break;G=n(d)}}function N(j){if(S=!1,A(j),!y)if(n(c)!==null)y=!0,W();else{var G=n(d);G!==null&&Z(N,G.startTime-j)}}var O=!1,C=-1,_=5,P=-1;function I(){return!(e.unstable_now()-P<_)}function L(){if(O){var j=e.unstable_now();P=j;var G=!0;try{e:{y=!1,S&&(S=!1,R(C),C=-1),b=!0;var z=m;try{t:{for(A(j),g=n(c);g!==null&&!(g.expirationTime>j&&I());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var D=Y(g.expirationTime<=j);if(j=e.unstable_now(),typeof D=="function"){g.callback=D,A(j),G=!0;break t}g===n(c)&&r(c),A(j)}else r(c);g=n(c)}if(g!==null)G=!0;else{var V=n(d);V!==null&&Z(N,V.startTime-j),G=!1}}break e}finally{g=null,m=z,b=!1}G=void 0}}finally{G?H():O=!1}}}var H;if(typeof x=="function")H=function(){x(L)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=L,H=function(){U.postMessage(null)}}else H=function(){k(L,0)};function W(){O||(O=!0,H())}function Z(j,G){C=k(function(){j(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(j){switch(m){case 1:case 2:case 3:var G=3;break;default:G=m}var z=m;m=G;try{return j()}finally{m=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,G){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var z=m;m=j;try{return G()}finally{m=z}},e.unstable_scheduleCallback=function(j,G,z){var Y=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?Y+z:Y):z=Y,j){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=z+D,j={id:p++,callback:G,priorityLevel:j,startTime:z,expirationTime:D,sortIndex:-1},z>Y?(j.sortIndex=z,t(d,j),n(c)===null&&j===n(d)&&(S?(R(C),C=-1):S=!0,Z(N,z-Y))):(j.sortIndex=D,t(c,j),y||b||(y=!0,W())),j},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(j){var G=m;return function(){var z=m;m=G;try{return j.apply(this,arguments)}finally{m=z}}}}(Yh)),Yh}var QC;function bq(){return QC||(QC=1,Wh.exports=mq()),Wh.exports}var Kh={exports:{}},wn={};/**
|
||
* @license React
|
||
* react-dom.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var JC;function yq(){if(JC)return wn;JC=1;var e=qf();function t(c){var d="https://react.dev/errors/"+c;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+c+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(c,d,p){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:g==null?null:""+g,children:c,containerInfo:d,implementation:p}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(c,d){if(c==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return wn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,wn.createPortal=function(c,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return o(c,d,null,p)},wn.flushSync=function(c){var d=s.T,p=r.p;try{if(s.T=null,r.p=2,c)return c()}finally{s.T=d,r.p=p,r.d.f()}},wn.preconnect=function(c,d){typeof c=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,r.d.C(c,d))},wn.prefetchDNS=function(c){typeof c=="string"&&r.d.D(c)},wn.preinit=function(c,d){if(typeof c=="string"&&d&&typeof d.as=="string"){var p=d.as,g=l(p,d.crossOrigin),m=typeof d.integrity=="string"?d.integrity:void 0,b=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?r.d.S(c,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:g,integrity:m,fetchPriority:b}):p==="script"&&r.d.X(c,{crossOrigin:g,integrity:m,fetchPriority:b,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},wn.preinitModule=function(c,d){if(typeof c=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=l(d.as,d.crossOrigin);r.d.M(c,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&r.d.M(c)},wn.preload=function(c,d){if(typeof c=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,g=l(p,d.crossOrigin);r.d.L(c,p,{crossOrigin:g,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},wn.preloadModule=function(c,d){if(typeof c=="string")if(d){var p=l(d.as,d.crossOrigin);r.d.m(c,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else r.d.m(c)},wn.requestFormReset=function(c){r.d.r(c)},wn.unstable_batchedUpdates=function(c,d){return c(d)},wn.useFormState=function(c,d,p){return s.H.useFormState(c,d,p)},wn.useFormStatus=function(){return s.H.useHostTransitionStatus()},wn.version="19.0.0",wn}var e_;function Bz(){if(e_)return Kh.exports;e_=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kh.exports=yq(),Kh.exports}/**
|
||
* @license React
|
||
* react-dom-client.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var t_;function vq(){if(t_)return Ql;t_=1;var e=bq(),t=qf(),n=Bz();function r(i){var u="https://react.dev/errors/"+i;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)u+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+i+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}var o=Symbol.for("react.element"),s=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),m=Symbol.for("react.consumer"),b=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),N=Symbol.for("react.memo_cache_sentinel"),O=Symbol.iterator;function C(i){return i===null||typeof i!="object"?null:(i=O&&i[O]||i["@@iterator"],typeof i=="function"?i:null)}var _=Symbol.for("react.client.reference");function P(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===_?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case c:return"Fragment";case l:return"Portal";case p:return"Profiler";case d:return"StrictMode";case S:return"Suspense";case k:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case b:return(i.displayName||"Context")+".Provider";case m:return(i._context.displayName||"Context")+".Consumer";case y:var u=i.render;return i=i.displayName,i||(i=u.displayName||u.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case R:return u=i.displayName||null,u!==null?u:P(i.type)||"Memo";case x:u=i._payload,i=i._init;try{return P(i(u))}catch{}}return null}var I=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.assign,H,$;function U(i){if(H===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);H=u&&u[1]||"",$=-1<f.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<f.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+H+i+$}var W=!1;function Z(i,u){if(!i||W)return"";W=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(u){var Ae=function(){throw Error()};if(Object.defineProperty(Ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ae,[])}catch(ge){var de=ge}Reflect.construct(i,[],Ae)}else{try{Ae.call()}catch(ge){de=ge}i.call(Ae.prototype)}}else{try{throw Error()}catch(ge){de=ge}(Ae=i())&&typeof Ae.catch=="function"&&Ae.catch(function(){})}}catch(ge){if(ge&&de&&typeof ge.stack=="string")return[ge.stack,de.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var T=h.DetermineComponentFrameRoot(),F=T[0],q=T[1];if(F&&q){var X=F.split(`
|
||
`),oe=q.split(`
|
||
`);for(v=h=0;h<X.length&&!X[h].includes("DetermineComponentFrameRoot");)h++;for(;v<oe.length&&!oe[v].includes("DetermineComponentFrameRoot");)v++;if(h===X.length||v===oe.length)for(h=X.length-1,v=oe.length-1;1<=h&&0<=v&&X[h]!==oe[v];)v--;for(;1<=h&&0<=v;h--,v--)if(X[h]!==oe[v]){if(h!==1||v!==1)do if(h--,v--,0>v||X[h]!==oe[v]){var be=`
|
||
`+X[h].replace(" at new "," at ");return i.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",i.displayName)),be}while(1<=h&&0<=v);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?U(f):""}function j(i){switch(i.tag){case 26:case 27:case 5:return U(i.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 15:return i=Z(i.type,!1),i;case 11:return i=Z(i.type.render,!1),i;case 1:return i=Z(i.type,!0),i;default:return""}}function G(i){try{var u="";do u+=j(i),i=i.return;while(i);return u}catch(f){return`
|
||
Error generating stack: `+f.message+`
|
||
`+f.stack}}function z(i){var u=i,f=i;if(i.alternate)for(;u.return;)u=u.return;else{i=u;do u=i,u.flags&4098&&(f=u.return),i=u.return;while(i)}return u.tag===3?f:null}function Y(i){if(i.tag===13){var u=i.memoizedState;if(u===null&&(i=i.alternate,i!==null&&(u=i.memoizedState)),u!==null)return u.dehydrated}return null}function D(i){if(z(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=z(i),u===null)throw Error(r(188));return u!==i?null:i}for(var f=i,h=u;;){var v=f.return;if(v===null)break;var T=v.alternate;if(T===null){if(h=v.return,h!==null){f=h;continue}break}if(v.child===T.child){for(T=v.child;T;){if(T===f)return D(v),i;if(T===h)return D(v),u;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=v,h=T;else{for(var F=!1,q=v.child;q;){if(q===f){F=!0,f=v,h=T;break}if(q===h){F=!0,h=v,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=v;break}if(q===h){F=!0,h=T,f=v;break}q=q.sibling}if(!F)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i:u}function B(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i;for(i=i.child;i!==null;){if(u=B(i),u!==null)return u;i=i.sibling}return null}var M=Array.isArray,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Q=[],J=-1;function ae(i){return{current:i}}function ke(i){0>J||(i.current=Q[J],Q[J]=null,J--)}function ie(i,u){J++,Q[J]=i.current,i.current=u}var Se=ae(null),ve=ae(null),Ie=ae(null),Ce=ae(null);function Ee(i,u){switch(ie(Ie,u),ie(ve,i),ie(Se,null),i=u.nodeType,i){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?wC(u):0;break;default:if(i=i===8?u.parentNode:u,u=i.tagName,i=i.namespaceURI)i=wC(i),u=xC(i,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}ke(Se),ie(Se,u)}function te(){ke(Se),ke(ve),ke(Ie)}function fe(i){i.memoizedState!==null&&ie(Ce,i);var u=Se.current,f=xC(u,i.type);u!==f&&(ie(ve,i),ie(Se,f))}function Te(i){ve.current===i&&(ke(Se),ke(ve)),Ce.current===i&&(ke(Ce),Vl._currentValue=ee)}var me=Object.prototype.hasOwnProperty,we=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,he=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,yt=e.log,kt=e.unstable_setDisableYieldValue,ht=null,et=null;function Tt(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(ht,i,void 0,(i.current.flags&128)===128)}catch{}}function ot(i){if(typeof yt=="function"&&kt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(ht,i)}catch{}}var St=Math.clz32?Math.clz32:zt,Ht=Math.log,pn=Math.LN2;function zt(i){return i>>>=0,i===0?32:31-(Ht(i)/pn|0)|0}var or=128,$r=4194304;function Jt(i){var u=i&42;if(u!==0)return u;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function fa(i,u){var f=i.pendingLanes;if(f===0)return 0;var h=0,v=i.suspendedLanes,T=i.pingedLanes,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~v,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~v,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:u!==0&&u!==h&&!(u&v)&&(v=h&-h,F=u&-u,v>=F||v===32&&(F&4194176)!==0)?u:h}function Xe(i,u){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&u)===0}function mt(i,u){switch(i){case 1:case 2:case 4:case 8:return u+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _t(){var i=or;return or<<=1,!(or&4194176)&&(or=128),i}function In(){var i=$r;return $r<<=1,!($r&62914560)&&($r=4194304),i}function _n(i){for(var u=[],f=0;31>f;f++)u.push(i);return u}function Ln(i,u){i.pendingLanes|=u,u!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function pa(i,u,f,h,v,T){var F=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,X=i.expirationTimes,oe=i.hiddenUpdates;for(f=F&~f;0<f;){var be=31-St(f),Ae=1<<be;q[be]=0,X[be]=-1;var de=oe[be];if(de!==null)for(oe[be]=null,be=0;be<de.length;be++){var ge=de[be];ge!==null&&(ge.lane&=-536870913)}f&=~Ae}h!==0&&Mn(i,h,0),T!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=T&~(F&~u))}function Mn(i,u,f){i.pendingLanes|=u,i.suspendedLanes&=~u;var h=31-St(u);i.entangledLanes|=u,i.entanglements[h]=i.entanglements[h]|1073741824|f&4194218}function Rr(i,u){var f=i.entangledLanes|=u;for(i=i.entanglements;f;){var h=31-St(f),v=1<<h;v&u|i[h]&u&&(i[h]|=u),f&=~v}}function yA(i){return i&=-i,2<i?8<i?i&134217727?32:268435456:8:2}function vA(){var i=K.p;return i!==0?i:(i=window.event,i===void 0?32:jC(i.type))}function QH(i,u){var f=K.p;try{return K.p=i,u()}finally{K.p=f}}var Ka=Math.random().toString(36).slice(2),Sn="__reactFiber$"+Ka,Pn="__reactProps$"+Ka,Ci="__reactContainer$"+Ka,Up="__reactEvents$"+Ka,JH="__reactListeners$"+Ka,e$="__reactHandles$"+Ka,SA="__reactResources$"+Ka,al="__reactMarker$"+Ka;function jp(i){delete i[Sn],delete i[Pn],delete i[Up],delete i[JH],delete i[e$]}function Po(i){var u=i[Sn];if(u)return u;for(var f=i.parentNode;f;){if(u=f[Ci]||f[Sn]){if(f=u.alternate,u.child!==null||f!==null&&f.child!==null)for(i=AC(i);i!==null;){if(f=i[Sn])return f;i=AC(i)}return u}i=f,f=i.parentNode}return null}function _i(i){if(i=i[Sn]||i[Ci]){var u=i.tag;if(u===5||u===6||u===13||u===26||u===27||u===3)return i}return null}function ol(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i.stateNode;throw Error(r(33))}function Ni(i){var u=i[SA];return u||(u=i[SA]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function an(i){i[al]=!0}var EA=new Set,wA={};function Fo(i,u){Oi(i,u),Oi(i+"Capture",u)}function Oi(i,u){for(wA[i]=u,i=0;i<u.length;i++)EA.add(u[i])}var ga=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),t$=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),xA={},kA={};function n$(i){return me.call(kA,i)?!0:me.call(xA,i)?!1:t$.test(i)?kA[i]=!0:(xA[i]=!0,!1)}function lc(i,u,f){if(n$(u))if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(u);return;case"boolean":var h=u.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(u);return}}i.setAttribute(u,""+f)}}function uc(i,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttribute(u,""+f)}}function ha(i,u,f,h){if(h===null)i.removeAttribute(f);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(f);return}i.setAttributeNS(u,f,""+h)}}function ir(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function TA(i){var u=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function r$(i){var u=TA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,u),h=""+i[u];if(!i.hasOwnProperty(u)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,T=f.set;return Object.defineProperty(i,u,{configurable:!0,get:function(){return v.call(this)},set:function(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function cc(i){i._valueTracker||(i._valueTracker=r$(i))}function AA(i){if(!i)return!1;var u=i._valueTracker;if(!u)return!0;var f=u.getValue(),h="";return i&&(h=TA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(u.setValue(i),!0):!1}function dc(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var a$=/[\n"\\]/g;function sr(i){return i.replace(a$,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function Gp(i,u,f,h,v,T,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),u!=null?F==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+ir(u)):i.value!==""+ir(u)&&(i.value=""+ir(u)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),u!=null?Hp(i,F,ir(u)):f!=null?Hp(i,F,ir(f)):h!=null&&i.removeAttribute("value"),v==null&&T!=null&&(i.defaultChecked=!!T),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function RA(i,u,f,h,v,T,F,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),u!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||u!=null))return;f=f!=null?""+ir(f):"",u=u!=null?""+ir(u):f,q||u===i.value||(i.value=u),i.defaultValue=u}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"&&(i.name=F)}function Hp(i,u,f){u==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,u,f,h){if(i=i.options,u){u={};for(var v=0;v<f.length;v++)u["$"+f[v]]=!0;for(f=0;f<i.length;f++)v=u.hasOwnProperty("$"+i[f].value),i[f].selected!==v&&(i[f].selected=v),v&&h&&(i[f].defaultSelected=!0)}else{for(f=""+ir(f),u=null,v=0;v<i.length;v++){if(i[v].value===f){i[v].selected=!0,h&&(i[v].defaultSelected=!0);return}u!==null||i[v].disabled||(u=i[v])}u!==null&&(u.selected=!0)}}function CA(i,u,f){if(u!=null&&(u=""+ir(u),u!==i.value&&(i.value=u),f==null)){i.defaultValue!==u&&(i.defaultValue=u);return}i.defaultValue=f!=null?""+ir(f):""}function _A(i,u,f,h){if(u==null){if(h!=null){if(f!=null)throw Error(r(92));if(M(h)){if(1<h.length)throw Error(r(93));h=h[0]}f=h}f==null&&(f=""),u=f}f=ir(u),i.defaultValue=f,h=i.textContent,h===f&&h!==""&&h!==null&&(i.value=h)}function Ii(i,u){if(u){var f=i.firstChild;if(f&&f===i.lastChild&&f.nodeType===3){f.nodeValue=u;return}}i.textContent=u}var o$=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function NA(i,u,f){var h=u.indexOf("--")===0;f==null||typeof f=="boolean"||f===""?h?i.setProperty(u,""):u==="float"?i.cssFloat="":i[u]="":h?i.setProperty(u,f):typeof f!="number"||f===0||o$.has(u)?u==="float"?i.cssFloat=f:i[u]=(""+f).trim():i[u]=f+"px"}function OA(i,u,f){if(u!=null&&typeof u!="object")throw Error(r(62));if(i=i.style,f!=null){for(var h in f)!f.hasOwnProperty(h)||u!=null&&u.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var v in u)h=u[v],u.hasOwnProperty(v)&&f[v]!==h&&NA(i,v,h)}else for(var T in u)u.hasOwnProperty(T)&&NA(i,T,u[T])}function $p(i){if(i.indexOf("-")===-1)return!1;switch(i){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 i$=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),s$=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function fc(i){return s$.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}var qp=null;function Vp(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Li=null,Mi=null;function DA(i){var u=_i(i);if(u&&(i=u.stateNode)){var f=i[Pn]||null;e:switch(i=u.stateNode,u.type){case"input":if(Gp(i,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name),u=f.name,f.type==="radio"&&u!=null){for(f=i;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll('input[name="'+sr(""+u)+'"][type="radio"]'),u=0;u<f.length;u++){var h=f[u];if(h!==i&&h.form===i.form){var v=h[Pn]||null;if(!v)throw Error(r(90));Gp(h,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(u=0;u<f.length;u++)h=f[u],h.form===i.form&&AA(h)}break e;case"textarea":CA(i,f.value,f.defaultValue);break e;case"select":u=f.value,u!=null&&Di(i,!!f.multiple,u,!1)}}}var Wp=!1;function IA(i,u,f){if(Wp)return i(u,f);Wp=!0;try{var h=i(u);return h}finally{if(Wp=!1,(Li!==null||Mi!==null)&&(Kc(),Li&&(u=Li,i=Mi,Mi=Li=null,DA(u),i)))for(u=0;u<i.length;u++)DA(i[u])}}function il(i,u){var f=i.stateNode;if(f===null)return null;var h=f[Pn]||null;if(h===null)return null;f=h[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(f&&typeof f!="function")throw Error(r(231,u,typeof f));return f}var Yp=!1;if(ga)try{var sl={};Object.defineProperty(sl,"passive",{get:function(){Yp=!0}}),window.addEventListener("test",sl,sl),window.removeEventListener("test",sl,sl)}catch{Yp=!1}var Xa=null,Kp=null,pc=null;function LA(){if(pc)return pc;var i,u=Kp,f=u.length,h,v="value"in Xa?Xa.value:Xa.textContent,T=v.length;for(i=0;i<f&&u[i]===v[i];i++);var F=f-i;for(h=1;h<=F&&u[f-h]===v[T-h];h++);return pc=v.slice(i,1<h?1-h:void 0)}function gc(i){var u=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&u===13&&(i=13)):i=u,i===10&&(i=13),32<=i||i===13?i:0}function hc(){return!0}function MA(){return!1}function Fn(i){function u(f,h,v,T,F){this._reactName=f,this._targetInst=v,this.type=h,this.nativeEvent=T,this.target=F,this.currentTarget=null;for(var q in i)i.hasOwnProperty(q)&&(f=i[q],this[q]=f?f(T):T[q]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?hc:MA,this.isPropagationStopped=MA,this}return L(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=hc)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=hc)},persist:function(){},isPersistent:hc}),u}var zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mc=Fn(zo),ll=L({},zo,{view:0,detail:0}),l$=Fn(ll),Xp,Zp,ul,bc=L({},ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jp,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==ul&&(ul&&i.type==="mousemove"?(Xp=i.screenX-ul.screenX,Zp=i.screenY-ul.screenY):Zp=Xp=0,ul=i),Xp)},movementY:function(i){return"movementY"in i?i.movementY:Zp}}),PA=Fn(bc),u$=L({},bc,{dataTransfer:0}),c$=Fn(u$),d$=L({},ll,{relatedTarget:0}),Qp=Fn(d$),f$=L({},zo,{animationName:0,elapsedTime:0,pseudoElement:0}),p$=Fn(f$),g$=L({},zo,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),h$=Fn(g$),m$=L({},zo,{data:0}),FA=Fn(m$),b$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},y$={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},v$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function S$(i){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(i):(i=v$[i])?!!u[i]:!1}function Jp(){return S$}var E$=L({},ll,{key:function(i){if(i.key){var u=b$[i.key]||i.key;if(u!=="Unidentified")return u}return i.type==="keypress"?(i=gc(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?y$[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jp,charCode:function(i){return i.type==="keypress"?gc(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?gc(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),w$=Fn(E$),x$=L({},bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zA=Fn(x$),k$=L({},ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jp}),T$=Fn(k$),A$=L({},zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),R$=Fn(A$),C$=L({},bc,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),_$=Fn(C$),N$=L({},zo,{newState:0,oldState:0}),O$=Fn(N$),D$=[9,13,27,32],eg=ga&&"CompositionEvent"in window,cl=null;ga&&"documentMode"in document&&(cl=document.documentMode);var I$=ga&&"TextEvent"in window&&!cl,BA=ga&&(!eg||cl&&8<cl&&11>=cl),UA=" ",jA=!1;function GA(i,u){switch(i){case"keyup":return D$.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function HA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Pi=!1;function L$(i,u){switch(i){case"compositionend":return HA(u);case"keypress":return u.which!==32?null:(jA=!0,UA);case"textInput":return i=u.data,i===UA&&jA?null:i;default:return null}}function M$(i,u){if(Pi)return i==="compositionend"||!eg&&GA(i,u)?(i=LA(),pc=Kp=Xa=null,Pi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return BA&&u.locale!=="ko"?null:u.data;default:return null}}var P$={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $A(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u==="input"?!!P$[i.type]:u==="textarea"}function qA(i,u,f,h){Li?Mi?Mi.push(h):Mi=[h]:Li=h,u=ed(u,"onChange"),0<u.length&&(f=new mc("onChange","change",null,f,h),i.push({event:f,listeners:u}))}var dl=null,fl=null;function F$(i){bC(i,0)}function yc(i){var u=ol(i);if(AA(u))return i}function VA(i,u){if(i==="change")return u}var WA=!1;if(ga){var tg;if(ga){var ng="oninput"in document;if(!ng){var YA=document.createElement("div");YA.setAttribute("oninput","return;"),ng=typeof YA.oninput=="function"}tg=ng}else tg=!1;WA=tg&&(!document.documentMode||9<document.documentMode)}function KA(){dl&&(dl.detachEvent("onpropertychange",XA),fl=dl=null)}function XA(i){if(i.propertyName==="value"&&yc(fl)){var u=[];qA(u,fl,i,Vp(i)),IA(F$,u)}}function z$(i,u,f){i==="focusin"?(KA(),dl=u,fl=f,dl.attachEvent("onpropertychange",XA)):i==="focusout"&&KA()}function B$(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return yc(fl)}function U$(i,u){if(i==="click")return yc(u)}function j$(i,u){if(i==="input"||i==="change")return yc(u)}function G$(i,u){return i===u&&(i!==0||1/i===1/u)||i!==i&&u!==u}var Yn=typeof Object.is=="function"?Object.is:G$;function pl(i,u){if(Yn(i,u))return!0;if(typeof i!="object"||i===null||typeof u!="object"||u===null)return!1;var f=Object.keys(i),h=Object.keys(u);if(f.length!==h.length)return!1;for(h=0;h<f.length;h++){var v=f[h];if(!me.call(u,v)||!Yn(i[v],u[v]))return!1}return!0}function ZA(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function QA(i,u){var f=ZA(i);i=0;for(var h;f;){if(f.nodeType===3){if(h=i+f.textContent.length,i<=u&&h>=u)return{node:f,offset:u-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=ZA(f)}}function JA(i,u){return i&&u?i===u?!0:i&&i.nodeType===3?!1:u&&u.nodeType===3?JA(i,u.parentNode):"contains"in i?i.contains(u):i.compareDocumentPosition?!!(i.compareDocumentPosition(u)&16):!1:!1}function e1(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var u=dc(i.document);u instanceof i.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)i=u.contentWindow;else break;u=dc(i.document)}return u}function rg(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u&&(u==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||u==="textarea"||i.contentEditable==="true")}function H$(i,u){var f=e1(u);u=i.focusedElem;var h=i.selectionRange;if(f!==u&&u&&u.ownerDocument&&JA(u.ownerDocument.documentElement,u)){if(h!==null&&rg(u)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(f,u.value.length);else if(f=(i=u.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var v=u.textContent.length,T=Math.min(h.start,v);h=h.end===void 0?T:Math.min(h.end,v),!f.extend&&T>h&&(v=h,h=T,T=v),v=QA(u,T);var F=QA(u,h);v&&F&&(f.rangeCount!==1||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(v.node,v.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(F.node,F.offset)):(i.setEnd(F.node,F.offset),f.addRange(i)))}}for(i=[],f=u;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<i.length;u++)f=i[u],f.element.scrollLeft=f.left,f.element.scrollTop=f.top}}var $$=ga&&"documentMode"in document&&11>=document.documentMode,Fi=null,ag=null,gl=null,og=!1;function t1(i,u,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;og||Fi==null||Fi!==dc(h)||(h=Fi,"selectionStart"in h&&rg(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),gl&&pl(gl,h)||(gl=h,h=ed(ag,"onSelect"),0<h.length&&(u=new mc("onSelect","select",null,u,f),i.push({event:u,listeners:h}),u.target=Fi)))}function Bo(i,u){var f={};return f[i.toLowerCase()]=u.toLowerCase(),f["Webkit"+i]="webkit"+u,f["Moz"+i]="moz"+u,f}var zi={animationend:Bo("Animation","AnimationEnd"),animationiteration:Bo("Animation","AnimationIteration"),animationstart:Bo("Animation","AnimationStart"),transitionrun:Bo("Transition","TransitionRun"),transitionstart:Bo("Transition","TransitionStart"),transitioncancel:Bo("Transition","TransitionCancel"),transitionend:Bo("Transition","TransitionEnd")},ig={},n1={};ga&&(n1=document.createElement("div").style,"AnimationEvent"in window||(delete zi.animationend.animation,delete zi.animationiteration.animation,delete zi.animationstart.animation),"TransitionEvent"in window||delete zi.transitionend.transition);function Uo(i){if(ig[i])return ig[i];if(!zi[i])return i;var u=zi[i],f;for(f in u)if(u.hasOwnProperty(f)&&f in n1)return ig[i]=u[f];return i}var r1=Uo("animationend"),a1=Uo("animationiteration"),o1=Uo("animationstart"),q$=Uo("transitionrun"),V$=Uo("transitionstart"),W$=Uo("transitioncancel"),i1=Uo("transitionend"),s1=new Map,l1="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function Cr(i,u){s1.set(i,u),Fo(u,[i])}var lr=[],Bi=0,sg=0;function vc(){for(var i=Bi,u=sg=Bi=0;u<i;){var f=lr[u];lr[u++]=null;var h=lr[u];lr[u++]=null;var v=lr[u];lr[u++]=null;var T=lr[u];if(lr[u++]=null,h!==null&&v!==null){var F=h.pending;F===null?v.next=v:(v.next=F.next,F.next=v),h.pending=v}T!==0&&u1(f,v,T)}}function Sc(i,u,f,h){lr[Bi++]=i,lr[Bi++]=u,lr[Bi++]=f,lr[Bi++]=h,sg|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function lg(i,u,f,h){return Sc(i,u,f,h),Ec(i)}function Za(i,u){return Sc(i,null,null,u),Ec(i)}function u1(i,u,f){i.lanes|=f;var h=i.alternate;h!==null&&(h.lanes|=f);for(var v=!1,T=i.return;T!==null;)T.childLanes|=f,h=T.alternate,h!==null&&(h.childLanes|=f),T.tag===22&&(i=T.stateNode,i===null||i._visibility&1||(v=!0)),i=T,T=T.return;v&&u!==null&&i.tag===3&&(T=i.stateNode,v=31-St(f),T=T.hiddenUpdates,i=T[v],i===null?T[v]=[u]:i.push(u),u.lane=f|536870912)}function Ec(i){if(50<Bl)throw Bl=0,gh=null,Error(r(185));for(var u=i.return;u!==null;)i=u,u=i.return;return i.tag===3?i.stateNode:null}var Ui={},c1=new WeakMap;function ur(i,u){if(typeof i=="object"&&i!==null){var f=c1.get(i);return f!==void 0?f:(u={value:i,source:u,stack:G(u)},c1.set(i,u),u)}return{value:i,source:u,stack:G(u)}}var ji=[],Gi=0,wc=null,xc=0,cr=[],dr=0,jo=null,ma=1,ba="";function Go(i,u){ji[Gi++]=xc,ji[Gi++]=wc,wc=i,xc=u}function d1(i,u,f){cr[dr++]=ma,cr[dr++]=ba,cr[dr++]=jo,jo=i;var h=ma;i=ba;var v=32-St(h)-1;h&=~(1<<v),f+=1;var T=32-St(u)+v;if(30<T){var F=v-v%5;T=(h&(1<<F)-1).toString(32),h>>=F,v-=F,ma=1<<32-St(u)+v|f<<v|h,ba=T+i}else ma=1<<T|f<<v|h,ba=i}function ug(i){i.return!==null&&(Go(i,1),d1(i,1,0))}function cg(i){for(;i===wc;)wc=ji[--Gi],ji[Gi]=null,xc=ji[--Gi],ji[Gi]=null;for(;i===jo;)jo=cr[--dr],cr[dr]=null,ba=cr[--dr],cr[dr]=null,ma=cr[--dr],cr[dr]=null}var Nn=null,gn=null,Et=!1,_r=null,qr=!1,dg=Error(r(519));function Ho(i){var u=Error(r(418,""));throw bl(ur(u,i)),dg}function f1(i){var u=i.stateNode,f=i.type,h=i.memoizedProps;switch(u[Sn]=i,u[Pn]=h,f){case"dialog":pt("cancel",u),pt("close",u);break;case"iframe":case"object":case"embed":pt("load",u);break;case"video":case"audio":for(f=0;f<jl.length;f++)pt(jl[f],u);break;case"source":pt("error",u);break;case"img":case"image":case"link":pt("error",u),pt("load",u);break;case"details":pt("toggle",u);break;case"input":pt("invalid",u),RA(u,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0),cc(u);break;case"select":pt("invalid",u);break;case"textarea":pt("invalid",u),_A(u,h.value,h.defaultValue,h.children),cc(u)}f=h.children,typeof f!="string"&&typeof f!="number"&&typeof f!="bigint"||u.textContent===""+f||h.suppressHydrationWarning===!0||EC(u.textContent,f)?(h.popover!=null&&(pt("beforetoggle",u),pt("toggle",u)),h.onScroll!=null&&pt("scroll",u),h.onScrollEnd!=null&&pt("scrollend",u),h.onClick!=null&&(u.onclick=td),u=!0):u=!1,u||Ho(i)}function p1(i){for(Nn=i.return;Nn;)switch(Nn.tag){case 3:case 27:qr=!0;return;case 5:case 13:qr=!1;return;default:Nn=Nn.return}}function hl(i){if(i!==Nn)return!1;if(!Et)return p1(i),Et=!0,!1;var u=!1,f;if((f=i.tag!==3&&i.tag!==27)&&((f=i.tag===5)&&(f=i.type,f=!(f!=="form"&&f!=="button")||Oh(i.type,i.memoizedProps)),f=!f),f&&(u=!0),u&&gn&&Ho(i),p1(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,u=0;i;){if(i.nodeType===8)if(f=i.data,f==="/$"){if(u===0){gn=Or(i.nextSibling);break e}u--}else f!=="$"&&f!=="$!"&&f!=="$?"||u++;i=i.nextSibling}gn=null}}else gn=Nn?Or(i.stateNode.nextSibling):null;return!0}function ml(){gn=Nn=null,Et=!1}function bl(i){_r===null?_r=[i]:_r.push(i)}var yl=Error(r(460)),g1=Error(r(474)),fg={then:function(){}};function h1(i){return i=i.status,i==="fulfilled"||i==="rejected"}function kc(){}function m1(i,u,f){switch(f=i[f],f===void 0?i.push(u):f!==u&&(u.then(kc,kc),u=f),u.status){case"fulfilled":return u.value;case"rejected":throw i=u.reason,i===yl?Error(r(483)):i;default:if(typeof u.status=="string")u.then(kc,kc);else{if(i=It,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=u,i.status="pending",i.then(function(h){if(u.status==="pending"){var v=u;v.status="fulfilled",v.value=h}},function(h){if(u.status==="pending"){var v=u;v.status="rejected",v.reason=h}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw i=u.reason,i===yl?Error(r(483)):i}throw vl=u,yl}}var vl=null;function b1(){if(vl===null)throw Error(r(459));var i=vl;return vl=null,i}var Hi=null,Sl=0;function Tc(i){var u=Sl;return Sl+=1,Hi===null&&(Hi=[]),m1(Hi,i,u)}function El(i,u){u=u.props.ref,i.ref=u!==void 0?u:null}function Ac(i,u){throw u.$$typeof===o?Error(r(525)):(i=Object.prototype.toString.call(u),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":i)))}function y1(i){var u=i._init;return u(i._payload)}function v1(i){function u(se,re){if(i){var ue=se.deletions;ue===null?(se.deletions=[re],se.flags|=16):ue.push(re)}}function f(se,re){if(!i)return null;for(;re!==null;)u(se,re),re=re.sibling;return null}function h(se){for(var re=new Map;se!==null;)se.key!==null?re.set(se.key,se):re.set(se.index,se),se=se.sibling;return re}function v(se,re){return se=uo(se,re),se.index=0,se.sibling=null,se}function T(se,re,ue){return se.index=ue,i?(ue=se.alternate,ue!==null?(ue=ue.index,ue<re?(se.flags|=33554434,re):ue):(se.flags|=33554434,re)):(se.flags|=1048576,re)}function F(se){return i&&se.alternate===null&&(se.flags|=33554434),se}function q(se,re,ue,xe){return re===null||re.tag!==6?(re=ih(ue,se.mode,xe),re.return=se,re):(re=v(re,ue),re.return=se,re)}function X(se,re,ue,xe){var je=ue.type;return je===c?be(se,re,ue.props.children,xe,ue.key):re!==null&&(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===x&&y1(je)===re.type)?(re=v(re,ue.props),El(re,ue),re.return=se,re):(re=$c(ue.type,ue.key,ue.props,null,se.mode,xe),El(re,ue),re.return=se,re)}function oe(se,re,ue,xe){return re===null||re.tag!==4||re.stateNode.containerInfo!==ue.containerInfo||re.stateNode.implementation!==ue.implementation?(re=sh(ue,se.mode,xe),re.return=se,re):(re=v(re,ue.children||[]),re.return=se,re)}function be(se,re,ue,xe,je){return re===null||re.tag!==7?(re=Jo(ue,se.mode,xe,je),re.return=se,re):(re=v(re,ue),re.return=se,re)}function Ae(se,re,ue){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return re=ih(""+re,se.mode,ue),re.return=se,re;if(typeof re=="object"&&re!==null){switch(re.$$typeof){case s:return ue=$c(re.type,re.key,re.props,null,se.mode,ue),El(ue,re),ue.return=se,ue;case l:return re=sh(re,se.mode,ue),re.return=se,re;case x:var xe=re._init;return re=xe(re._payload),Ae(se,re,ue)}if(M(re)||C(re))return re=Jo(re,se.mode,ue,null),re.return=se,re;if(typeof re.then=="function")return Ae(se,Tc(re),ue);if(re.$$typeof===b)return Ae(se,jc(se,re),ue);Ac(se,re)}return null}function de(se,re,ue,xe){var je=re!==null?re.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return je!==null?null:q(se,re,""+ue,xe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case s:return ue.key===je?X(se,re,ue,xe):null;case l:return ue.key===je?oe(se,re,ue,xe):null;case x:return je=ue._init,ue=je(ue._payload),de(se,re,ue,xe)}if(M(ue)||C(ue))return je!==null?null:be(se,re,ue,xe,null);if(typeof ue.then=="function")return de(se,re,Tc(ue),xe);if(ue.$$typeof===b)return de(se,re,jc(se,ue),xe);Ac(se,ue)}return null}function ge(se,re,ue,xe,je){if(typeof xe=="string"&&xe!==""||typeof xe=="number"||typeof xe=="bigint")return se=se.get(ue)||null,q(re,se,""+xe,je);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case s:return se=se.get(xe.key===null?ue:xe.key)||null,X(re,se,xe,je);case l:return se=se.get(xe.key===null?ue:xe.key)||null,oe(re,se,xe,je);case x:var lt=xe._init;return xe=lt(xe._payload),ge(se,re,ue,xe,je)}if(M(xe)||C(xe))return se=se.get(ue)||null,be(re,se,xe,je,null);if(typeof xe.then=="function")return ge(se,re,ue,Tc(xe),je);if(xe.$$typeof===b)return ge(se,re,ue,jc(re,xe),je);Ac(re,xe)}return null}function qe(se,re,ue,xe){for(var je=null,lt=null,Ye=re,Je=re=0,ln=null;Ye!==null&&Je<ue.length;Je++){Ye.index>Je?(ln=Ye,Ye=null):ln=Ye.sibling;var wt=de(se,Ye,ue[Je],xe);if(wt===null){Ye===null&&(Ye=ln);break}i&&Ye&&wt.alternate===null&&u(se,Ye),re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt,Ye=ln}if(Je===ue.length)return f(se,Ye),Et&&Go(se,Je),je;if(Ye===null){for(;Je<ue.length;Je++)Ye=Ae(se,ue[Je],xe),Ye!==null&&(re=T(Ye,re,Je),lt===null?je=Ye:lt.sibling=Ye,lt=Ye);return Et&&Go(se,Je),je}for(Ye=h(Ye);Je<ue.length;Je++)ln=ge(Ye,se,Je,ue[Je],xe),ln!==null&&(i&&ln.alternate!==null&&Ye.delete(ln.key===null?Je:ln.key),re=T(ln,re,Je),lt===null?je=ln:lt.sibling=ln,lt=ln);return i&&Ye.forEach(function(bo){return u(se,bo)}),Et&&Go(se,Je),je}function nt(se,re,ue,xe){if(ue==null)throw Error(r(151));for(var je=null,lt=null,Ye=re,Je=re=0,ln=null,wt=ue.next();Ye!==null&&!wt.done;Je++,wt=ue.next()){Ye.index>Je?(ln=Ye,Ye=null):ln=Ye.sibling;var bo=de(se,Ye,wt.value,xe);if(bo===null){Ye===null&&(Ye=ln);break}i&&Ye&&bo.alternate===null&&u(se,Ye),re=T(bo,re,Je),lt===null?je=bo:lt.sibling=bo,lt=bo,Ye=ln}if(wt.done)return f(se,Ye),Et&&Go(se,Je),je;if(Ye===null){for(;!wt.done;Je++,wt=ue.next())wt=Ae(se,wt.value,xe),wt!==null&&(re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return Et&&Go(se,Je),je}for(Ye=h(Ye);!wt.done;Je++,wt=ue.next())wt=ge(Ye,se,Je,wt.value,xe),wt!==null&&(i&&wt.alternate!==null&&Ye.delete(wt.key===null?Je:wt.key),re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return i&&Ye.forEach(function(sq){return u(se,sq)}),Et&&Go(se,Je),je}function Vt(se,re,ue,xe){if(typeof ue=="object"&&ue!==null&&ue.type===c&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case s:e:{for(var je=ue.key;re!==null;){if(re.key===je){if(je=ue.type,je===c){if(re.tag===7){f(se,re.sibling),xe=v(re,ue.props.children),xe.return=se,se=xe;break e}}else if(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===x&&y1(je)===re.type){f(se,re.sibling),xe=v(re,ue.props),El(xe,ue),xe.return=se,se=xe;break e}f(se,re);break}else u(se,re);re=re.sibling}ue.type===c?(xe=Jo(ue.props.children,se.mode,xe,ue.key),xe.return=se,se=xe):(xe=$c(ue.type,ue.key,ue.props,null,se.mode,xe),El(xe,ue),xe.return=se,se=xe)}return F(se);case l:e:{for(je=ue.key;re!==null;){if(re.key===je)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(se,re.sibling),xe=v(re,ue.children||[]),xe.return=se,se=xe;break e}else{f(se,re);break}else u(se,re);re=re.sibling}xe=sh(ue,se.mode,xe),xe.return=se,se=xe}return F(se);case x:return je=ue._init,ue=je(ue._payload),Vt(se,re,ue,xe)}if(M(ue))return qe(se,re,ue,xe);if(C(ue)){if(je=C(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(se,re,ue,xe)}if(typeof ue.then=="function")return Vt(se,re,Tc(ue),xe);if(ue.$$typeof===b)return Vt(se,re,jc(se,ue),xe);Ac(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(se,re.sibling),xe=v(re,ue),xe.return=se,se=xe):(f(se,re),xe=ih(ue,se.mode,xe),xe.return=se,se=xe),F(se)):f(se,re)}return function(se,re,ue,xe){try{Sl=0;var je=Vt(se,re,ue,xe);return Hi=null,je}catch(Ye){if(Ye===yl)throw Ye;var lt=hr(29,Ye,null,se.mode);return lt.lanes=xe,lt.return=se,lt}finally{}}}var $o=v1(!0),S1=v1(!1),$i=ae(null),Rc=ae(0);function E1(i,u){i=Ca,ie(Rc,i),ie($i,u),Ca=i|u.baseLanes}function pg(){ie(Rc,Ca),ie($i,$i.current)}function gg(){Ca=Rc.current,ke($i),ke(Rc)}var fr=ae(null),Vr=null;function Qa(i){var u=i.alternate;ie(en,en.current&1),ie(fr,i),Vr===null&&(u===null||$i.current!==null||u.memoizedState!==null)&&(Vr=i)}function w1(i){if(i.tag===22){if(ie(en,en.current),ie(fr,i),Vr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Vr=i)}}else Ja()}function Ja(){ie(en,en.current),ie(fr,fr.current)}function ya(i){ke(fr),Vr===i&&(Vr=null),ke(en)}var en=ae(0);function Cc(i){for(var u=i;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var Y$=typeof AbortController<"u"?AbortController:function(){var i=[],u=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){u.aborted=!0,i.forEach(function(f){return f()})}},K$=e.unstable_scheduleCallback,X$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hg(){return{controller:new Y$,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&K$(X$,function(){i.controller.abort()})}var xl=null,mg=0,qi=0,Vi=null;function Z$(i,u){if(xl===null){var f=xl=[];mg=0,qi=wh(),Vi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return mg++,u.then(x1,x1),u}function x1(){if(--mg===0&&xl!==null){Vi!==null&&(Vi.status="fulfilled");var i=xl;xl=null,qi=0,Vi=null;for(var u=0;u<i.length;u++)(0,i[u])()}}function Q$(i,u){var f=[],h={status:"pending",value:null,reason:null,then:function(v){f.push(v)}};return i.then(function(){h.status="fulfilled",h.value=u;for(var v=0;v<f.length;v++)(0,f[v])(u)},function(v){for(h.status="rejected",h.reason=v,v=0;v<f.length;v++)(0,f[v])(void 0)}),h}var k1=I.S;I.S=function(i,u){typeof u=="object"&&u!==null&&typeof u.then=="function"&&Z$(i,u),k1!==null&&k1(i,u)};var qo=ae(null);function bg(){var i=qo.current;return i!==null?i:It.pooledCache}function _c(i,u){u===null?ie(qo,qo.current):ie(qo,u.pool)}function T1(){var i=bg();return i===null?null:{parent:tn._currentValue,pool:i}}var eo=0,st=null,At=null,Kt=null,Nc=!1,Wi=!1,Vo=!1,Oc=0,kl=0,Yi=null,J$=0;function Wt(){throw Error(r(321))}function yg(i,u){if(u===null)return!1;for(var f=0;f<u.length&&f<i.length;f++)if(!Yn(i[f],u[f]))return!1;return!0}function vg(i,u,f,h,v,T){return eo=T,st=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,I.H=i===null||i.memoizedState===null?Wo:to,Vo=!1,T=f(h,v),Vo=!1,Wi&&(T=R1(u,f,h,v)),A1(i),T}function A1(i){I.H=Wr;var u=At!==null&&At.next!==null;if(eo=0,Kt=At=st=null,Nc=!1,kl=0,Yi=null,u)throw Error(r(300));i===null||on||(i=i.dependencies,i!==null&&Uc(i)&&(on=!0))}function R1(i,u,f,h){st=i;var v=0;do{if(Wi&&(Yi=null),kl=0,Wi=!1,25<=v)throw Error(r(301));if(v+=1,Kt=At=null,i.updateQueue!=null){var T=i.updateQueue;T.lastEffect=null,T.events=null,T.stores=null,T.memoCache!=null&&(T.memoCache.index=0)}I.H=Yo,T=u(f,h)}while(Wi);return T}function e6(){var i=I.H,u=i.useState()[0];return u=typeof u.then=="function"?Tl(u):u,i=i.useState()[0],(At!==null?At.memoizedState:null)!==i&&(st.flags|=1024),u}function Sg(){var i=Oc!==0;return Oc=0,i}function Eg(i,u,f){u.updateQueue=i.updateQueue,u.flags&=-2053,i.lanes&=~f}function wg(i){if(Nc){for(i=i.memoizedState;i!==null;){var u=i.queue;u!==null&&(u.pending=null),i=i.next}Nc=!1}eo=0,Kt=At=st=null,Wi=!1,kl=Oc=0,Yi=null}function zn(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Kt===null?st.memoizedState=Kt=i:Kt=Kt.next=i,Kt}function Xt(){if(At===null){var i=st.alternate;i=i!==null?i.memoizedState:null}else i=At.next;var u=Kt===null?st.memoizedState:Kt.next;if(u!==null)Kt=u,At=i;else{if(i===null)throw st.alternate===null?Error(r(467)):Error(r(310));At=i,i={memoizedState:At.memoizedState,baseState:At.baseState,baseQueue:At.baseQueue,queue:At.queue,next:null},Kt===null?st.memoizedState=Kt=i:Kt=Kt.next=i}return Kt}var Dc;Dc=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Tl(i){var u=kl;return kl+=1,Yi===null&&(Yi=[]),i=m1(Yi,i,u),u=st,(Kt===null?u.memoizedState:Kt.next)===null&&(u=u.alternate,I.H=u===null||u.memoizedState===null?Wo:to),i}function Ic(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Tl(i);if(i.$$typeof===b)return En(i)}throw Error(r(438,String(i)))}function xg(i){var u=null,f=st.updateQueue;if(f!==null&&(u=f.memoCache),u==null){var h=st.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(u={data:h.data.map(function(v){return v.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),f===null&&(f=Dc(),st.updateQueue=f),f.memoCache=u,f=u.data[u.index],f===void 0)for(f=u.data[u.index]=Array(i),h=0;h<i;h++)f[h]=N;return u.index++,f}function va(i,u){return typeof u=="function"?u(i):u}function Lc(i){var u=Xt();return kg(u,At,i)}function kg(i,u,f){var h=i.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=f;var v=i.baseQueue,T=h.pending;if(T!==null){if(v!==null){var F=v.next;v.next=T.next,T.next=F}u.baseQueue=v=T,h.pending=null}if(T=i.baseState,v===null)i.memoizedState=T;else{u=v.next;var q=F=null,X=null,oe=u,be=!1;do{var Ae=oe.lane&-536870913;if(Ae!==oe.lane?(bt&Ae)===Ae:(eo&Ae)===Ae){var de=oe.revertLane;if(de===0)X!==null&&(X=X.next={lane:0,revertLane:0,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null}),Ae===qi&&(be=!0);else if((eo&de)===de){oe=oe.next,de===qi&&(be=!0);continue}else Ae={lane:0,revertLane:oe.revertLane,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null},X===null?(q=X=Ae,F=T):X=X.next=Ae,st.lanes|=de,co|=de;Ae=oe.action,Vo&&f(T,Ae),T=oe.hasEagerState?oe.eagerState:f(T,Ae)}else de={lane:Ae,revertLane:oe.revertLane,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null},X===null?(q=X=de,F=T):X=X.next=de,st.lanes|=Ae,co|=Ae;oe=oe.next}while(oe!==null&&oe!==u);if(X===null?F=T:X.next=q,!Yn(T,i.memoizedState)&&(on=!0,be&&(f=Vi,f!==null)))throw f;i.memoizedState=T,i.baseState=F,i.baseQueue=X,h.lastRenderedState=T}return v===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function Tg(i){var u=Xt(),f=u.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=i;var h=f.dispatch,v=f.pending,T=u.memoizedState;if(v!==null){f.pending=null;var F=v=v.next;do T=i(T,F.action),F=F.next;while(F!==v);Yn(T,u.memoizedState)||(on=!0),u.memoizedState=T,u.baseQueue===null&&(u.baseState=T),f.lastRenderedState=T}return[T,h]}function C1(i,u,f){var h=st,v=Xt(),T=Et;if(T){if(f===void 0)throw Error(r(407));f=f()}else f=u();var F=!Yn((At||v).memoizedState,f);if(F&&(v.memoizedState=f,on=!0),v=v.queue,Cg(O1.bind(null,h,v,i),[i]),v.getSnapshot!==u||F||Kt!==null&&Kt.memoizedState.tag&1){if(h.flags|=2048,Ki(9,N1.bind(null,h,v,f,u),{destroy:void 0},null),It===null)throw Error(r(349));T||eo&60||_1(h,u,f)}return f}function _1(i,u,f){i.flags|=16384,i={getSnapshot:u,value:f},u=st.updateQueue,u===null?(u=Dc(),st.updateQueue=u,u.stores=[i]):(f=u.stores,f===null?u.stores=[i]:f.push(i))}function N1(i,u,f,h){u.value=f,u.getSnapshot=h,D1(u)&&I1(i)}function O1(i,u,f){return f(function(){D1(u)&&I1(i)})}function D1(i){var u=i.getSnapshot;i=i.value;try{var f=u();return!Yn(i,f)}catch{return!0}}function I1(i){var u=Za(i,2);u!==null&&On(u,i,2)}function Ag(i){var u=zn();if(typeof i=="function"){var f=i;if(i=f(),Vo){ot(!0);try{f()}finally{ot(!1)}}}return u.memoizedState=u.baseState=i,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:i},u}function L1(i,u,f,h){return i.baseState=f,kg(i,At,typeof h=="function"?h:va)}function t6(i,u,f,h,v){if(Fc(i))throw Error(r(485));if(i=u.action,i!==null){var T={payload:v,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(F){T.listeners.push(F)}};I.T!==null?f(!0):T.isTransition=!1,h(T),f=u.pending,f===null?(T.next=u.pending=T,M1(u,T)):(T.next=f.next,u.pending=f.next=T)}}function M1(i,u){var f=u.action,h=u.payload,v=i.state;if(u.isTransition){var T=I.T,F={};I.T=F;try{var q=f(v,h),X=I.S;X!==null&&X(F,q),P1(i,u,q)}catch(oe){Rg(i,u,oe)}finally{I.T=T}}else try{T=f(v,h),P1(i,u,T)}catch(oe){Rg(i,u,oe)}}function P1(i,u,f){f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(function(h){F1(i,u,h)},function(h){return Rg(i,u,h)}):F1(i,u,f)}function F1(i,u,f){u.status="fulfilled",u.value=f,z1(u),i.state=f,u=i.pending,u!==null&&(f=u.next,f===u?i.pending=null:(f=f.next,u.next=f,M1(i,f)))}function Rg(i,u,f){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do u.status="rejected",u.reason=f,z1(u),u=u.next;while(u!==h)}i.action=null}function z1(i){i=i.listeners;for(var u=0;u<i.length;u++)(0,i[u])()}function B1(i,u){return u}function U1(i,u){if(Et){var f=It.formState;if(f!==null){e:{var h=st;if(Et){if(gn){t:{for(var v=gn,T=qr;v.nodeType!==8;){if(!T){v=null;break t}if(v=Or(v.nextSibling),v===null){v=null;break t}}T=v.data,v=T==="F!"||T==="F"?v:null}if(v){gn=Or(v.nextSibling),h=v.data==="F!";break e}}Ho(h)}h=!1}h&&(u=f[0])}}return f=zn(),f.memoizedState=f.baseState=u,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:B1,lastRenderedState:u},f.queue=h,f=aR.bind(null,st,h),h.dispatch=f,h=Ag(!1),T=Ig.bind(null,st,!1,h.queue),h=zn(),v={state:u,dispatch:null,action:i,pending:null},h.queue=v,f=t6.bind(null,st,v,T,f),v.dispatch=f,h.memoizedState=i,[u,f,!1]}function j1(i){var u=Xt();return G1(u,At,i)}function G1(i,u,f){u=kg(i,u,B1)[0],i=Lc(va)[0],u=typeof u=="object"&&u!==null&&typeof u.then=="function"?Tl(u):u;var h=Xt(),v=h.queue,T=v.dispatch;return f!==h.memoizedState&&(st.flags|=2048,Ki(9,n6.bind(null,v,f),{destroy:void 0},null)),[u,T,i]}function n6(i,u){i.action=u}function H1(i){var u=Xt(),f=At;if(f!==null)return G1(u,f,i);Xt(),u=u.memoizedState,f=Xt();var h=f.queue.dispatch;return f.memoizedState=i,[u,h,!1]}function Ki(i,u,f,h){return i={tag:i,create:u,inst:f,deps:h,next:null},u=st.updateQueue,u===null&&(u=Dc(),st.updateQueue=u),f=u.lastEffect,f===null?u.lastEffect=i.next=i:(h=f.next,f.next=i,i.next=h,u.lastEffect=i),i}function $1(){return Xt().memoizedState}function Mc(i,u,f,h){var v=zn();st.flags|=i,v.memoizedState=Ki(1|u,f,{destroy:void 0},h===void 0?null:h)}function Pc(i,u,f,h){var v=Xt();h=h===void 0?null:h;var T=v.memoizedState.inst;At!==null&&h!==null&&yg(h,At.memoizedState.deps)?v.memoizedState=Ki(u,f,T,h):(st.flags|=i,v.memoizedState=Ki(1|u,f,T,h))}function q1(i,u){Mc(8390656,8,i,u)}function Cg(i,u){Pc(2048,8,i,u)}function V1(i,u){return Pc(4,2,i,u)}function W1(i,u){return Pc(4,4,i,u)}function Y1(i,u){if(typeof u=="function"){i=i();var f=u(i);return function(){typeof f=="function"?f():u(null)}}if(u!=null)return i=i(),u.current=i,function(){u.current=null}}function K1(i,u,f){f=f!=null?f.concat([i]):null,Pc(4,4,Y1.bind(null,u,i),f)}function _g(){}function X1(i,u){var f=Xt();u=u===void 0?null:u;var h=f.memoizedState;return u!==null&&yg(u,h[1])?h[0]:(f.memoizedState=[i,u],i)}function Z1(i,u){var f=Xt();u=u===void 0?null:u;var h=f.memoizedState;if(u!==null&&yg(u,h[1]))return h[0];if(h=i(),Vo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,u],h}function Ng(i,u,f){return f===void 0||eo&1073741824?i.memoizedState=u:(i.memoizedState=f,i=JR(),st.lanes|=i,co|=i,f)}function Q1(i,u,f,h){return Yn(f,u)?f:$i.current!==null?(i=Ng(i,f,h),Yn(i,u)||(on=!0),i):eo&42?(i=JR(),st.lanes|=i,co|=i,u):(on=!0,i.memoizedState=f)}function J1(i,u,f,h,v){var T=K.p;K.p=T!==0&&8>T?T:8;var F=I.T,q={};I.T=q,Ig(i,!1,u,f);try{var X=v(),oe=I.S;if(oe!==null&&oe(q,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var be=Q$(X,h);Al(i,u,be,Qn(i))}else Al(i,u,h,Qn(i))}catch(Ae){Al(i,u,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{K.p=T,I.T=F}}function r6(){}function Og(i,u,f,h){if(i.tag!==5)throw Error(r(476));var v=eR(i).queue;J1(i,v,u,ee,f===null?r6:function(){return tR(i),f(h)})}function eR(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:ee},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:f},next:null},i.memoizedState=u,i=i.alternate,i!==null&&(i.memoizedState=u),u}function tR(i){var u=eR(i).next.queue;Al(i,u,{},Qn())}function Dg(){return En(Vl)}function nR(){return Xt().memoizedState}function rR(){return Xt().memoizedState}function a6(i){for(var u=i.return;u!==null;){switch(u.tag){case 24:case 3:var f=Qn();i=ao(f);var h=oo(u,i,f);h!==null&&(On(h,u,f),_l(h,u,f)),u={cache:hg()},i.payload=u;return}u=u.return}}function o6(i,u,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?oR(u,f):(f=lg(i,u,f,h),f!==null&&(On(f,i,h),iR(f,u,h)))}function aR(i,u,f){var h=Qn();Al(i,u,f,h)}function Al(i,u,f,h){var v={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))oR(u,v);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var F=u.lastRenderedState,q=T(F,f);if(v.hasEagerState=!0,v.eagerState=q,Yn(q,F))return Sc(i,u,v,0),It===null&&vc(),!1}catch{}finally{}if(f=lg(i,u,v,h),f!==null)return On(f,i,h),iR(f,u,h),!0}return!1}function Ig(i,u,f,h){if(h={lane:2,revertLane:wh(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(u)throw Error(r(479))}else u=lg(i,f,h,2),u!==null&&On(u,i,2)}function Fc(i){var u=i.alternate;return i===st||u!==null&&u===st}function oR(i,u){Wi=Nc=!0;var f=i.pending;f===null?u.next=u:(u.next=f.next,f.next=u),i.pending=u}function iR(i,u,f){if(f&4194176){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,Rr(i,f)}}var Wr={readContext:En,use:Ic,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt};Wr.useCacheRefresh=Wt,Wr.useMemoCache=Wt,Wr.useHostTransitionStatus=Wt,Wr.useFormState=Wt,Wr.useActionState=Wt,Wr.useOptimistic=Wt;var Wo={readContext:En,use:Ic,useCallback:function(i,u){return zn().memoizedState=[i,u===void 0?null:u],i},useContext:En,useEffect:q1,useImperativeHandle:function(i,u,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,Y1.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Mc(4194308,4,i,u)},useInsertionEffect:function(i,u){Mc(4,2,i,u)},useMemo:function(i,u){var f=zn();u=u===void 0?null:u;var h=i();if(Vo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,u],h},useReducer:function(i,u,f){var h=zn();if(f!==void 0){var v=f(u);if(Vo){ot(!0);try{f(u)}finally{ot(!1)}}}else v=u;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=o6.bind(null,st,i),[h.memoizedState,i]},useRef:function(i){var u=zn();return i={current:i},u.memoizedState=i},useState:function(i){i=Ag(i);var u=i.queue,f=aR.bind(null,st,u);return u.dispatch=f,[i.memoizedState,f]},useDebugValue:_g,useDeferredValue:function(i,u){var f=zn();return Ng(f,i,u)},useTransition:function(){var i=Ag(!1);return i=J1.bind(null,st,i.queue,!0,!1),zn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,u,f){var h=st,v=zn();if(Et){if(f===void 0)throw Error(r(407));f=f()}else{if(f=u(),It===null)throw Error(r(349));bt&60||_1(h,u,f)}v.memoizedState=f;var T={value:f,getSnapshot:u};return v.queue=T,q1(O1.bind(null,h,T,i),[i]),h.flags|=2048,Ki(9,N1.bind(null,h,T,f,u),{destroy:void 0},null),f},useId:function(){var i=zn(),u=It.identifierPrefix;if(Et){var f=ba,h=ma;f=(h&~(1<<32-St(h)-1)).toString(32)+f,u=":"+u+"R"+f,f=Oc++,0<f&&(u+="H"+f.toString(32)),u+=":"}else f=J$++,u=":"+u+"r"+f.toString(32)+":";return i.memoizedState=u},useCacheRefresh:function(){return zn().memoizedState=a6.bind(null,st)}};Wo.useMemoCache=xg,Wo.useHostTransitionStatus=Dg,Wo.useFormState=U1,Wo.useActionState=U1,Wo.useOptimistic=function(i){var u=zn();u.memoizedState=u.baseState=i;var f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=f,u=Ig.bind(null,st,!0,f),f.dispatch=u,[i,u]};var to={readContext:En,use:Ic,useCallback:X1,useContext:En,useEffect:Cg,useImperativeHandle:K1,useInsertionEffect:V1,useLayoutEffect:W1,useMemo:Z1,useReducer:Lc,useRef:$1,useState:function(){return Lc(va)},useDebugValue:_g,useDeferredValue:function(i,u){var f=Xt();return Q1(f,At.memoizedState,i,u)},useTransition:function(){var i=Lc(va)[0],u=Xt().memoizedState;return[typeof i=="boolean"?i:Tl(i),u]},useSyncExternalStore:C1,useId:nR};to.useCacheRefresh=rR,to.useMemoCache=xg,to.useHostTransitionStatus=Dg,to.useFormState=j1,to.useActionState=j1,to.useOptimistic=function(i,u){var f=Xt();return L1(f,At,i,u)};var Yo={readContext:En,use:Ic,useCallback:X1,useContext:En,useEffect:Cg,useImperativeHandle:K1,useInsertionEffect:V1,useLayoutEffect:W1,useMemo:Z1,useReducer:Tg,useRef:$1,useState:function(){return Tg(va)},useDebugValue:_g,useDeferredValue:function(i,u){var f=Xt();return At===null?Ng(f,i,u):Q1(f,At.memoizedState,i,u)},useTransition:function(){var i=Tg(va)[0],u=Xt().memoizedState;return[typeof i=="boolean"?i:Tl(i),u]},useSyncExternalStore:C1,useId:nR};Yo.useCacheRefresh=rR,Yo.useMemoCache=xg,Yo.useHostTransitionStatus=Dg,Yo.useFormState=H1,Yo.useActionState=H1,Yo.useOptimistic=function(i,u){var f=Xt();return At!==null?L1(f,At,i,u):(f.baseState=i,[i,f.queue.dispatch])};function Lg(i,u,f,h){u=i.memoizedState,f=f(h,u),f=f==null?u:L({},u,f),i.memoizedState=f,i.lanes===0&&(i.updateQueue.baseState=f)}var Mg={isMounted:function(i){return(i=i._reactInternals)?z(i)===i:!1},enqueueSetState:function(i,u,f){i=i._reactInternals;var h=Qn(),v=ao(h);v.payload=u,f!=null&&(v.callback=f),u=oo(i,v,h),u!==null&&(On(u,i,h),_l(u,i,h))},enqueueReplaceState:function(i,u,f){i=i._reactInternals;var h=Qn(),v=ao(h);v.tag=1,v.payload=u,f!=null&&(v.callback=f),u=oo(i,v,h),u!==null&&(On(u,i,h),_l(u,i,h))},enqueueForceUpdate:function(i,u){i=i._reactInternals;var f=Qn(),h=ao(f);h.tag=2,u!=null&&(h.callback=u),u=oo(i,h,f),u!==null&&(On(u,i,f),_l(u,i,f))}};function sR(i,u,f,h,v,T,F){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,T,F):u.prototype&&u.prototype.isPureReactComponent?!pl(f,h)||!pl(v,T):!0}function lR(i,u,f,h){i=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(f,h),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(f,h),u.state!==i&&Mg.enqueueReplaceState(u,u.state,null)}function Ko(i,u){var f=u;if("ref"in u){f={};for(var h in u)h!=="ref"&&(f[h]=u[h])}if(i=i.defaultProps){f===u&&(f=L({},f));for(var v in i)f[v]===void 0&&(f[v]=i[v])}return f}var zc=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)};function uR(i){zc(i)}function cR(i){console.error(i)}function dR(i){zc(i)}function Bc(i,u){try{var f=i.onUncaughtError;f(u.value,{componentStack:u.stack})}catch(h){setTimeout(function(){throw h})}}function fR(i,u,f){try{var h=i.onCaughtError;h(f.value,{componentStack:f.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function Pg(i,u,f){return f=ao(f),f.tag=3,f.payload={element:null},f.callback=function(){Bc(i,u)},f}function pR(i){return i=ao(i),i.tag=3,i}function gR(i,u,f,h){var v=f.type.getDerivedStateFromError;if(typeof v=="function"){var T=h.value;i.payload=function(){return v(T)},i.callback=function(){fR(u,f,h)}}var F=f.stateNode;F!==null&&typeof F.componentDidCatch=="function"&&(i.callback=function(){fR(u,f,h),typeof v!="function"&&(fo===null?fo=new Set([this]):fo.add(this));var q=h.stack;this.componentDidCatch(h.value,{componentStack:q!==null?q:""})})}function i6(i,u,f,h,v){if(f.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(u=f.alternate,u!==null&&Cl(u,f,v,!0),f=fr.current,f!==null){switch(f.tag){case 13:return Vr===null?bh():f.alternate===null&&qt===0&&(qt=3),f.flags&=-257,f.flags|=65536,f.lanes=v,h===fg?f.flags|=16384:(u=f.updateQueue,u===null?f.updateQueue=new Set([h]):u.add(h),vh(i,h,v)),!1;case 22:return f.flags|=65536,h===fg?f.flags|=16384:(u=f.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([h])},f.updateQueue=u):(f=u.retryQueue,f===null?u.retryQueue=new Set([h]):f.add(h)),vh(i,h,v)),!1}throw Error(r(435,f.tag))}return vh(i,h,v),bh(),!1}if(Et)return u=fr.current,u!==null?(!(u.flags&65536)&&(u.flags|=256),u.flags|=65536,u.lanes=v,h!==dg&&(i=Error(r(422),{cause:h}),bl(ur(i,f)))):(h!==dg&&(u=Error(r(423),{cause:h}),bl(ur(u,f))),i=i.current.alternate,i.flags|=65536,v&=-v,i.lanes|=v,h=ur(h,f),v=Pg(i.stateNode,h,v),Zg(i,v),qt!==4&&(qt=2)),!1;var T=Error(r(520),{cause:h});if(T=ur(T,f),Fl===null?Fl=[T]:Fl.push(T),qt!==4&&(qt=2),u===null)return!0;h=ur(h,f),f=u;do{switch(f.tag){case 3:return f.flags|=65536,i=v&-v,f.lanes|=i,i=Pg(f.stateNode,h,i),Zg(f,i),!1;case 1:if(u=f.type,T=f.stateNode,(f.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(fo===null||!fo.has(T))))return f.flags|=65536,v&=-v,f.lanes|=v,v=pR(v),gR(v,i,f,h),Zg(f,v),!1}f=f.return}while(f!==null);return!1}var hR=Error(r(461)),on=!1;function hn(i,u,f,h){u.child=i===null?S1(u,null,f,h):$o(u,i.child,f,h)}function mR(i,u,f,h,v){f=f.render;var T=u.ref;if("ref"in h){var F={};for(var q in h)q!=="ref"&&(F[q]=h[q])}else F=h;return Zo(u),h=vg(i,u,f,F,T,v),q=Sg(),i!==null&&!on?(Eg(i,u,v),Sa(i,u,v)):(Et&&q&&ug(u),u.flags|=1,hn(i,u,h,v),u.child)}function bR(i,u,f,h,v){if(i===null){var T=f.type;return typeof T=="function"&&!oh(T)&&T.defaultProps===void 0&&f.compare===null?(u.tag=15,u.type=T,yR(i,u,T,h,v)):(i=$c(f.type,null,h,u,u.mode,v),i.ref=u.ref,i.return=u,u.child=i)}if(T=i.child,!qg(i,v)){var F=T.memoizedProps;if(f=f.compare,f=f!==null?f:pl,f(F,h)&&i.ref===u.ref)return Sa(i,u,v)}return u.flags|=1,i=uo(T,h),i.ref=u.ref,i.return=u,u.child=i}function yR(i,u,f,h,v){if(i!==null){var T=i.memoizedProps;if(pl(T,h)&&i.ref===u.ref)if(on=!1,u.pendingProps=h=T,qg(i,v))i.flags&131072&&(on=!0);else return u.lanes=i.lanes,Sa(i,u,v)}return Fg(i,u,f,h,v)}function vR(i,u,f){var h=u.pendingProps,v=h.children,T=(u.stateNode._pendingVisibility&2)!==0,F=i!==null?i.memoizedState:null;if(Rl(i,u),h.mode==="hidden"||T){if(u.flags&128){if(h=F!==null?F.baseLanes|f:f,i!==null){for(v=u.child=i.child,T=0;v!==null;)T=T|v.lanes|v.childLanes,v=v.sibling;u.childLanes=T&~h}else u.childLanes=0,u.child=null;return SR(i,u,h,f)}if(f&536870912)u.memoizedState={baseLanes:0,cachePool:null},i!==null&&_c(u,F!==null?F.cachePool:null),F!==null?E1(u,F):pg(),w1(u);else return u.lanes=u.childLanes=536870912,SR(i,u,F!==null?F.baseLanes|f:f,f)}else F!==null?(_c(u,F.cachePool),E1(u,F),Ja(),u.memoizedState=null):(i!==null&&_c(u,null),pg(),Ja());return hn(i,u,v,f),u.child}function SR(i,u,f,h){var v=bg();return v=v===null?null:{parent:tn._currentValue,pool:v},u.memoizedState={baseLanes:f,cachePool:v},i!==null&&_c(u,null),pg(),w1(u),i!==null&&Cl(i,u,h,!0),null}function Rl(i,u){var f=u.ref;if(f===null)i!==null&&i.ref!==null&&(u.flags|=2097664);else{if(typeof f!="function"&&typeof f!="object")throw Error(r(284));(i===null||i.ref!==f)&&(u.flags|=2097664)}}function Fg(i,u,f,h,v){return Zo(u),f=vg(i,u,f,h,void 0,v),h=Sg(),i!==null&&!on?(Eg(i,u,v),Sa(i,u,v)):(Et&&h&&ug(u),u.flags|=1,hn(i,u,f,v),u.child)}function ER(i,u,f,h,v,T){return Zo(u),u.updateQueue=null,f=R1(u,h,f,v),A1(i),h=Sg(),i!==null&&!on?(Eg(i,u,T),Sa(i,u,T)):(Et&&h&&ug(u),u.flags|=1,hn(i,u,f,T),u.child)}function wR(i,u,f,h,v){if(Zo(u),u.stateNode===null){var T=Ui,F=f.contextType;typeof F=="object"&&F!==null&&(T=En(F)),T=new f(h,T),u.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=Mg,u.stateNode=T,T._reactInternals=u,T=u.stateNode,T.props=h,T.state=u.memoizedState,T.refs={},Kg(u),F=f.contextType,T.context=typeof F=="object"&&F!==null?En(F):Ui,T.state=u.memoizedState,F=f.getDerivedStateFromProps,typeof F=="function"&&(Lg(u,f,F,h),T.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof T.getSnapshotBeforeUpdate=="function"||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(F=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),F!==T.state&&Mg.enqueueReplaceState(T,T.state,null),Ol(u,h,T,v),Nl(),T.state=u.memoizedState),typeof T.componentDidMount=="function"&&(u.flags|=4194308),h=!0}else if(i===null){T=u.stateNode;var q=u.memoizedProps,X=Ko(f,q);T.props=X;var oe=T.context,be=f.contextType;F=Ui,typeof be=="object"&&be!==null&&(F=En(be));var Ae=f.getDerivedStateFromProps;be=typeof Ae=="function"||typeof T.getSnapshotBeforeUpdate=="function",q=u.pendingProps!==q,be||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(q||oe!==F)&&lR(u,T,h,F),ro=!1;var de=u.memoizedState;T.state=de,Ol(u,h,T,v),Nl(),oe=u.memoizedState,q||de!==oe||ro?(typeof Ae=="function"&&(Lg(u,f,Ae,h),oe=u.memoizedState),(X=ro||sR(u,f,X,h,de,oe,F))?(be||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(u.flags|=4194308)):(typeof T.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=h,u.memoizedState=oe),T.props=h,T.state=oe,T.context=F,h=X):(typeof T.componentDidMount=="function"&&(u.flags|=4194308),h=!1)}else{T=u.stateNode,Xg(i,u),F=u.memoizedProps,be=Ko(f,F),T.props=be,Ae=u.pendingProps,de=T.context,oe=f.contextType,X=Ui,typeof oe=="object"&&oe!==null&&(X=En(oe)),q=f.getDerivedStateFromProps,(oe=typeof q=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(F!==Ae||de!==X)&&lR(u,T,h,X),ro=!1,de=u.memoizedState,T.state=de,Ol(u,h,T,v),Nl();var ge=u.memoizedState;F!==Ae||de!==ge||ro||i!==null&&i.dependencies!==null&&Uc(i.dependencies)?(typeof q=="function"&&(Lg(u,f,q,h),ge=u.memoizedState),(be=ro||sR(u,f,be,h,de,ge,X)||i!==null&&i.dependencies!==null&&Uc(i.dependencies))?(oe||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(h,ge,X),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(h,ge,X)),typeof T.componentDidUpdate=="function"&&(u.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof T.componentDidUpdate!="function"||F===i.memoizedProps&&de===i.memoizedState||(u.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||F===i.memoizedProps&&de===i.memoizedState||(u.flags|=1024),u.memoizedProps=h,u.memoizedState=ge),T.props=h,T.state=ge,T.context=X,h=be):(typeof T.componentDidUpdate!="function"||F===i.memoizedProps&&de===i.memoizedState||(u.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||F===i.memoizedProps&&de===i.memoizedState||(u.flags|=1024),h=!1)}return T=h,Rl(i,u),h=(u.flags&128)!==0,T||h?(T=u.stateNode,f=h&&typeof f.getDerivedStateFromError!="function"?null:T.render(),u.flags|=1,i!==null&&h?(u.child=$o(u,i.child,null,v),u.child=$o(u,null,f,v)):hn(i,u,f,v),u.memoizedState=T.state,i=u.child):i=Sa(i,u,v),i}function xR(i,u,f,h){return ml(),u.flags|=256,hn(i,u,f,h),u.child}var zg={dehydrated:null,treeContext:null,retryLane:0};function Bg(i){return{baseLanes:i,cachePool:T1()}}function Ug(i,u,f){return i=i!==null?i.childLanes&~f:0,u&&(i|=mr),i}function kR(i,u,f){var h=u.pendingProps,v=!1,T=(u.flags&128)!==0,F;if((F=T)||(F=i!==null&&i.memoizedState===null?!1:(en.current&2)!==0),F&&(v=!0,u.flags&=-129),F=(u.flags&32)!==0,u.flags&=-33,i===null){if(Et){if(v?Qa(u):Ja(),Et){var q=gn,X;if(X=q){e:{for(X=q,q=qr;X.nodeType!==8;){if(!q){q=null;break e}if(X=Or(X.nextSibling),X===null){q=null;break e}}q=X}q!==null?(u.memoizedState={dehydrated:q,treeContext:jo!==null?{id:ma,overflow:ba}:null,retryLane:536870912},X=hr(18,null,null,0),X.stateNode=q,X.return=u,u.child=X,Nn=u,gn=null,X=!0):X=!1}X||Ho(u)}if(q=u.memoizedState,q!==null&&(q=q.dehydrated,q!==null))return q.data==="$!"?u.lanes=16:u.lanes=536870912,null;ya(u)}return q=h.children,h=h.fallback,v?(Ja(),v=u.mode,q=Gg({mode:"hidden",children:q},v),h=Jo(h,v,f,null),q.return=u,h.return=u,q.sibling=h,u.child=q,v=u.child,v.memoizedState=Bg(f),v.childLanes=Ug(i,F,f),u.memoizedState=zg,h):(Qa(u),jg(u,q))}if(X=i.memoizedState,X!==null&&(q=X.dehydrated,q!==null)){if(T)u.flags&256?(Qa(u),u.flags&=-257,u=Hg(i,u,f)):u.memoizedState!==null?(Ja(),u.child=i.child,u.flags|=128,u=null):(Ja(),v=h.fallback,q=u.mode,h=Gg({mode:"visible",children:h.children},q),v=Jo(v,q,f,null),v.flags|=2,h.return=u,v.return=u,h.sibling=v,u.child=h,$o(u,i.child,null,f),h=u.child,h.memoizedState=Bg(f),h.childLanes=Ug(i,F,f),u.memoizedState=zg,u=v);else if(Qa(u),q.data==="$!"){if(F=q.nextSibling&&q.nextSibling.dataset,F)var oe=F.dgst;F=oe,h=Error(r(419)),h.stack="",h.digest=F,bl({value:h,source:null,stack:null}),u=Hg(i,u,f)}else if(on||Cl(i,u,f,!1),F=(f&i.childLanes)!==0,on||F){if(F=It,F!==null){if(h=f&-f,h&42)h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break;case 268435456:h=134217728;break;default:h=0}if(h=h&(F.suspendedLanes|f)?0:h,h!==0&&h!==X.retryLane)throw X.retryLane=h,Za(i,h),On(F,i,h),hR}q.data==="$?"||bh(),u=Hg(i,u,f)}else q.data==="$?"?(u.flags|=128,u.child=i.child,u=E6.bind(null,i),q._reactRetry=u,u=null):(i=X.treeContext,gn=Or(q.nextSibling),Nn=u,Et=!0,_r=null,qr=!1,i!==null&&(cr[dr++]=ma,cr[dr++]=ba,cr[dr++]=jo,ma=i.id,ba=i.overflow,jo=u),u=jg(u,h.children),u.flags|=4096);return u}return v?(Ja(),v=h.fallback,q=u.mode,X=i.child,oe=X.sibling,h=uo(X,{mode:"hidden",children:h.children}),h.subtreeFlags=X.subtreeFlags&31457280,oe!==null?v=uo(oe,v):(v=Jo(v,q,f,null),v.flags|=2),v.return=u,h.return=u,h.sibling=v,u.child=h,h=v,v=u.child,q=i.child.memoizedState,q===null?q=Bg(f):(X=q.cachePool,X!==null?(oe=tn._currentValue,X=X.parent!==oe?{parent:oe,pool:oe}:X):X=T1(),q={baseLanes:q.baseLanes|f,cachePool:X}),v.memoizedState=q,v.childLanes=Ug(i,F,f),u.memoizedState=zg,h):(Qa(u),f=i.child,i=f.sibling,f=uo(f,{mode:"visible",children:h.children}),f.return=u,f.sibling=null,i!==null&&(F=u.deletions,F===null?(u.deletions=[i],u.flags|=16):F.push(i)),u.child=f,u.memoizedState=null,f)}function jg(i,u){return u=Gg({mode:"visible",children:u},i.mode),u.return=i,i.child=u}function Gg(i,u){return XR(i,u,0,null)}function Hg(i,u,f){return $o(u,i.child,null,f),i=jg(u,u.pendingProps.children),i.flags|=2,u.memoizedState=null,i}function TR(i,u,f){i.lanes|=u;var h=i.alternate;h!==null&&(h.lanes|=u),Wg(i.return,u,f)}function $g(i,u,f,h,v){var T=i.memoizedState;T===null?i.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:h,tail:f,tailMode:v}:(T.isBackwards=u,T.rendering=null,T.renderingStartTime=0,T.last=h,T.tail=f,T.tailMode=v)}function AR(i,u,f){var h=u.pendingProps,v=h.revealOrder,T=h.tail;if(hn(i,u,h.children,f),h=en.current,h&2)h=h&1|2,u.flags|=128;else{if(i!==null&&i.flags&128)e:for(i=u.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&TR(i,f,u);else if(i.tag===19)TR(i,f,u);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===u)break e;for(;i.sibling===null;){if(i.return===null||i.return===u)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}h&=1}switch(ie(en,h),v){case"forwards":for(f=u.child,v=null;f!==null;)i=f.alternate,i!==null&&Cc(i)===null&&(v=f),f=f.sibling;f=v,f===null?(v=u.child,u.child=null):(v=f.sibling,f.sibling=null),$g(u,!1,v,f,T);break;case"backwards":for(f=null,v=u.child,u.child=null;v!==null;){if(i=v.alternate,i!==null&&Cc(i)===null){u.child=v;break}i=v.sibling,v.sibling=f,f=v,v=i}$g(u,!0,f,null,T);break;case"together":$g(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function Sa(i,u,f){if(i!==null&&(u.dependencies=i.dependencies),co|=u.lanes,!(f&u.childLanes))if(i!==null){if(Cl(i,u,f,!1),(f&u.childLanes)===0)return null}else return null;if(i!==null&&u.child!==i.child)throw Error(r(153));if(u.child!==null){for(i=u.child,f=uo(i,i.pendingProps),u.child=f,f.return=u;i.sibling!==null;)i=i.sibling,f=f.sibling=uo(i,i.pendingProps),f.return=u;f.sibling=null}return u.child}function qg(i,u){return i.lanes&u?!0:(i=i.dependencies,!!(i!==null&&Uc(i)))}function s6(i,u,f){switch(u.tag){case 3:Ee(u,u.stateNode.containerInfo),no(u,tn,i.memoizedState.cache),ml();break;case 27:case 5:fe(u);break;case 4:Ee(u,u.stateNode.containerInfo);break;case 10:no(u,u.type,u.memoizedProps.value);break;case 13:var h=u.memoizedState;if(h!==null)return h.dehydrated!==null?(Qa(u),u.flags|=128,null):f&u.child.childLanes?kR(i,u,f):(Qa(u),i=Sa(i,u,f),i!==null?i.sibling:null);Qa(u);break;case 19:var v=(i.flags&128)!==0;if(h=(f&u.childLanes)!==0,h||(Cl(i,u,f,!1),h=(f&u.childLanes)!==0),v){if(h)return AR(i,u,f);u.flags|=128}if(v=u.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),ie(en,en.current),h)break;return null;case 22:case 23:return u.lanes=0,vR(i,u,f);case 24:no(u,tn,i.memoizedState.cache)}return Sa(i,u,f)}function RR(i,u,f){if(i!==null)if(i.memoizedProps!==u.pendingProps)on=!0;else{if(!qg(i,f)&&!(u.flags&128))return on=!1,s6(i,u,f);on=!!(i.flags&131072)}else on=!1,Et&&u.flags&1048576&&d1(u,xc,u.index);switch(u.lanes=0,u.tag){case 16:e:{i=u.pendingProps;var h=u.elementType,v=h._init;if(h=v(h._payload),u.type=h,typeof h=="function")oh(h)?(i=Ko(h,i),u.tag=1,u=wR(null,u,h,i,f)):(u.tag=0,u=Fg(null,u,h,i,f));else{if(h!=null){if(v=h.$$typeof,v===y){u.tag=11,u=mR(null,u,h,i,f);break e}else if(v===R){u.tag=14,u=bR(null,u,h,i,f);break e}}throw u=P(h)||h,Error(r(306,u,""))}}return u;case 0:return Fg(i,u,u.type,u.pendingProps,f);case 1:return h=u.type,v=Ko(h,u.pendingProps),wR(i,u,h,v,f);case 3:e:{if(Ee(u,u.stateNode.containerInfo),i===null)throw Error(r(387));var T=u.pendingProps;v=u.memoizedState,h=v.element,Xg(i,u),Ol(u,T,null,f);var F=u.memoizedState;if(T=F.cache,no(u,tn,T),T!==v.cache&&Yg(u,[tn],f,!0),Nl(),T=F.element,v.isDehydrated)if(v={element:T,isDehydrated:!1,cache:F.cache},u.updateQueue.baseState=v,u.memoizedState=v,u.flags&256){u=xR(i,u,T,f);break e}else if(T!==h){h=ur(Error(r(424)),u),bl(h),u=xR(i,u,T,f);break e}else for(gn=Or(u.stateNode.containerInfo.firstChild),Nn=u,Et=!0,_r=null,qr=!0,f=S1(u,null,T,f),u.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(ml(),T===h){u=Sa(i,u,f);break e}hn(i,u,T,f)}u=u.child}return u;case 26:return Rl(i,u),i===null?(f=NC(u.type,null,u.pendingProps,null))?u.memoizedState=f:Et||(f=u.type,i=u.pendingProps,h=nd(Ie.current).createElement(f),h[Sn]=u,h[Pn]=i,mn(h,f,i),an(h),u.stateNode=h):u.memoizedState=NC(u.type,i.memoizedProps,u.pendingProps,i.memoizedState),null;case 27:return fe(u),i===null&&Et&&(h=u.stateNode=RC(u.type,u.pendingProps,Ie.current),Nn=u,qr=!0,gn=Or(h.firstChild)),h=u.pendingProps.children,i!==null||Et?hn(i,u,h,f):u.child=$o(u,null,h,f),Rl(i,u),u.child;case 5:return i===null&&Et&&((v=h=gn)&&(h=F6(h,u.type,u.pendingProps,qr),h!==null?(u.stateNode=h,Nn=u,gn=Or(h.firstChild),qr=!1,v=!0):v=!1),v||Ho(u)),fe(u),v=u.type,T=u.pendingProps,F=i!==null?i.memoizedProps:null,h=T.children,Oh(v,T)?h=null:F!==null&&Oh(v,F)&&(u.flags|=32),u.memoizedState!==null&&(v=vg(i,u,e6,null,null,f),Vl._currentValue=v),Rl(i,u),hn(i,u,h,f),u.child;case 6:return i===null&&Et&&((i=f=gn)&&(f=z6(f,u.pendingProps,qr),f!==null?(u.stateNode=f,Nn=u,gn=null,i=!0):i=!1),i||Ho(u)),null;case 13:return kR(i,u,f);case 4:return Ee(u,u.stateNode.containerInfo),h=u.pendingProps,i===null?u.child=$o(u,null,h,f):hn(i,u,h,f),u.child;case 11:return mR(i,u,u.type,u.pendingProps,f);case 7:return hn(i,u,u.pendingProps,f),u.child;case 8:return hn(i,u,u.pendingProps.children,f),u.child;case 12:return hn(i,u,u.pendingProps.children,f),u.child;case 10:return h=u.pendingProps,no(u,u.type,h.value),hn(i,u,h.children,f),u.child;case 9:return v=u.type._context,h=u.pendingProps.children,Zo(u),v=En(v),h=h(v),u.flags|=1,hn(i,u,h,f),u.child;case 14:return bR(i,u,u.type,u.pendingProps,f);case 15:return yR(i,u,u.type,u.pendingProps,f);case 19:return AR(i,u,f);case 22:return vR(i,u,f);case 24:return Zo(u),h=En(tn),i===null?(v=bg(),v===null&&(v=It,T=hg(),v.pooledCache=T,T.refCount++,T!==null&&(v.pooledCacheLanes|=f),v=T),u.memoizedState={parent:h,cache:v},Kg(u),no(u,tn,v)):(i.lanes&f&&(Xg(i,u),Ol(u,null,null,f),Nl()),v=i.memoizedState,T=u.memoizedState,v.parent!==h?(v={parent:h,cache:h},u.memoizedState=v,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=v),no(u,tn,h)):(h=T.cache,no(u,tn,h),h!==v.cache&&Yg(u,[tn],f,!0))),hn(i,u,u.pendingProps.children,f),u.child;case 29:throw u.pendingProps}throw Error(r(156,u.tag))}var Vg=ae(null),Xo=null,Ea=null;function no(i,u,f){ie(Vg,u._currentValue),u._currentValue=f}function wa(i){i._currentValue=Vg.current,ke(Vg)}function Wg(i,u,f){for(;i!==null;){var h=i.alternate;if((i.childLanes&u)!==u?(i.childLanes|=u,h!==null&&(h.childLanes|=u)):h!==null&&(h.childLanes&u)!==u&&(h.childLanes|=u),i===f)break;i=i.return}}function Yg(i,u,f,h){var v=i.child;for(v!==null&&(v.return=i);v!==null;){var T=v.dependencies;if(T!==null){var F=v.child;T=T.firstContext;e:for(;T!==null;){var q=T;T=v;for(var X=0;X<u.length;X++)if(q.context===u[X]){T.lanes|=f,q=T.alternate,q!==null&&(q.lanes|=f),Wg(T.return,f,i),h||(F=null);break e}T=q.next}}else if(v.tag===18){if(F=v.return,F===null)throw Error(r(341));F.lanes|=f,T=F.alternate,T!==null&&(T.lanes|=f),Wg(F,f,i),F=null}else F=v.child;if(F!==null)F.return=v;else for(F=v;F!==null;){if(F===i){F=null;break}if(v=F.sibling,v!==null){v.return=F.return,F=v;break}F=F.return}v=F}}function Cl(i,u,f,h){i=null;for(var v=u,T=!1;v!==null;){if(!T){if(v.flags&524288)T=!0;else if(v.flags&262144)break}if(v.tag===10){var F=v.alternate;if(F===null)throw Error(r(387));if(F=F.memoizedProps,F!==null){var q=v.type;Yn(v.pendingProps.value,F.value)||(i!==null?i.push(q):i=[q])}}else if(v===Ce.current){if(F=v.alternate,F===null)throw Error(r(387));F.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(i!==null?i.push(Vl):i=[Vl])}v=v.return}i!==null&&Yg(u,i,f,h),u.flags|=262144}function Uc(i){for(i=i.firstContext;i!==null;){if(!Yn(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function Zo(i){Xo=i,Ea=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function En(i){return CR(Xo,i)}function jc(i,u){return Xo===null&&Zo(i),CR(i,u)}function CR(i,u){var f=u._currentValue;if(u={context:u,memoizedValue:f,next:null},Ea===null){if(i===null)throw Error(r(308));Ea=u,i.dependencies={lanes:0,firstContext:u},i.flags|=524288}else Ea=Ea.next=u;return f}var ro=!1;function Kg(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xg(i,u){i=i.updateQueue,u.updateQueue===i&&(u.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function ao(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function oo(i,u,f){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,Ut&2){var v=h.pending;return v===null?u.next=u:(u.next=v.next,v.next=u),h.pending=u,u=Ec(i),u1(i,null,f),u}return Sc(i,h,u,f),Ec(i)}function _l(i,u,f){if(u=u.updateQueue,u!==null&&(u=u.shared,(f&4194176)!==0)){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,Rr(i,f)}}function Zg(i,u){var f=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,f===h)){var v=null,T=null;if(f=f.firstBaseUpdate,f!==null){do{var F={lane:f.lane,tag:f.tag,payload:f.payload,callback:null,next:null};T===null?v=T=F:T=T.next=F,f=f.next}while(f!==null);T===null?v=T=u:T=T.next=u}else v=T=u;f={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:T,shared:h.shared,callbacks:h.callbacks},i.updateQueue=f;return}i=f.lastBaseUpdate,i===null?f.firstBaseUpdate=u:i.next=u,f.lastBaseUpdate=u}var Qg=!1;function Nl(){if(Qg){var i=Vi;if(i!==null)throw i}}function Ol(i,u,f,h){Qg=!1;var v=i.updateQueue;ro=!1;var T=v.firstBaseUpdate,F=v.lastBaseUpdate,q=v.shared.pending;if(q!==null){v.shared.pending=null;var X=q,oe=X.next;X.next=null,F===null?T=oe:F.next=oe,F=X;var be=i.alternate;be!==null&&(be=be.updateQueue,q=be.lastBaseUpdate,q!==F&&(q===null?be.firstBaseUpdate=oe:q.next=oe,be.lastBaseUpdate=X))}if(T!==null){var Ae=v.baseState;F=0,be=oe=X=null,q=T;do{var de=q.lane&-536870913,ge=de!==q.lane;if(ge?(bt&de)===de:(h&de)===de){de!==0&&de===qi&&(Qg=!0),be!==null&&(be=be.next={lane:0,tag:q.tag,payload:q.payload,callback:null,next:null});e:{var qe=i,nt=q;de=u;var Vt=f;switch(nt.tag){case 1:if(qe=nt.payload,typeof qe=="function"){Ae=qe.call(Vt,Ae,de);break e}Ae=qe;break e;case 3:qe.flags=qe.flags&-65537|128;case 0:if(qe=nt.payload,de=typeof qe=="function"?qe.call(Vt,Ae,de):qe,de==null)break e;Ae=L({},Ae,de);break e;case 2:ro=!0}}de=q.callback,de!==null&&(i.flags|=64,ge&&(i.flags|=8192),ge=v.callbacks,ge===null?v.callbacks=[de]:ge.push(de))}else ge={lane:de,tag:q.tag,payload:q.payload,callback:q.callback,next:null},be===null?(oe=be=ge,X=Ae):be=be.next=ge,F|=de;if(q=q.next,q===null){if(q=v.shared.pending,q===null)break;ge=q,q=ge.next,ge.next=null,v.lastBaseUpdate=ge,v.shared.pending=null}}while(!0);be===null&&(X=Ae),v.baseState=X,v.firstBaseUpdate=oe,v.lastBaseUpdate=be,T===null&&(v.shared.lanes=0),co|=F,i.lanes=F,i.memoizedState=Ae}}function _R(i,u){if(typeof i!="function")throw Error(r(191,i));i.call(u)}function NR(i,u){var f=i.callbacks;if(f!==null)for(i.callbacks=null,i=0;i<f.length;i++)_R(f[i],u)}function Dl(i,u){try{var f=u.updateQueue,h=f!==null?f.lastEffect:null;if(h!==null){var v=h.next;f=v;do{if((f.tag&i)===i){h=void 0;var T=f.create,F=f.inst;h=T(),F.destroy=h}f=f.next}while(f!==v)}}catch(q){Nt(u,u.return,q)}}function io(i,u,f){try{var h=u.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var T=v.next;h=T;do{if((h.tag&i)===i){var F=h.inst,q=F.destroy;if(q!==void 0){F.destroy=void 0,v=u;var X=f;try{q()}catch(oe){Nt(v,X,oe)}}}h=h.next}while(h!==T)}}catch(oe){Nt(u,u.return,oe)}}function OR(i){var u=i.updateQueue;if(u!==null){var f=i.stateNode;try{NR(u,f)}catch(h){Nt(i,i.return,h)}}}function DR(i,u,f){f.props=Ko(i.type,i.memoizedProps),f.state=i.memoizedState;try{f.componentWillUnmount()}catch(h){Nt(i,u,h)}}function Qo(i,u){try{var f=i.ref;if(f!==null){var h=i.stateNode;switch(i.tag){case 26:case 27:case 5:var v=h;break;default:v=h}typeof f=="function"?i.refCleanup=f(v):f.current=v}}catch(T){Nt(i,u,T)}}function Kn(i,u){var f=i.ref,h=i.refCleanup;if(f!==null)if(typeof h=="function")try{h()}catch(v){Nt(i,u,v)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof f=="function")try{f(null)}catch(v){Nt(i,u,v)}else f.current=null}function IR(i){var u=i.type,f=i.memoizedProps,h=i.stateNode;try{e:switch(u){case"button":case"input":case"select":case"textarea":f.autoFocus&&h.focus();break e;case"img":f.src?h.src=f.src:f.srcSet&&(h.srcset=f.srcSet)}}catch(v){Nt(i,i.return,v)}}function LR(i,u,f){try{var h=i.stateNode;D6(h,i.type,f,u),h[Pn]=u}catch(v){Nt(i,i.return,v)}}function MR(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27||i.tag===4}function Jg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||MR(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==27&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function eh(i,u,f){var h=i.tag;if(h===5||h===6)i=i.stateNode,u?f.nodeType===8?f.parentNode.insertBefore(i,u):f.insertBefore(i,u):(f.nodeType===8?(u=f.parentNode,u.insertBefore(i,f)):(u=f,u.appendChild(i)),f=f._reactRootContainer,f!=null||u.onclick!==null||(u.onclick=td));else if(h!==4&&h!==27&&(i=i.child,i!==null))for(eh(i,u,f),i=i.sibling;i!==null;)eh(i,u,f),i=i.sibling}function Gc(i,u,f){var h=i.tag;if(h===5||h===6)i=i.stateNode,u?f.insertBefore(i,u):f.appendChild(i);else if(h!==4&&h!==27&&(i=i.child,i!==null))for(Gc(i,u,f),i=i.sibling;i!==null;)Gc(i,u,f),i=i.sibling}var xa=!1,$t=!1,th=!1,PR=typeof WeakSet=="function"?WeakSet:Set,sn=null,FR=!1;function l6(i,u){if(i=i.containerInfo,_h=ld,i=e1(i),rg(i)){if("selectionStart"in i)var f={start:i.selectionStart,end:i.selectionEnd};else e:{f=(f=i.ownerDocument)&&f.defaultView||window;var h=f.getSelection&&f.getSelection();if(h&&h.rangeCount!==0){f=h.anchorNode;var v=h.anchorOffset,T=h.focusNode;h=h.focusOffset;try{f.nodeType,T.nodeType}catch{f=null;break e}var F=0,q=-1,X=-1,oe=0,be=0,Ae=i,de=null;t:for(;;){for(var ge;Ae!==f||v!==0&&Ae.nodeType!==3||(q=F+v),Ae!==T||h!==0&&Ae.nodeType!==3||(X=F+h),Ae.nodeType===3&&(F+=Ae.nodeValue.length),(ge=Ae.firstChild)!==null;)de=Ae,Ae=ge;for(;;){if(Ae===i)break t;if(de===f&&++oe===v&&(q=F),de===T&&++be===h&&(X=F),(ge=Ae.nextSibling)!==null)break;Ae=de,de=Ae.parentNode}Ae=ge}f=q===-1||X===-1?null:{start:q,end:X}}else f=null}f=f||{start:0,end:0}}else f=null;for(Nh={focusedElem:i,selectionRange:f},ld=!1,sn=u;sn!==null;)if(u=sn,i=u.child,(u.subtreeFlags&1028)!==0&&i!==null)i.return=u,sn=i;else for(;sn!==null;){switch(u=sn,T=u.alternate,i=u.flags,u.tag){case 0:break;case 11:case 15:break;case 1:if(i&1024&&T!==null){i=void 0,f=u,v=T.memoizedProps,T=T.memoizedState,h=f.stateNode;try{var qe=Ko(f.type,v,f.elementType===f.type);i=h.getSnapshotBeforeUpdate(qe,T),h.__reactInternalSnapshotBeforeUpdate=i}catch(nt){Nt(f,f.return,nt)}}break;case 3:if(i&1024){if(i=u.stateNode.containerInfo,f=i.nodeType,f===9)Lh(i);else if(f===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Lh(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)throw Error(r(163))}if(i=u.sibling,i!==null){i.return=u.return,sn=i;break}sn=u.return}return qe=FR,FR=!1,qe}function zR(i,u,f){var h=f.flags;switch(f.tag){case 0:case 11:case 15:Ta(i,f),h&4&&Dl(5,f);break;case 1:if(Ta(i,f),h&4)if(i=f.stateNode,u===null)try{i.componentDidMount()}catch(q){Nt(f,f.return,q)}else{var v=Ko(f.type,u.memoizedProps);u=u.memoizedState;try{i.componentDidUpdate(v,u,i.__reactInternalSnapshotBeforeUpdate)}catch(q){Nt(f,f.return,q)}}h&64&&OR(f),h&512&&Qo(f,f.return);break;case 3:if(Ta(i,f),h&64&&(h=f.updateQueue,h!==null)){if(i=null,f.child!==null)switch(f.child.tag){case 27:case 5:i=f.child.stateNode;break;case 1:i=f.child.stateNode}try{NR(h,i)}catch(q){Nt(f,f.return,q)}}break;case 26:Ta(i,f),h&512&&Qo(f,f.return);break;case 27:case 5:Ta(i,f),u===null&&h&4&&IR(f),h&512&&Qo(f,f.return);break;case 12:Ta(i,f);break;case 13:Ta(i,f),h&4&&jR(i,f);break;case 22:if(v=f.memoizedState!==null||xa,!v){u=u!==null&&u.memoizedState!==null||$t;var T=xa,F=$t;xa=v,($t=u)&&!F?so(i,f,(f.subtreeFlags&8772)!==0):Ta(i,f),xa=T,$t=F}h&512&&(f.memoizedProps.mode==="manual"?Qo(f,f.return):Kn(f,f.return));break;default:Ta(i,f)}}function BR(i){var u=i.alternate;u!==null&&(i.alternate=null,BR(u)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(u=i.stateNode,u!==null&&jp(u)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Zt=null,Xn=!1;function ka(i,u,f){for(f=f.child;f!==null;)UR(i,u,f),f=f.sibling}function UR(i,u,f){if(et&&typeof et.onCommitFiberUnmount=="function")try{et.onCommitFiberUnmount(ht,f)}catch{}switch(f.tag){case 26:$t||Kn(f,u),ka(i,u,f),f.memoizedState?f.memoizedState.count--:f.stateNode&&(f=f.stateNode,f.parentNode.removeChild(f));break;case 27:$t||Kn(f,u);var h=Zt,v=Xn;for(Zt=f.stateNode,ka(i,u,f),f=f.stateNode,u=f.attributes;u.length;)f.removeAttributeNode(u[0]);jp(f),Zt=h,Xn=v;break;case 5:$t||Kn(f,u);case 6:v=Zt;var T=Xn;if(Zt=null,ka(i,u,f),Zt=v,Xn=T,Zt!==null)if(Xn)try{i=Zt,h=f.stateNode,i.nodeType===8?i.parentNode.removeChild(h):i.removeChild(h)}catch(F){Nt(f,u,F)}else try{Zt.removeChild(f.stateNode)}catch(F){Nt(f,u,F)}break;case 18:Zt!==null&&(Xn?(u=Zt,f=f.stateNode,u.nodeType===8?Ih(u.parentNode,f):u.nodeType===1&&Ih(u,f),Xl(u)):Ih(Zt,f.stateNode));break;case 4:h=Zt,v=Xn,Zt=f.stateNode.containerInfo,Xn=!0,ka(i,u,f),Zt=h,Xn=v;break;case 0:case 11:case 14:case 15:$t||io(2,f,u),$t||io(4,f,u),ka(i,u,f);break;case 1:$t||(Kn(f,u),h=f.stateNode,typeof h.componentWillUnmount=="function"&&DR(f,u,h)),ka(i,u,f);break;case 21:ka(i,u,f);break;case 22:$t||Kn(f,u),$t=(h=$t)||f.memoizedState!==null,ka(i,u,f),$t=h;break;default:ka(i,u,f)}}function jR(i,u){if(u.memoizedState===null&&(i=u.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{Xl(i)}catch(f){Nt(u,u.return,f)}}function u6(i){switch(i.tag){case 13:case 19:var u=i.stateNode;return u===null&&(u=i.stateNode=new PR),u;case 22:return i=i.stateNode,u=i._retryCache,u===null&&(u=i._retryCache=new PR),u;default:throw Error(r(435,i.tag))}}function nh(i,u){var f=u6(i);u.forEach(function(h){var v=w6.bind(null,i,h);f.has(h)||(f.add(h),h.then(v,v))})}function pr(i,u){var f=u.deletions;if(f!==null)for(var h=0;h<f.length;h++){var v=f[h],T=i,F=u,q=F;e:for(;q!==null;){switch(q.tag){case 27:case 5:Zt=q.stateNode,Xn=!1;break e;case 3:Zt=q.stateNode.containerInfo,Xn=!0;break e;case 4:Zt=q.stateNode.containerInfo,Xn=!0;break e}q=q.return}if(Zt===null)throw Error(r(160));UR(T,F,v),Zt=null,Xn=!1,T=v.alternate,T!==null&&(T.return=null),v.return=null}if(u.subtreeFlags&13878)for(u=u.child;u!==null;)GR(u,i),u=u.sibling}var Nr=null;function GR(i,u){var f=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:pr(u,i),gr(i),h&4&&(io(3,i,i.return),Dl(3,i),io(5,i,i.return));break;case 1:pr(u,i),gr(i),h&512&&($t||f===null||Kn(f,f.return)),h&64&&xa&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(f=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=f===null?h:f.concat(h))));break;case 26:var v=Nr;if(pr(u,i),gr(i),h&512&&($t||f===null||Kn(f,f.return)),h&4){var T=f!==null?f.memoizedState:null;if(h=i.memoizedState,f===null)if(h===null)if(i.stateNode===null){e:{h=i.type,f=i.memoizedProps,v=v.ownerDocument||v;t:switch(h){case"title":T=v.getElementsByTagName("title")[0],(!T||T[al]||T[Sn]||T.namespaceURI==="http://www.w3.org/2000/svg"||T.hasAttribute("itemprop"))&&(T=v.createElement(h),v.head.insertBefore(T,v.querySelector("head > title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var F=IC("link","href",v).get(h+(f.href||""));if(F){for(var q=0;q<F.length;q++)if(T=F[q],T.getAttribute("href")===(f.href==null?null:f.href)&&T.getAttribute("rel")===(f.rel==null?null:f.rel)&&T.getAttribute("title")===(f.title==null?null:f.title)&&T.getAttribute("crossorigin")===(f.crossOrigin==null?null:f.crossOrigin)){F.splice(q,1);break t}}T=v.createElement(h),mn(T,h,f),v.head.appendChild(T);break;case"meta":if(F=IC("meta","content",v).get(h+(f.content||""))){for(q=0;q<F.length;q++)if(T=F[q],T.getAttribute("content")===(f.content==null?null:""+f.content)&&T.getAttribute("name")===(f.name==null?null:f.name)&&T.getAttribute("property")===(f.property==null?null:f.property)&&T.getAttribute("http-equiv")===(f.httpEquiv==null?null:f.httpEquiv)&&T.getAttribute("charset")===(f.charSet==null?null:f.charSet)){F.splice(q,1);break t}}T=v.createElement(h),mn(T,h,f),v.head.appendChild(T);break;default:throw Error(r(468,h))}T[Sn]=i,an(T),h=T}i.stateNode=h}else LC(v,i.type,i.stateNode);else i.stateNode=DC(v,h,i.memoizedProps);else T!==h?(T===null?f.stateNode!==null&&(f=f.stateNode,f.parentNode.removeChild(f)):T.count--,h===null?LC(v,i.type,i.stateNode):DC(v,h,i.memoizedProps)):h===null&&i.stateNode!==null&&LR(i,i.memoizedProps,f.memoizedProps)}break;case 27:if(h&4&&i.alternate===null){v=i.stateNode,T=i.memoizedProps;try{for(var X=v.firstChild;X;){var oe=X.nextSibling,be=X.nodeName;X[al]||be==="HEAD"||be==="BODY"||be==="SCRIPT"||be==="STYLE"||be==="LINK"&&X.rel.toLowerCase()==="stylesheet"||v.removeChild(X),X=oe}for(var Ae=i.type,de=v.attributes;de.length;)v.removeAttributeNode(de[0]);mn(v,Ae,T),v[Sn]=i,v[Pn]=T}catch(qe){Nt(i,i.return,qe)}}case 5:if(pr(u,i),gr(i),h&512&&($t||f===null||Kn(f,f.return)),i.flags&32){v=i.stateNode;try{Ii(v,"")}catch(qe){Nt(i,i.return,qe)}}h&4&&i.stateNode!=null&&(v=i.memoizedProps,LR(i,v,f!==null?f.memoizedProps:v)),h&1024&&(th=!0);break;case 6:if(pr(u,i),gr(i),h&4){if(i.stateNode===null)throw Error(r(162));h=i.memoizedProps,f=i.stateNode;try{f.nodeValue=h}catch(qe){Nt(i,i.return,qe)}}break;case 3:if(od=null,v=Nr,Nr=rd(u.containerInfo),pr(u,i),Nr=v,gr(i),h&4&&f!==null&&f.memoizedState.isDehydrated)try{Xl(u.containerInfo)}catch(qe){Nt(i,i.return,qe)}th&&(th=!1,HR(i));break;case 4:h=Nr,Nr=rd(i.stateNode.containerInfo),pr(u,i),gr(i),Nr=h;break;case 12:pr(u,i),gr(i);break;case 13:pr(u,i),gr(i),i.child.flags&8192&&i.memoizedState!==null!=(f!==null&&f.memoizedState!==null)&&(dh=he()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,nh(i,h)));break;case 22:if(h&512&&($t||f===null||Kn(f,f.return)),X=i.memoizedState!==null,oe=f!==null&&f.memoizedState!==null,be=xa,Ae=$t,xa=be||X,$t=Ae||oe,pr(u,i),$t=Ae,xa=be,gr(i),u=i.stateNode,u._current=i,u._visibility&=-3,u._visibility|=u._pendingVisibility&2,h&8192&&(u._visibility=X?u._visibility&-2:u._visibility|1,X&&(u=xa||$t,f===null||oe||u||Xi(i)),i.memoizedProps===null||i.memoizedProps.mode!=="manual"))e:for(f=null,u=i;;){if(u.tag===5||u.tag===26||u.tag===27){if(f===null){oe=f=u;try{if(v=oe.stateNode,X)T=v.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{F=oe.stateNode,q=oe.memoizedProps.style;var ge=q!=null&&q.hasOwnProperty("display")?q.display:null;F.style.display=ge==null||typeof ge=="boolean"?"":(""+ge).trim()}}catch(qe){Nt(oe,oe.return,qe)}}}else if(u.tag===6){if(f===null){oe=u;try{oe.stateNode.nodeValue=X?"":oe.memoizedProps}catch(qe){Nt(oe,oe.return,qe)}}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===i)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break e;for(;u.sibling===null;){if(u.return===null||u.return===i)break e;f===u&&(f=null),u=u.return}f===u&&(f=null),u.sibling.return=u.return,u=u.sibling}h&4&&(h=i.updateQueue,h!==null&&(f=h.retryQueue,f!==null&&(h.retryQueue=null,nh(i,f))));break;case 19:pr(u,i),gr(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,nh(i,h)));break;case 21:break;default:pr(u,i),gr(i)}}function gr(i){var u=i.flags;if(u&2){try{if(i.tag!==27){e:{for(var f=i.return;f!==null;){if(MR(f)){var h=f;break e}f=f.return}throw Error(r(160))}switch(h.tag){case 27:var v=h.stateNode,T=Jg(i);Gc(i,T,v);break;case 5:var F=h.stateNode;h.flags&32&&(Ii(F,""),h.flags&=-33);var q=Jg(i);Gc(i,q,F);break;case 3:case 4:var X=h.stateNode.containerInfo,oe=Jg(i);eh(i,oe,X);break;default:throw Error(r(161))}}}catch(be){Nt(i,i.return,be)}i.flags&=-3}u&4096&&(i.flags&=-4097)}function HR(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var u=i;HR(u),u.tag===5&&u.flags&1024&&u.stateNode.reset(),i=i.sibling}}function Ta(i,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)zR(i,u.alternate,u),u=u.sibling}function Xi(i){for(i=i.child;i!==null;){var u=i;switch(u.tag){case 0:case 11:case 14:case 15:io(4,u,u.return),Xi(u);break;case 1:Kn(u,u.return);var f=u.stateNode;typeof f.componentWillUnmount=="function"&&DR(u,u.return,f),Xi(u);break;case 26:case 27:case 5:Kn(u,u.return),Xi(u);break;case 22:Kn(u,u.return),u.memoizedState===null&&Xi(u);break;default:Xi(u)}i=i.sibling}}function so(i,u,f){for(f=f&&(u.subtreeFlags&8772)!==0,u=u.child;u!==null;){var h=u.alternate,v=i,T=u,F=T.flags;switch(T.tag){case 0:case 11:case 15:so(v,T,f),Dl(4,T);break;case 1:if(so(v,T,f),h=T,v=h.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(oe){Nt(h,h.return,oe)}if(h=T,v=h.updateQueue,v!==null){var q=h.stateNode;try{var X=v.shared.hiddenCallbacks;if(X!==null)for(v.shared.hiddenCallbacks=null,v=0;v<X.length;v++)_R(X[v],q)}catch(oe){Nt(h,h.return,oe)}}f&&F&64&&OR(T),Qo(T,T.return);break;case 26:case 27:case 5:so(v,T,f),f&&h===null&&F&4&&IR(T),Qo(T,T.return);break;case 12:so(v,T,f);break;case 13:so(v,T,f),f&&F&4&&jR(v,T);break;case 22:T.memoizedState===null&&so(v,T,f),Qo(T,T.return);break;default:so(v,T,f)}u=u.sibling}}function rh(i,u){var f=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),i=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(i=u.memoizedState.cachePool.pool),i!==f&&(i!=null&&i.refCount++,f!=null&&wl(f))}function ah(i,u){i=null,u.alternate!==null&&(i=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==i&&(u.refCount++,i!=null&&wl(i))}function lo(i,u,f,h){if(u.subtreeFlags&10256)for(u=u.child;u!==null;)$R(i,u,f,h),u=u.sibling}function $R(i,u,f,h){var v=u.flags;switch(u.tag){case 0:case 11:case 15:lo(i,u,f,h),v&2048&&Dl(9,u);break;case 3:lo(i,u,f,h),v&2048&&(i=null,u.alternate!==null&&(i=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==i&&(u.refCount++,i!=null&&wl(i)));break;case 12:if(v&2048){lo(i,u,f,h),i=u.stateNode;try{var T=u.memoizedProps,F=T.id,q=T.onPostCommit;typeof q=="function"&&q(F,u.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(X){Nt(u,u.return,X)}}else lo(i,u,f,h);break;case 23:break;case 22:T=u.stateNode,u.memoizedState!==null?T._visibility&4?lo(i,u,f,h):Il(i,u):T._visibility&4?lo(i,u,f,h):(T._visibility|=4,Zi(i,u,f,h,(u.subtreeFlags&10256)!==0)),v&2048&&rh(u.alternate,u);break;case 24:lo(i,u,f,h),v&2048&&ah(u.alternate,u);break;default:lo(i,u,f,h)}}function Zi(i,u,f,h,v){for(v=v&&(u.subtreeFlags&10256)!==0,u=u.child;u!==null;){var T=i,F=u,q=f,X=h,oe=F.flags;switch(F.tag){case 0:case 11:case 15:Zi(T,F,q,X,v),Dl(8,F);break;case 23:break;case 22:var be=F.stateNode;F.memoizedState!==null?be._visibility&4?Zi(T,F,q,X,v):Il(T,F):(be._visibility|=4,Zi(T,F,q,X,v)),v&&oe&2048&&rh(F.alternate,F);break;case 24:Zi(T,F,q,X,v),v&&oe&2048&&ah(F.alternate,F);break;default:Zi(T,F,q,X,v)}u=u.sibling}}function Il(i,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var f=i,h=u,v=h.flags;switch(h.tag){case 22:Il(f,h),v&2048&&rh(h.alternate,h);break;case 24:Il(f,h),v&2048&&ah(h.alternate,h);break;default:Il(f,h)}u=u.sibling}}var Ll=8192;function Qi(i){if(i.subtreeFlags&Ll)for(i=i.child;i!==null;)qR(i),i=i.sibling}function qR(i){switch(i.tag){case 26:Qi(i),i.flags&Ll&&i.memoizedState!==null&&Z6(Nr,i.memoizedState,i.memoizedProps);break;case 5:Qi(i);break;case 3:case 4:var u=Nr;Nr=rd(i.stateNode.containerInfo),Qi(i),Nr=u;break;case 22:i.memoizedState===null&&(u=i.alternate,u!==null&&u.memoizedState!==null?(u=Ll,Ll=16777216,Qi(i),Ll=u):Qi(i));break;default:Qi(i)}}function VR(i){var u=i.alternate;if(u!==null&&(i=u.child,i!==null)){u.child=null;do u=i.sibling,i.sibling=null,i=u;while(i!==null)}}function Ml(i){var u=i.deletions;if(i.flags&16){if(u!==null)for(var f=0;f<u.length;f++){var h=u[f];sn=h,YR(h,i)}VR(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)WR(i),i=i.sibling}function WR(i){switch(i.tag){case 0:case 11:case 15:Ml(i),i.flags&2048&&io(9,i,i.return);break;case 3:Ml(i);break;case 12:Ml(i);break;case 22:var u=i.stateNode;i.memoizedState!==null&&u._visibility&4&&(i.return===null||i.return.tag!==13)?(u._visibility&=-5,Hc(i)):Ml(i);break;default:Ml(i)}}function Hc(i){var u=i.deletions;if(i.flags&16){if(u!==null)for(var f=0;f<u.length;f++){var h=u[f];sn=h,YR(h,i)}VR(i)}for(i=i.child;i!==null;){switch(u=i,u.tag){case 0:case 11:case 15:io(8,u,u.return),Hc(u);break;case 22:f=u.stateNode,f._visibility&4&&(f._visibility&=-5,Hc(u));break;default:Hc(u)}i=i.sibling}}function YR(i,u){for(;sn!==null;){var f=sn;switch(f.tag){case 0:case 11:case 15:io(8,f,u);break;case 23:case 22:if(f.memoizedState!==null&&f.memoizedState.cachePool!==null){var h=f.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:wl(f.memoizedState.cache)}if(h=f.child,h!==null)h.return=f,sn=h;else e:for(f=i;sn!==null;){h=sn;var v=h.sibling,T=h.return;if(BR(h),h===f){sn=null;break e}if(v!==null){v.return=T,sn=v;break e}sn=T}}}function c6(i,u,f,h){this.tag=i,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hr(i,u,f,h){return new c6(i,u,f,h)}function oh(i){return i=i.prototype,!(!i||!i.isReactComponent)}function uo(i,u){var f=i.alternate;return f===null?(f=hr(i.tag,u,i.key,i.mode),f.elementType=i.elementType,f.type=i.type,f.stateNode=i.stateNode,f.alternate=i,i.alternate=f):(f.pendingProps=u,f.type=i.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=i.flags&31457280,f.childLanes=i.childLanes,f.lanes=i.lanes,f.child=i.child,f.memoizedProps=i.memoizedProps,f.memoizedState=i.memoizedState,f.updateQueue=i.updateQueue,u=i.dependencies,f.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},f.sibling=i.sibling,f.index=i.index,f.ref=i.ref,f.refCleanup=i.refCleanup,f}function KR(i,u){i.flags&=31457282;var f=i.alternate;return f===null?(i.childLanes=0,i.lanes=u,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=f.childLanes,i.lanes=f.lanes,i.child=f.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=f.memoizedProps,i.memoizedState=f.memoizedState,i.updateQueue=f.updateQueue,i.type=f.type,u=f.dependencies,i.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),i}function $c(i,u,f,h,v,T){var F=0;if(h=i,typeof i=="function")oh(i)&&(F=1);else if(typeof i=="string")F=K6(i,f,Se.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case c:return Jo(f.children,v,T,u);case d:F=8,v|=24;break;case p:return i=hr(12,f,u,v|2),i.elementType=p,i.lanes=T,i;case S:return i=hr(13,f,u,v),i.elementType=S,i.lanes=T,i;case k:return i=hr(19,f,u,v),i.elementType=k,i.lanes=T,i;case A:return XR(f,v,T,u);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case g:case b:F=10;break e;case m:F=9;break e;case y:F=11;break e;case R:F=14;break e;case x:F=16,h=null;break e}F=29,f=Error(r(130,i===null?"null":typeof i,"")),h=null}return u=hr(F,f,u,v),u.elementType=i,u.type=h,u.lanes=T,u}function Jo(i,u,f,h){return i=hr(7,i,h,u),i.lanes=f,i}function XR(i,u,f,h){i=hr(22,i,h,u),i.elementType=A,i.lanes=f;var v={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var T=v._current;if(T===null)throw Error(r(456));if(!(v._pendingVisibility&2)){var F=Za(T,2);F!==null&&(v._pendingVisibility|=2,On(F,T,2))}},attach:function(){var T=v._current;if(T===null)throw Error(r(456));if(v._pendingVisibility&2){var F=Za(T,2);F!==null&&(v._pendingVisibility&=-3,On(F,T,2))}}};return i.stateNode=v,i}function ih(i,u,f){return i=hr(6,i,null,u),i.lanes=f,i}function sh(i,u,f){return u=hr(4,i.children!==null?i.children:[],i.key,u),u.lanes=f,u.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},u}function Aa(i){i.flags|=4}function ZR(i,u){if(u.type!=="stylesheet"||u.state.loading&4)i.flags&=-16777217;else if(i.flags|=16777216,!MC(u)){if(u=fr.current,u!==null&&((bt&4194176)===bt?Vr!==null:(bt&62914560)!==bt&&!(bt&536870912)||u!==Vr))throw vl=fg,g1;i.flags|=8192}}function qc(i,u){u!==null&&(i.flags|=4),i.flags&16384&&(u=i.tag!==22?In():536870912,i.lanes|=u,es|=u)}function Pl(i,u){if(!Et)switch(i.tailMode){case"hidden":u=i.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?i.tail=null:f.sibling=null;break;case"collapsed":f=i.tail;for(var h=null;f!==null;)f.alternate!==null&&(h=f),f=f.sibling;h===null?u||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Bt(i){var u=i.alternate!==null&&i.alternate.child===i.child,f=0,h=0;if(u)for(var v=i.child;v!==null;)f|=v.lanes|v.childLanes,h|=v.subtreeFlags&31457280,h|=v.flags&31457280,v.return=i,v=v.sibling;else for(v=i.child;v!==null;)f|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=i,v=v.sibling;return i.subtreeFlags|=h,i.childLanes=f,u}function d6(i,u,f){var h=u.pendingProps;switch(cg(u),u.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(u),null;case 1:return Bt(u),null;case 3:return f=u.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),u.memoizedState.cache!==h&&(u.flags|=2048),wa(tn),te(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(i===null||i.child===null)&&(hl(u)?Aa(u):i===null||i.memoizedState.isDehydrated&&!(u.flags&256)||(u.flags|=1024,_r!==null&&(hh(_r),_r=null))),Bt(u),null;case 26:return f=u.memoizedState,i===null?(Aa(u),f!==null?(Bt(u),ZR(u,f)):(Bt(u),u.flags&=-16777217)):f?f!==i.memoizedState?(Aa(u),Bt(u),ZR(u,f)):(Bt(u),u.flags&=-16777217):(i.memoizedProps!==h&&Aa(u),Bt(u),u.flags&=-16777217),null;case 27:Te(u),f=Ie.current;var v=u.type;if(i!==null&&u.stateNode!=null)i.memoizedProps!==h&&Aa(u);else{if(!h){if(u.stateNode===null)throw Error(r(166));return Bt(u),null}i=Se.current,hl(u)?f1(u):(i=RC(v,h,f),u.stateNode=i,Aa(u))}return Bt(u),null;case 5:if(Te(u),f=u.type,i!==null&&u.stateNode!=null)i.memoizedProps!==h&&Aa(u);else{if(!h){if(u.stateNode===null)throw Error(r(166));return Bt(u),null}if(i=Se.current,hl(u))f1(u);else{switch(v=nd(Ie.current),i){case 1:i=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:i=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":i=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":i=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":i=v.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?v.createElement("select",{is:h.is}):v.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?v.createElement(f,{is:h.is}):v.createElement(f)}}i[Sn]=u,i[Pn]=h;e:for(v=u.child;v!==null;){if(v.tag===5||v.tag===6)i.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===u)break e;for(;v.sibling===null;){if(v.return===null||v.return===u)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}u.stateNode=i;e:switch(mn(i,f,h),f){case"button":case"input":case"select":case"textarea":i=!!h.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Aa(u)}}return Bt(u),u.flags&=-16777217,null;case 6:if(i&&u.stateNode!=null)i.memoizedProps!==h&&Aa(u);else{if(typeof h!="string"&&u.stateNode===null)throw Error(r(166));if(i=Ie.current,hl(u)){if(i=u.stateNode,f=u.memoizedProps,h=null,v=Nn,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[Sn]=u,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||EC(i.nodeValue,f)),i||Ho(u)}else i=nd(i).createTextNode(h),i[Sn]=u,u.stateNode=i}return Bt(u),null;case 13:if(h=u.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=hl(u),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=u.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Sn]=u}else ml(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;Bt(u),v=!1}else _r!==null&&(hh(_r),_r=null),v=!0;if(!v)return u.flags&256?(ya(u),u):(ya(u),null)}if(ya(u),u.flags&128)return u.lanes=f,u;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=u.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==v&&(h.flags|=2048)}return f!==i&&f&&(u.child.flags|=8192),qc(u,u.updateQueue),Bt(u),null;case 4:return te(),i===null&&Ah(u.stateNode.containerInfo),Bt(u),null;case 10:return wa(u.type),Bt(u),null;case 19:if(ke(en),v=u.memoizedState,v===null)return Bt(u),null;if(h=(u.flags&128)!==0,T=v.rendering,T===null)if(h)Pl(v,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=u.child;i!==null;){if(T=Cc(i),T!==null){for(u.flags|=128,Pl(v,!1),i=T.updateQueue,u.updateQueue=i,qc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)KR(f,i),f=f.sibling;return ie(en,en.current&1|2),u.child}i=i.sibling}v.tail!==null&&he()>Vc&&(u.flags|=128,h=!0,Pl(v,!1),u.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,qc(u,i),Pl(v,!0),v.tail===null&&v.tailMode==="hidden"&&!T.alternate&&!Et)return Bt(u),null}else 2*he()-v.renderingStartTime>Vc&&f!==536870912&&(u.flags|=128,h=!0,Pl(v,!1),u.lanes=4194304);v.isBackwards?(T.sibling=u.child,u.child=T):(i=v.last,i!==null?i.sibling=T:u.child=T,v.last=T)}return v.tail!==null?(u=v.tail,v.rendering=u,v.tail=u.sibling,v.renderingStartTime=he(),u.sibling=null,i=en.current,ie(en,h?i&1|2:i&1),u):(Bt(u),null);case 22:case 23:return ya(u),gg(),h=u.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(u.flags|=8192):h&&(u.flags|=8192),h?f&536870912&&!(u.flags&128)&&(Bt(u),u.subtreeFlags&6&&(u.flags|=8192)):Bt(u),f=u.updateQueue,f!==null&&qc(u,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==f&&(u.flags|=2048),i!==null&&ke(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),wa(tn),Bt(u),null;case 25:return null}throw Error(r(156,u.tag))}function f6(i,u){switch(cg(u),u.tag){case 1:return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 3:return wa(tn),te(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return Te(u),null;case 13:if(ya(u),i=u.memoizedState,i!==null&&i.dehydrated!==null){if(u.alternate===null)throw Error(r(340));ml()}return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 19:return ke(en),null;case 4:return te(),null;case 10:return wa(u.type),null;case 22:case 23:return ya(u),gg(),i!==null&&ke(qo),i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 24:return wa(tn),null;case 25:return null;default:return null}}function QR(i,u){switch(cg(u),u.tag){case 3:wa(tn),te();break;case 26:case 27:case 5:Te(u);break;case 4:te();break;case 13:ya(u);break;case 19:ke(en);break;case 10:wa(u.type);break;case 22:case 23:ya(u),gg(),i!==null&&ke(qo);break;case 24:wa(tn)}}var p6={getCacheForType:function(i){var u=En(tn),f=u.data.get(i);return f===void 0&&(f=i(),u.data.set(i,f)),f}},g6=typeof WeakMap=="function"?WeakMap:Map,Ut=0,It=null,ct=null,bt=0,Lt=0,Zn=null,Ra=!1,Ji=!1,lh=!1,Ca=0,qt=0,co=0,ei=0,uh=0,mr=0,es=0,Fl=null,Yr=null,ch=!1,dh=0,Vc=1/0,Wc=null,fo=null,Yc=!1,ti=null,zl=0,fh=0,ph=null,Bl=0,gh=null;function Qn(){if(Ut&2&&bt!==0)return bt&-bt;if(I.T!==null){var i=qi;return i!==0?i:wh()}return vA()}function JR(){mr===0&&(mr=!(bt&536870912)||Et?_t():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,u,f){(i===It&&Lt===2||i.cancelPendingCommit!==null)&&(ts(i,0),_a(i,bt,mr,!1)),Ln(i,f),(!(Ut&2)||i!==It)&&(i===It&&(!(Ut&2)&&(ei|=f),qt===4&&_a(i,bt,mr,!1)),Kr(i))}function eC(i,u,f){if(Ut&6)throw Error(r(327));var h=!f&&(u&60)===0&&(u&i.expiredLanes)===0||Xe(i,u),v=h?b6(i,u):yh(i,u,!0),T=h;do{if(v===0){Ji&&!h&&_a(i,u,0,!1);break}else if(v===6)_a(i,u,0,!Ra);else{if(f=i.current.alternate,T&&!h6(f)){v=yh(i,u,!1),T=!1;continue}if(v===2){if(T=u,i.errorRecoveryDisabledLanes&T)var F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){u=F;e:{var q=i;v=Fl;var X=q.current.memoizedState.isDehydrated;if(X&&(ts(q,F).flags|=256),F=yh(q,F,!1),F!==2){if(lh&&!X){q.errorRecoveryDisabledLanes|=T,ei|=T,v=4;break e}T=Yr,Yr=v,T!==null&&hh(T)}v=F}if(T=!1,v!==2)continue}}if(v===1){ts(i,0),_a(i,u,0,!0);break}e:{switch(h=i,v){case 0:case 1:throw Error(r(345));case 4:if((u&4194176)===u){_a(h,u,mr,!Ra);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=u,(u&62914560)===u&&(T=dh+300-he(),10<T)){if(_a(h,u,mr,!Ra),fa(h,0)!==0)break e;h.timeoutHandle=kC(tC.bind(null,h,f,Yr,Wc,ch,u,mr,ei,es,Ra,2,-0,0),T);break e}tC(h,f,Yr,Wc,ch,u,mr,ei,es,Ra,0,-0,0)}}break}while(!0);Kr(i)}function hh(i){Yr===null?Yr=i:Yr.push.apply(Yr,i)}function tC(i,u,f,h,v,T,F,q,X,oe,be,Ae,de){var ge=u.subtreeFlags;if((ge&8192||(ge&16785408)===16785408)&&(ql={stylesheets:null,count:0,unsuspend:X6},qR(u),u=Q6(),u!==null)){i.cancelPendingCommit=u(lC.bind(null,i,f,h,v,F,q,X,1,Ae,de)),_a(i,T,F,!oe);return}lC(i,f,h,v,F,q,X,be,Ae,de)}function h6(i){for(var u=i;;){var f=u.tag;if((f===0||f===11||f===15)&&u.flags&16384&&(f=u.updateQueue,f!==null&&(f=f.stores,f!==null)))for(var h=0;h<f.length;h++){var v=f[h],T=v.getSnapshot;v=v.value;try{if(!Yn(T(),v))return!1}catch{return!1}}if(f=u.child,u.subtreeFlags&16384&&f!==null)f.return=u,u=f;else{if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function _a(i,u,f,h){u&=~uh,u&=~ei,i.suspendedLanes|=u,i.pingedLanes&=~u,h&&(i.warmLanes|=u),h=i.expirationTimes;for(var v=u;0<v;){var T=31-St(v),F=1<<T;h[T]=-1,v&=~F}f!==0&&Mn(i,f,u)}function Kc(){return Ut&6?!0:(Ul(0),!1)}function mh(){if(ct!==null){if(Lt===0)var i=ct.return;else i=ct,Ea=Xo=null,wg(i),Hi=null,Sl=0,i=ct;for(;i!==null;)QR(i.alternate,i),i=i.return;ct=null}}function ts(i,u){i.finishedWork=null,i.finishedLanes=0;var f=i.timeoutHandle;f!==-1&&(i.timeoutHandle=-1,L6(f)),f=i.cancelPendingCommit,f!==null&&(i.cancelPendingCommit=null,f()),mh(),It=i,ct=f=uo(i.current,null),bt=u,Lt=0,Zn=null,Ra=!1,Ji=Xe(i,u),lh=!1,es=mr=uh=ei=co=qt=0,Yr=Fl=null,ch=!1,u&8&&(u|=u&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=u;0<h;){var v=31-St(h),T=1<<v;u|=i[v],h&=~T}return Ca=u,vc(),f}function nC(i,u){st=null,I.H=Wr,u===yl?(u=b1(),Lt=3):u===g1?(u=b1(),Lt=4):Lt=u===hR?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,Zn=u,ct===null&&(qt=1,Bc(i,ur(u,i.current)))}function rC(){var i=I.H;return I.H=Wr,i===null?Wr:i}function aC(){var i=I.A;return I.A=p6,i}function bh(){qt=4,Ra||(bt&4194176)!==bt&&fr.current!==null||(Ji=!0),!(co&134217727)&&!(ei&134217727)||It===null||_a(It,bt,mr,!1)}function yh(i,u,f){var h=Ut;Ut|=2;var v=rC(),T=aC();(It!==i||bt!==u)&&(Wc=null,ts(i,u)),u=!1;var F=qt;e:do try{if(Lt!==0&&ct!==null){var q=ct,X=Zn;switch(Lt){case 8:mh(),F=6;break e;case 3:case 2:case 6:fr.current===null&&(u=!0);var oe=Lt;if(Lt=0,Zn=null,ns(i,q,X,oe),f&&Ji){F=0;break e}break;default:oe=Lt,Lt=0,Zn=null,ns(i,q,X,oe)}}m6(),F=qt;break}catch(be){nC(i,be)}while(!0);return u&&i.shellSuspendCounter++,Ea=Xo=null,Ut=h,I.H=v,I.A=T,ct===null&&(It=null,bt=0,vc()),F}function m6(){for(;ct!==null;)oC(ct)}function b6(i,u){var f=Ut;Ut|=2;var h=rC(),v=aC();It!==i||bt!==u?(Wc=null,Vc=he()+500,ts(i,u)):Ji=Xe(i,u);e:do try{if(Lt!==0&&ct!==null){u=ct;var T=Zn;t:switch(Lt){case 1:Lt=0,Zn=null,ns(i,u,T,1);break;case 2:if(h1(T)){Lt=0,Zn=null,iC(u);break}u=function(){Lt===2&&It===i&&(Lt=7),Kr(i)},T.then(u,u);break e;case 3:Lt=7;break e;case 4:Lt=5;break e;case 7:h1(T)?(Lt=0,Zn=null,iC(u)):(Lt=0,Zn=null,ns(i,u,T,7));break;case 5:var F=null;switch(ct.tag){case 26:F=ct.memoizedState;case 5:case 27:var q=ct;if(!F||MC(F)){Lt=0,Zn=null;var X=q.sibling;if(X!==null)ct=X;else{var oe=q.return;oe!==null?(ct=oe,Xc(oe)):ct=null}break t}}Lt=0,Zn=null,ns(i,u,T,5);break;case 6:Lt=0,Zn=null,ns(i,u,T,6);break;case 8:mh(),qt=6;break e;default:throw Error(r(462))}}y6();break}catch(be){nC(i,be)}while(!0);return Ea=Xo=null,I.H=h,I.A=v,Ut=f,ct!==null?0:(It=null,bt=0,vc(),qt)}function y6(){for(;ct!==null&&!ze();)oC(ct)}function oC(i){var u=RR(i.alternate,i,Ca);i.memoizedProps=i.pendingProps,u===null?Xc(i):ct=u}function iC(i){var u=i,f=u.alternate;switch(u.tag){case 15:case 0:u=ER(f,u,u.pendingProps,u.type,void 0,bt);break;case 11:u=ER(f,u,u.pendingProps,u.type.render,u.ref,bt);break;case 5:wg(u);default:QR(f,u),u=ct=KR(u,Ca),u=RR(f,u,Ca)}i.memoizedProps=i.pendingProps,u===null?Xc(i):ct=u}function ns(i,u,f,h){Ea=Xo=null,wg(u),Hi=null,Sl=0;var v=u.return;try{if(i6(i,v,u,f,bt)){qt=1,Bc(i,ur(f,i.current)),ct=null;return}}catch(T){if(v!==null)throw ct=v,T;qt=1,Bc(i,ur(f,i.current)),ct=null;return}u.flags&32768?(Et||h===1?i=!0:Ji||bt&536870912?i=!1:(Ra=i=!0,(h===2||h===3||h===6)&&(h=fr.current,h!==null&&h.tag===13&&(h.flags|=16384))),sC(u,i)):Xc(u)}function Xc(i){var u=i;do{if(u.flags&32768){sC(u,Ra);return}i=u.return;var f=d6(u.alternate,u,Ca);if(f!==null){ct=f;return}if(u=u.sibling,u!==null){ct=u;return}ct=u=i}while(u!==null);qt===0&&(qt=5)}function sC(i,u){do{var f=f6(i.alternate,i);if(f!==null){f.flags&=32767,ct=f;return}if(f=i.return,f!==null&&(f.flags|=32768,f.subtreeFlags=0,f.deletions=null),!u&&(i=i.sibling,i!==null)){ct=i;return}ct=i=f}while(i!==null);qt=6,ct=null}function lC(i,u,f,h,v,T,F,q,X,oe){var be=I.T,Ae=K.p;try{K.p=2,I.T=null,v6(i,u,f,h,Ae,v,T,F,q,X,oe)}finally{I.T=be,K.p=Ae}}function v6(i,u,f,h,v,T,F,q){do rs();while(ti!==null);if(Ut&6)throw Error(r(327));var X=i.finishedWork;if(h=i.finishedLanes,X===null)return null;if(i.finishedWork=null,i.finishedLanes=0,X===i.current)throw Error(r(177));i.callbackNode=null,i.callbackPriority=0,i.cancelPendingCommit=null;var oe=X.lanes|X.childLanes;if(oe|=sg,pa(i,h,oe,T,F,q),i===It&&(ct=It=null,bt=0),!(X.subtreeFlags&10256)&&!(X.flags&10256)||Yc||(Yc=!0,fh=oe,ph=f,x6(_e,function(){return rs(),null})),f=(X.flags&15990)!==0,X.subtreeFlags&15990||f?(f=I.T,I.T=null,T=K.p,K.p=2,F=Ut,Ut|=4,l6(i,X),GR(X,i),H$(Nh,i.containerInfo),ld=!!_h,Nh=_h=null,i.current=X,zR(i,X.alternate,X),Be(),Ut=F,K.p=T,I.T=f):i.current=X,Yc?(Yc=!1,ti=i,zl=h):uC(i,oe),oe=i.pendingLanes,oe===0&&(fo=null),Tt(X.stateNode),Kr(i),u!==null)for(v=i.onRecoverableError,X=0;X<u.length;X++)oe=u[X],v(oe.value,{componentStack:oe.stack});return zl&3&&rs(),oe=i.pendingLanes,h&4194218&&oe&42?i===gh?Bl++:(Bl=0,gh=i):Bl=0,Ul(0),null}function uC(i,u){(i.pooledCacheLanes&=u)===0&&(u=i.pooledCache,u!=null&&(i.pooledCache=null,wl(u)))}function rs(){if(ti!==null){var i=ti,u=fh;fh=0;var f=yA(zl),h=I.T,v=K.p;try{if(K.p=32>f?32:f,I.T=null,ti===null)var T=!1;else{f=ph,ph=null;var F=ti,q=zl;if(ti=null,zl=0,Ut&6)throw Error(r(331));var X=Ut;if(Ut|=4,WR(F.current),$R(F,F.current,q,f),Ut=X,Ul(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(ht,F)}catch{}T=!0}return T}finally{K.p=v,I.T=h,uC(i,u)}}return!1}function cC(i,u,f){u=ur(f,u),u=Pg(i.stateNode,u,2),i=oo(i,u,2),i!==null&&(Ln(i,2),Kr(i))}function Nt(i,u,f){if(i.tag===3)cC(i,i,f);else for(;u!==null;){if(u.tag===3){cC(u,i,f);break}else if(u.tag===1){var h=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(fo===null||!fo.has(h))){i=ur(f,i),f=pR(2),h=oo(u,f,2),h!==null&&(gR(f,h,u,i),Ln(h,2),Kr(h));break}}u=u.return}}function vh(i,u,f){var h=i.pingCache;if(h===null){h=i.pingCache=new g6;var v=new Set;h.set(u,v)}else v=h.get(u),v===void 0&&(v=new Set,h.set(u,v));v.has(f)||(lh=!0,v.add(f),i=S6.bind(null,i,u,f),u.then(i,i))}function S6(i,u,f){var h=i.pingCache;h!==null&&h.delete(u),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,It===i&&(bt&f)===f&&(qt===4||qt===3&&(bt&62914560)===bt&&300>he()-dh?!(Ut&2)&&ts(i,0):uh|=f,es===bt&&(es=0)),Kr(i)}function dC(i,u){u===0&&(u=In()),i=Za(i,u),i!==null&&(Ln(i,u),Kr(i))}function E6(i){var u=i.memoizedState,f=0;u!==null&&(f=u.retryLane),dC(i,f)}function w6(i,u){var f=0;switch(i.tag){case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(f=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(u),dC(i,f)}function x6(i,u){return we(i,u)}var Zc=null,as=null,Sh=!1,Qc=!1,Eh=!1,ni=0;function Kr(i){i!==as&&i.next===null&&(as===null?Zc=as=i:as=as.next=i),Qc=!0,Sh||(Sh=!0,T6(k6))}function Ul(i,u){if(!Eh&&Qc){Eh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-St(42|i)+1)-1,T&=v&~(F&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,gC(h,T))}else T=bt,T=fa(h,h===It?T:0),!(T&3)||Xe(h,T)||(f=!0,gC(h,T));h=h.next}while(f);Eh=!1}}function k6(){Qc=Sh=!1;var i=0;ni!==0&&(I6()&&(i=ni),ni=0);for(var u=he(),f=null,h=Zc;h!==null;){var v=h.next,T=fC(h,u);T===0?(h.next=null,f===null?Zc=v:f.next=v,v===null&&(as=f)):(f=h,(i!==0||T&3)&&(Qc=!0)),h=v}Ul(i)}function fC(i,u){for(var f=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,T=i.pendingLanes&-62914561;0<T;){var F=31-St(T),q=1<<F,X=v[F];X===-1?(!(q&f)||q&h)&&(v[F]=mt(q,u)):X<=u&&(i.expiredLanes|=q),T&=~q}if(u=It,f=bt,f=fa(i,i===u?f:0),h=i.callbackNode,f===0||i===u&&Lt===2||i.cancelPendingCommit!==null)return h!==null&&h!==null&&le(h),i.callbackNode=null,i.callbackPriority=0;if(!(f&3)||Xe(i,f)){if(u=f&-f,u===i.callbackPriority)return u;switch(h!==null&&le(h),yA(f)){case 2:case 8:f=ce;break;case 32:f=_e;break;case 268435456:f=We;break;default:f=_e}return h=pC.bind(null,i),f=we(f,h),i.callbackPriority=u,i.callbackNode=f,u}return h!==null&&h!==null&&le(h),i.callbackPriority=2,i.callbackNode=null,2}function pC(i,u){var f=i.callbackNode;if(rs()&&i.callbackNode!==f)return null;var h=bt;return h=fa(i,i===It?h:0),h===0?null:(eC(i,h,u),fC(i,he()),i.callbackNode!=null&&i.callbackNode===f?pC.bind(null,i):null)}function gC(i,u){if(rs())return null;eC(i,u,!0)}function T6(i){M6(function(){Ut&6?we(ne,i):i()})}function wh(){return ni===0&&(ni=_t()),ni}function hC(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:fc(""+i)}function mC(i,u){var f=u.ownerDocument.createElement("input");return f.name=u.name,f.value=u.value,i.id&&f.setAttribute("form",i.id),u.parentNode.insertBefore(f,u),i=new FormData(i),f.parentNode.removeChild(f),i}function A6(i,u,f,h,v){if(u==="submit"&&f&&f.stateNode===v){var T=hC((v[Pn]||null).action),F=h.submitter;F&&(u=(u=F[Pn]||null)?hC(u.formAction):F.getAttribute("formAction"),u!==null&&(T=u,F=null));var q=new mc("action","action",null,h,v);i.push({event:q,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(ni!==0){var X=F?mC(v,F):new FormData(v);Og(f,{pending:!0,data:X,method:v.method,action:T},null,X)}}else typeof T=="function"&&(q.preventDefault(),X=F?mC(v,F):new FormData(v),Og(f,{pending:!0,data:X,method:v.method,action:T},T,X))},currentTarget:v}]})}}for(var xh=0;xh<l1.length;xh++){var kh=l1[xh],R6=kh.toLowerCase(),C6=kh[0].toUpperCase()+kh.slice(1);Cr(R6,"on"+C6)}Cr(r1,"onAnimationEnd"),Cr(a1,"onAnimationIteration"),Cr(o1,"onAnimationStart"),Cr("dblclick","onDoubleClick"),Cr("focusin","onFocus"),Cr("focusout","onBlur"),Cr(q$,"onTransitionRun"),Cr(V$,"onTransitionStart"),Cr(W$,"onTransitionCancel"),Cr(i1,"onTransitionEnd"),Oi("onMouseEnter",["mouseout","mouseover"]),Oi("onMouseLeave",["mouseout","mouseover"]),Oi("onPointerEnter",["pointerout","pointerover"]),Oi("onPointerLeave",["pointerout","pointerover"]),Fo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Fo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_6=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(jl));function bC(i,u){u=(u&4)!==0;for(var f=0;f<i.length;f++){var h=i[f],v=h.event;h=h.listeners;e:{var T=void 0;if(u)for(var F=h.length-1;0<=F;F--){var q=h[F],X=q.instance,oe=q.currentTarget;if(q=q.listener,X!==T&&v.isPropagationStopped())break e;T=q,v.currentTarget=oe;try{T(v)}catch(be){zc(be)}v.currentTarget=null,T=X}else for(F=0;F<h.length;F++){if(q=h[F],X=q.instance,oe=q.currentTarget,q=q.listener,X!==T&&v.isPropagationStopped())break e;T=q,v.currentTarget=oe;try{T(v)}catch(be){zc(be)}v.currentTarget=null,T=X}}}}function pt(i,u){var f=u[Up];f===void 0&&(f=u[Up]=new Set);var h=i+"__bubble";f.has(h)||(yC(u,i,2,!1),f.add(h))}function Th(i,u,f){var h=0;u&&(h|=4),yC(f,i,h,u)}var Jc="_reactListening"+Math.random().toString(36).slice(2);function Ah(i){if(!i[Jc]){i[Jc]=!0,EA.forEach(function(f){f!=="selectionchange"&&(_6.has(f)||Th(f,!1,i),Th(f,!0,i))});var u=i.nodeType===9?i:i.ownerDocument;u===null||u[Jc]||(u[Jc]=!0,Th("selectionchange",!1,u))}}function yC(i,u,f,h){switch(jC(u)){case 2:var v=tq;break;case 8:v=nq;break;default:v=Bh}f=v.bind(null,u,f,i),v=void 0,!Yp||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(v=!0),h?v!==void 0?i.addEventListener(u,f,{capture:!0,passive:v}):i.addEventListener(u,f,!0):v!==void 0?i.addEventListener(u,f,{passive:v}):i.addEventListener(u,f,!1)}function Rh(i,u,f,h,v){var T=h;if(!(u&1)&&!(u&2)&&h!==null)e:for(;;){if(h===null)return;var F=h.tag;if(F===3||F===4){var q=h.stateNode.containerInfo;if(q===v||q.nodeType===8&&q.parentNode===v)break;if(F===4)for(F=h.return;F!==null;){var X=F.tag;if((X===3||X===4)&&(X=F.stateNode.containerInfo,X===v||X.nodeType===8&&X.parentNode===v))return;F=F.return}for(;q!==null;){if(F=Po(q),F===null)return;if(X=F.tag,X===5||X===6||X===26||X===27){h=T=F;continue e}q=q.parentNode}}h=h.return}IA(function(){var oe=T,be=Vp(f),Ae=[];e:{var de=s1.get(i);if(de!==void 0){var ge=mc,qe=i;switch(i){case"keypress":if(gc(f)===0)break e;case"keydown":case"keyup":ge=w$;break;case"focusin":qe="focus",ge=Qp;break;case"focusout":qe="blur",ge=Qp;break;case"beforeblur":case"afterblur":ge=Qp;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ge=PA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=c$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=T$;break;case r1:case a1:case o1:ge=p$;break;case i1:ge=R$;break;case"scroll":case"scrollend":ge=l$;break;case"wheel":ge=_$;break;case"copy":case"cut":case"paste":ge=h$;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=zA;break;case"toggle":case"beforetoggle":ge=O$}var nt=(u&4)!==0,Vt=!nt&&(i==="scroll"||i==="scrollend"),se=nt?de!==null?de+"Capture":null:de;nt=[];for(var re=oe,ue;re!==null;){var xe=re;if(ue=xe.stateNode,xe=xe.tag,xe!==5&&xe!==26&&xe!==27||ue===null||se===null||(xe=il(re,se),xe!=null&&nt.push(Gl(re,xe,ue))),Vt)break;re=re.return}0<nt.length&&(de=new ge(de,qe,null,f,be),Ae.push({event:de,listeners:nt}))}}if(!(u&7)){e:{if(de=i==="mouseover"||i==="pointerover",ge=i==="mouseout"||i==="pointerout",de&&f!==qp&&(qe=f.relatedTarget||f.fromElement)&&(Po(qe)||qe[Ci]))break e;if((ge||de)&&(de=be.window===be?be:(de=be.ownerDocument)?de.defaultView||de.parentWindow:window,ge?(qe=f.relatedTarget||f.toElement,ge=oe,qe=qe?Po(qe):null,qe!==null&&(Vt=z(qe),nt=qe.tag,qe!==Vt||nt!==5&&nt!==27&&nt!==6)&&(qe=null)):(ge=null,qe=oe),ge!==qe)){if(nt=PA,xe="onMouseLeave",se="onMouseEnter",re="mouse",(i==="pointerout"||i==="pointerover")&&(nt=zA,xe="onPointerLeave",se="onPointerEnter",re="pointer"),Vt=ge==null?de:ol(ge),ue=qe==null?de:ol(qe),de=new nt(xe,re+"leave",ge,f,be),de.target=Vt,de.relatedTarget=ue,xe=null,Po(be)===oe&&(nt=new nt(se,re+"enter",qe,f,be),nt.target=ue,nt.relatedTarget=Vt,xe=nt),Vt=xe,ge&&qe)t:{for(nt=ge,se=qe,re=0,ue=nt;ue;ue=os(ue))re++;for(ue=0,xe=se;xe;xe=os(xe))ue++;for(;0<re-ue;)nt=os(nt),re--;for(;0<ue-re;)se=os(se),ue--;for(;re--;){if(nt===se||se!==null&&nt===se.alternate)break t;nt=os(nt),se=os(se)}nt=null}else nt=null;ge!==null&&vC(Ae,de,ge,nt,!1),qe!==null&&Vt!==null&&vC(Ae,Vt,qe,nt,!0)}}e:{if(de=oe?ol(oe):window,ge=de.nodeName&&de.nodeName.toLowerCase(),ge==="select"||ge==="input"&&de.type==="file")var je=VA;else if($A(de))if(WA)je=j$;else{je=B$;var lt=z$}else ge=de.nodeName,!ge||ge.toLowerCase()!=="input"||de.type!=="checkbox"&&de.type!=="radio"?oe&&$p(oe.elementType)&&(je=VA):je=U$;if(je&&(je=je(i,oe))){qA(Ae,je,f,be);break e}lt&<(i,de,oe),i==="focusout"&&oe&&de.type==="number"&&oe.memoizedProps.value!=null&&Hp(de,"number",de.value)}switch(lt=oe?ol(oe):window,i){case"focusin":($A(lt)||lt.contentEditable==="true")&&(Fi=lt,ag=oe,gl=null);break;case"focusout":gl=ag=Fi=null;break;case"mousedown":og=!0;break;case"contextmenu":case"mouseup":case"dragend":og=!1,t1(Ae,f,be);break;case"selectionchange":if($$)break;case"keydown":case"keyup":t1(Ae,f,be)}var Ye;if(eg)e:{switch(i){case"compositionstart":var Je="onCompositionStart";break e;case"compositionend":Je="onCompositionEnd";break e;case"compositionupdate":Je="onCompositionUpdate";break e}Je=void 0}else Pi?GA(i,f)&&(Je="onCompositionEnd"):i==="keydown"&&f.keyCode===229&&(Je="onCompositionStart");Je&&(BA&&f.locale!=="ko"&&(Pi||Je!=="onCompositionStart"?Je==="onCompositionEnd"&&Pi&&(Ye=LA()):(Xa=be,Kp="value"in Xa?Xa.value:Xa.textContent,Pi=!0)),lt=ed(oe,Je),0<lt.length&&(Je=new FA(Je,i,null,f,be),Ae.push({event:Je,listeners:lt}),Ye?Je.data=Ye:(Ye=HA(f),Ye!==null&&(Je.data=Ye)))),(Ye=I$?L$(i,f):M$(i,f))&&(Je=ed(oe,"onBeforeInput"),0<Je.length&&(lt=new FA("onBeforeInput","beforeinput",null,f,be),Ae.push({event:lt,listeners:Je}),lt.data=Ye)),A6(Ae,i,oe,f,be)}bC(Ae,u)})}function Gl(i,u,f){return{instance:i,listener:u,currentTarget:f}}function ed(i,u){for(var f=u+"Capture",h=[];i!==null;){var v=i,T=v.stateNode;v=v.tag,v!==5&&v!==26&&v!==27||T===null||(v=il(i,f),v!=null&&h.unshift(Gl(i,v,T)),v=il(i,u),v!=null&&h.push(Gl(i,v,T))),i=i.return}return h}function os(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function vC(i,u,f,h,v){for(var T=u._reactName,F=[];f!==null&&f!==h;){var q=f,X=q.alternate,oe=q.stateNode;if(q=q.tag,X!==null&&X===h)break;q!==5&&q!==26&&q!==27||oe===null||(X=oe,v?(oe=il(f,T),oe!=null&&F.unshift(Gl(f,oe,X))):v||(oe=il(f,T),oe!=null&&F.push(Gl(f,oe,X)))),f=f.return}F.length!==0&&i.push({event:u,listeners:F})}var N6=/\r\n?/g,O6=/\u0000|\uFFFD/g;function SC(i){return(typeof i=="string"?i:""+i).replace(N6,`
|
||
`).replace(O6,"")}function EC(i,u){return u=SC(u),SC(i)===u}function td(){}function Rt(i,u,f,h,v,T){switch(f){case"children":typeof h=="string"?u==="body"||u==="textarea"&&h===""||Ii(i,h):(typeof h=="number"||typeof h=="bigint")&&u!=="body"&&Ii(i,""+h);break;case"className":uc(i,"class",h);break;case"tabIndex":uc(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":uc(i,f,h);break;case"style":OA(i,h,T);break;case"data":if(u!=="object"){uc(i,"data",h);break}case"src":case"href":if(h===""&&(u!=="a"||f!=="href")){i.removeAttribute(f);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(f);break}h=fc(""+h),i.setAttribute(f,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(f,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof T=="function"&&(f==="formAction"?(u!=="input"&&Rt(i,u,"name",v.name,v,null),Rt(i,u,"formEncType",v.formEncType,v,null),Rt(i,u,"formMethod",v.formMethod,v,null),Rt(i,u,"formTarget",v.formTarget,v,null)):(Rt(i,u,"encType",v.encType,v,null),Rt(i,u,"method",v.method,v,null),Rt(i,u,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(f);break}h=fc(""+h),i.setAttribute(f,h);break;case"onClick":h!=null&&(i.onclick=td);break;case"onScroll":h!=null&&pt("scroll",i);break;case"onScrollEnd":h!=null&&pt("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(f=h.__html,f!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=f}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}f=fc(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",f);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,""+h):i.removeAttribute(f);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,""):i.removeAttribute(f);break;case"capture":case"download":h===!0?i.setAttribute(f,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,h):i.removeAttribute(f);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(f,h):i.removeAttribute(f);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(f):i.setAttribute(f,h);break;case"popover":pt("beforetoggle",i),pt("toggle",i),lc(i,"popover",h);break;case"xlinkActuate":ha(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":ha(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":ha(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":ha(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":ha(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":ha(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":ha(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":ha(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":ha(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":lc(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(f=i$.get(f)||f,lc(i,f,h))}}function Ch(i,u,f,h,v,T){switch(f){case"style":OA(i,h,T);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(f=h.__html,f!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=f}}break;case"children":typeof h=="string"?Ii(i,h):(typeof h=="number"||typeof h=="bigint")&&Ii(i,""+h);break;case"onScroll":h!=null&&pt("scroll",i);break;case"onScrollEnd":h!=null&&pt("scrollend",i);break;case"onClick":h!=null&&(i.onclick=td);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wA.hasOwnProperty(f))e:{if(f[0]==="o"&&f[1]==="n"&&(v=f.endsWith("Capture"),u=f.slice(2,v?f.length-7:void 0),T=i[Pn]||null,T=T!=null?T[f]:null,typeof T=="function"&&i.removeEventListener(u,T,v),typeof h=="function")){typeof T!="function"&&T!==null&&(f in i?i[f]=null:i.hasAttribute(f)&&i.removeAttribute(f)),i.addEventListener(u,h,v);break e}f in i?i[f]=h:h===!0?i.setAttribute(f,""):lc(i,f,h)}}}function mn(i,u,f){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pt("error",i),pt("load",i);var h=!1,v=!1,T;for(T in f)if(f.hasOwnProperty(T)){var F=f[T];if(F!=null)switch(T){case"src":h=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Rt(i,u,T,F,f,null)}}v&&Rt(i,u,"srcSet",f.srcSet,f,null),h&&Rt(i,u,"src",f.src,f,null);return;case"input":pt("invalid",i);var q=T=F=v=null,X=null,oe=null;for(h in f)if(f.hasOwnProperty(h)){var be=f[h];if(be!=null)switch(h){case"name":v=be;break;case"type":F=be;break;case"checked":X=be;break;case"defaultChecked":oe=be;break;case"value":T=be;break;case"defaultValue":q=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(r(137,u));break;default:Rt(i,u,h,be,f,null)}}RA(i,T,q,X,oe,F,v,!1),cc(i);return;case"select":pt("invalid",i),h=F=T=null;for(v in f)if(f.hasOwnProperty(v)&&(q=f[v],q!=null))switch(v){case"value":T=q;break;case"defaultValue":F=q;break;case"multiple":h=q;default:Rt(i,u,v,q,f,null)}u=T,f=F,i.multiple=!!h,u!=null?Di(i,!!h,u,!1):f!=null&&Di(i,!!h,f,!0);return;case"textarea":pt("invalid",i),T=v=h=null;for(F in f)if(f.hasOwnProperty(F)&&(q=f[F],q!=null))switch(F){case"value":h=q;break;case"defaultValue":v=q;break;case"children":T=q;break;case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(91));break;default:Rt(i,u,F,q,f,null)}_A(i,h,v,T),cc(i);return;case"option":for(X in f)if(f.hasOwnProperty(X)&&(h=f[X],h!=null))switch(X){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Rt(i,u,X,h,f,null)}return;case"dialog":pt("cancel",i),pt("close",i);break;case"iframe":case"object":pt("load",i);break;case"video":case"audio":for(h=0;h<jl.length;h++)pt(jl[h],i);break;case"image":pt("error",i),pt("load",i);break;case"details":pt("toggle",i);break;case"embed":case"source":case"link":pt("error",i),pt("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(oe in f)if(f.hasOwnProperty(oe)&&(h=f[oe],h!=null))switch(oe){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Rt(i,u,oe,h,f,null)}return;default:if($p(u)){for(be in f)f.hasOwnProperty(be)&&(h=f[be],h!==void 0&&Ch(i,u,be,h,f,void 0));return}}for(q in f)f.hasOwnProperty(q)&&(h=f[q],h!=null&&Rt(i,u,q,h,f,null))}function D6(i,u,f,h){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,T=null,F=null,q=null,X=null,oe=null,be=null;for(ge in f){var Ae=f[ge];if(f.hasOwnProperty(ge)&&Ae!=null)switch(ge){case"checked":break;case"value":break;case"defaultValue":X=Ae;default:h.hasOwnProperty(ge)||Rt(i,u,ge,null,h,Ae)}}for(var de in h){var ge=h[de];if(Ae=f[de],h.hasOwnProperty(de)&&(ge!=null||Ae!=null))switch(de){case"type":T=ge;break;case"name":v=ge;break;case"checked":oe=ge;break;case"defaultChecked":be=ge;break;case"value":F=ge;break;case"defaultValue":q=ge;break;case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(r(137,u));break;default:ge!==Ae&&Rt(i,u,de,ge,h,Ae)}}Gp(i,F,q,X,oe,be,T,v);return;case"select":ge=F=q=de=null;for(T in f)if(X=f[T],f.hasOwnProperty(T)&&X!=null)switch(T){case"value":break;case"multiple":ge=X;default:h.hasOwnProperty(T)||Rt(i,u,T,null,h,X)}for(v in h)if(T=h[v],X=f[v],h.hasOwnProperty(v)&&(T!=null||X!=null))switch(v){case"value":de=T;break;case"defaultValue":q=T;break;case"multiple":F=T;default:T!==X&&Rt(i,u,v,T,h,X)}u=q,f=F,h=ge,de!=null?Di(i,!!f,de,!1):!!h!=!!f&&(u!=null?Di(i,!!f,u,!0):Di(i,!!f,f?[]:"",!1));return;case"textarea":ge=de=null;for(q in f)if(v=f[q],f.hasOwnProperty(q)&&v!=null&&!h.hasOwnProperty(q))switch(q){case"value":break;case"children":break;default:Rt(i,u,q,null,h,v)}for(F in h)if(v=h[F],T=f[F],h.hasOwnProperty(F)&&(v!=null||T!=null))switch(F){case"value":de=v;break;case"defaultValue":ge=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:v!==T&&Rt(i,u,F,v,h,T)}CA(i,de,ge);return;case"option":for(var qe in f)if(de=f[qe],f.hasOwnProperty(qe)&&de!=null&&!h.hasOwnProperty(qe))switch(qe){case"selected":i.selected=!1;break;default:Rt(i,u,qe,null,h,de)}for(X in h)if(de=h[X],ge=f[X],h.hasOwnProperty(X)&&de!==ge&&(de!=null||ge!=null))switch(X){case"selected":i.selected=de&&typeof de!="function"&&typeof de!="symbol";break;default:Rt(i,u,X,de,h,ge)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var nt in f)de=f[nt],f.hasOwnProperty(nt)&&de!=null&&!h.hasOwnProperty(nt)&&Rt(i,u,nt,null,h,de);for(oe in h)if(de=h[oe],ge=f[oe],h.hasOwnProperty(oe)&&de!==ge&&(de!=null||ge!=null))switch(oe){case"children":case"dangerouslySetInnerHTML":if(de!=null)throw Error(r(137,u));break;default:Rt(i,u,oe,de,h,ge)}return;default:if($p(u)){for(var Vt in f)de=f[Vt],f.hasOwnProperty(Vt)&&de!==void 0&&!h.hasOwnProperty(Vt)&&Ch(i,u,Vt,void 0,h,de);for(be in h)de=h[be],ge=f[be],!h.hasOwnProperty(be)||de===ge||de===void 0&&ge===void 0||Ch(i,u,be,de,h,ge);return}}for(var se in f)de=f[se],f.hasOwnProperty(se)&&de!=null&&!h.hasOwnProperty(se)&&Rt(i,u,se,null,h,de);for(Ae in h)de=h[Ae],ge=f[Ae],!h.hasOwnProperty(Ae)||de===ge||de==null&&ge==null||Rt(i,u,Ae,de,h,ge)}var _h=null,Nh=null;function nd(i){return i.nodeType===9?i:i.ownerDocument}function wC(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xC(i,u){if(i===0)switch(u){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&u==="foreignObject"?0:i}function Oh(i,u){return i==="textarea"||i==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.children=="bigint"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var Dh=null;function I6(){var i=window.event;return i&&i.type==="popstate"?i===Dh?!1:(Dh=i,!0):(Dh=null,!1)}var kC=typeof setTimeout=="function"?setTimeout:void 0,L6=typeof clearTimeout=="function"?clearTimeout:void 0,TC=typeof Promise=="function"?Promise:void 0,M6=typeof queueMicrotask=="function"?queueMicrotask:typeof TC<"u"?function(i){return TC.resolve(null).then(i).catch(P6)}:kC;function P6(i){setTimeout(function(){throw i})}function Ih(i,u){var f=u,h=0;do{var v=f.nextSibling;if(i.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(h===0){i.removeChild(v),Xl(u);return}h--}else f!=="$"&&f!=="$?"&&f!=="$!"||h++;f=v}while(f);Xl(u)}function Lh(i){var u=i.firstChild;for(u&&u.nodeType===10&&(u=u.nextSibling);u;){var f=u;switch(u=u.nextSibling,f.nodeName){case"HTML":case"HEAD":case"BODY":Lh(f),jp(f);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(f.rel.toLowerCase()==="stylesheet")continue}i.removeChild(f)}}function F6(i,u,f,h){for(;i.nodeType===1;){var v=f;if(i.nodeName.toLowerCase()!==u.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[al])switch(u){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(T=i.getAttribute("rel"),T==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(T!==v.rel||i.getAttribute("href")!==(v.href==null?null:v.href)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||i.getAttribute("title")!==(v.title==null?null:v.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(T=i.getAttribute("src"),(T!==(v.src==null?null:v.src)||i.getAttribute("type")!==(v.type==null?null:v.type)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&T&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(u==="input"&&i.type==="hidden"){var T=v.name==null?null:""+v.name;if(v.type==="hidden"&&i.getAttribute("name")===T)return i}else return i;if(i=Or(i.nextSibling),i===null)break}return null}function z6(i,u,f){if(u==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!f||(i=Or(i.nextSibling),i===null))return null;return i}function Or(i){for(;i!=null;i=i.nextSibling){var u=i.nodeType;if(u===1||u===3)break;if(u===8){if(u=i.data,u==="$"||u==="$!"||u==="$?"||u==="F!"||u==="F")break;if(u==="/$")return null}}return i}function AC(i){i=i.previousSibling;for(var u=0;i;){if(i.nodeType===8){var f=i.data;if(f==="$"||f==="$!"||f==="$?"){if(u===0)return i;u--}else f==="/$"&&u++}i=i.previousSibling}return null}function RC(i,u,f){switch(u=nd(f),i){case"html":if(i=u.documentElement,!i)throw Error(r(452));return i;case"head":if(i=u.head,!i)throw Error(r(453));return i;case"body":if(i=u.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}var br=new Map,CC=new Set;function rd(i){return typeof i.getRootNode=="function"?i.getRootNode():i.ownerDocument}var Na=K.d;K.d={f:B6,r:U6,D:j6,C:G6,L:H6,m:$6,X:V6,S:q6,M:W6};function B6(){var i=Na.f(),u=Kc();return i||u}function U6(i){var u=_i(i);u!==null&&u.tag===5&&u.type==="form"?tR(u):Na.r(i)}var is=typeof document>"u"?null:document;function _C(i,u,f){var h=is;if(h&&typeof u=="string"&&u){var v=sr(u);v='link[rel="'+i+'"][href="'+v+'"]',typeof f=="string"&&(v+='[crossorigin="'+f+'"]'),CC.has(v)||(CC.add(v),i={rel:i,crossOrigin:f,href:u},h.querySelector(v)===null&&(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function j6(i){Na.D(i),_C("dns-prefetch",i,null)}function G6(i,u){Na.C(i,u),_C("preconnect",i,u)}function H6(i,u,f){Na.L(i,u,f);var h=is;if(h&&i&&u){var v='link[rel="preload"][as="'+sr(u)+'"]';u==="image"&&f&&f.imageSrcSet?(v+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(v+='[imagesizes="'+sr(f.imageSizes)+'"]')):v+='[href="'+sr(i)+'"]';var T=v;switch(u){case"style":T=ss(i);break;case"script":T=ls(i)}br.has(T)||(i=L({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:i,as:u},f),br.set(T,i),h.querySelector(v)!==null||u==="style"&&h.querySelector(Hl(T))||u==="script"&&h.querySelector($l(T))||(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function $6(i,u){Na.m(i,u);var f=is;if(f&&i){var h=u&&typeof u.as=="string"?u.as:"script",v='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ls(i)}if(!br.has(T)&&(i=L({rel:"modulepreload",href:i},u),br.set(T,i),f.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector($l(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function q6(i,u,f){Na.S(i,u,f);var h=is;if(h&&i){var v=Ni(h).hoistableStyles,T=ss(i);u=u||"default";var F=v.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector(Hl(T)))q.loading=5;else{i=L({rel:"stylesheet",href:i,"data-precedence":u},f),(f=br.get(T))&&Mh(i,f);var X=F=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(oe,be){X.onload=oe,X.onerror=be}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(F,u,h)}F={type:"stylesheet",instance:F,count:1,state:q},v.set(T,F)}}}function V6(i,u){Na.X(i,u);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,v=ls(i),T=h.get(v);T||(T=f.querySelector($l(v)),T||(i=L({src:i,async:!0},u),(u=br.get(v))&&Ph(i,u),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(v,T))}}function W6(i,u){Na.M(i,u);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,v=ls(i),T=h.get(v);T||(T=f.querySelector($l(v)),T||(i=L({src:i,async:!0,type:"module"},u),(u=br.get(v))&&Ph(i,u),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(v,T))}}function NC(i,u,f,h){var v=(v=Ie.current)?rd(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(u=ss(f.href),f=Ni(v).hoistableStyles,h=f.get(u),h||(h={type:"style",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){i=ss(f.href);var T=Ni(v).hoistableStyles,F=T.get(i);if(F||(v=v.ownerDocument||v,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=v.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),br.has(i)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},br.set(i,f),T||Y6(v,i,f,F.state))),u&&h===null)throw Error(r(528,""));return F}if(u&&h!==null)throw Error(r(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=ls(f),f=Ni(v).hoistableScripts,h=f.get(u),h||(h={type:"script",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ss(i){return'href="'+sr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function OC(i){return L({},i,{"data-precedence":i.precedence,precedence:null})}function Y6(i,u,f,h){i.querySelector('link[rel="preload"][as="style"]['+u+"]")?h.loading=1:(u=i.createElement("link"),h.preload=u,u.addEventListener("load",function(){return h.loading|=1}),u.addEventListener("error",function(){return h.loading|=2}),mn(u,"link",f),an(u),i.head.appendChild(u))}function ls(i){return'[src="'+sr(i)+'"]'}function $l(i){return"script[async]"+i}function DC(i,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return u.instance=h,an(h),h;var v=L({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),an(h),mn(h,"style",v),ad(h,f.precedence,i),u.instance=h;case"stylesheet":v=ss(f.href);var T=i.querySelector(Hl(v));if(T)return u.state.loading|=4,u.instance=T,an(T),T;h=OC(f),(v=br.get(v))&&Mh(h,v),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",h),u.state.loading|=4,ad(T,f.precedence,i),u.instance=T;case"script":return T=ls(f.src),(v=i.querySelector($l(T)))?(u.instance=v,an(v),v):(h=f,(v=br.get(T))&&(h=L({},f),Ph(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),an(v),mn(v,"link",h),i.head.appendChild(v),u.instance=v);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(h=u.instance,u.state.loading|=4,ad(h,f.precedence,i));return u.instance}function ad(i,u,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,T=v,F=0;F<h.length;F++){var q=h[F];if(q.dataset.precedence===u)T=q;else if(T!==v)break}T?T.parentNode.insertBefore(i,T.nextSibling):(u=f.nodeType===9?f.head:f,u.insertBefore(i,u.firstChild))}function Mh(i,u){i.crossOrigin==null&&(i.crossOrigin=u.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=u.referrerPolicy),i.title==null&&(i.title=u.title)}function Ph(i,u){i.crossOrigin==null&&(i.crossOrigin=u.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=u.referrerPolicy),i.integrity==null&&(i.integrity=u.integrity)}var od=null;function IC(i,u,f){if(od===null){var h=new Map,v=od=new Map;v.set(f,h)}else v=od,h=v.get(f),h||(h=new Map,v.set(f,h));if(h.has(i))return h;for(h.set(i,null),f=f.getElementsByTagName(i),v=0;v<f.length;v++){var T=f[v];if(!(T[al]||T[Sn]||i==="link"&&T.getAttribute("rel")==="stylesheet")&&T.namespaceURI!=="http://www.w3.org/2000/svg"){var F=T.getAttribute(u)||"";F=i+F;var q=h.get(F);q?q.push(T):h.set(F,[T])}}return h}function LC(i,u,f){i=i.ownerDocument||i,i.head.insertBefore(f,u==="title"?i.querySelector("head > title"):null)}function K6(i,u,f){if(f===1||u.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return i=u.disabled,typeof u.precedence=="string"&&i==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function MC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function X6(){}function Z6(i,u,f){if(ql===null)throw Error(r(475));var h=ql;if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var v=ss(f.href),T=i.querySelector(Hl(v));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),u.state.loading|=4,u.instance=T,an(T);return}T=i.ownerDocument||i,f=OC(f),(v=br.get(v))&&Mh(f,v),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",f),u.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(u,i),(i=u.state.preload)&&!(u.state.loading&3)&&(h.count++,u=id.bind(h),i.addEventListener("load",u),i.addEventListener("error",u))}}function Q6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&Fh(i,i.stylesheets),0<i.count?function(u){var f=setTimeout(function(){if(i.stylesheets&&Fh(i,i.stylesheets),i.unsuspend){var h=i.unsuspend;i.unsuspend=null,h()}},6e4);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(f)}}:null}function id(){if(this.count--,this.count===0){if(this.stylesheets)Fh(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var sd=null;function Fh(i,u){i.stylesheets=null,i.unsuspend!==null&&(i.count++,sd=new Map,u.forEach(J6,i),sd=null,id.call(i))}function J6(i,u){if(!(u.state.loading&4)){var f=sd.get(i);if(f)var h=f.get(null);else{f=new Map,sd.set(i,f);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),T=0;T<v.length;T++){var F=v[T];(F.nodeName==="LINK"||F.getAttribute("media")!=="not all")&&(f.set(F.dataset.precedence,F),h=F)}h&&f.set(null,h)}v=u.instance,F=v.getAttribute("data-precedence"),T=f.get(F)||h,T===h&&f.set(null,v),f.set(F,v),this.count++,h=id.bind(this),v.addEventListener("load",h),v.addEventListener("error",h),T?T.parentNode.insertBefore(v,T.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(v,i.firstChild)),u.state.loading|=4}}var Vl={$$typeof:b,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function eq(i,u,f,h,v,T,F,q){this.tag=1,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_n(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_n(0),this.hiddenUpdates=_n(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=T,this.onRecoverableError=F,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=q,this.incompleteTransitions=new Map}function PC(i,u,f,h,v,T,F,q,X,oe,be,Ae){return i=new eq(i,u,f,F,q,X,oe,Ae),u=1,T===!0&&(u|=24),T=hr(3,null,null,u),i.current=T,T.stateNode=i,u=hg(),u.refCount++,i.pooledCache=u,u.refCount++,T.memoizedState={element:h,isDehydrated:f,cache:u},Kg(T),i}function FC(i){return i?(i=Ui,i):Ui}function zC(i,u,f,h,v,T){v=FC(v),h.context===null?h.context=v:h.pendingContext=v,h=ao(u),h.payload={element:f},T=T===void 0?null:T,T!==null&&(h.callback=T),f=oo(i,h,u),f!==null&&(On(f,i,u),_l(f,i,u))}function BC(i,u){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var f=i.retryLane;i.retryLane=f!==0&&f<u?f:u}}function zh(i,u){BC(i,u),(i=i.alternate)&&BC(i,u)}function UC(i){if(i.tag===13){var u=Za(i,67108864);u!==null&&On(u,i,67108864),zh(i,67108864)}}var ld=!0;function tq(i,u,f,h){var v=I.T;I.T=null;var T=K.p;try{K.p=2,Bh(i,u,f,h)}finally{K.p=T,I.T=v}}function nq(i,u,f,h){var v=I.T;I.T=null;var T=K.p;try{K.p=8,Bh(i,u,f,h)}finally{K.p=T,I.T=v}}function Bh(i,u,f,h){if(ld){var v=Uh(h);if(v===null)Rh(i,u,h,ud,f),GC(i,h);else if(aq(v,i,u,f,h))h.stopPropagation();else if(GC(i,h),u&4&&-1<rq.indexOf(i)){for(;v!==null;){var T=_i(v);if(T!==null)switch(T.tag){case 3:if(T=T.stateNode,T.current.memoizedState.isDehydrated){var F=Jt(T.pendingLanes);if(F!==0){var q=T;for(q.pendingLanes|=2,q.entangledLanes|=2;F;){var X=1<<31-St(F);q.entanglements[1]|=X,F&=~X}Kr(T),!(Ut&6)&&(Vc=he()+500,Ul(0))}}break;case 13:q=Za(T,2),q!==null&&On(q,T,2),Kc(),zh(T,2)}if(T=Uh(h),T===null&&Rh(i,u,h,ud,f),T===v)break;v=T}v!==null&&h.stopPropagation()}else Rh(i,u,h,null,f)}}function Uh(i){return i=Vp(i),jh(i)}var ud=null;function jh(i){if(ud=null,i=Po(i),i!==null){var u=z(i);if(u===null)i=null;else{var f=u.tag;if(f===13){if(i=Y(u),i!==null)return i;i=null}else if(f===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;i=null}else u!==i&&(i=null)}}return ud=i,null}function jC(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ne()){case ne:return 2;case ce:return 8;case _e:case Fe:return 32;case We:return 268435456;default:return 32}default:return 32}}var Gh=!1,po=null,go=null,ho=null,Wl=new Map,Yl=new Map,mo=[],rq="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function GC(i,u){switch(i){case"focusin":case"focusout":po=null;break;case"dragenter":case"dragleave":go=null;break;case"mouseover":case"mouseout":ho=null;break;case"pointerover":case"pointerout":Wl.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(u.pointerId)}}function Kl(i,u,f,h,v,T){return i===null||i.nativeEvent!==T?(i={blockedOn:u,domEventName:f,eventSystemFlags:h,nativeEvent:T,targetContainers:[v]},u!==null&&(u=_i(u),u!==null&&UC(u)),i):(i.eventSystemFlags|=h,u=i.targetContainers,v!==null&&u.indexOf(v)===-1&&u.push(v),i)}function aq(i,u,f,h,v){switch(u){case"focusin":return po=Kl(po,i,u,f,h,v),!0;case"dragenter":return go=Kl(go,i,u,f,h,v),!0;case"mouseover":return ho=Kl(ho,i,u,f,h,v),!0;case"pointerover":var T=v.pointerId;return Wl.set(T,Kl(Wl.get(T)||null,i,u,f,h,v)),!0;case"gotpointercapture":return T=v.pointerId,Yl.set(T,Kl(Yl.get(T)||null,i,u,f,h,v)),!0}return!1}function HC(i){var u=Po(i.target);if(u!==null){var f=z(u);if(f!==null){if(u=f.tag,u===13){if(u=Y(f),u!==null){i.blockedOn=u,QH(i.priority,function(){if(f.tag===13){var h=Qn(),v=Za(f,h);v!==null&&On(v,f,h),zh(f,h)}});return}}else if(u===3&&f.stateNode.current.memoizedState.isDehydrated){i.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}i.blockedOn=null}function cd(i){if(i.blockedOn!==null)return!1;for(var u=i.targetContainers;0<u.length;){var f=Uh(i.nativeEvent);if(f===null){f=i.nativeEvent;var h=new f.constructor(f.type,f);qp=h,f.target.dispatchEvent(h),qp=null}else return u=_i(f),u!==null&&UC(u),i.blockedOn=f,!1;u.shift()}return!0}function $C(i,u,f){cd(i)&&f.delete(u)}function oq(){Gh=!1,po!==null&&cd(po)&&(po=null),go!==null&&cd(go)&&(go=null),ho!==null&&cd(ho)&&(ho=null),Wl.forEach($C),Yl.forEach($C)}function dd(i,u){i.blockedOn===u&&(i.blockedOn=null,Gh||(Gh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,oq)))}var fd=null;function qC(i){fd!==i&&(fd=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){fd===i&&(fd=null);for(var u=0;u<i.length;u+=3){var f=i[u],h=i[u+1],v=i[u+2];if(typeof h!="function"){if(jh(h||f)===null)continue;break}var T=_i(f);T!==null&&(i.splice(u,3),u-=3,Og(T,{pending:!0,data:v,method:f.method,action:h},h,v))}}))}function Xl(i){function u(X){return dd(X,i)}po!==null&&dd(po,i),go!==null&&dd(go,i),ho!==null&&dd(ho,i),Wl.forEach(u),Yl.forEach(u);for(var f=0;f<mo.length;f++){var h=mo[f];h.blockedOn===i&&(h.blockedOn=null)}for(;0<mo.length&&(f=mo[0],f.blockedOn===null);)HC(f),f.blockedOn===null&&mo.shift();if(f=(i.ownerDocument||i).$$reactFormReplay,f!=null)for(h=0;h<f.length;h+=3){var v=f[h],T=f[h+1],F=v[Pn]||null;if(typeof T=="function")F||qC(f);else if(F){var q=null;if(T&&T.hasAttribute("formAction")){if(v=T,F=T[Pn]||null)q=F.formAction;else if(jh(v)!==null)continue}else q=F.action;typeof q=="function"?f[h+1]=q:(f.splice(h,3),h-=3),qC(f)}}}function Hh(i){this._internalRoot=i}pd.prototype.render=Hh.prototype.render=function(i){var u=this._internalRoot;if(u===null)throw Error(r(409));var f=u.current,h=Qn();zC(f,h,i,u,null,null)},pd.prototype.unmount=Hh.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var u=i.containerInfo;i.tag===0&&rs(),zC(i.current,2,null,i,null,null),Kc(),u[Ci]=null}};function pd(i){this._internalRoot=i}pd.prototype.unstable_scheduleHydration=function(i){if(i){var u=vA();i={blockedOn:null,target:i,priority:u};for(var f=0;f<mo.length&&u!==0&&u<mo[f].priority;f++);mo.splice(f,0,i),f===0&&HC(i)}};var VC=t.version;if(VC!=="19.0.0")throw Error(r(527,VC,"19.0.0"));K.findDOMNode=function(i){var u=i._reactInternals;if(u===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=V(u),i=i!==null?B(i):null,i=i===null?null:i.stateNode,i};var iq={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:I,findFiberByHostInstance:Po,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gd.isDisabled&&gd.supportsFiber)try{ht=gd.inject(iq),et=gd}catch{}}return Ql.createRoot=function(i,u){if(!a(i))throw Error(r(299));var f=!1,h="",v=uR,T=cR,F=dR,q=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(h=u.identifierPrefix),u.onUncaughtError!==void 0&&(v=u.onUncaughtError),u.onCaughtError!==void 0&&(T=u.onCaughtError),u.onRecoverableError!==void 0&&(F=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(q=u.unstable_transitionCallbacks)),u=PC(i,1,!1,null,null,f,h,v,T,F,q,null),i[Ci]=u.current,Ah(i.nodeType===8?i.parentNode:i),new Hh(u)},Ql.hydrateRoot=function(i,u,f){if(!a(i))throw Error(r(299));var h=!1,v="",T=uR,F=cR,q=dR,X=null,oe=null;return f!=null&&(f.unstable_strictMode===!0&&(h=!0),f.identifierPrefix!==void 0&&(v=f.identifierPrefix),f.onUncaughtError!==void 0&&(T=f.onUncaughtError),f.onCaughtError!==void 0&&(F=f.onCaughtError),f.onRecoverableError!==void 0&&(q=f.onRecoverableError),f.unstable_transitionCallbacks!==void 0&&(X=f.unstable_transitionCallbacks),f.formState!==void 0&&(oe=f.formState)),u=PC(i,1,!0,u,f??null,h,v,T,F,q,X,oe),u.context=FC(null),f=u.current,h=Qn(),v=ao(h),v.callback=null,oo(f,v,h),u.current.lanes=h,Ln(u,h),Kr(u),i[Ci]=u.current,Ah(i),new pd(u)},Ql.version="19.0.0",Ql}var n_;function Sq(){if(n_)return Vh.exports;n_=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Vh.exports=vq(),Vh.exports}var Eq=Sq(),Jl={},r_;function wq(){if(r_)return Jl;r_=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.parse=s,Jl.serialize=d;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,b){const y=new o,S=m.length;if(S<2)return y;const k=(b==null?void 0:b.decode)||p;let R=0;do{const x=m.indexOf("=",R);if(x===-1)break;const A=m.indexOf(";",R),N=A===-1?S:A;if(x>N){R=m.lastIndexOf(";",x-1)+1;continue}const O=l(m,R,x),C=c(m,x,O),_=m.slice(O,C);if(y[_]===void 0){let P=l(m,x+1,N),I=c(m,N,P);const L=k(m.slice(P,I));y[_]=L}R=N+1}while(R<S);return y}function l(m,b,y){do{const S=m.charCodeAt(b);if(S!==32&&S!==9)return b}while(++b<y);return y}function c(m,b,y){for(;b>y;){const S=m.charCodeAt(--b);if(S!==32&&S!==9)return b+1}return y}function d(m,b,y){const S=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const k=S(b);if(!t.test(k))throw new TypeError(`argument val is invalid: ${b}`);let R=m+"="+k;if(!y)return R;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);R+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);R+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);R+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);R+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(R+="; HttpOnly"),y.secure&&(R+="; Secure"),y.partitioned&&(R+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":R+="; Priority=Low";break;case"medium":R+="; Priority=Medium";break;case"high":R+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":R+="; SameSite=Strict";break;case"lax":R+="; SameSite=Lax";break;case"none":R+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return R}function p(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return a.call(m)==="[object Date]"}return Jl}wq();/**
|
||
* react-router v7.3.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/var a_="popstate";function xq(e={}){function t(a,o){let{pathname:s="/",search:l="",hash:c=""}=wi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),rk("",{pathname:s,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");l=d===-1?c:c.slice(0,d)}return l+"#"+(typeof o=="string"?o:Eu(o))}function r(a,o){Br(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return Tq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Br(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function kq(){return Math.random().toString(36).substring(2,10)}function o_(e,t){return{usr:e.state,key:e.key,idx:t}}function rk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wi(t):t,state:n,key:t&&t.key||r||kq()}}function Eu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Tq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,l="POP",c=null,d=p();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function p(){return(s.state||{idx:null}).idx}function g(){l="POP";let k=p(),R=k==null?null:k-d;d=k,c&&c({action:l,location:S.location,delta:R})}function m(k,R){l="PUSH";let x=rk(S.location,k,R);n&&n(x,k),d=p()+1;let A=o_(x,d),N=S.createHref(x);try{s.pushState(A,"",N)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(N)}o&&c&&c({action:l,location:S.location,delta:1})}function b(k,R){l="REPLACE";let x=rk(S.location,k,R);n&&n(x,k),d=p();let A=o_(x,d),N=S.createHref(x);s.replaceState(A,"",N),o&&c&&c({action:l,location:S.location,delta:0})}function y(k){let R=a.location.origin!=="null"?a.location.origin:a.location.href,x=typeof k=="string"?k:Eu(k);return x=x.replace(/ $/,"%20"),Gt(R,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,R)}let S={get action(){return l},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(a_,g),c=k,()=>{a.removeEventListener(a_,g),c=null}},createHref(k){return t(a,k)},createURL:y,encodeLocation(k){let R=y(k);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:m,replace:b,go(k){return s.go(k)}};return S}function Uz(e,t,n="/"){return Aq(e,t,n,!1)}function Aq(e,t,n,r){let a=typeof t=="string"?wi(t):t,o=Ua(a.pathname||"/",n);if(o==null)return null;let s=jz(e);Rq(s);let l=null;for(let c=0;l==null&&c<s.length;++c){let d=zq(o);l=Pq(s[c],d,r)}return l}function jz(e,t=[],n=[],r=""){let a=(o,s,l)=>{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Gt(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 d=za([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(Gt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),jz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Lq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of Gz(o.path))a(o,s,c)}),t}function Gz(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 s=Gz(r.join("/")),l=[];return l.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function Rq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Mq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Cq=/^:[\w-]+$/,_q=3,Nq=2,Oq=1,Dq=10,Iq=-2,i_=e=>e==="*";function Lq(e,t){let n=e.split("/"),r=n.length;return n.some(i_)&&(r+=Iq),t&&(r+=Nq),n.filter(a=>!i_(a)).reduce((a,o)=>a+(Cq.test(o)?_q:o===""?Oq:Dq),r)}function Mq(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 Pq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let l=0;l<r.length;++l){let c=r[l],d=l===r.length-1,p=o==="/"?t:t.slice(o.length)||"/",g=pf({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},p),m=c.route;if(!g&&d&&n&&!r[r.length-1].route.index&&(g=pf({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},p)),!g)return null;Object.assign(a,g.params),s.push({params:a,pathname:za([o,g.pathname]),pathnameBase:Gq(za([o,g.pathnameBase])),route:m}),g.pathnameBase!=="/"&&(o=za([o,g.pathnameBase]))}return s}function pf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Fq(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:r.reduce((d,{paramName:p,isOptional:g},m)=>{if(p==="*"){let y=l[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function Fq(e,t=!1,n=!0){Br(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,(s,l,c)=>(r.push({paramName:l,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 zq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Br(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ua(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 Bq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?wi(e):e;return{pathname:n?n.startsWith("/")?n:Uq(n,t):t,search:Hq(r),hash:$q(a)}}function Uq(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 Xh(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 <Link to="..."> and the router will parse it for you.`}function jq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hz(e){let t=jq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function $z(e,t,n,r=!1){let a;typeof e=="string"?a=wi(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Xh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Xh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Xh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,l;if(s==null)l=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}l=g>=0?t[g]:"/"}let c=Bq(a,l),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var za=e=>e.join("/").replace(/\/\/+/g,"/"),Gq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$q=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function qq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var qz=["POST","PUT","PATCH","DELETE"];new Set(qz);var Vq=["GET",...qz];new Set(Vq);var Us=E.createContext(null);Us.displayName="DataRouter";var Vf=E.createContext(null);Vf.displayName="DataRouterState";var Vz=E.createContext({isTransitioning:!1});Vz.displayName="ViewTransition";var Wq=E.createContext(new Map);Wq.displayName="Fetchers";var Yq=E.createContext(null);Yq.displayName="Await";var ia=E.createContext(null);ia.displayName="Navigation";var Uu=E.createContext(null);Uu.displayName="Location";var qa=E.createContext({outlet:null,matches:[],isDataRoute:!1});qa.displayName="Route";var E0=E.createContext(null);E0.displayName="RouteError";function Kq(e,{relative:t}={}){Gt(ju(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=E.useContext(ia),{hash:a,pathname:o,search:s}=Gu(e,{relative:t}),l=o;return n!=="/"&&(l=o==="/"?n:za([n,o])),r.createHref({pathname:l,search:s,hash:a})}function ju(){return E.useContext(Uu)!=null}function xi(){return Gt(ju(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(Uu).location}var Wz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Yz(e){E.useContext(ia).static||E.useLayoutEffect(e)}function Wf(){let{isDataRoute:e}=E.useContext(qa);return e?l9():Xq()}function Xq(){Gt(ju(),"useNavigate() may be used only in the context of a <Router> component.");let e=E.useContext(Us),{basename:t,navigator:n}=E.useContext(ia),{matches:r}=E.useContext(qa),{pathname:a}=xi(),o=JSON.stringify(Hz(r)),s=E.useRef(!1);return Yz(()=>{s.current=!0}),E.useCallback((c,d={})=>{if(Br(s.current,Wz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=$z(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:za([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}E.createContext(null);function Gu(e,{relative:t}={}){let{matches:n}=E.useContext(qa),{pathname:r}=xi(),a=JSON.stringify(Hz(n));return E.useMemo(()=>$z(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Zq(e,t){return Kz(e,t)}function Kz(e,t,n,r){var x;Gt(ju(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a,static:o}=E.useContext(ia),{matches:s}=E.useContext(qa),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",g=l&&l.route;{let A=g&&g.path||"";Xz(d,!g||A.endsWith("*")||A.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${A}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
||
|
||
Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let m=xi(),b;if(t){let A=typeof t=="string"?wi(t):t;Gt(p==="/"||((x=A.pathname)==null?void 0:x.startsWith(p)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${A.pathname}" was given in the \`location\` prop.`),b=A}else b=m;let y=b.pathname||"/",S=y;if(p!=="/"){let A=p.replace(/^\//,"").split("/");S="/"+y.replace(/^\//,"").split("/").slice(A.length).join("/")}let k=!o&&n&&n.matches&&n.matches.length>0?n.matches:Uz(e,{pathname:S});Br(g||k!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Br(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let R=n9(k&&k.map(A=>Object.assign({},A,{params:Object.assign({},c,A.params),pathname:za([p,a.encodeLocation?a.encodeLocation(A.pathname).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?p:za([p,a.encodeLocation?a.encodeLocation(A.pathnameBase).pathname:A.pathnameBase])})),s,n,r);return t&&R?E.createElement(Uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},R):R}function Qq(){let e=s9(),t=qq(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:o},"ErrorBoundary")," or"," ",E.createElement("code",{style:o},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:a},n):null,s)}var Jq=E.createElement(Qq,null),e9=class extends E.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?E.createElement(qa.Provider,{value:this.props.routeContext},E.createElement(E0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function t9({routeContext:e,match:t,children:n}){let r=E.useContext(Us);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),E.createElement(qa.Provider,{value:e},n)}function n9(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n==null?void 0:n.errors;if(o!=null){let c=a.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);Gt(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,l=-1;if(n)for(let c=0;c<a.length;c++){let d=a[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(l=c),d.route.id){let{loaderData:p,errors:g}=n,m=d.route.loader&&!p.hasOwnProperty(d.route.id)&&(!g||g[d.route.id]===void 0);if(d.route.lazy||m){s=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((c,d,p)=>{let g,m=!1,b=null,y=null;n&&(g=o&&d.route.id?o[d.route.id]:void 0,b=d.route.errorElement||Jq,s&&(l<0&&p===0?(Xz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,y=null):l===p&&(m=!0,y=d.route.hydrateFallbackElement||null)));let S=t.concat(a.slice(0,p+1)),k=()=>{let R;return g?R=b:m?R=y:d.route.Component?R=E.createElement(d.route.Component,null):d.route.element?R=d.route.element:R=c,E.createElement(t9,{match:d,routeContext:{outlet:c,matches:S,isDataRoute:n!=null},children:R})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?E.createElement(e9,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:k(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):k()},null)}function w0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function r9(e){let t=E.useContext(Us);return Gt(t,w0(e)),t}function a9(e){let t=E.useContext(Vf);return Gt(t,w0(e)),t}function o9(e){let t=E.useContext(qa);return Gt(t,w0(e)),t}function x0(e){let t=o9(e),n=t.matches[t.matches.length-1];return Gt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function i9(){return x0("useRouteId")}function s9(){var r;let e=E.useContext(E0),t=a9("useRouteError"),n=x0("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function l9(){let{router:e}=r9("useNavigate"),t=x0("useNavigate"),n=E.useRef(!1);return Yz(()=>{n.current=!0}),E.useCallback(async(a,o={})=>{Br(n.current,Wz),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var s_={};function Xz(e,t,n){!t&&!s_[e]&&(s_[e]=!0,Br(!1,n))}E.memo(u9);function u9({routes:e,future:t,state:n}){return Kz(e,void 0,n,t)}function ak(e){Gt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function c9({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){Gt(!ju(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=E.useMemo(()=>({basename:s,navigator:a,static:o,future:{}}),[s,a,o]);typeof n=="string"&&(n=wi(n));let{pathname:c="/",search:d="",hash:p="",state:g=null,key:m="default"}=n,b=E.useMemo(()=>{let y=Ua(c,s);return y==null?null:{location:{pathname:y,search:d,hash:p,state:g,key:m},navigationType:r}},[s,c,d,p,g,m,r]);return Br(b!=null,`<Router basename="${s}"> is not able to match the URL "${c}${d}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:E.createElement(ia.Provider,{value:l},E.createElement(Uu.Provider,{children:t,value:b}))}function d9({children:e,location:t}){return Zq(ok(e),t)}function ok(e,t=[]){let n=[];return E.Children.forEach(e,(r,a)=>{if(!E.isValidElement(r))return;let o=[...t,a];if(r.type===E.Fragment){n.push.apply(n,ok(r.props.children,o));return}Gt(r.type===ak,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Gt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={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,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ok(r.props.children,o)),n.push(s)}),n}var Vd="get",Wd="application/x-www-form-urlencoded";function Yf(e){return e!=null&&typeof e.tagName=="string"}function f9(e){return Yf(e)&&e.tagName.toLowerCase()==="button"}function p9(e){return Yf(e)&&e.tagName.toLowerCase()==="form"}function g9(e){return Yf(e)&&e.tagName.toLowerCase()==="input"}function h9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function m9(e,t){return e.button===0&&(!t||t==="_self")&&!h9(e)}var hd=null;function b9(){if(hd===null)try{new FormData(document.createElement("form"),0),hd=!1}catch{hd=!0}return hd}var y9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zh(e){return e!=null&&!y9.has(e)?(Br(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wd}"`),null):e}function v9(e,t){let n,r,a,o,s;if(p9(e)){let l=e.getAttribute("action");r=l?Ua(l,t):null,n=e.getAttribute("method")||Vd,a=Zh(e.getAttribute("enctype"))||Wd,o=new FormData(e)}else if(f9(e)||g9(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||l.getAttribute("action");if(r=c?Ua(c,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||Vd,a=Zh(e.getAttribute("formenctype"))||Zh(l.getAttribute("enctype"))||Wd,o=new FormData(l,e),!b9()){let{name:d,type:p,value:g}=e;if(p==="image"){let m=d?`${d}.`:"";o.append(`${m}x`,"0"),o.append(`${m}y`,"0")}else d&&o.append(d,g)}}else{if(Yf(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Vd,r=null,a=Wd,s=e}return o&&a==="text/plain"&&(s=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:s}}function k0(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function S9(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function E9(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function w9(e,t,n){let r=await Promise.all(e.map(async a=>{let o=t.routes[a.route.id];if(o){let s=await S9(o,n);return s.links?s.links():[]}return[]}));return A9(r.flat(1).filter(E9).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function l_(e,t,n,r,a,o){let s=(c,d)=>n[d]?c.route.id!==n[d].route.id:!0,l=(c,d)=>{var p;return n[d].pathname!==c.pathname||((p=n[d].route.path)==null?void 0:p.endsWith("*"))&&n[d].params["*"]!==c.params["*"]};return o==="assets"?t.filter((c,d)=>s(c,d)||l(c,d)):o==="data"?t.filter((c,d)=>{var g;let p=r.routes[c.route.id];if(!p||!p.hasLoader)return!1;if(s(c,d)||l(c,d))return!0;if(c.route.shouldRevalidate){let m=c.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function x9(e,t,{includeHydrateFallback:n}={}){return k9(e.map(r=>{let a=t.routes[r.route.id];if(!a)return[];let o=[a.module];return a.clientActionModule&&(o=o.concat(a.clientActionModule)),a.clientLoaderModule&&(o=o.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(o=o.concat(a.hydrateFallbackModule)),a.imports&&(o=o.concat(a.imports)),o}).flat(1))}function k9(e){return[...new Set(e)]}function T9(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function A9(e,t){let n=new Set;return new Set(t),e.reduce((r,a)=>{let o=JSON.stringify(T9(a));return n.has(o)||(n.add(o),r.push({key:o,link:a})),r},[])}function R9(e,t){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname==="/"?n.pathname="_root.data":t&&Ua(n.pathname,t)==="/"?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function Zz(){let e=E.useContext(Us);return k0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function C9(){let e=E.useContext(Vf);return k0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var T0=E.createContext(void 0);T0.displayName="FrameworkContext";function Qz(){let e=E.useContext(T0);return k0(e,"You must render this element inside a <HydratedRouter> element"),e}function _9(e,t){let n=E.useContext(T0),[r,a]=E.useState(!1),[o,s]=E.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:d,onMouseLeave:p,onTouchStart:g}=t,m=E.useRef(null);E.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let S=R=>{R.forEach(x=>{s(x.isIntersecting)})},k=new IntersectionObserver(S,{threshold:.5});return m.current&&k.observe(m.current),()=>{k.disconnect()}}},[e]),E.useEffect(()=>{if(r){let S=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(S)}}},[r]);let b=()=>{a(!0)},y=()=>{a(!1),s(!1)};return n?e!=="intent"?[o,m,{}]:[o,m,{onFocus:eu(l,b),onBlur:eu(c,y),onMouseEnter:eu(d,b),onMouseLeave:eu(p,y),onTouchStart:eu(g,b)}]:[!1,m,{}]}function eu(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function N9({page:e,...t}){let{router:n}=Zz(),r=E.useMemo(()=>Uz(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?E.createElement(D9,{page:e,matches:r,...t}):null}function O9(e){let{manifest:t,routeModules:n}=Qz(),[r,a]=E.useState([]);return E.useEffect(()=>{let o=!1;return w9(e,t,n).then(s=>{o||a(s)}),()=>{o=!0}},[e,t,n]),r}function D9({page:e,matches:t,...n}){let r=xi(),{manifest:a,routeModules:o}=Qz(),{basename:s}=Zz(),{loaderData:l,matches:c}=C9(),d=E.useMemo(()=>l_(e,t,c,a,r,"data"),[e,t,c,a,r]),p=E.useMemo(()=>l_(e,t,c,a,r,"assets"),[e,t,c,a,r]),g=E.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let y=new Set,S=!1;if(t.forEach(R=>{var A;let x=a.routes[R.route.id];!x||!x.hasLoader||(!d.some(N=>N.route.id===R.route.id)&&R.route.id in l&&((A=o[R.route.id])!=null&&A.shouldRevalidate)||x.hasClientLoader?S=!0:y.add(R.route.id))}),y.size===0)return[];let k=R9(e,s);return S&&y.size>0&&k.searchParams.set("_routes",t.filter(R=>y.has(R.route.id)).map(R=>R.route.id).join(",")),[k.pathname+k.search]},[s,l,r,a,d,t,e,o]),m=E.useMemo(()=>x9(p,a),[p,a]),b=O9(p);return E.createElement(E.Fragment,null,g.map(y=>E.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...n})),m.map(y=>E.createElement("link",{key:y,rel:"modulepreload",href:y,...n})),b.map(({key:y,link:S})=>E.createElement("link",{key:y,...S})))}function I9(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Jz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Jz&&(window.__reactRouterVersion="7.3.0")}catch{}function L9({basename:e,children:t,window:n}){let r=E.useRef();r.current==null&&(r.current=xq({window:n,v5Compat:!0}));let a=r.current,[o,s]=E.useState({action:a.action,location:a.location}),l=E.useCallback(c=>{E.startTransition(()=>s(c))},[s]);return E.useLayoutEffect(()=>a.listen(l),[a,l]),E.createElement(c9,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a})}var eB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tB=E.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:a,reloadDocument:o,replace:s,state:l,target:c,to:d,preventScrollReset:p,viewTransition:g,...m},b){let{basename:y}=E.useContext(ia),S=typeof d=="string"&&eB.test(d),k,R=!1;if(typeof d=="string"&&S&&(k=d,Jz))try{let I=new URL(window.location.href),L=d.startsWith("//")?new URL(I.protocol+d):new URL(d),H=Ua(L.pathname,y);L.origin===I.origin&&H!=null?d=H+L.search+L.hash:R=!0}catch{Br(!1,`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let x=Kq(d,{relative:a}),[A,N,O]=_9(r,m),C=z9(d,{replace:s,state:l,target:c,preventScrollReset:p,relative:a,viewTransition:g});function _(I){t&&t(I),I.defaultPrevented||C(I)}let P=E.createElement("a",{...m,...O,href:k||x,onClick:R||o?t:_,ref:I9(b,N),target:c,"data-discover":!S&&n==="render"?"true":void 0});return A&&!S?E.createElement(E.Fragment,null,P,E.createElement(N9,{page:x})):P});tB.displayName="Link";var M9=E.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:a=!1,style:o,to:s,viewTransition:l,children:c,...d},p){let g=Gu(s,{relative:d.relative}),m=xi(),b=E.useContext(Vf),{navigator:y,basename:S}=E.useContext(ia),k=b!=null&&H9(g)&&l===!0,R=y.encodeLocation?y.encodeLocation(g).pathname:g.pathname,x=m.pathname,A=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;n||(x=x.toLowerCase(),A=A?A.toLowerCase():null,R=R.toLowerCase()),A&&S&&(A=Ua(A,S)||A);const N=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let O=x===R||!a&&x.startsWith(R)&&x.charAt(N)==="/",C=A!=null&&(A===R||!a&&A.startsWith(R)&&A.charAt(R.length)==="/"),_={isActive:O,isPending:C,isTransitioning:k},P=O?t:void 0,I;typeof r=="function"?I=r(_):I=[r,O?"active":null,C?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let L=typeof o=="function"?o(_):o;return E.createElement(tB,{...d,"aria-current":P,className:I,ref:p,style:L,to:s,viewTransition:l},typeof c=="function"?c(_):c)});M9.displayName="NavLink";var P9=E.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:o,method:s=Vd,action:l,onSubmit:c,relative:d,preventScrollReset:p,viewTransition:g,...m},b)=>{let y=j9(),S=G9(l,{relative:d}),k=s.toLowerCase()==="get"?"get":"post",R=typeof l=="string"&&eB.test(l),x=A=>{if(c&&c(A),A.defaultPrevented)return;A.preventDefault();let N=A.nativeEvent.submitter,O=(N==null?void 0:N.getAttribute("formmethod"))||s;y(N||A.currentTarget,{fetcherKey:t,method:O,navigate:n,replace:a,state:o,relative:d,preventScrollReset:p,viewTransition:g})};return E.createElement("form",{ref:b,method:k,action:S,onSubmit:r?c:x,...m,"data-discover":!R&&e==="render"?"true":void 0})});P9.displayName="Form";function F9(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function nB(e){let t=E.useContext(Us);return Gt(t,F9(e)),t}function z9(e,{target:t,replace:n,state:r,preventScrollReset:a,relative:o,viewTransition:s}={}){let l=Wf(),c=xi(),d=Gu(e,{relative:o});return E.useCallback(p=>{if(m9(p,t)){p.preventDefault();let g=n!==void 0?n:Eu(c)===Eu(d);l(e,{replace:g,state:r,preventScrollReset:a,relative:o,viewTransition:s})}},[c,l,d,n,r,t,e,a,o,s])}var B9=0,U9=()=>`__${String(++B9)}__`;function j9(){let{router:e}=nB("useSubmit"),{basename:t}=E.useContext(ia),n=i9();return E.useCallback(async(r,a={})=>{let{action:o,method:s,encType:l,formData:c,body:d}=v9(r,t);if(a.navigate===!1){let p=a.fetcherKey||U9();await e.fetch(p,n,a.action||o,{preventScrollReset:a.preventScrollReset,formData:c,body:d,formMethod:a.method||s,formEncType:a.encType||l,flushSync:a.flushSync})}else await e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:c,body:d,formMethod:a.method||s,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}function G9(e,{relative:t}={}){let{basename:n}=E.useContext(ia),r=E.useContext(qa);Gt(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),o={...Gu(e||".",{relative:t})},s=xi();if(e==null){o.search=s.search;let l=new URLSearchParams(o.search),c=l.getAll("index");if(c.some(p=>p==="")){l.delete("index"),c.filter(g=>g).forEach(g=>l.append("index",g));let p=l.toString();o.search=p?`?${p}`:""}}return(!e||e===".")&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:za([n,o.pathname])),Eu(o)}function H9(e,t={}){let n=E.useContext(Vz);Gt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=nB("useViewTransitionState"),a=Gu(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ua(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Ua(n.nextLocation.pathname,r)||n.nextLocation.pathname;return pf(a.pathname,s)!=null||pf(a.pathname,o)!=null}new TextEncoder;var Hu=Bz();const rB=cn(Hu),u_=e=>{let t;const n=new Set,r=(d,p)=>{const g=typeof d=="function"?d(t):d;if(!Object.is(g,t)){const m=t;t=p??(typeof g!="object"||g===null)?g:Object.assign({},t,g),n.forEach(b=>b(t,m))}},a=()=>t,l={setState:r,getState:a,getInitialState:()=>c,subscribe:d=>(n.add(d),()=>n.delete(d))},c=t=e(r,a,l);return l},$9=e=>e?u_(e):u_,q9=e=>e;function V9(e,t=q9){const n=ye.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return ye.useDebugValue(n),n}const c_=e=>{const t=$9(e),n=r=>V9(t,r);return Object.assign(n,t),n},Kf=e=>e?c_(e):c_;function aB(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=aB(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function oB(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=aB(e))&&(r&&(r+=" "),r+=t);return r}const A0="-",W9=e=>{const t=K9(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(A0);return l[0]===""&&l.length!==1&&l.shift(),iB(l,t)||Y9(s)},getConflictingClassGroupIds:(s,l)=>{const c=n[s]||[];return l&&r[s]?[...c,...r[s]]:c}}},iB=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?iB(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const o=e.join(A0);return(s=t.validators.find(({validator:l})=>l(o)))==null?void 0:s.classGroupId},d_=/^\[(.+)\]$/,Y9=e=>{if(d_.test(e)){const t=d_.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},K9=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)ik(n[a],r,a,t);return r},ik=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:f_(t,a);o.classGroupId=n;return}if(typeof a=="function"){if(X9(a)){ik(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([o,s])=>{ik(s,f_(t,o),n,r)})})},f_=(e,t)=>{let n=e;return t.split(A0).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},X9=e=>e.isThemeGetter,Z9=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return a(o,s),s},set(o,s){n.has(o)?n.set(o,s):a(o,s)}}},sk="!",lk=":",Q9=lk.length,J9=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const o=[];let s=0,l=0,c=0,d;for(let y=0;y<a.length;y++){let S=a[y];if(s===0&&l===0){if(S===lk){o.push(a.slice(c,y)),c=y+Q9;continue}if(S==="/"){d=y;continue}}S==="["?s++:S==="]"?s--:S==="("?l++:S===")"&&l--}const p=o.length===0?a:a.substring(c),g=e8(p),m=g!==p,b=d&&d>c?d-c:void 0;return{modifiers:o,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:b}};if(t){const a=t+lk,o=r;r=s=>s.startsWith(a)?o(s.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:s,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=o=>n({className:o,parseClassName:a})}return r},e8=e=>e.endsWith(sk)?e.substring(0,e.length-1):e.startsWith(sk)?e.substring(1):e,t8=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let o=[];return r.forEach(s=>{s[0]==="["||t[s]?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a}},n8=e=>({cache:Z9(e.cacheSize),parseClassName:J9(e),sortModifiers:t8(e),...W9(e)}),r8=/\s+/,a8=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:o}=t,s=[],l=e.trim().split(r8);let c="";for(let d=l.length-1;d>=0;d-=1){const p=l[d],{isExternal:g,modifiers:m,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:S}=n(p);if(g){c=p+(c.length>0?" "+c:c);continue}let k=!!S,R=r(k?y.substring(0,S):y);if(!R){if(!k){c=p+(c.length>0?" "+c:c);continue}if(R=r(y),!R){c=p+(c.length>0?" "+c:c);continue}k=!1}const x=o(m).join(":"),A=b?x+sk:x,N=A+R;if(s.includes(N))continue;s.push(N);const O=a(R,k);for(let C=0;C<O.length;++C){const _=O[C];s.push(A+_)}c=p+(c.length>0?" "+c:c)}return c};function o8(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=sB(t))&&(r&&(r+=" "),r+=n);return r}const sB=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=sB(e[r]))&&(n&&(n+=" "),n+=t);return n};function i8(e,...t){let n,r,a,o=s;function s(c){const d=t.reduce((p,g)=>g(p),e());return n=n8(d),r=n.cache.get,a=n.cache.set,o=l,l(c)}function l(c){const d=r(c);if(d)return d;const p=a8(c,n);return a(c,p),p}return function(){return o(o8.apply(null,arguments))}}const un=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},lB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,uB=/^\((?:(\w[\w-]*):)?(.+)\)$/i,s8=/^\d+\/\d+$/,l8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,u8=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,c8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,d8=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,f8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,us=e=>s8.test(e),ft=e=>!!e&&!Number.isNaN(Number(e)),ri=e=>!!e&&Number.isInteger(Number(e)),p_=e=>e.endsWith("%")&&ft(e.slice(0,-1)),yo=e=>l8.test(e),p8=()=>!0,g8=e=>u8.test(e)&&!c8.test(e),R0=()=>!1,h8=e=>d8.test(e),m8=e=>f8.test(e),b8=e=>!Ge(e)&&!He(e),y8=e=>js(e,fB,R0),Ge=e=>lB.test(e),ai=e=>js(e,pB,g8),Qh=e=>js(e,_8,ft),v8=e=>js(e,cB,R0),S8=e=>js(e,dB,m8),E8=e=>js(e,R0,h8),He=e=>uB.test(e),md=e=>Gs(e,pB),w8=e=>Gs(e,N8),x8=e=>Gs(e,cB),k8=e=>Gs(e,fB),T8=e=>Gs(e,dB),A8=e=>Gs(e,O8,!0),js=(e,t,n)=>{const r=lB.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Gs=(e,t,n=!1)=>{const r=uB.exec(e);return r?r[1]?t(r[1]):n:!1},cB=e=>e==="position",R8=new Set(["image","url"]),dB=e=>R8.has(e),C8=new Set(["length","size","percentage"]),fB=e=>C8.has(e),pB=e=>e==="length",_8=e=>e==="number",N8=e=>e==="family-name",O8=e=>e==="shadow",D8=()=>{const e=un("color"),t=un("font"),n=un("text"),r=un("font-weight"),a=un("tracking"),o=un("leading"),s=un("breakpoint"),l=un("container"),c=un("spacing"),d=un("radius"),p=un("shadow"),g=un("inset-shadow"),m=un("drop-shadow"),b=un("blur"),y=un("perspective"),S=un("aspect"),k=un("ease"),R=un("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],C=()=>[He,Ge,c],_=()=>[us,"full","auto",...C()],P=()=>[ri,"none","subgrid",He,Ge],I=()=>["auto",{span:["full",ri,He,Ge]},He,Ge],L=()=>[ri,"auto",He,Ge],H=()=>["auto","min","max","fr",He,Ge],$=()=>["start","end","center","between","around","evenly","stretch","baseline"],U=()=>["start","end","center","stretch"],W=()=>["auto",...C()],Z=()=>[us,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],j=()=>[e,He,Ge],G=()=>[p_,ai],z=()=>["","none","full",d,He,Ge],Y=()=>["",ft,md,ai],D=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["","none",b,He,Ge],M=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",He,Ge],K=()=>["none",ft,He,Ge],ee=()=>["none",ft,He,Ge],Q=()=>[ft,He,Ge],J=()=>[us,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yo],breakpoint:[yo],color:[p8],container:[yo],"drop-shadow":[yo],ease:["in","out","in-out"],font:[b8],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yo],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yo],shadow:[yo],spacing:["px",ft],text:[yo],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",us,Ge,He,S]}],container:["container"],columns:[{columns:[ft,Ge,He,l]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...A(),Ge,He]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[ri,"auto",He,Ge]}],basis:[{basis:[us,"full","auto",l,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ft,us,"auto","initial","none",Ge]}],grow:[{grow:["",ft,He,Ge]}],shrink:[{shrink:["",ft,He,Ge]}],order:[{order:[ri,"first","last","none",He,Ge]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),"baseline"]}],"align-self":[{self:["auto",...U(),"baseline"]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],w:[{w:[l,"screen",...Z()]}],"min-w":[{"min-w":[l,"screen","none",...Z()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...Z()]}],h:[{h:["screen",...Z()]}],"min-h":[{"min-h":["screen","none",...Z()]}],"max-h":[{"max-h":["screen",...Z()]}],"font-size":[{text:["base",n,md,ai]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,He,Qh]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",p_,Ge]}],"font-family":[{font:[w8,Ge,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,He,Ge]}],"line-clamp":[{"line-clamp":[ft,"none",He,Qh]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",He,Ge]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",He,Ge]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:[ft,"from-font","auto",He,ai]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[ft,"auto",He,Ge]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",He,Ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",He,Ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),x8,v8]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",k8,y8]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ri,He,Ge],radial:["",He,Ge],conic:[ri,He,Ge]},T8,S8]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...D(),"hidden","none"]}],"divide-style":[{divide:[...D(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...D(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ft,He,Ge]}],"outline-w":[{outline:["",ft,md,ai]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",p,A8,E8]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",He,Ge,g]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[ft,ai]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":j()}],opacity:[{opacity:[ft,He,Ge]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none",He,Ge]}],blur:[{blur:B()}],brightness:[{brightness:[ft,He,Ge]}],contrast:[{contrast:[ft,He,Ge]}],"drop-shadow":[{"drop-shadow":["","none",m,He,Ge]}],grayscale:[{grayscale:["",ft,He,Ge]}],"hue-rotate":[{"hue-rotate":[ft,He,Ge]}],invert:[{invert:["",ft,He,Ge]}],saturate:[{saturate:[ft,He,Ge]}],sepia:[{sepia:["",ft,He,Ge]}],"backdrop-filter":[{"backdrop-filter":["","none",He,Ge]}],"backdrop-blur":[{"backdrop-blur":B()}],"backdrop-brightness":[{"backdrop-brightness":[ft,He,Ge]}],"backdrop-contrast":[{"backdrop-contrast":[ft,He,Ge]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ft,He,Ge]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ft,He,Ge]}],"backdrop-invert":[{"backdrop-invert":["",ft,He,Ge]}],"backdrop-opacity":[{"backdrop-opacity":[ft,He,Ge]}],"backdrop-saturate":[{"backdrop-saturate":[ft,He,Ge]}],"backdrop-sepia":[{"backdrop-sepia":["",ft,He,Ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",He,Ge]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ft,"initial",He,Ge]}],ease:[{ease:["linear","initial",k,He,Ge]}],delay:[{delay:[ft,He,Ge]}],animate:[{animate:["none",R,He,Ge]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,He,Ge]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:K()}],"rotate-x":[{"rotate-x":K()}],"rotate-y":[{"rotate-y":K()}],"rotate-z":[{"rotate-z":K()}],scale:[{scale:ee()}],"scale-x":[{"scale-x":ee()}],"scale-y":[{"scale-y":ee()}],"scale-z":[{"scale-z":ee()}],"scale-3d":["scale-3d"],skew:[{skew:Q()}],"skew-x":[{"skew-x":Q()}],"skew-y":[{"skew-y":Q()}],transform:[{transform:[He,Ge,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",He,Ge]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",He,Ge]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[ft,md,ai,Qh]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},I8=i8(D8);function Pe(...e){return I8(oB(e))}function gB(){const e="0123456789abcdef";let t="#";for(let n=0;n<6;n++)t+=e.charAt(Math.floor(Math.random()*16));return t}function Sr(e){return e instanceof Error?e.message:`${e}`}const C0=e=>{const t=e;t.use={};for(const n of Object.keys(t.getState()))t.use[n]=()=>t(r=>r[n]);return t};function hB(e,t){return function(){return e.apply(t,arguments)}}const{toString:L8}=Object.prototype,{getPrototypeOf:_0}=Object,Xf=(e=>t=>{const n=L8.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gr=e=>(e=e.toLowerCase(),t=>Xf(t)===e),Zf=e=>t=>typeof t===e,{isArray:Hs}=Array,wu=Zf("undefined");function M8(e){return e!==null&&!wu(e)&&e.constructor!==null&&!wu(e.constructor)&&tr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mB=Gr("ArrayBuffer");function P8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mB(e.buffer),t}const F8=Zf("string"),tr=Zf("function"),bB=Zf("number"),Qf=e=>e!==null&&typeof e=="object",z8=e=>e===!0||e===!1,Yd=e=>{if(Xf(e)!=="object")return!1;const t=_0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},B8=Gr("Date"),U8=Gr("File"),j8=Gr("Blob"),G8=Gr("FileList"),H8=e=>Qf(e)&&tr(e.pipe),$8=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||tr(e.append)&&((t=Xf(e))==="formdata"||t==="object"&&tr(e.toString)&&e.toString()==="[object FormData]"))},q8=Gr("URLSearchParams"),[V8,W8,Y8,K8]=["ReadableStream","Request","Response","Headers"].map(Gr),X8=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $u(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Hs(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let l;for(r=0;r<s;r++)l=o[r],t.call(null,e[l],l,e)}}function yB(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,vB=e=>!wu(e)&&e!==fi;function uk(){const{caseless:e}=vB(this)&&this||{},t={},n=(r,a)=>{const o=e&&yB(t,a)||a;Yd(t[o])&&Yd(r)?t[o]=uk(t[o],r):Yd(r)?t[o]=uk({},r):Hs(r)?t[o]=r.slice():t[o]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&$u(arguments[r],n);return t}const Z8=(e,t,n,{allOwnKeys:r}={})=>($u(t,(a,o)=>{n&&tr(a)?e[o]=hB(a,n):e[o]=a},{allOwnKeys:r}),e),Q8=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),J8=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},e7=(e,t,n,r)=>{let a,o,s;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)s=a[o],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&_0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},t7=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},n7=e=>{if(!e)return null;if(Hs(e))return e;let t=e.length;if(!bB(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},r7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_0(Uint8Array)),a7=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},o7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},i7=Gr("HTMLFormElement"),s7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),g_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),l7=Gr("RegExp"),SB=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};$u(n,(a,o)=>{let s;(s=t(a,o,e))!==!1&&(r[o]=s||a)}),Object.defineProperties(e,r)},u7=e=>{SB(e,(t,n)=>{if(tr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(tr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},c7=(e,t)=>{const n={},r=a=>{a.forEach(o=>{n[o]=!0})};return Hs(e)?r(e):r(String(e).split(t)),n},d7=()=>{},f7=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Jh="abcdefghijklmnopqrstuvwxyz",h_="0123456789",EB={DIGIT:h_,ALPHA:Jh,ALPHA_DIGIT:Jh+Jh.toUpperCase()+h_},p7=(e=16,t=EB.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function g7(e){return!!(e&&tr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const h7=e=>{const t=new Array(10),n=(r,a)=>{if(Qf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const o=Hs(r)?[]:{};return $u(r,(s,l)=>{const c=n(s,a+1);!wu(c)&&(o[l]=c)}),t[a]=void 0,o}}return r};return n(e,0)},m7=Gr("AsyncFunction"),b7=e=>e&&(Qf(e)||tr(e))&&tr(e.then)&&tr(e.catch),wB=((e,t)=>e?setImmediate:t?((n,r)=>(fi.addEventListener("message",({source:a,data:o})=>{a===fi&&o===n&&r.length&&r.shift()()},!1),a=>{r.push(a),fi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",tr(fi.postMessage)),y7=typeof queueMicrotask<"u"?queueMicrotask.bind(fi):typeof process<"u"&&process.nextTick||wB,pe={isArray:Hs,isArrayBuffer:mB,isBuffer:M8,isFormData:$8,isArrayBufferView:P8,isString:F8,isNumber:bB,isBoolean:z8,isObject:Qf,isPlainObject:Yd,isReadableStream:V8,isRequest:W8,isResponse:Y8,isHeaders:K8,isUndefined:wu,isDate:B8,isFile:U8,isBlob:j8,isRegExp:l7,isFunction:tr,isStream:H8,isURLSearchParams:q8,isTypedArray:r7,isFileList:G8,forEach:$u,merge:uk,extend:Z8,trim:X8,stripBOM:Q8,inherits:J8,toFlatObject:e7,kindOf:Xf,kindOfTest:Gr,endsWith:t7,toArray:n7,forEachEntry:a7,matchAll:o7,isHTMLForm:i7,hasOwnProperty:g_,hasOwnProp:g_,reduceDescriptors:SB,freezeMethods:u7,toObjectSet:c7,toCamelCase:s7,noop:d7,toFiniteNumber:f7,findKey:yB,global:fi,isContextDefined:vB,ALPHABET:EB,generateString:p7,isSpecCompliantForm:g7,toJSONObject:h7,isAsyncFn:m7,isThenable:b7,setImmediate:wB,asap:y7};function at(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}pe.inherits(at,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:pe.toJSONObject(this.config),code:this.code,status:this.status}}});const xB=at.prototype,kB={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kB[e]={value:e}});Object.defineProperties(at,kB);Object.defineProperty(xB,"isAxiosError",{value:!0});at.from=(e,t,n,r,a,o)=>{const s=Object.create(xB);return pe.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),at.call(s,e.message,t,n,r,a),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const v7=null;function ck(e){return pe.isPlainObject(e)||pe.isArray(e)}function TB(e){return pe.endsWith(e,"[]")?e.slice(0,-2):e}function m_(e,t,n){return e?e.concat(t).map(function(a,o){return a=TB(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function S7(e){return pe.isArray(e)&&!e.some(ck)}const E7=pe.toFlatObject(pe,{},null,function(t){return/^is[A-Z]/.test(t)});function Jf(e,t,n){if(!pe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=pe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,k){return!pe.isUndefined(k[S])});const r=n.metaTokens,a=n.visitor||p,o=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&pe.isSpecCompliantForm(t);if(!pe.isFunction(a))throw new TypeError("visitor must be a function");function d(y){if(y===null)return"";if(pe.isDate(y))return y.toISOString();if(!c&&pe.isBlob(y))throw new at("Blob is not supported. Use a Buffer instead.");return pe.isArrayBuffer(y)||pe.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function p(y,S,k){let R=y;if(y&&!k&&typeof y=="object"){if(pe.endsWith(S,"{}"))S=r?S:S.slice(0,-2),y=JSON.stringify(y);else if(pe.isArray(y)&&S7(y)||(pe.isFileList(y)||pe.endsWith(S,"[]"))&&(R=pe.toArray(y)))return S=TB(S),R.forEach(function(A,N){!(pe.isUndefined(A)||A===null)&&t.append(s===!0?m_([S],N,o):s===null?S:S+"[]",d(A))}),!1}return ck(y)?!0:(t.append(m_(k,S,o),d(y)),!1)}const g=[],m=Object.assign(E7,{defaultVisitor:p,convertValue:d,isVisitable:ck});function b(y,S){if(!pe.isUndefined(y)){if(g.indexOf(y)!==-1)throw Error("Circular reference detected in "+S.join("."));g.push(y),pe.forEach(y,function(R,x){(!(pe.isUndefined(R)||R===null)&&a.call(t,R,pe.isString(x)?x.trim():x,S,m))===!0&&b(R,S?S.concat(x):[x])}),g.pop()}}if(!pe.isObject(e))throw new TypeError("data must be an object");return b(e),t}function b_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function N0(e,t){this._pairs=[],e&&Jf(e,this,t)}const AB=N0.prototype;AB.append=function(t,n){this._pairs.push([t,n])};AB.toString=function(t){const n=t?function(r){return t.call(this,r,b_)}:b_;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function w7(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function RB(e,t,n){if(!t)return e;const r=n&&n.encode||w7;pe.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let o;if(a?o=a(t,n):o=pe.isURLSearchParams(t)?t.toString():new N0(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class y_{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){pe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const CB={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},x7=typeof URLSearchParams<"u"?URLSearchParams:N0,k7=typeof FormData<"u"?FormData:null,T7=typeof Blob<"u"?Blob:null,A7={isBrowser:!0,classes:{URLSearchParams:x7,FormData:k7,Blob:T7},protocols:["http","https","file","blob","url","data"]},O0=typeof window<"u"&&typeof document<"u",dk=typeof navigator=="object"&&navigator||void 0,R7=O0&&(!dk||["ReactNative","NativeScript","NS"].indexOf(dk.product)<0),C7=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_7=O0&&window.location.href||"http://localhost",N7=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:O0,hasStandardBrowserEnv:R7,hasStandardBrowserWebWorkerEnv:C7,navigator:dk,origin:_7},Symbol.toStringTag,{value:"Module"})),kn={...N7,...A7};function O7(e,t){return Jf(e,new kn.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,o){return kn.isNode&&pe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function D7(e){return pe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function I7(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}function _B(e){function t(n,r,a,o){let s=n[o++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=o>=n.length;return s=!s&&pe.isArray(a)?a.length:s,c?(pe.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!pe.isObject(a[s]))&&(a[s]=[]),t(n,r,a[s],o)&&pe.isArray(a[s])&&(a[s]=I7(a[s])),!l)}if(pe.isFormData(e)&&pe.isFunction(e.entries)){const n={};return pe.forEachEntry(e,(r,a)=>{t(D7(r),a,n,0)}),n}return null}function L7(e,t,n){if(pe.isString(e))try{return(t||JSON.parse)(e),pe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const qu={transitional:CB,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,o=pe.isObject(t);if(o&&pe.isHTMLForm(t)&&(t=new FormData(t)),pe.isFormData(t))return a?JSON.stringify(_B(t)):t;if(pe.isArrayBuffer(t)||pe.isBuffer(t)||pe.isStream(t)||pe.isFile(t)||pe.isBlob(t)||pe.isReadableStream(t))return t;if(pe.isArrayBufferView(t))return t.buffer;if(pe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return O7(t,this.formSerializer).toString();if((l=pe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Jf(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||a?(n.setContentType("application/json",!1),L7(t)):t}],transformResponse:[function(t){const n=this.transitional||qu.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(pe.isResponse(t)||pe.isReadableStream(t))return t;if(t&&pe.isString(t)&&(r&&!this.responseType||a)){const s=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?at.from(l,at.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kn.classes.FormData,Blob:kn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};pe.forEach(["delete","get","head","post","put","patch"],e=>{qu.headers[e]={}});const M7=pe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),P7=e=>{const t={};let n,r,a;return e&&e.split(`
|
||
`).forEach(function(s){a=s.indexOf(":"),n=s.substring(0,a).trim().toLowerCase(),r=s.substring(a+1).trim(),!(!n||t[n]&&M7[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},v_=Symbol("internals");function tu(e){return e&&String(e).trim().toLowerCase()}function Kd(e){return e===!1||e==null?e:pe.isArray(e)?e.map(Kd):String(e)}function F7(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const z7=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function em(e,t,n,r,a){if(pe.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!pe.isString(t)){if(pe.isString(r))return t.indexOf(r)!==-1;if(pe.isRegExp(r))return r.test(t)}}function B7(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function U7(e,t){const n=pe.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,o,s){return this[r].call(this,t,a,o,s)},configurable:!0})})}let Gn=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function o(l,c,d){const p=tu(c);if(!p)throw new Error("header name must be a non-empty string");const g=pe.findKey(a,p);(!g||a[g]===void 0||d===!0||d===void 0&&a[g]!==!1)&&(a[g||c]=Kd(l))}const s=(l,c)=>pe.forEach(l,(d,p)=>o(d,p,c));if(pe.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(pe.isString(t)&&(t=t.trim())&&!z7(t))s(P7(t),n);else if(pe.isHeaders(t))for(const[l,c]of t.entries())o(c,l,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=tu(t),t){const r=pe.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return F7(a);if(pe.isFunction(n))return n.call(this,a,r);if(pe.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=tu(t),t){const r=pe.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||em(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function o(s){if(s=tu(s),s){const l=pe.findKey(r,s);l&&(!n||em(r,r[l],l,n))&&(delete r[l],a=!0)}}return pe.isArray(t)?t.forEach(o):o(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const o=n[r];(!t||em(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const n=this,r={};return pe.forEach(this,(a,o)=>{const s=pe.findKey(r,o);if(s){n[s]=Kd(a),delete n[o];return}const l=t?B7(o):String(o).trim();l!==o&&delete n[o],n[l]=Kd(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return pe.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&pe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[v_]=this[v_]={accessors:{}}).accessors,a=this.prototype;function o(s){const l=tu(s);r[l]||(U7(a,s),r[l]=!0)}return pe.isArray(t)?t.forEach(o):o(t),this}};Gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);pe.reduceDescriptors(Gn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});pe.freezeMethods(Gn);function tm(e,t){const n=this||qu,r=t||n,a=Gn.from(r.headers);let o=r.data;return pe.forEach(e,function(l){o=l.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function NB(e){return!!(e&&e.__CANCEL__)}function $s(e,t,n){at.call(this,e??"canceled",at.ERR_CANCELED,t,n),this.name="CanceledError"}pe.inherits($s,at,{__CANCEL__:!0});function OB(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new at("Request failed with status code "+n.status,[at.ERR_BAD_REQUEST,at.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function j7(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function G7(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,o=0,s;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),p=r[o];s||(s=d),n[a]=c,r[a]=d;let g=o,m=0;for(;g!==a;)m+=n[g++],g=g%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),d-s<t)return;const b=p&&d-p;return b?Math.round(m*1e3/b):void 0}}function H7(e,t){let n=0,r=1e3/t,a,o;const s=(d,p=Date.now())=>{n=p,a=null,o&&(clearTimeout(o),o=null),e.apply(null,d)};return[(...d)=>{const p=Date.now(),g=p-n;g>=r?s(d,p):(a=d,o||(o=setTimeout(()=>{o=null,s(a)},r-g)))},()=>a&&s(a)]}const gf=(e,t,n=3)=>{let r=0;const a=G7(50,250);return H7(o=>{const s=o.loaded,l=o.lengthComputable?o.total:void 0,c=s-r,d=a(c),p=s<=l;r=s;const g={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:d||void 0,estimated:d&&l&&p?(l-s)/d:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(g)},n)},S_=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},E_=e=>(...t)=>pe.asap(()=>e(...t)),$7=kn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,kn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(kn.origin),kn.navigator&&/(msie|trident)/i.test(kn.navigator.userAgent)):()=>!0,q7=kn.hasStandardBrowserEnv?{write(e,t,n,r,a,o){const s=[e+"="+encodeURIComponent(t)];pe.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),pe.isString(r)&&s.push("path="+r),pe.isString(a)&&s.push("domain="+a),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function V7(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function W7(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function DB(e,t){return e&&!V7(t)?W7(e,t):t}const w_=e=>e instanceof Gn?{...e}:e;function hi(e,t){t=t||{};const n={};function r(d,p,g,m){return pe.isPlainObject(d)&&pe.isPlainObject(p)?pe.merge.call({caseless:m},d,p):pe.isPlainObject(p)?pe.merge({},p):pe.isArray(p)?p.slice():p}function a(d,p,g,m){if(pe.isUndefined(p)){if(!pe.isUndefined(d))return r(void 0,d,g,m)}else return r(d,p,g,m)}function o(d,p){if(!pe.isUndefined(p))return r(void 0,p)}function s(d,p){if(pe.isUndefined(p)){if(!pe.isUndefined(d))return r(void 0,d)}else return r(void 0,p)}function l(d,p,g){if(g in t)return r(d,p);if(g in e)return r(void 0,d)}const c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(d,p,g)=>a(w_(d),w_(p),g,!0)};return pe.forEach(Object.keys(Object.assign({},e,t)),function(p){const g=c[p]||a,m=g(e[p],t[p],p);pe.isUndefined(m)&&g!==l||(n[p]=m)}),n}const IB=e=>{const t=hi({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:l}=t;t.headers=s=Gn.from(s),t.url=RB(DB(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(pe.isFormData(n)){if(kn.hasStandardBrowserEnv||kn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[d,...p]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];s.setContentType([d||"multipart/form-data",...p].join("; "))}}if(kn.hasStandardBrowserEnv&&(r&&pe.isFunction(r)&&(r=r(t)),r||r!==!1&&$7(t.url))){const d=a&&o&&q7.read(o);d&&s.set(a,d)}return t},Y7=typeof XMLHttpRequest<"u",K7=Y7&&function(e){return new Promise(function(n,r){const a=IB(e);let o=a.data;const s=Gn.from(a.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:d}=a,p,g,m,b,y;function S(){b&&b(),y&&y(),a.cancelToken&&a.cancelToken.unsubscribe(p),a.signal&&a.signal.removeEventListener("abort",p)}let k=new XMLHttpRequest;k.open(a.method.toUpperCase(),a.url,!0),k.timeout=a.timeout;function R(){if(!k)return;const A=Gn.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),O={data:!l||l==="text"||l==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:A,config:e,request:k};OB(function(_){n(_),S()},function(_){r(_),S()},O),k=null}"onloadend"in k?k.onloadend=R:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(R)},k.onabort=function(){k&&(r(new at("Request aborted",at.ECONNABORTED,e,k)),k=null)},k.onerror=function(){r(new at("Network Error",at.ERR_NETWORK,e,k)),k=null},k.ontimeout=function(){let N=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const O=a.transitional||CB;a.timeoutErrorMessage&&(N=a.timeoutErrorMessage),r(new at(N,O.clarifyTimeoutError?at.ETIMEDOUT:at.ECONNABORTED,e,k)),k=null},o===void 0&&s.setContentType(null),"setRequestHeader"in k&&pe.forEach(s.toJSON(),function(N,O){k.setRequestHeader(O,N)}),pe.isUndefined(a.withCredentials)||(k.withCredentials=!!a.withCredentials),l&&l!=="json"&&(k.responseType=a.responseType),d&&([m,y]=gf(d,!0),k.addEventListener("progress",m)),c&&k.upload&&([g,b]=gf(c),k.upload.addEventListener("progress",g),k.upload.addEventListener("loadend",b)),(a.cancelToken||a.signal)&&(p=A=>{k&&(r(!A||A.type?new $s(null,e,k):A),k.abort(),k=null)},a.cancelToken&&a.cancelToken.subscribe(p),a.signal&&(a.signal.aborted?p():a.signal.addEventListener("abort",p)));const x=j7(a.url);if(x&&kn.protocols.indexOf(x)===-1){r(new at("Unsupported protocol "+x+":",at.ERR_BAD_REQUEST,e));return}k.send(o||null)})},X7=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const o=function(d){if(!a){a=!0,l();const p=d instanceof Error?d:this.reason;r.abort(p instanceof at?p:new $s(p instanceof Error?p.message:p))}};let s=t&&setTimeout(()=>{s=null,o(new at(`timeout ${t} of ms exceeded`,at.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>pe.asap(l),c}},Z7=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},Q7=async function*(e,t){for await(const n of J7(e))yield*Z7(n,t)},J7=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},x_=(e,t,n,r)=>{const a=Q7(e,t);let o=0,s,l=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:d,value:p}=await a.next();if(d){l(),c.close();return}let g=p.byteLength;if(n){let m=o+=g;n(m)}c.enqueue(new Uint8Array(p))}catch(d){throw l(d),d}},cancel(c){return l(c),a.return()}},{highWaterMark:2})},ep=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",LB=ep&&typeof ReadableStream=="function",eV=ep&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),MB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},tV=LB&&MB(()=>{let e=!1;const t=new Request(kn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),k_=64*1024,fk=LB&&MB(()=>pe.isReadableStream(new Response("").body)),hf={stream:fk&&(e=>e.body)};ep&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hf[t]&&(hf[t]=pe.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new at(`Response type '${t}' is not supported`,at.ERR_NOT_SUPPORT,r)})})})(new Response);const nV=async e=>{if(e==null)return 0;if(pe.isBlob(e))return e.size;if(pe.isSpecCompliantForm(e))return(await new Request(kn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(pe.isArrayBufferView(e)||pe.isArrayBuffer(e))return e.byteLength;if(pe.isURLSearchParams(e)&&(e=e+""),pe.isString(e))return(await eV(e)).byteLength},rV=async(e,t)=>{const n=pe.toFiniteNumber(e.getContentLength());return n??nV(t)},aV=ep&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:o,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:d,headers:p,withCredentials:g="same-origin",fetchOptions:m}=IB(e);d=d?(d+"").toLowerCase():"text";let b=X7([a,o&&o.toAbortSignal()],s),y;const S=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let k;try{if(c&&tV&&n!=="get"&&n!=="head"&&(k=await rV(p,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(pe.isFormData(r)&&(C=O.headers.get("content-type"))&&p.setContentType(C),O.body){const[_,P]=S_(k,gf(E_(c)));r=x_(O.body,k_,_,P)}}pe.isString(g)||(g=g?"include":"omit");const R="credentials"in Request.prototype;y=new Request(t,{...m,signal:b,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:r,duplex:"half",credentials:R?g:void 0});let x=await fetch(y);const A=fk&&(d==="stream"||d==="response");if(fk&&(l||A&&S)){const O={};["status","statusText","headers"].forEach(I=>{O[I]=x[I]});const C=pe.toFiniteNumber(x.headers.get("content-length")),[_,P]=l&&S_(C,gf(E_(l),!0))||[];x=new Response(x_(x.body,k_,_,()=>{P&&P(),S&&S()}),O)}d=d||"text";let N=await hf[pe.findKey(hf,d)||"text"](x,e);return!A&&S&&S(),await new Promise((O,C)=>{OB(O,C,{data:N,headers:Gn.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:y})})}catch(R){throw S&&S(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new at("Network Error",at.ERR_NETWORK,e,y),{cause:R.cause||R}):at.from(R,R&&R.code,e,y)}}),pk={http:v7,xhr:K7,fetch:aV};pe.forEach(pk,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const T_=e=>`- ${e}`,oV=e=>pe.isFunction(e)||e===null||e===!1,PB={getAdapter:e=>{e=pe.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let o=0;o<t;o++){n=e[o];let s;if(r=n,!oV(n)&&(r=pk[(s=String(n)).toLowerCase()],r===void 0))throw new at(`Unknown adapter '${s}'`);if(r)break;a[s||"#"+o]=r}if(!r){const o=Object.entries(a).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
|
||
`+o.map(T_).join(`
|
||
`):" "+T_(o[0]):"as no adapter specified";throw new at("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:pk};function nm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $s(null,e)}function A_(e){return nm(e),e.headers=Gn.from(e.headers),e.data=tm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),PB.getAdapter(e.adapter||qu.adapter)(e).then(function(r){return nm(e),r.data=tm.call(e,e.transformResponse,r),r.headers=Gn.from(r.headers),r},function(r){return NB(r)||(nm(e),r&&r.response&&(r.response.data=tm.call(e,e.transformResponse,r.response),r.response.headers=Gn.from(r.response.headers))),Promise.reject(r)})}const FB="1.7.9",tp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const R_={};tp.transitional=function(t,n,r){function a(o,s){return"[Axios v"+FB+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,l)=>{if(t===!1)throw new at(a(s," has been removed"+(n?" in "+n:"")),at.ERR_DEPRECATED);return n&&!R_[s]&&(R_[s]=!0,console.warn(a(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,l):!0}};tp.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function iV(e,t,n){if(typeof e!="object")throw new at("options must be an object",at.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],s=t[o];if(s){const l=e[o],c=l===void 0||s(l,o,e);if(c!==!0)throw new at("option "+o+" must be "+c,at.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new at("Unknown option "+o,at.ERR_BAD_OPTION)}}const Xd={assertOptions:iV,validators:tp},Zr=Xd.validators;let pi=class{constructor(t){this.defaults=t,this.interceptors={request:new y_,response:new y_}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=hi(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&Xd.assertOptions(r,{silentJSONParsing:Zr.transitional(Zr.boolean),forcedJSONParsing:Zr.transitional(Zr.boolean),clarifyTimeoutError:Zr.transitional(Zr.boolean)},!1),a!=null&&(pe.isFunction(a)?n.paramsSerializer={serialize:a}:Xd.assertOptions(a,{encode:Zr.function,serialize:Zr.function},!0)),Xd.assertOptions(n,{baseUrl:Zr.spelling("baseURL"),withXsrfToken:Zr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&pe.merge(o.common,o[n.method]);o&&pe.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Gn.concat(s,o);const l=[];let c=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(c=c&&S.synchronous,l.unshift(S.fulfilled,S.rejected))});const d=[];this.interceptors.response.forEach(function(S){d.push(S.fulfilled,S.rejected)});let p,g=0,m;if(!c){const y=[A_.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,d),m=y.length,p=Promise.resolve(n);g<m;)p=p.then(y[g++],y[g++]);return p}m=l.length;let b=n;for(g=0;g<m;){const y=l[g++],S=l[g++];try{b=y(b)}catch(k){S.call(this,k);break}}try{p=A_.call(this,b)}catch(y){return Promise.reject(y)}for(g=0,m=d.length;g<m;)p=p.then(d[g++],d[g++]);return p}getUri(t){t=hi(this.defaults,t);const n=DB(t.baseURL,t.url);return RB(n,t.params,t.paramsSerializer)}};pe.forEach(["delete","get","head","options"],function(t){pi.prototype[t]=function(n,r){return this.request(hi(r||{},{method:t,url:n,data:(r||{}).data}))}});pe.forEach(["post","put","patch"],function(t){function n(r){return function(o,s,l){return this.request(hi(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}pi.prototype[t]=n(),pi.prototype[t+"Form"]=n(!0)});let sV=class zB{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const s=new Promise(l=>{r.subscribe(l),o=l}).then(a);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,l){r.reason||(r.reason=new $s(o,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new zB(function(a){t=a}),cancel:t}}};function lV(e){return function(n){return e.apply(null,n)}}function uV(e){return pe.isObject(e)&&e.isAxiosError===!0}const gk={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(gk).forEach(([e,t])=>{gk[t]=e});function BB(e){const t=new pi(e),n=hB(pi.prototype.request,t);return pe.extend(n,pi.prototype,t,{allOwnKeys:!0}),pe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return BB(hi(e,a))},n}const Yt=BB(qu);Yt.Axios=pi;Yt.CanceledError=$s;Yt.CancelToken=sV;Yt.isCancel=NB;Yt.VERSION=FB;Yt.toFormData=Jf;Yt.AxiosError=at;Yt.Cancel=Yt.CanceledError;Yt.all=function(t){return Promise.all(t)};Yt.spread=lV;Yt.isAxiosError=uV;Yt.mergeConfig=hi;Yt.AxiosHeaders=Gn;Yt.formToJSON=e=>_B(pe.isHTMLForm(e)?new FormData(e):e);Yt.getAdapter=PB.getAdapter;Yt.HttpStatusCode=gk;Yt.default=Yt;const{Axios:_xe,AxiosError:Nxe,CanceledError:Oxe,isCancel:Dxe,CancelToken:Ixe,VERSION:Lxe,all:Mxe,Cancel:Pxe,isAxiosError:Fxe,spread:zxe,toFormData:Bxe,AxiosHeaders:Uxe,HttpStatusCode:jxe,formToJSON:Gxe,getAdapter:Hxe,mergeConfig:$xe}=Yt,UB="",cV="/webui/",Pr="ghost",dV="#B2EBF2",fV="#000",pV="#E2E2E2",hk="#EEEEEE",gV="#F57F17",hV="#969696",mV="#F57F17",C_="#B2EBF2",bd=50,__=100,li=4,mk=20,bV=15,N_="*",yV={"text/plain":[".txt",".md",".html",".htm",".tex",".json",".xml",".yaml",".yml",".rtf",".odt",".epub",".csv",".log",".conf",".ini",".properties",".sql",".bat",".sh",".c",".cpp",".py",".java",".js",".ts",".swift",".go",".rb",".php",".css",".scss",".less"],"application/pdf":[".pdf"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"]},O_={name:"LightRAG",github:"https://github.com/HKUDS/LightRAG"},vV="modulepreload",SV=function(e){return"/webui/"+e},D_={},EV=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=Promise.allSettled(n.map(c=>{if(c=SV(c),c in D_)return;D_[c]=!0;const d=c.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${p}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":vV,d||(g.as="script"),g.crossOrigin="",g.href=c,l&&g.setAttribute("nonce",l),document.head.appendChild(g),d)return new Promise((m,b)=>{g.addEventListener("load",m),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return a.then(s=>{for(const l of s||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function jB(e,t){let n;try{n=e()}catch{return}return{getItem:a=>{var o;const s=c=>c===null?null:JSON.parse(c,void 0),l=(o=n.getItem(a))!=null?o:null;return l instanceof Promise?l.then(s):s(l)},setItem:(a,o)=>n.setItem(a,JSON.stringify(o,void 0)),removeItem:a=>n.removeItem(a)}}const bk=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return bk(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return bk(r)(n)}}}},wV=(e,t)=>(n,r,a)=>{let o={storage:jB(()=>localStorage),partialize:S=>S,version:0,merge:(S,k)=>({...k,...S}),...t},s=!1;const l=new Set,c=new Set;let d=o.storage;if(!d)return e((...S)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...S)},r,a);const p=()=>{const S=o.partialize({...r()});return d.setItem(o.name,{state:S,version:o.version})},g=a.setState;a.setState=(S,k)=>{g(S,k),p()};const m=e((...S)=>{n(...S),p()},r,a);a.getInitialState=()=>m;let b;const y=()=>{var S,k;if(!d)return;s=!1,l.forEach(x=>{var A;return x((A=r())!=null?A:m)});const R=((k=o.onRehydrateStorage)==null?void 0:k.call(o,(S=r())!=null?S:m))||void 0;return bk(d.getItem.bind(d))(o.name).then(x=>{if(x)if(typeof x.version=="number"&&x.version!==o.version){if(o.migrate){const A=o.migrate(x.state,x.version);return A instanceof Promise?A.then(N=>[!0,N]):[!0,A]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,x.state];return[!1,void 0]}).then(x=>{var A;const[N,O]=x;if(b=o.merge(O,(A=r())!=null?A:m),n(b,!0),N)return p()}).then(()=>{R==null||R(b,void 0),b=r(),s=!0,c.forEach(x=>x(b))}).catch(x=>{R==null||R(void 0,x)})};return a.persist={setOptions:S=>{o={...o,...S},S.storage&&(d=S.storage)},clearStorage:()=>{d==null||d.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>y(),hasHydrated:()=>s,onHydrate:S=>(l.add(S),()=>{l.delete(S)}),onFinishHydration:S=>(c.add(S),()=>{c.delete(S)})},o.skipHydration||y(),b||m},xV=wV,kV=Kf()(xV(e=>({theme:"system",language:"en",showPropertyPanel:!0,showNodeSearchBar:!0,showNodeLabel:!0,enableNodeDrag:!0,showEdgeLabel:!1,enableHideUnselectedEdges:!0,enableEdgeEvents:!1,graphQueryMaxDepth:3,graphMinDegree:0,graphLayoutMaxIterations:15,queryLabel:N_,enableHealthCheck:!0,apiKey:null,currentTab:"documents",retrievalHistory:[],querySettings:{mode:"global",response_type:"Multiple Paragraphs",top_k:10,max_token_for_text_unit:4e3,max_token_for_global_context:4e3,max_token_for_local_context:4e3,only_need_context:!1,only_need_prompt:!1,stream:!0,history_turns:3,hl_keywords:[],ll_keywords:[]},setTheme:t=>e({theme:t}),setLanguage:t=>{e({language:t}),EV(async()=>{const{default:n}=await Promise.resolve().then(()=>Vwe);return{default:n}},[]).then(({default:n})=>{n.language!==t&&n.changeLanguage(t)})},setGraphLayoutMaxIterations:t=>e({graphLayoutMaxIterations:t}),setQueryLabel:t=>e({queryLabel:t}),setGraphQueryMaxDepth:t=>e({graphQueryMaxDepth:t}),setGraphMinDegree:t=>e({graphMinDegree:t}),setEnableHealthCheck:t=>e({enableHealthCheck:t}),setApiKey:t=>e({apiKey:t}),setCurrentTab:t=>e({currentTab:t}),setRetrievalHistory:t=>e({retrievalHistory:t}),updateQuerySettings:t=>e(n=>({querySettings:{...n.querySettings,...t}}))}),{name:"settings-storage",storage:jB(()=>localStorage),version:8,migrate:(e,t)=>(t<2&&(e.showEdgeLabel=!1),t<3&&(e.queryLabel=N_),t<4&&(e.showPropertyPanel=!0,e.showNodeSearchBar=!0,e.showNodeLabel=!0,e.enableHealthCheck=!0,e.apiKey=null),t<5&&(e.currentTab="documents"),t<6&&(e.querySettings={mode:"global",response_type:"Multiple Paragraphs",top_k:10,max_token_for_text_unit:4e3,max_token_for_global_context:4e3,max_token_for_local_context:4e3,only_need_context:!1,only_need_prompt:!1,stream:!0,history_turns:3,hl_keywords:[],ll_keywords:[]},e.retrievalHistory=[]),t<7&&(e.graphQueryMaxDepth=3,e.graphLayoutMaxIterations=15),t<8&&(e.graphMinDegree=0,e.language="en"),e)})),Le=C0(kV);class TV{constructor(){Xr(this,"nodes",[]);Xr(this,"edges",[]);Xr(this,"nodeIdMap",{});Xr(this,"edgeIdMap",{});Xr(this,"edgeDynamicIdMap",{});Xr(this,"getNode",t=>{const n=this.nodeIdMap[t];if(n!==void 0)return this.nodes[n]});Xr(this,"getEdge",(t,n=!0)=>{const r=n?this.edgeDynamicIdMap[t]:this.edgeIdMap[t];if(r!==void 0)return this.edges[r]});Xr(this,"buildDynamicMap",()=>{this.edgeDynamicIdMap={};for(let t=0;t<this.edges.length;t++){const n=this.edges[t];this.edgeDynamicIdMap[n.dynamicId]=t}})}}const AV=Kf()(e=>({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null,moveToSelectedNode:!1,isFetching:!1,graphIsEmpty:!1,lastSuccessfulQueryLabel:"",graphDataFetchAttempted:!1,labelsFetchAttempted:!1,rawGraph:null,sigmaGraph:null,sigmaInstance:null,allDatabaseLabels:["*"],searchEngine:null,setGraphIsEmpty:t=>e({graphIsEmpty:t}),setLastSuccessfulQueryLabel:t=>e({lastSuccessfulQueryLabel:t}),setIsFetching:t=>e({isFetching:t}),setSelectedNode:(t,n)=>e({selectedNode:t,moveToSelectedNode:n}),setFocusedNode:t=>e({focusedNode:t}),setSelectedEdge:t=>e({selectedEdge:t}),setFocusedEdge:t=>e({focusedEdge:t}),clearSelection:()=>e({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null}),reset:()=>{e({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null,rawGraph:null,sigmaGraph:null,searchEngine:null,moveToSelectedNode:!1,graphIsEmpty:!1})},setRawGraph:t=>e({rawGraph:t}),setSigmaGraph:t=>{e({sigmaGraph:t})},setAllDatabaseLabels:t=>e({allDatabaseLabels:t}),fetchAllDatabaseLabels:async()=>{try{console.log("Fetching all database labels...");const t=await CV();e({allDatabaseLabels:["*",...t]});return}catch(t){throw console.error("Failed to fetch all database labels:",t),e({allDatabaseLabels:["*"]}),t}},setMoveToSelectedNode:t=>e({moveToSelectedNode:t}),setSigmaInstance:t=>e({sigmaInstance:t}),setSearchEngine:t=>e({searchEngine:t}),resetSearchEngine:()=>e({searchEngine:null}),setGraphDataFetchAttempted:t=>e({graphDataFetchAttempted:t}),setLabelsFetchAttempted:t=>e({labelsFetchAttempted:t}),nodeToExpand:null,nodeToPrune:null,triggerNodeExpand:t=>e({nodeToExpand:t}),triggerNodePrune:t=>e({nodeToPrune:t})})),$e=C0(AV);class RV{constructor(){Xr(this,"navigate",null)}setNavigate(t){this.navigate=t}resetAllApplicationState(){console.log("Resetting all application state...");const t=$e.getState(),n=t.sigmaInstance;t.reset(),t.setGraphDataFetchAttempted(!1),t.setLabelsFetchAttempted(!1),t.setSigmaInstance(null),t.setIsFetching(!1),Hn.getState().clear(),Le.getState().setRetrievalHistory([]),sessionStorage.clear(),n&&(n.getGraph().clear(),n.kill(),$e.getState().setSigmaInstance(null))}handleDirectLoginAccess(){const t=!document.referrer;return t&&this.resetAllApplicationState(),t}navigateToLogin(){if(!this.navigate){console.error("Navigation function not set");return}this.navigate("/login"),setTimeout(()=>{this.resetAllApplicationState(),na.getState().logout()},0)}navigateToHome(){if(!this.navigate){console.error("Navigation function not set");return}this.navigate("/")}}const xu=new RV,GB="Invalid API Key",HB="API Key required",ar=Yt.create({baseURL:UB,headers:{"Content-Type":"application/json"}});ar.interceptors.request.use(e=>{const t=Le.getState().apiKey,n=localStorage.getItem("LIGHTRAG-API-TOKEN");return n&&(e.headers.Authorization=`Bearer ${n}`),t&&(e.headers["X-API-Key"]=t),e});ar.interceptors.response.use(e=>e,e=>{var t,n,r,a;if(e.response){if(((t=e.response)==null?void 0:t.status)===401){if((r=(n=e.config)==null?void 0:n.url)!=null&&r.includes("/login"))throw e;return xu.navigateToLogin(),new Promise(()=>{})}throw new Error(`${e.response.status} ${e.response.statusText}
|
||
${JSON.stringify(e.response.data)}
|
||
${(a=e.config)==null?void 0:a.url}`)}throw e});const $B=async(e,t,n)=>(await ar.get(`/graphs?label=${encodeURIComponent(e)}&max_depth=${t}&min_degree=${n}`)).data,CV=async()=>(await ar.get("/graph/label/list")).data,_V=async()=>{try{return(await ar.get("/health")).data}catch(e){return{status:"error",message:Sr(e)}}},NV=async()=>(await ar.get("/documents")).data,OV=async()=>(await ar.post("/documents/scan")).data,DV=async e=>(await ar.post("/query",e)).data,IV=async(e,t,n)=>{try{let r="";if(await ar.post("/query/stream",e,{responseType:"text",headers:{Accept:"application/x-ndjson"},transformResponse:[a=>{r+=a;const o=r.split(`
|
||
`);r=o.pop()||"";for(const s of o)if(s.trim())try{const l=JSON.parse(s);l.response?t(l.response):l.error&&n&&n(l.error)}catch(l){console.error("Error parsing stream chunk:",l),n&&n("Error parsing server response")}return a}]}).catch(a=>{n&&n(Sr(a))}),r.trim())try{const a=JSON.parse(r);a.response?t(a.response):a.error&&n&&n(a.error)}catch(a){console.error("Error parsing final chunk:",a),n&&n("Error parsing server response")}}catch(r){const a=Sr(r);console.error("Stream request failed:",a),n&&n(a)}},LV=async(e,t)=>{const n=new FormData;return n.append("file",e),(await ar.post("/documents/upload",n,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:t!==void 0?a=>{const o=Math.round(a.loaded*100/a.total);t(o)}:void 0})).data},MV=async()=>(await ar.delete("/documents")).data,D0=async()=>{try{const e=await ar.get("/auth-status",{timeout:5e3,headers:{Accept:"application/json"}});if((e.headers["content-type"]||"").includes("text/html"))return console.warn("Received HTML response instead of JSON for auth-status endpoint"),{auth_configured:!0,auth_mode:"enabled"};if(e.data&&typeof e.data=="object"&&"auth_configured"in e.data&&typeof e.data.auth_configured=="boolean"){if(e.data.auth_configured)return e.data;if(e.data.access_token&&typeof e.data.access_token=="string")return e.data;console.warn("Auth not configured but no valid access token provided")}return console.warn("Received invalid auth status response:",e.data),{auth_configured:!0,auth_mode:"enabled"}}catch(e){return console.error("Failed to get auth status:",Sr(e)),{auth_configured:!0,auth_mode:"enabled"}}},PV=async(e,t)=>{const n=new FormData;return n.append("username",e),n.append("password",t),(await ar.post("/login",n,{headers:{"Content-Type":"multipart/form-data"}})).data},FV=Kf()(e=>({health:!0,message:null,messageTitle:null,lastCheckTime:Date.now(),status:null,check:async()=>{const t=await _V();return t.status==="healthy"?(e({health:!0,message:null,messageTitle:null,lastCheckTime:Date.now(),status:t}),!0):(e({health:!1,message:t.message,messageTitle:"Backend Health Check Error!",lastCheckTime:Date.now(),status:null}),!1)},clear:()=>{e({health:!0,message:null,messageTitle:null})},setErrorMessage:(t,n)=>{e({health:!1,message:t,messageTitle:n})}})),Hn=C0(FV),zV=e=>{try{const t=e.split(".");return t.length!==3?!1:JSON.parse(atob(t[1])).role==="guest"}catch(t){return console.error("Error parsing token:",t),!1}},BV=()=>{const e=localStorage.getItem("LIGHTRAG-API-TOKEN"),t=localStorage.getItem("LIGHTRAG-CORE-VERSION"),n=localStorage.getItem("LIGHTRAG-API-VERSION");return e?{isAuthenticated:!0,isGuestMode:zV(e),coreVersion:t,apiVersion:n}:{isAuthenticated:!1,isGuestMode:!1,coreVersion:t,apiVersion:n}},na=Kf(e=>{const t=BV();return{isAuthenticated:t.isAuthenticated,isGuestMode:t.isGuestMode,coreVersion:t.coreVersion,apiVersion:t.apiVersion,login:(n,r=!1,a=null,o=null)=>{localStorage.setItem("LIGHTRAG-API-TOKEN",n),a&&localStorage.setItem("LIGHTRAG-CORE-VERSION",a),o&&localStorage.setItem("LIGHTRAG-API-VERSION",o),e({isAuthenticated:!0,isGuestMode:r,coreVersion:a,apiVersion:o})},logout:()=>{localStorage.removeItem("LIGHTRAG-API-TOKEN");const n=localStorage.getItem("LIGHTRAG-CORE-VERSION"),r=localStorage.getItem("LIGHTRAG-API-VERSION");e({isAuthenticated:!1,isGuestMode:!1,coreVersion:n,apiVersion:r})}}});var UV=e=>{switch(e){case"success":return HV;case"info":return qV;case"warning":return $V;case"error":return VV;default:return null}},jV=Array(12).fill(0),GV=({visible:e,className:t})=>ye.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ye.createElement("div",{className:"sonner-spinner"},jV.map((n,r)=>ye.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),HV=ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ye.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),$V=ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ye.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),qV=ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ye.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),VV=ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ye.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),WV=ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ye.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ye.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),YV=()=>{let[e,t]=ye.useState(document.hidden);return ye.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},yk=1,KV=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,a=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:yk++,o=this.toasts.find(l=>l.id===a),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),o?this.toasts=this.toasts.map(l=>l.id===a?(this.publish({...l,...e,id:a,title:n}),{...l,...e,id:a,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:a}),a},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),a=n!==void 0,o,s=r.then(async c=>{if(o=["resolve",c],ye.isValidElement(c))a=!1,this.create({id:n,type:"default",message:c});else if(ZV(c)&&!c.ok){a=!1;let d=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,p=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:d,description:p})}else if(t.success!==void 0){a=!1;let d=typeof t.success=="function"?await t.success(c):t.success,p=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:d,description:p})}}).catch(async c=>{if(o=["reject",c],t.error!==void 0){a=!1;let d=typeof t.error=="function"?await t.error(c):t.error,p=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:d,description:p})}}).finally(()=>{var c;a&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,d)=>s.then(()=>o[0]==="reject"?d(o[1]):c(o[1])).catch(d));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||yk++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},jn=new KV,XV=(e,t)=>{let n=(t==null?void 0:t.id)||yk++;return jn.addToast({title:e,...t,id:n}),n},ZV=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",QV=XV,JV=()=>jn.toasts,eW=()=>jn.getActiveToasts(),Pt=Object.assign(QV,{success:jn.success,info:jn.info,warning:jn.warning,error:jn.error,custom:jn.custom,message:jn.message,promise:jn.promise,dismiss:jn.dismiss,loading:jn.loading},{getHistory:JV,getToasts:eW});function tW(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}tW(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-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;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
|
||
`);function yd(e){return e.label!==void 0}var nW=3,rW="32px",aW="16px",I_=4e3,oW=356,iW=14,sW=20,lW=200;function Dr(...e){return e.filter(Boolean).join(" ")}function uW(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var cW=e=>{var t,n,r,a,o,s,l,c,d,p,g;let{invert:m,toast:b,unstyled:y,interacting:S,setHeights:k,visibleToasts:R,heights:x,index:A,toasts:N,expanded:O,removeToast:C,defaultRichColors:_,closeButton:P,style:I,cancelButtonStyle:L,actionButtonStyle:H,className:$="",descriptionClassName:U="",duration:W,position:Z,gap:j,loadingIcon:G,expandByDefault:z,classNames:Y,icons:D,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:B}=e,[M,K]=ye.useState(null),[ee,Q]=ye.useState(null),[J,ae]=ye.useState(!1),[ke,ie]=ye.useState(!1),[Se,ve]=ye.useState(!1),[Ie,Ce]=ye.useState(!1),[Ee,te]=ye.useState(!1),[fe,Te]=ye.useState(0),[me,we]=ye.useState(0),le=ye.useRef(b.duration||W||I_),ze=ye.useRef(null),Be=ye.useRef(null),he=A===0,Ne=A+1<=R,ne=b.type,ce=b.dismissible!==!1,_e=b.className||"",Fe=b.descriptionClassName||"",We=ye.useMemo(()=>x.findIndex(Xe=>Xe.toastId===b.id)||0,[x,b.id]),yt=ye.useMemo(()=>{var Xe;return(Xe=b.closeButton)!=null?Xe:P},[b.closeButton,P]),kt=ye.useMemo(()=>b.duration||W||I_,[b.duration,W]),ht=ye.useRef(0),et=ye.useRef(0),Tt=ye.useRef(0),ot=ye.useRef(null),[St,Ht]=Z.split("-"),pn=ye.useMemo(()=>x.reduce((Xe,mt,_t)=>_t>=We?Xe:Xe+mt.height,0),[x,We]),zt=YV(),or=b.invert||m,$r=ne==="loading";et.current=ye.useMemo(()=>We*j+pn,[We,pn]),ye.useEffect(()=>{le.current=kt},[kt]),ye.useEffect(()=>{ae(!0)},[]),ye.useEffect(()=>{let Xe=Be.current;if(Xe){let mt=Xe.getBoundingClientRect().height;return we(mt),k(_t=>[{toastId:b.id,height:mt,position:b.position},..._t]),()=>k(_t=>_t.filter(In=>In.toastId!==b.id))}},[k,b.id]),ye.useLayoutEffect(()=>{if(!J)return;let Xe=Be.current,mt=Xe.style.height;Xe.style.height="auto";let _t=Xe.getBoundingClientRect().height;Xe.style.height=mt,we(_t),k(In=>In.find(_n=>_n.toastId===b.id)?In.map(_n=>_n.toastId===b.id?{..._n,height:_t}:_n):[{toastId:b.id,height:_t,position:b.position},...In])},[J,b.title,b.description,k,b.id]);let Jt=ye.useCallback(()=>{ie(!0),Te(et.current),k(Xe=>Xe.filter(mt=>mt.toastId!==b.id)),setTimeout(()=>{C(b)},lW)},[b,C,k,et]);ye.useEffect(()=>{if(b.promise&&ne==="loading"||b.duration===1/0||b.type==="loading")return;let Xe;return O||S||B&&zt?(()=>{if(Tt.current<ht.current){let mt=new Date().getTime()-ht.current;le.current=le.current-mt}Tt.current=new Date().getTime()})():le.current!==1/0&&(ht.current=new Date().getTime(),Xe=setTimeout(()=>{var mt;(mt=b.onAutoClose)==null||mt.call(b,b),Jt()},le.current)),()=>clearTimeout(Xe)},[O,S,b,ne,B,zt,Jt]),ye.useEffect(()=>{b.delete&&Jt()},[Jt,b.delete]);function fa(){var Xe,mt,_t;return D!=null&&D.loading?ye.createElement("div",{className:Dr(Y==null?void 0:Y.loader,(Xe=b==null?void 0:b.classNames)==null?void 0:Xe.loader,"sonner-loader"),"data-visible":ne==="loading"},D.loading):G?ye.createElement("div",{className:Dr(Y==null?void 0:Y.loader,(mt=b==null?void 0:b.classNames)==null?void 0:mt.loader,"sonner-loader"),"data-visible":ne==="loading"},G):ye.createElement(GV,{className:Dr(Y==null?void 0:Y.loader,(_t=b==null?void 0:b.classNames)==null?void 0:_t.loader),visible:ne==="loading"})}return ye.createElement("li",{tabIndex:0,ref:Be,className:Dr($,_e,Y==null?void 0:Y.toast,(t=b==null?void 0:b.classNames)==null?void 0:t.toast,Y==null?void 0:Y.default,Y==null?void 0:Y[ne],(n=b==null?void 0:b.classNames)==null?void 0:n[ne]),"data-sonner-toast":"","data-rich-colors":(r=b.richColors)!=null?r:_,"data-styled":!(b.jsx||b.unstyled||y),"data-mounted":J,"data-promise":!!b.promise,"data-swiped":Ee,"data-removed":ke,"data-visible":Ne,"data-y-position":St,"data-x-position":Ht,"data-index":A,"data-front":he,"data-swiping":Se,"data-dismissible":ce,"data-type":ne,"data-invert":or,"data-swipe-out":Ie,"data-swipe-direction":ee,"data-expanded":!!(O||z&&J),style:{"--index":A,"--toasts-before":A,"--z-index":N.length-A,"--offset":`${ke?fe:et.current}px`,"--initial-height":z?"auto":`${me}px`,...I,...b.style},onDragEnd:()=>{ve(!1),K(null),ot.current=null},onPointerDown:Xe=>{$r||!ce||(ze.current=new Date,Te(et.current),Xe.target.setPointerCapture(Xe.pointerId),Xe.target.tagName!=="BUTTON"&&(ve(!0),ot.current={x:Xe.clientX,y:Xe.clientY}))},onPointerUp:()=>{var Xe,mt,_t,In;if(Ie||!ce)return;ot.current=null;let _n=Number(((Xe=Be.current)==null?void 0:Xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ln=Number(((mt=Be.current)==null?void 0:mt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pa=new Date().getTime()-((_t=ze.current)==null?void 0:_t.getTime()),Mn=M==="x"?_n:Ln,Rr=Math.abs(Mn)/pa;if(Math.abs(Mn)>=sW||Rr>.11){Te(et.current),(In=b.onDismiss)==null||In.call(b,b),Q(M==="x"?_n>0?"right":"left":Ln>0?"down":"up"),Jt(),Ce(!0),te(!1);return}ve(!1),K(null)},onPointerMove:Xe=>{var mt,_t,In,_n;if(!ot.current||!ce||((mt=window.getSelection())==null?void 0:mt.toString().length)>0)return;let Ln=Xe.clientY-ot.current.y,pa=Xe.clientX-ot.current.x,Mn=(_t=e.swipeDirections)!=null?_t:uW(Z);!M&&(Math.abs(pa)>1||Math.abs(Ln)>1)&&K(Math.abs(pa)>Math.abs(Ln)?"x":"y");let Rr={x:0,y:0};M==="y"?(Mn.includes("top")||Mn.includes("bottom"))&&(Mn.includes("top")&&Ln<0||Mn.includes("bottom")&&Ln>0)&&(Rr.y=Ln):M==="x"&&(Mn.includes("left")||Mn.includes("right"))&&(Mn.includes("left")&&pa<0||Mn.includes("right")&&pa>0)&&(Rr.x=pa),(Math.abs(Rr.x)>0||Math.abs(Rr.y)>0)&&te(!0),(In=Be.current)==null||In.style.setProperty("--swipe-amount-x",`${Rr.x}px`),(_n=Be.current)==null||_n.style.setProperty("--swipe-amount-y",`${Rr.y}px`)}},yt&&!b.jsx?ye.createElement("button",{"aria-label":V,"data-disabled":$r,"data-close-button":!0,onClick:$r||!ce?()=>{}:()=>{var Xe;Jt(),(Xe=b.onDismiss)==null||Xe.call(b,b)},className:Dr(Y==null?void 0:Y.closeButton,(a=b==null?void 0:b.classNames)==null?void 0:a.closeButton)},(o=D==null?void 0:D.close)!=null?o:WV):null,b.jsx||E.isValidElement(b.title)?b.jsx?b.jsx:typeof b.title=="function"?b.title():b.title:ye.createElement(ye.Fragment,null,ne||b.icon||b.promise?ye.createElement("div",{"data-icon":"",className:Dr(Y==null?void 0:Y.icon,(s=b==null?void 0:b.classNames)==null?void 0:s.icon)},b.promise||b.type==="loading"&&!b.icon?b.icon||fa():null,b.type!=="loading"?b.icon||(D==null?void 0:D[ne])||UV(ne):null):null,ye.createElement("div",{"data-content":"",className:Dr(Y==null?void 0:Y.content,(l=b==null?void 0:b.classNames)==null?void 0:l.content)},ye.createElement("div",{"data-title":"",className:Dr(Y==null?void 0:Y.title,(c=b==null?void 0:b.classNames)==null?void 0:c.title)},typeof b.title=="function"?b.title():b.title),b.description?ye.createElement("div",{"data-description":"",className:Dr(U,Fe,Y==null?void 0:Y.description,(d=b==null?void 0:b.classNames)==null?void 0:d.description)},typeof b.description=="function"?b.description():b.description):null),E.isValidElement(b.cancel)?b.cancel:b.cancel&&yd(b.cancel)?ye.createElement("button",{"data-button":!0,"data-cancel":!0,style:b.cancelButtonStyle||L,onClick:Xe=>{var mt,_t;yd(b.cancel)&&ce&&((_t=(mt=b.cancel).onClick)==null||_t.call(mt,Xe),Jt())},className:Dr(Y==null?void 0:Y.cancelButton,(p=b==null?void 0:b.classNames)==null?void 0:p.cancelButton)},b.cancel.label):null,E.isValidElement(b.action)?b.action:b.action&&yd(b.action)?ye.createElement("button",{"data-button":!0,"data-action":!0,style:b.actionButtonStyle||H,onClick:Xe=>{var mt,_t;yd(b.action)&&((_t=(mt=b.action).onClick)==null||_t.call(mt,Xe),!Xe.defaultPrevented&&Jt())},className:Dr(Y==null?void 0:Y.actionButton,(g=b==null?void 0:b.classNames)==null?void 0:g.actionButton)},b.action.label):null))};function L_(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function dW(e,t){let n={};return[e,t].forEach((r,a)=>{let o=a===1,s=o?"--mobile-offset":"--offset",l=o?aW:rW;function c(d){["top","right","bottom","left"].forEach(p=>{n[`${s}-${p}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${s}-${d}`]=l:n[`${s}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):c(l)}),n}var fW=E.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:a=["altKey","KeyT"],expand:o,closeButton:s,className:l,offset:c,mobileOffset:d,theme:p="light",richColors:g,duration:m,style:b,visibleToasts:y=nW,toastOptions:S,dir:k=L_(),gap:R=iW,loadingIcon:x,icons:A,containerAriaLabel:N="Notifications",pauseWhenPageIsHidden:O}=e,[C,_]=ye.useState([]),P=ye.useMemo(()=>Array.from(new Set([r].concat(C.filter(B=>B.position).map(B=>B.position)))),[C,r]),[I,L]=ye.useState([]),[H,$]=ye.useState(!1),[U,W]=ye.useState(!1),[Z,j]=ye.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),G=ye.useRef(null),z=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),Y=ye.useRef(null),D=ye.useRef(!1),V=ye.useCallback(B=>{_(M=>{var K;return(K=M.find(ee=>ee.id===B.id))!=null&&K.delete||jn.dismiss(B.id),M.filter(({id:ee})=>ee!==B.id)})},[]);return ye.useEffect(()=>jn.subscribe(B=>{if(B.dismiss){_(M=>M.map(K=>K.id===B.id?{...K,delete:!0}:K));return}setTimeout(()=>{rB.flushSync(()=>{_(M=>{let K=M.findIndex(ee=>ee.id===B.id);return K!==-1?[...M.slice(0,K),{...M[K],...B},...M.slice(K+1)]:[B,...M]})})})}),[]),ye.useEffect(()=>{if(p!=="system"){j(p);return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?j("dark"):j("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:M})=>{j(M?"dark":"light")})}catch{B.addListener(({matches:K})=>{try{j(K?"dark":"light")}catch(ee){console.error(ee)}})}},[p]),ye.useEffect(()=>{C.length<=1&&$(!1)},[C]),ye.useEffect(()=>{let B=M=>{var K,ee;a.every(Q=>M[Q]||M.code===Q)&&($(!0),(K=G.current)==null||K.focus()),M.code==="Escape"&&(document.activeElement===G.current||(ee=G.current)!=null&&ee.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[a]),ye.useEffect(()=>{if(G.current)return()=>{Y.current&&(Y.current.focus({preventScroll:!0}),Y.current=null,D.current=!1)}},[G.current]),ye.createElement("section",{ref:t,"aria-label":`${N} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((B,M)=>{var K;let[ee,Q]=B.split("-");return C.length?ye.createElement("ol",{key:B,dir:k==="auto"?L_():k,tabIndex:-1,ref:G,className:l,"data-sonner-toaster":!0,"data-theme":Z,"data-y-position":ee,"data-lifted":H&&C.length>1&&!o,"data-x-position":Q,style:{"--front-toast-height":`${((K=I[0])==null?void 0:K.height)||0}px`,"--width":`${oW}px`,"--gap":`${R}px`,...b,...dW(c,d)},onBlur:J=>{D.current&&!J.currentTarget.contains(J.relatedTarget)&&(D.current=!1,Y.current&&(Y.current.focus({preventScroll:!0}),Y.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||D.current||(D.current=!0,Y.current=J.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{U||$(!1)},onDragEnd:()=>$(!1),onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},C.filter(J=>!J.position&&M===0||J.position===B).map((J,ae)=>{var ke,ie;return ye.createElement(cW,{key:J.id,icons:A,index:ae,toast:J,defaultRichColors:g,duration:(ke=S==null?void 0:S.duration)!=null?ke:m,className:S==null?void 0:S.className,descriptionClassName:S==null?void 0:S.descriptionClassName,invert:n,visibleToasts:y,closeButton:(ie=S==null?void 0:S.closeButton)!=null?ie:s,interacting:U,position:B,style:S==null?void 0:S.style,unstyled:S==null?void 0:S.unstyled,classNames:S==null?void 0:S.classNames,cancelButtonStyle:S==null?void 0:S.cancelButtonStyle,actionButtonStyle:S==null?void 0:S.actionButtonStyle,removeToast:V,toasts:C.filter(Se=>Se.position==J.position),heights:I.filter(Se=>Se.position==J.position),setHeights:L,expandByDefault:o,gap:R,loadingIcon:x,expanded:H,pauseWhenPageIsHidden:O,swipeDirections:e.swipeDirections})})):null}))});const pW={theme:"system",setTheme:()=>null},qB=E.createContext(pW);function VB({children:e,...t}){const n=Le.use.theme(),r=Le.use.setTheme();E.useEffect(()=>{const o=window.document.documentElement;if(o.classList.remove("light","dark"),n==="system"){const s=window.matchMedia("(prefers-color-scheme: dark)"),l=c=>{o.classList.remove("light","dark"),o.classList.add(c.matches?"dark":"light")};return o.classList.add(s.matches?"dark":"light"),s.addEventListener("change",l),()=>s.removeEventListener("change",l)}else o.classList.add(n)},[n]);const a={theme:n,setTheme:r};return w.jsx(qB.Provider,{...t,value:a,children:e})}const gW={visibleTabs:{},setTabVisibility:()=>{},isTabVisible:()=>!1},WB=E.createContext(gW),hW=({children:e})=>{const t=Le.use.currentTab(),[n,r]=E.useState(()=>({documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}));E.useEffect(()=>{r(o=>({...o,documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}))},[t]);const a=E.useMemo(()=>({visibleTabs:n,setTabVisibility:(o,s)=>{r(l=>({...l,[o]:s}))},isTabVisible:o=>!!n[o]}),[n]);return w.jsx(WB.Provider,{value:a,children:e})},M_=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,P_=oB,YB=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return P_(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:o}=t,s=Object.keys(a).map(d=>{const p=n==null?void 0:n[d],g=o==null?void 0:o[d];if(p===null)return null;const m=M_(p)||M_(g);return a[d][m]}),l=n&&Object.entries(n).reduce((d,p)=>{let[g,m]=p;return m===void 0||(d[g]=m),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,p)=>{let{class:g,className:m,...b}=p;return Object.entries(b).every(y=>{let[S,k]=y;return Array.isArray(k)?k.includes({...o,...l}[S]):{...o,...l}[S]===k})?[...d,g,m]:d},[]);return P_(e,s,c,n==null?void 0:n.class,n==null?void 0:n.className)},mW=YB("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),KB=E.forwardRef(({className:e,variant:t,...n},r)=>w.jsx("div",{ref:r,role:"alert",className:Pe(mW({variant:t}),e),...n}));KB.displayName="Alert";const XB=E.forwardRef(({className:e,...t},n)=>w.jsx("h5",{ref:n,className:Pe("mb-1 leading-none font-medium tracking-tight",e),...t}));XB.displayName="AlertTitle";const ZB=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("text-sm [&_p]:leading-relaxed",e),...t}));ZB.displayName="AlertDescription";/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const bW=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),QB=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var yW={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vW=E.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:s,...l},c)=>E.createElement("svg",{ref:c,...yW,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:QB("lucide",a),...l},[...s.map(([d,p])=>E.createElement(d,p)),...Array.isArray(o)?o:[o]]));/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vt=(e,t)=>{const n=E.forwardRef(({className:r,...a},o)=>E.createElement(vW,{ref:o,iconNode:t,className:QB(`lucide-${bW(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const SW=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],I0=vt("Check",SW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const EW=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],L0=vt("ChevronDown",EW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const wW=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],JB=vt("ChevronUp",wW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xW=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],kW=vt("ChevronsUpDown",xW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const TW=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],AW=vt("CircleAlert",TW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const RW=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],CW=vt("Copy",RW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const _W=[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]],eU=vt("Eraser",_W);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const NW=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],OW=vt("FileText",NW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const DW=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]],IW=vt("Files",DW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const LW=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]],MW=vt("Fullscreen",LW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const PW=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],FW=vt("GitBranchPlus",PW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zW=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],BW=vt("Github",zW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const UW=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],jW=vt("Grip",UW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const GW=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],tU=vt("LoaderCircle",GW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const HW=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],$W=vt("Loader",HW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qW=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]],VW=vt("LogOut",qW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const WW=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],YW=vt("Maximize",WW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const KW=[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]],XW=vt("Minimize",KW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ZW=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],QW=vt("Palette",ZW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const JW=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],eY=vt("Pause",JW);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tY=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],nY=vt("Play",tY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rY=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],nU=vt("RefreshCw",rY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aY=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],oY=vt("RotateCcw",aY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iY=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],sY=vt("RotateCw",iY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const lY=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],uY=vt("Scissors",lY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const cY=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],dY=vt("Search",cY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const fY=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],pY=vt("Send",fY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const gY=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],hY=vt("Settings",gY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const mY=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],vk=vt("Upload",mY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const bY=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],rU=vt("X",bY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const yY=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],aU=vt("Zap",yY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vY=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],SY=vt("ZoomIn",vY);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const EY=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],wY=vt("ZoomOut",EY),xY=()=>{const e=Hn.use.health(),t=Hn.use.message(),n=Hn.use.messageTitle(),[r,a]=E.useState(!1);return E.useEffect(()=>{setTimeout(()=>{a(!0)},50)},[]),w.jsxs(KB,{className:Pe("bg-background/90 absolute top-12 left-1/2 flex w-auto max-w-lg -translate-x-1/2 transform items-center gap-4 shadow-md backdrop-blur-lg transition-all duration-500 ease-in-out",r?"translate-y-0 opacity-100":"-translate-y-20 opacity-0",!e&&"bg-red-700 text-white"),children:[!e&&w.jsx("div",{children:w.jsx(AW,{className:"size-4"})}),w.jsxs("div",{children:[w.jsx(XB,{className:"font-bold",children:n}),w.jsx(ZB,{children:t})]})]})};function kY(e,t){const n=E.createContext(t),r=o=>{const{children:s,...l}=o,c=E.useMemo(()=>l,Object.values(l));return w.jsx(n.Provider,{value:c,children:s})};r.displayName=e+"Provider";function a(o){const s=E.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,a]}function wr(e,t=[]){let n=[];function r(o,s){const l=E.createContext(s),c=n.length;n=[...n,s];const d=g=>{var R;const{scope:m,children:b,...y}=g,S=((R=m==null?void 0:m[e])==null?void 0:R[c])||l,k=E.useMemo(()=>y,Object.values(y));return w.jsx(S.Provider,{value:k,children:b})};d.displayName=o+"Provider";function p(g,m){var S;const b=((S=m==null?void 0:m[e])==null?void 0:S[c])||l,y=E.useContext(b);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${g}\` must be used within \`${o}\``)}return[d,p]}const a=()=>{const o=n.map(s=>E.createContext(s));return function(l){const c=(l==null?void 0:l[e])||o;return E.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return a.scopeName=e,[r,TY(a,...t)]}function TY(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const s=r.reduce((l,{useScope:c,scopeName:d})=>{const g=c(o)[`__scope${d}`];return{...l,...g}},{});return E.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function F_(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function oU(...e){return t=>{let n=!1;const r=e.map(a=>{const o=F_(a,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let a=0;a<r.length;a++){const o=r[a];typeof o=="function"?o():F_(e[a],null)}}}}function gt(...e){return E.useCallback(oU(...e),e)}function Ke(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e==null||e(a),n===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}var Rn=globalThis!=null&&globalThis.document?E.useLayoutEffect:()=>{},AY=hq.useId||(()=>{}),RY=0;function An(e){const[t,n]=E.useState(AY());return Rn(()=>{n(r=>r??String(RY++))},[e]),t?`radix-${t}`:""}function yn(e){const t=E.useRef(e);return E.useEffect(()=>{t.current=e}),E.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ja({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,a]=CY({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,l=yn(n),c=E.useCallback(d=>{if(o){const g=typeof d=="function"?d(e):d;g!==e&&l(g)}else a(d)},[o,e,a,l]);return[s,c]}function CY({defaultProp:e,onChange:t}){const n=E.useState(e),[r]=n,a=E.useRef(r),o=yn(t);return E.useEffect(()=>{a.current!==r&&(o(r),a.current=r)},[r,a,o]),n}var _o=E.forwardRef((e,t)=>{const{children:n,...r}=e,a=E.Children.toArray(n),o=a.find(_Y);if(o){const s=o.props.children,l=a.map(c=>c===o?E.Children.count(s)>1?E.Children.only(null):E.isValidElement(s)?s.props.children:null:c);return w.jsx(Sk,{...r,ref:t,children:E.isValidElement(s)?E.cloneElement(s,void 0,l):null})}return w.jsx(Sk,{...r,ref:t,children:n})});_o.displayName="Slot";var Sk=E.forwardRef((e,t)=>{const{children:n,...r}=e;if(E.isValidElement(n)){const a=OY(n),o=NY(r,n.props);return n.type!==E.Fragment&&(o.ref=t?oU(t,a):a),E.cloneElement(n,o)}return E.Children.count(n)>1?E.Children.only(null):null});Sk.displayName="SlotClone";var M0=({children:e})=>w.jsx(w.Fragment,{children:e});function _Y(e){return E.isValidElement(e)&&e.type===M0}function NY(e,t){const n={...t};for(const r in t){const a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...l)=>{o(...l),a(...l)}:a&&(n[r]=a):r==="style"?n[r]={...a,...o}:r==="className"&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}function OY(e){var r,a;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var DY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ze=DY.reduce((e,t)=>{const n=E.forwardRef((r,a)=>{const{asChild:o,...s}=r,l=o?_o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...s,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function IY(e,t){e&&Hu.flushSync(()=>e.dispatchEvent(t))}function LY(e,t=globalThis==null?void 0:globalThis.document){const n=yn(e);E.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var MY="DismissableLayer",Ek="dismissableLayer.update",PY="dismissableLayer.pointerDownOutside",FY="dismissableLayer.focusOutside",z_,iU=E.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vu=E.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:l,...c}=e,d=E.useContext(iU),[p,g]=E.useState(null),m=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=E.useState({}),y=gt(t,_=>g(_)),S=Array.from(d.layers),[k]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),R=S.indexOf(k),x=p?S.indexOf(p):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,N=x>=R,O=UY(_=>{const P=_.target,I=[...d.branches].some(L=>L.contains(P));!N||I||(a==null||a(_),s==null||s(_),_.defaultPrevented||l==null||l())},m),C=jY(_=>{const P=_.target;[...d.branches].some(L=>L.contains(P))||(o==null||o(_),s==null||s(_),_.defaultPrevented||l==null||l())},m);return LY(_=>{x===d.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&l&&(_.preventDefault(),l()))},m),E.useEffect(()=>{if(p)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(z_=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),B_(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=z_)}},[p,m,n,d]),E.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),B_())},[p,d]),E.useEffect(()=>{const _=()=>b({});return document.addEventListener(Ek,_),()=>document.removeEventListener(Ek,_)},[]),w.jsx(Ze.div,{...c,ref:y,style:{pointerEvents:A?N?"auto":"none":void 0,...e.style},onFocusCapture:Ke(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Ke(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ke(e.onPointerDownCapture,O.onPointerDownCapture)})});Vu.displayName=MY;var zY="DismissableLayerBranch",BY=E.forwardRef((e,t)=>{const n=E.useContext(iU),r=E.useRef(null),a=gt(t,r);return E.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),w.jsx(Ze.div,{...e,ref:a})});BY.displayName=zY;function UY(e,t=globalThis==null?void 0:globalThis.document){const n=yn(e),r=E.useRef(!1),a=E.useRef(()=>{});return E.useEffect(()=>{const o=l=>{if(l.target&&!r.current){let c=function(){sU(PY,n,d,{discrete:!0})};const d={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function jY(e,t=globalThis==null?void 0:globalThis.document){const n=yn(e),r=E.useRef(!1);return E.useEffect(()=>{const a=o=>{o.target&&!r.current&&sU(FY,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function B_(){const e=new CustomEvent(Ek);document.dispatchEvent(e)}function sU(e,t,n,{discrete:r}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?IY(a,o):a.dispatchEvent(o)}var rm="focusScope.autoFocusOnMount",am="focusScope.autoFocusOnUnmount",U_={bubbles:!1,cancelable:!0},GY="FocusScope",np=E.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...s}=e,[l,c]=E.useState(null),d=yn(a),p=yn(o),g=E.useRef(null),m=gt(t,S=>c(S)),b=E.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;E.useEffect(()=>{if(r){let S=function(A){if(b.paused||!l)return;const N=A.target;l.contains(N)?g.current=N:xo(g.current,{select:!0})},k=function(A){if(b.paused||!l)return;const N=A.relatedTarget;N!==null&&(l.contains(N)||xo(g.current,{select:!0}))},R=function(A){if(document.activeElement===document.body)for(const O of A)O.removedNodes.length>0&&xo(l)};document.addEventListener("focusin",S),document.addEventListener("focusout",k);const x=new MutationObserver(R);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),x.disconnect()}}},[r,l,b.paused]),E.useEffect(()=>{if(l){G_.add(b);const S=document.activeElement;if(!l.contains(S)){const R=new CustomEvent(rm,U_);l.addEventListener(rm,d),l.dispatchEvent(R),R.defaultPrevented||(HY(YY(lU(l)),{select:!0}),document.activeElement===S&&xo(l))}return()=>{l.removeEventListener(rm,d),setTimeout(()=>{const R=new CustomEvent(am,U_);l.addEventListener(am,p),l.dispatchEvent(R),R.defaultPrevented||xo(S??document.body,{select:!0}),l.removeEventListener(am,p),G_.remove(b)},0)}}},[l,d,p,b]);const y=E.useCallback(S=>{if(!n&&!r||b.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,R=document.activeElement;if(k&&R){const x=S.currentTarget,[A,N]=$Y(x);A&&N?!S.shiftKey&&R===N?(S.preventDefault(),n&&xo(A,{select:!0})):S.shiftKey&&R===A&&(S.preventDefault(),n&&xo(N,{select:!0})):R===x&&S.preventDefault()}},[n,r,b.paused]);return w.jsx(Ze.div,{tabIndex:-1,...s,ref:m,onKeyDown:y})});np.displayName=GY;function HY(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(xo(r,{select:t}),document.activeElement!==n)return}function $Y(e){const t=lU(e),n=j_(t,e),r=j_(t.reverse(),e);return[n,r]}function lU(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function j_(e,t){for(const n of e)if(!qY(n,{upTo:t}))return n}function qY(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function VY(e){return e instanceof HTMLInputElement&&"select"in e}function xo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&VY(e)&&t&&e.select()}}var G_=WY();function WY(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=H_(e,t),e.unshift(t)},remove(t){var n;e=H_(e,t),(n=e[0])==null||n.resume()}}}function H_(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function YY(e){return e.filter(t=>t.tagName!=="A")}var KY="Portal",P0=E.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[a,o]=E.useState(!1);Rn(()=>o(!0),[]);const s=n||a&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?rB.createPortal(w.jsx(Ze.div,{...r,ref:t}),s):null});P0.displayName=KY;function XY(e,t){return E.useReducer((n,r)=>t[n][r]??n,e)}var xr=e=>{const{present:t,children:n}=e,r=ZY(t),a=typeof n=="function"?n({present:r.isPresent}):E.Children.only(n),o=gt(r.ref,QY(a));return typeof n=="function"||r.isPresent?E.cloneElement(a,{ref:o}):null};xr.displayName="Presence";function ZY(e){const[t,n]=E.useState(),r=E.useRef({}),a=E.useRef(e),o=E.useRef("none"),s=e?"mounted":"unmounted",[l,c]=XY(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const d=vd(r.current);o.current=l==="mounted"?d:"none"},[l]),Rn(()=>{const d=r.current,p=a.current;if(p!==e){const m=o.current,b=vd(d);e?c("MOUNT"):b==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&m!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Rn(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,g=b=>{const S=vd(r.current).includes(b.animationName);if(b.target===t&&S&&(c("ANIMATION_END"),!a.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",d=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},m=b=>{b.target===t&&(o.current=vd(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{p.clearTimeout(d),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:E.useCallback(d=>{d&&(r.current=getComputedStyle(d)),n(d)},[])}}function vd(e){return(e==null?void 0:e.animationName)||"none"}function QY(e){var r,a;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var om=0;function F0(){E.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$_()),document.body.insertAdjacentElement("beforeend",e[1]??$_()),om++,()=>{om===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),om--}},[])}function $_(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ea=function(){return ea=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ea.apply(this,arguments)};function uU(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ki(e,t,n,r){function a(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(p){try{d(r.next(p))}catch(g){s(g)}}function c(p){try{d(r.throw(p))}catch(g){s(g)}}function d(p){p.done?o(p.value):a(p.value).then(l,c)}d((r=r.apply(e,t||[])).next())})}function JY(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Zd="right-scroll-bar-position",Qd="width-before-scroll-bar",eK="with-scroll-bars-hidden",tK="--removed-body-scroll-bar-size";function im(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function nK(e,t){var n=E.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var rK=typeof window<"u"?E.useLayoutEffect:E.useEffect,q_=new WeakMap;function aK(e,t){var n=nK(null,function(r){return e.forEach(function(a){return im(a,r)})});return rK(function(){var r=q_.get(n);if(r){var a=new Set(r),o=new Set(e),s=n.current;a.forEach(function(l){o.has(l)||im(l,null)}),o.forEach(function(l){a.has(l)||im(l,s)})}q_.set(n,e)},[e]),n}function oK(e){return e}function iK(e,t){t===void 0&&(t=oK);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(l){return l!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(l){return o(l)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var l=n;n=[],l.forEach(o),s=n}var c=function(){var p=s;s=[],p.forEach(o)},d=function(){return Promise.resolve().then(c)};d(),n={push:function(p){s.push(p),d()},filter:function(p){return s=s.filter(p),n}}}};return a}function sK(e){e===void 0&&(e={});var t=iK(null);return t.options=ea({async:!0,ssr:!1},e),t}var cU=function(e){var t=e.sideCar,n=uU(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return E.createElement(r,ea({},n))};cU.isSideCarExport=!0;function lK(e,t){return e.useMedium(t),cU}var dU=sK(),sm=function(){},rp=E.forwardRef(function(e,t){var n=E.useRef(null),r=E.useState({onScrollCapture:sm,onWheelCapture:sm,onTouchMoveCapture:sm}),a=r[0],o=r[1],s=e.forwardProps,l=e.children,c=e.className,d=e.removeScrollBar,p=e.enabled,g=e.shards,m=e.sideCar,b=e.noIsolation,y=e.inert,S=e.allowPinchZoom,k=e.as,R=k===void 0?"div":k,x=e.gapMode,A=uU(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=m,O=aK([n,t]),C=ea(ea({},A),a);return E.createElement(E.Fragment,null,p&&E.createElement(N,{sideCar:dU,removeScrollBar:d,shards:g,noIsolation:b,inert:y,setCallbacks:o,allowPinchZoom:!!S,lockRef:n,gapMode:x}),s?E.cloneElement(E.Children.only(l),ea(ea({},C),{ref:O})):E.createElement(R,ea({},C,{className:c,ref:O}),l))});rp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};rp.classNames={fullWidth:Qd,zeroRight:Zd};var uK=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cK(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=uK();return t&&e.setAttribute("nonce",t),e}function dK(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fK(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var pK=function(){var e=0,t=null;return{add:function(n){e==0&&(t=cK())&&(dK(t,n),fK(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},gK=function(){var e=pK();return function(t,n){E.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fU=function(){var e=gK(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},hK={left:0,top:0,right:0,gap:0},lm=function(e){return parseInt(e||"",10)||0},mK=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[lm(n),lm(r),lm(a)]},bK=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hK;var t=mK(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},yK=fU(),Ts="data-scroll-locked",vK=function(e,t,n,r){var a=e.left,o=e.top,s=e.right,l=e.gap;return n===void 0&&(n="margin"),`
|
||
.`.concat(eK,` {
|
||
overflow: hidden `).concat(r,`;
|
||
padding-right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
body[`).concat(Ts,`] {
|
||
overflow: hidden `).concat(r,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
||
padding-left: `.concat(a,`px;
|
||
padding-top: `).concat(o,`px;
|
||
padding-right: `).concat(s,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(l,"px ").concat(r,`;
|
||
`),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat(Zd,` {
|
||
right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
|
||
.`).concat(Qd,` {
|
||
margin-right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
|
||
.`).concat(Zd," .").concat(Zd,` {
|
||
right: 0 `).concat(r,`;
|
||
}
|
||
|
||
.`).concat(Qd," .").concat(Qd,` {
|
||
margin-right: 0 `).concat(r,`;
|
||
}
|
||
|
||
body[`).concat(Ts,`] {
|
||
`).concat(tK,": ").concat(l,`px;
|
||
}
|
||
`)},V_=function(){var e=parseInt(document.body.getAttribute(Ts)||"0",10);return isFinite(e)?e:0},SK=function(){E.useEffect(function(){return document.body.setAttribute(Ts,(V_()+1).toString()),function(){var e=V_()-1;e<=0?document.body.removeAttribute(Ts):document.body.setAttribute(Ts,e.toString())}},[])},EK=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;SK();var o=E.useMemo(function(){return bK(a)},[a]);return E.createElement(yK,{styles:vK(o,!t,a,n?"":"!important")})},wk=!1;if(typeof window<"u")try{var Sd=Object.defineProperty({},"passive",{get:function(){return wk=!0,!0}});window.addEventListener("test",Sd,Sd),window.removeEventListener("test",Sd,Sd)}catch{wk=!1}var cs=wk?{passive:!1}:!1,wK=function(e){return e.tagName==="TEXTAREA"},pU=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!wK(e)&&n[t]==="visible")},xK=function(e){return pU(e,"overflowY")},kK=function(e){return pU(e,"overflowX")},W_=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=gU(e,r);if(a){var o=hU(e,r),s=o[1],l=o[2];if(s>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},TK=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},AK=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},gU=function(e,t){return e==="v"?xK(t):kK(t)},hU=function(e,t){return e==="v"?TK(t):AK(t)},RK=function(e,t){return e==="h"&&t==="rtl"?-1:1},CK=function(e,t,n,r,a){var o=RK(e,window.getComputedStyle(t).direction),s=o*r,l=n.target,c=t.contains(l),d=!1,p=s>0,g=0,m=0;do{var b=hU(e,l),y=b[0],S=b[1],k=b[2],R=S-k-o*y;(y||R)&&gU(e,l)&&(g+=R,m+=y),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(p&&Math.abs(g)<1||!p&&Math.abs(m)<1)&&(d=!0),d},Ed=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Y_=function(e){return[e.deltaX,e.deltaY]},K_=function(e){return e&&"current"in e?e.current:e},_K=function(e,t){return e[0]===t[0]&&e[1]===t[1]},NK=function(e){return`
|
||
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
`)},OK=0,ds=[];function DK(e){var t=E.useRef([]),n=E.useRef([0,0]),r=E.useRef(),a=E.useState(OK++)[0],o=E.useState(fU)[0],s=E.useRef(e);E.useEffect(function(){s.current=e},[e]),E.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var S=JY([e.lockRef.current],(e.shards||[]).map(K_),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=E.useCallback(function(S,k){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!s.current.allowPinchZoom;var R=Ed(S),x=n.current,A="deltaX"in S?S.deltaX:x[0]-R[0],N="deltaY"in S?S.deltaY:x[1]-R[1],O,C=S.target,_=Math.abs(A)>Math.abs(N)?"h":"v";if("touches"in S&&_==="h"&&C.type==="range")return!1;var P=W_(_,C);if(!P)return!0;if(P?O=_:(O=_==="v"?"h":"v",P=W_(_,C)),!P)return!1;if(!r.current&&"changedTouches"in S&&(A||N)&&(r.current=O),!O)return!0;var I=r.current||O;return CK(I,k,S,I==="h"?A:N)},[]),c=E.useCallback(function(S){var k=S;if(!(!ds.length||ds[ds.length-1]!==o)){var R="deltaY"in k?Y_(k):Ed(k),x=t.current.filter(function(O){return O.name===k.type&&(O.target===k.target||k.target===O.shadowParent)&&_K(O.delta,R)})[0];if(x&&x.should){k.cancelable&&k.preventDefault();return}if(!x){var A=(s.current.shards||[]).map(K_).filter(Boolean).filter(function(O){return O.contains(k.target)}),N=A.length>0?l(k,A[0]):!s.current.noIsolation;N&&k.cancelable&&k.preventDefault()}}},[]),d=E.useCallback(function(S,k,R,x){var A={name:S,delta:k,target:R,should:x,shadowParent:IK(R)};t.current.push(A),setTimeout(function(){t.current=t.current.filter(function(N){return N!==A})},1)},[]),p=E.useCallback(function(S){n.current=Ed(S),r.current=void 0},[]),g=E.useCallback(function(S){d(S.type,Y_(S),S.target,l(S,e.lockRef.current))},[]),m=E.useCallback(function(S){d(S.type,Ed(S),S.target,l(S,e.lockRef.current))},[]);E.useEffect(function(){return ds.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:m}),document.addEventListener("wheel",c,cs),document.addEventListener("touchmove",c,cs),document.addEventListener("touchstart",p,cs),function(){ds=ds.filter(function(S){return S!==o}),document.removeEventListener("wheel",c,cs),document.removeEventListener("touchmove",c,cs),document.removeEventListener("touchstart",p,cs)}},[]);var b=e.removeScrollBar,y=e.inert;return E.createElement(E.Fragment,null,y?E.createElement(o,{styles:NK(a)}):null,b?E.createElement(EK,{gapMode:e.gapMode}):null)}function IK(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const LK=lK(dU,DK);var ap=E.forwardRef(function(e,t){return E.createElement(rp,ea({},e,{ref:t,sideCar:LK}))});ap.classNames=rp.classNames;var MK=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fs=new WeakMap,wd=new WeakMap,xd={},um=0,mU=function(e){return e&&(e.host||mU(e.parentNode))},PK=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=mU(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},FK=function(e,t,n,r){var a=PK(t,Array.isArray(e)?e:[e]);xd[n]||(xd[n]=new WeakMap);var o=xd[n],s=[],l=new Set,c=new Set(a),d=function(g){!g||l.has(g)||(l.add(g),d(g.parentNode))};a.forEach(d);var p=function(g){!g||c.has(g)||Array.prototype.forEach.call(g.children,function(m){if(l.has(m))p(m);else try{var b=m.getAttribute(r),y=b!==null&&b!=="false",S=(fs.get(m)||0)+1,k=(o.get(m)||0)+1;fs.set(m,S),o.set(m,k),s.push(m),S===1&&y&&wd.set(m,!0),k===1&&m.setAttribute(n,"true"),y||m.setAttribute(r,"true")}catch(R){console.error("aria-hidden: cannot operate on ",m,R)}})};return p(t),l.clear(),um++,function(){s.forEach(function(g){var m=fs.get(g)-1,b=o.get(g)-1;fs.set(g,m),o.set(g,b),m||(wd.has(g)||g.removeAttribute(r),wd.delete(g)),b||g.removeAttribute(n)}),um--,um||(fs=new WeakMap,fs=new WeakMap,wd=new WeakMap,xd={})}},z0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=MK(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live]"))),FK(r,a,n,"aria-hidden")):function(){return null}},B0="Dialog",[bU,yU]=wr(B0),[zK,Hr]=bU(B0),vU=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=E.useRef(null),c=E.useRef(null),[d=!1,p]=ja({prop:r,defaultProp:a,onChange:o});return w.jsx(zK,{scope:t,triggerRef:l,contentRef:c,contentId:An(),titleId:An(),descriptionId:An(),open:d,onOpenChange:p,onOpenToggle:E.useCallback(()=>p(g=>!g),[p]),modal:s,children:n})};vU.displayName=B0;var SU="DialogTrigger",EU=E.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Hr(SU,n),o=gt(t,a.triggerRef);return w.jsx(Ze.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":G0(a.open),...r,ref:o,onClick:Ke(e.onClick,a.onOpenToggle)})});EU.displayName=SU;var U0="DialogPortal",[BK,wU]=bU(U0,{forceMount:void 0}),xU=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=Hr(U0,t);return w.jsx(BK,{scope:t,forceMount:n,children:E.Children.map(r,s=>w.jsx(xr,{present:n||o.open,children:w.jsx(P0,{asChild:!0,container:a,children:s})}))})};xU.displayName=U0;var mf="DialogOverlay",kU=E.forwardRef((e,t)=>{const n=wU(mf,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=Hr(mf,e.__scopeDialog);return o.modal?w.jsx(xr,{present:r||o.open,children:w.jsx(UK,{...a,ref:t})}):null});kU.displayName=mf;var UK=E.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Hr(mf,n);return w.jsx(ap,{as:_o,allowPinchZoom:!0,shards:[a.contentRef],children:w.jsx(Ze.div,{"data-state":G0(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),mi="DialogContent",TU=E.forwardRef((e,t)=>{const n=wU(mi,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=Hr(mi,e.__scopeDialog);return w.jsx(xr,{present:r||o.open,children:o.modal?w.jsx(jK,{...a,ref:t}):w.jsx(GK,{...a,ref:t})})});TU.displayName=mi;var jK=E.forwardRef((e,t)=>{const n=Hr(mi,e.__scopeDialog),r=E.useRef(null),a=gt(t,n.contentRef,r);return E.useEffect(()=>{const o=r.current;if(o)return z0(o)},[]),w.jsx(AU,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ke(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:Ke(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0;(s.button===2||l)&&o.preventDefault()}),onFocusOutside:Ke(e.onFocusOutside,o=>o.preventDefault())})}),GK=E.forwardRef((e,t)=>{const n=Hr(mi,e.__scopeDialog),r=E.useRef(!1),a=E.useRef(!1);return w.jsx(AU,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var s,l;(s=e.onCloseAutoFocus)==null||s.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:o=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const s=o.target;((d=n.triggerRef.current)==null?void 0:d.contains(s))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}})}),AU=E.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,...s}=e,l=Hr(mi,n),c=E.useRef(null),d=gt(t,c);return F0(),w.jsxs(w.Fragment,{children:[w.jsx(np,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:w.jsx(Vu,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":G0(l.open),...s,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),w.jsxs(w.Fragment,{children:[w.jsx($K,{titleId:l.titleId}),w.jsx(VK,{contentRef:c,descriptionId:l.descriptionId})]})]})}),j0="DialogTitle",RU=E.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Hr(j0,n);return w.jsx(Ze.h2,{id:a.titleId,...r,ref:t})});RU.displayName=j0;var CU="DialogDescription",_U=E.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Hr(CU,n);return w.jsx(Ze.p,{id:a.descriptionId,...r,ref:t})});_U.displayName=CU;var NU="DialogClose",OU=E.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Hr(NU,n);return w.jsx(Ze.button,{type:"button",...r,ref:t,onClick:Ke(e.onClick,()=>a.onOpenChange(!1))})});OU.displayName=NU;function G0(e){return e?"open":"closed"}var DU="DialogTitleWarning",[HK,IU]=kY(DU,{contentName:mi,titleName:j0,docsSlug:"dialog"}),$K=({titleId:e})=>{const t=IU(DU),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
||
|
||
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
||
|
||
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return E.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},qK="DialogDescriptionWarning",VK=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${IU(qK).contentName}}.`;return E.useEffect(()=>{var o;const a=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},H0=vU,LU=EU,$0=xU,op=kU,ip=TU,q0=RU,V0=_U,W0=OU,MU="AlertDialog",[WK,qxe]=wr(MU,[yU]),Va=yU(),PU=e=>{const{__scopeAlertDialog:t,...n}=e,r=Va(t);return w.jsx(H0,{...r,...n,modal:!0})};PU.displayName=MU;var YK="AlertDialogTrigger",KK=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,a=Va(n);return w.jsx(LU,{...a,...r,ref:t})});KK.displayName=YK;var XK="AlertDialogPortal",FU=e=>{const{__scopeAlertDialog:t,...n}=e,r=Va(t);return w.jsx($0,{...r,...n})};FU.displayName=XK;var ZK="AlertDialogOverlay",zU=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,a=Va(n);return w.jsx(op,{...a,...r,ref:t})});zU.displayName=ZK;var As="AlertDialogContent",[QK,JK]=WK(As),BU=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...a}=e,o=Va(n),s=E.useRef(null),l=gt(t,s),c=E.useRef(null);return w.jsx(HK,{contentName:As,titleName:UU,docsSlug:"alert-dialog",children:w.jsx(QK,{scope:n,cancelRef:c,children:w.jsxs(ip,{role:"alertdialog",...o,...a,ref:l,onOpenAutoFocus:Ke(a.onOpenAutoFocus,d=>{var p;d.preventDefault(),(p=c.current)==null||p.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault(),children:[w.jsx(M0,{children:r}),w.jsx(tX,{contentRef:s})]})})})});BU.displayName=As;var UU="AlertDialogTitle",jU=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,a=Va(n);return w.jsx(q0,{...a,...r,ref:t})});jU.displayName=UU;var GU="AlertDialogDescription",HU=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,a=Va(n);return w.jsx(V0,{...a,...r,ref:t})});HU.displayName=GU;var eX="AlertDialogAction",$U=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,a=Va(n);return w.jsx(W0,{...a,...r,ref:t})});$U.displayName=eX;var qU="AlertDialogCancel",VU=E.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:a}=JK(qU,n),o=Va(n),s=gt(t,a);return w.jsx(W0,{...o,...r,ref:s})});VU.displayName=qU;var tX=({contentRef:e})=>{const t=`\`${As}\` requires a description for the component to be accessible for screen reader users.
|
||
|
||
You can add a description to the \`${As}\` by passing a \`${GU}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
||
|
||
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${As}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
||
|
||
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return E.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},nX=PU,rX=FU,WU=zU,YU=BU,KU=$U,XU=VU,ZU=jU,QU=HU;const aX=["top","right","bottom","left"],No=Math.min,er=Math.max,bf=Math.round,kd=Math.floor,aa=e=>({x:e,y:e}),oX={left:"right",right:"left",bottom:"top",top:"bottom"},iX={start:"end",end:"start"};function xk(e,t,n){return er(e,No(t,n))}function Ga(e,t){return typeof e=="function"?e(t):e}function Ha(e){return e.split("-")[0]}function qs(e){return e.split("-")[1]}function Y0(e){return e==="x"?"y":"x"}function K0(e){return e==="y"?"height":"width"}function Oo(e){return["top","bottom"].includes(Ha(e))?"y":"x"}function X0(e){return Y0(Oo(e))}function sX(e,t,n){n===void 0&&(n=!1);const r=qs(e),a=X0(e),o=K0(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=yf(s)),[s,yf(s)]}function lX(e){const t=yf(e);return[kk(e),t,kk(t)]}function kk(e){return e.replace(/start|end/g,t=>iX[t])}function uX(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:s;default:return[]}}function cX(e,t,n,r){const a=qs(e);let o=uX(Ha(e),n==="start",r);return a&&(o=o.map(s=>s+"-"+a),t&&(o=o.concat(o.map(kk)))),o}function yf(e){return e.replace(/left|right|bottom|top/g,t=>oX[t])}function dX(e){return{top:0,right:0,bottom:0,left:0,...e}}function JU(e){return typeof e!="number"?dX(e):{top:e,right:e,bottom:e,left:e}}function vf(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function X_(e,t,n){let{reference:r,floating:a}=e;const o=Oo(t),s=X0(t),l=K0(s),c=Ha(t),d=o==="y",p=r.x+r.width/2-a.width/2,g=r.y+r.height/2-a.height/2,m=r[l]/2-a[l]/2;let b;switch(c){case"top":b={x:p,y:r.y-a.height};break;case"bottom":b={x:p,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:g};break;case"left":b={x:r.x-a.width,y:g};break;default:b={x:r.x,y:r.y}}switch(qs(t)){case"start":b[s]-=m*(n&&d?-1:1);break;case"end":b[s]+=m*(n&&d?-1:1);break}return b}const fX=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:s}=n,l=o.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:g}=X_(d,r,c),m=r,b={},y=0;for(let S=0;S<l.length;S++){const{name:k,fn:R}=l[S],{x,y:A,data:N,reset:O}=await R({x:p,y:g,initialPlacement:r,placement:m,strategy:a,middlewareData:b,rects:d,platform:s,elements:{reference:e,floating:t}});p=x??p,g=A??g,b={...b,[k]:{...b[k],...N}},O&&y<=50&&(y++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(d=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):O.rects),{x:p,y:g}=X_(d,m,c)),S=-1)}return{x:p,y:g,placement:m,strategy:a,middlewareData:b}};async function ku(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:o,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:g="floating",altBoundary:m=!1,padding:b=0}=Ga(t,e),y=JU(b),k=l[m?g==="floating"?"reference":"floating":g],R=vf(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(k)))==null||n?k:k.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:d,rootBoundary:p,strategy:c})),x=g==="floating"?{x:r,y:a,width:s.floating.width,height:s.floating.height}:s.reference,A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),N=await(o.isElement==null?void 0:o.isElement(A))?await(o.getScale==null?void 0:o.getScale(A))||{x:1,y:1}:{x:1,y:1},O=vf(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:A,strategy:c}):x);return{top:(R.top-O.top+y.top)/N.y,bottom:(O.bottom-R.bottom+y.bottom)/N.y,left:(R.left-O.left+y.left)/N.x,right:(O.right-R.right+y.right)/N.x}}const pX=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:s,elements:l,middlewareData:c}=t,{element:d,padding:p=0}=Ga(e,t)||{};if(d==null)return{};const g=JU(p),m={x:n,y:r},b=X0(a),y=K0(b),S=await s.getDimensions(d),k=b==="y",R=k?"top":"left",x=k?"bottom":"right",A=k?"clientHeight":"clientWidth",N=o.reference[y]+o.reference[b]-m[b]-o.floating[y],O=m[b]-o.reference[b],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let _=C?C[A]:0;(!_||!await(s.isElement==null?void 0:s.isElement(C)))&&(_=l.floating[A]||o.floating[y]);const P=N/2-O/2,I=_/2-S[y]/2-1,L=No(g[R],I),H=No(g[x],I),$=L,U=_-S[y]-H,W=_/2-S[y]/2+P,Z=xk($,W,U),j=!c.arrow&&qs(a)!=null&&W!==Z&&o.reference[y]/2-(W<$?L:H)-S[y]/2<0,G=j?W<$?W-$:W-U:0;return{[b]:m[b]+G,data:{[b]:Z,centerOffset:W-Z-G,...j&&{alignmentOffset:G}},reset:j}}}),gX=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:s,initialPlacement:l,platform:c,elements:d}=t,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:S=!0,...k}=Ga(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const R=Ha(a),x=Oo(l),A=Ha(l)===l,N=await(c.isRTL==null?void 0:c.isRTL(d.floating)),O=m||(A||!S?[yf(l)]:lX(l)),C=y!=="none";!m&&C&&O.push(...cX(l,S,y,N));const _=[l,...O],P=await ku(t,k),I=[];let L=((r=o.flip)==null?void 0:r.overflows)||[];if(p&&I.push(P[R]),g){const W=sX(a,s,N);I.push(P[W[0]],P[W[1]])}if(L=[...L,{placement:a,overflows:I}],!I.every(W=>W<=0)){var H,$;const W=(((H=o.flip)==null?void 0:H.index)||0)+1,Z=_[W];if(Z)return{data:{index:W,overflows:L},reset:{placement:Z}};let j=($=L.filter(G=>G.overflows[0]<=0).sort((G,z)=>G.overflows[1]-z.overflows[1])[0])==null?void 0:$.placement;if(!j)switch(b){case"bestFit":{var U;const G=(U=L.filter(z=>{if(C){const Y=Oo(z.placement);return Y===x||Y==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(Y=>Y>0).reduce((Y,D)=>Y+D,0)]).sort((z,Y)=>z[1]-Y[1])[0])==null?void 0:U[0];G&&(j=G);break}case"initialPlacement":j=l;break}if(a!==j)return{reset:{placement:j}}}return{}}}};function Z_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Q_(e){return aX.some(t=>e[t]>=0)}const hX=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Ga(e,t);switch(r){case"referenceHidden":{const o=await ku(t,{...a,elementContext:"reference"}),s=Z_(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Q_(s)}}}case"escaped":{const o=await ku(t,{...a,altBoundary:!0}),s=Z_(o,n.floating);return{data:{escapedOffsets:s,escaped:Q_(s)}}}default:return{}}}}};async function mX(e,t){const{placement:n,platform:r,elements:a}=e,o=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=Ha(n),l=qs(n),c=Oo(n)==="y",d=["left","top"].includes(s)?-1:1,p=o&&c?-1:1,g=Ga(t,e);let{mainAxis:m,crossAxis:b,alignmentAxis:y}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),c?{x:b*p,y:m*d}:{x:m*d,y:b*p}}const bX=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:s,middlewareData:l}=t,c=await mX(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:o+c.y,data:{...c,placement:s}}}}},yX=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:R,y:x}=k;return{x:R,y:x}}},...c}=Ga(e,t),d={x:n,y:r},p=await ku(t,c),g=Oo(Ha(a)),m=Y0(g);let b=d[m],y=d[g];if(o){const k=m==="y"?"top":"left",R=m==="y"?"bottom":"right",x=b+p[k],A=b-p[R];b=xk(x,b,A)}if(s){const k=g==="y"?"top":"left",R=g==="y"?"bottom":"right",x=y+p[k],A=y-p[R];y=xk(x,y,A)}const S=l.fn({...t,[m]:b,[g]:y});return{...S,data:{x:S.x-n,y:S.y-r,enabled:{[m]:o,[g]:s}}}}}},vX=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=Ga(e,t),p={x:n,y:r},g=Oo(a),m=Y0(g);let b=p[m],y=p[g];const S=Ga(l,t),k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(c){const A=m==="y"?"height":"width",N=o.reference[m]-o.floating[A]+k.mainAxis,O=o.reference[m]+o.reference[A]-k.mainAxis;b<N?b=N:b>O&&(b=O)}if(d){var R,x;const A=m==="y"?"width":"height",N=["top","left"].includes(Ha(a)),O=o.reference[g]-o.floating[A]+(N&&((R=s.offset)==null?void 0:R[g])||0)+(N?0:k.crossAxis),C=o.reference[g]+o.reference[A]+(N?0:((x=s.offset)==null?void 0:x[g])||0)-(N?k.crossAxis:0);y<O?y=O:y>C&&(y=C)}return{[m]:b,[g]:y}}}},SX=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:o,platform:s,elements:l}=t,{apply:c=()=>{},...d}=Ga(e,t),p=await ku(t,d),g=Ha(a),m=qs(a),b=Oo(a)==="y",{width:y,height:S}=o.floating;let k,R;g==="top"||g==="bottom"?(k=g,R=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(R=g,k=m==="end"?"top":"bottom");const x=S-p.top-p.bottom,A=y-p.left-p.right,N=No(S-p[k],x),O=No(y-p[R],A),C=!t.middlewareData.shift;let _=N,P=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=A),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(_=x),C&&!m){const L=er(p.left,0),H=er(p.right,0),$=er(p.top,0),U=er(p.bottom,0);b?P=y-2*(L!==0||H!==0?L+H:er(p.left,p.right)):_=S-2*($!==0||U!==0?$+U:er(p.top,p.bottom))}await c({...t,availableWidth:P,availableHeight:_});const I=await s.getDimensions(l.floating);return y!==I.width||S!==I.height?{reset:{rects:!0}}:{}}}};function sp(){return typeof window<"u"}function Vs(e){return e3(e)?(e.nodeName||"").toLowerCase():"#document"}function nr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sa(e){var t;return(t=(e3(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function e3(e){return sp()?e instanceof Node||e instanceof nr(e).Node:!1}function Ur(e){return sp()?e instanceof Element||e instanceof nr(e).Element:!1}function oa(e){return sp()?e instanceof HTMLElement||e instanceof nr(e).HTMLElement:!1}function J_(e){return!sp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nr(e).ShadowRoot}function Wu(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=jr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function EX(e){return["table","td","th"].includes(Vs(e))}function lp(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Z0(e){const t=Q0(),n=Ur(e)?jr(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function wX(e){let t=Do(e);for(;oa(t)&&!Os(t);){if(Z0(t))return t;if(lp(t))return null;t=Do(t)}return null}function Q0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Os(e){return["html","body","#document"].includes(Vs(e))}function jr(e){return nr(e).getComputedStyle(e)}function up(e){return Ur(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Do(e){if(Vs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||J_(e)&&e.host||sa(e);return J_(t)?t.host:t}function t3(e){const t=Do(e);return Os(t)?e.ownerDocument?e.ownerDocument.body:e.body:oa(t)&&Wu(t)?t:t3(t)}function Tu(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=t3(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),s=nr(a);if(o){const l=Tk(s);return t.concat(s,s.visualViewport||[],Wu(a)?a:[],l&&n?Tu(l):[])}return t.concat(a,Tu(a,[],n))}function Tk(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function n3(e){const t=jr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=oa(e),o=a?e.offsetWidth:n,s=a?e.offsetHeight:r,l=bf(n)!==o||bf(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function J0(e){return Ur(e)?e:e.contextElement}function Rs(e){const t=J0(e);if(!oa(t))return aa(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=n3(t);let s=(o?bf(n.width):n.width)/r,l=(o?bf(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const xX=aa(0);function r3(e){const t=nr(e);return!Q0()||!t.visualViewport?xX:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kX(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==nr(e)?!1:t}function bi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=J0(e);let s=aa(1);t&&(r?Ur(r)&&(s=Rs(r)):s=Rs(e));const l=kX(o,n,r)?r3(o):aa(0);let c=(a.left+l.x)/s.x,d=(a.top+l.y)/s.y,p=a.width/s.x,g=a.height/s.y;if(o){const m=nr(o),b=r&&Ur(r)?nr(r):r;let y=m,S=Tk(y);for(;S&&r&&b!==y;){const k=Rs(S),R=S.getBoundingClientRect(),x=jr(S),A=R.left+(S.clientLeft+parseFloat(x.paddingLeft))*k.x,N=R.top+(S.clientTop+parseFloat(x.paddingTop))*k.y;c*=k.x,d*=k.y,p*=k.x,g*=k.y,c+=A,d+=N,y=nr(S),S=Tk(y)}}return vf({width:p,height:g,x:c,y:d})}function eT(e,t){const n=up(e).scrollLeft;return t?t.left+n:bi(sa(e)).left+n}function a3(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=r.left+t.scrollLeft-(n?0:eT(e,r)),o=r.top+t.scrollTop;return{x:a,y:o}}function TX(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o=a==="fixed",s=sa(r),l=t?lp(t.floating):!1;if(r===s||l&&o)return n;let c={scrollLeft:0,scrollTop:0},d=aa(1);const p=aa(0),g=oa(r);if((g||!g&&!o)&&((Vs(r)!=="body"||Wu(s))&&(c=up(r)),oa(r))){const b=bi(r);d=Rs(r),p.x=b.x+r.clientLeft,p.y=b.y+r.clientTop}const m=s&&!g&&!o?a3(s,c,!0):aa(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+p.x+m.x,y:n.y*d.y-c.scrollTop*d.y+p.y+m.y}}function AX(e){return Array.from(e.getClientRects())}function RX(e){const t=sa(e),n=up(e),r=e.ownerDocument.body,a=er(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=er(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+eT(e);const l=-n.scrollTop;return jr(r).direction==="rtl"&&(s+=er(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:s,y:l}}function CX(e,t){const n=nr(e),r=sa(e),a=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,l=0,c=0;if(a){o=a.width,s=a.height;const d=Q0();(!d||d&&t==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:o,height:s,x:l,y:c}}function _X(e,t){const n=bi(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=oa(e)?Rs(e):aa(1),s=e.clientWidth*o.x,l=e.clientHeight*o.y,c=a*o.x,d=r*o.y;return{width:s,height:l,x:c,y:d}}function eN(e,t,n){let r;if(t==="viewport")r=CX(e,n);else if(t==="document")r=RX(sa(e));else if(Ur(t))r=_X(t,n);else{const a=r3(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return vf(r)}function o3(e,t){const n=Do(e);return n===t||!Ur(n)||Os(n)?!1:jr(n).position==="fixed"||o3(n,t)}function NX(e,t){const n=t.get(e);if(n)return n;let r=Tu(e,[],!1).filter(l=>Ur(l)&&Vs(l)!=="body"),a=null;const o=jr(e).position==="fixed";let s=o?Do(e):e;for(;Ur(s)&&!Os(s);){const l=jr(s),c=Z0(s);!c&&l.position==="fixed"&&(a=null),(o?!c&&!a:!c&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Wu(s)&&!c&&o3(e,s))?r=r.filter(p=>p!==s):a=l,s=Do(s)}return t.set(e,r),r}function OX(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const s=[...n==="clippingAncestors"?lp(t)?[]:NX(t,this._c):[].concat(n),r],l=s[0],c=s.reduce((d,p)=>{const g=eN(t,p,a);return d.top=er(g.top,d.top),d.right=No(g.right,d.right),d.bottom=No(g.bottom,d.bottom),d.left=er(g.left,d.left),d},eN(t,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function DX(e){const{width:t,height:n}=n3(e);return{width:t,height:n}}function IX(e,t,n){const r=oa(t),a=sa(t),o=n==="fixed",s=bi(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=aa(0);if(r||!r&&!o)if((Vs(t)!=="body"||Wu(a))&&(l=up(t)),r){const m=bi(t,!0,o,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else a&&(c.x=eT(a));const d=a&&!r&&!o?a3(a,l):aa(0),p=s.left+l.scrollLeft-c.x-d.x,g=s.top+l.scrollTop-c.y-d.y;return{x:p,y:g,width:s.width,height:s.height}}function cm(e){return jr(e).position==="static"}function tN(e,t){if(!oa(e)||jr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sa(e)===n&&(n=n.ownerDocument.body),n}function i3(e,t){const n=nr(e);if(lp(e))return n;if(!oa(e)){let a=Do(e);for(;a&&!Os(a);){if(Ur(a)&&!cm(a))return a;a=Do(a)}return n}let r=tN(e,t);for(;r&&EX(r)&&cm(r);)r=tN(r,t);return r&&Os(r)&&cm(r)&&!Z0(r)?n:r||wX(e)||n}const LX=async function(e){const t=this.getOffsetParent||i3,n=this.getDimensions,r=await n(e.floating);return{reference:IX(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function MX(e){return jr(e).direction==="rtl"}const PX={convertOffsetParentRelativeRectToViewportRelativeRect:TX,getDocumentElement:sa,getClippingRect:OX,getOffsetParent:i3,getElementRects:LX,getClientRects:AX,getDimensions:DX,getScale:Rs,isElement:Ur,isRTL:MX};function s3(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FX(e,t){let n=null,r;const a=sa(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const d=e.getBoundingClientRect(),{left:p,top:g,width:m,height:b}=d;if(l||t(),!m||!b)return;const y=kd(g),S=kd(a.clientWidth-(p+m)),k=kd(a.clientHeight-(g+b)),R=kd(p),A={rootMargin:-y+"px "+-S+"px "+-k+"px "+-R+"px",threshold:er(0,No(1,c))||1};let N=!0;function O(C){const _=C[0].intersectionRatio;if(_!==c){if(!N)return s();_?s(!1,_):r=setTimeout(()=>{s(!1,1e-7)},1e3)}_===1&&!s3(d,e.getBoundingClientRect())&&s(),N=!1}try{n=new IntersectionObserver(O,{...A,root:a.ownerDocument})}catch{n=new IntersectionObserver(O,A)}n.observe(e)}return s(!0),o}function zX(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=J0(e),p=a||o?[...d?Tu(d):[],...Tu(t)]:[];p.forEach(R=>{a&&R.addEventListener("scroll",n,{passive:!0}),o&&R.addEventListener("resize",n)});const g=d&&l?FX(d,n):null;let m=-1,b=null;s&&(b=new ResizeObserver(R=>{let[x]=R;x&&x.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=b)==null||A.observe(t)})),n()}),d&&!c&&b.observe(d),b.observe(t));let y,S=c?bi(e):null;c&&k();function k(){const R=bi(e);S&&!s3(S,R)&&n(),S=R,y=requestAnimationFrame(k)}return n(),()=>{var R;p.forEach(x=>{a&&x.removeEventListener("scroll",n),o&&x.removeEventListener("resize",n)}),g==null||g(),(R=b)==null||R.disconnect(),b=null,c&&cancelAnimationFrame(y)}}const BX=bX,UX=yX,jX=gX,GX=SX,HX=hX,nN=pX,$X=vX,qX=(e,t,n)=>{const r=new Map,a={platform:PX,...n},o={...a.platform,_c:r};return fX(e,t,{...a,platform:o})};var Jd=typeof document<"u"?E.useLayoutEffect:E.useEffect;function Sf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Sf(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const o=a[r];if(!(o==="_owner"&&e.$$typeof)&&!Sf(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function l3(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rN(e,t){const n=l3(e);return Math.round(t*n)/n}function dm(e){const t=E.useRef(e);return Jd(()=>{t.current=e}),t}function VX(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[p,g]=E.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,b]=E.useState(r);Sf(m,r)||b(r);const[y,S]=E.useState(null),[k,R]=E.useState(null),x=E.useCallback(z=>{z!==C.current&&(C.current=z,S(z))},[]),A=E.useCallback(z=>{z!==_.current&&(_.current=z,R(z))},[]),N=o||y,O=s||k,C=E.useRef(null),_=E.useRef(null),P=E.useRef(p),I=c!=null,L=dm(c),H=dm(a),$=dm(d),U=E.useCallback(()=>{if(!C.current||!_.current)return;const z={placement:t,strategy:n,middleware:m};H.current&&(z.platform=H.current),qX(C.current,_.current,z).then(Y=>{const D={...Y,isPositioned:$.current!==!1};W.current&&!Sf(P.current,D)&&(P.current=D,Hu.flushSync(()=>{g(D)}))})},[m,t,n,H,$]);Jd(()=>{d===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,g(z=>({...z,isPositioned:!1})))},[d]);const W=E.useRef(!1);Jd(()=>(W.current=!0,()=>{W.current=!1}),[]),Jd(()=>{if(N&&(C.current=N),O&&(_.current=O),N&&O){if(L.current)return L.current(N,O,U);U()}},[N,O,U,L,I]);const Z=E.useMemo(()=>({reference:C,floating:_,setReference:x,setFloating:A}),[x,A]),j=E.useMemo(()=>({reference:N,floating:O}),[N,O]),G=E.useMemo(()=>{const z={position:n,left:0,top:0};if(!j.floating)return z;const Y=rN(j.floating,p.x),D=rN(j.floating,p.y);return l?{...z,transform:"translate("+Y+"px, "+D+"px)",...l3(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:D}},[n,l,j.floating,p.x,p.y]);return E.useMemo(()=>({...p,update:U,refs:Z,elements:j,floatingStyles:G}),[p,U,Z,j,G])}const WX=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?nN({element:r.current,padding:a}).fn(n):{}:r?nN({element:r,padding:a}).fn(n):{}}}},YX=(e,t)=>({...BX(e),options:[e,t]}),KX=(e,t)=>({...UX(e),options:[e,t]}),XX=(e,t)=>({...$X(e),options:[e,t]}),ZX=(e,t)=>({...jX(e),options:[e,t]}),QX=(e,t)=>({...GX(e),options:[e,t]}),JX=(e,t)=>({...HX(e),options:[e,t]}),eZ=(e,t)=>({...WX(e),options:[e,t]});var tZ="Arrow",u3=E.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...o}=e;return w.jsx(Ze.svg,{...o,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});u3.displayName=tZ;var nZ=u3;function c3(e){const[t,n]=E.useState(void 0);return Rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let s,l;if("borderBoxSize"in o){const c=o.borderBoxSize,d=Array.isArray(c)?c[0]:c;s=d.inlineSize,l=d.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var tT="Popper",[d3,Ws]=wr(tT),[rZ,f3]=d3(tT),p3=e=>{const{__scopePopper:t,children:n}=e,[r,a]=E.useState(null);return w.jsx(rZ,{scope:t,anchor:r,onAnchorChange:a,children:n})};p3.displayName=tT;var g3="PopperAnchor",h3=E.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,o=f3(g3,n),s=E.useRef(null),l=gt(t,s);return E.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:w.jsx(Ze.div,{...a,ref:l})});h3.displayName=g3;var nT="PopperContent",[aZ,oZ]=d3(nT),m3=E.forwardRef((e,t)=>{var J,ae,ke,ie,Se,ve;const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:o="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:p=0,sticky:g="partial",hideWhenDetached:m=!1,updatePositionStrategy:b="optimized",onPlaced:y,...S}=e,k=f3(nT,n),[R,x]=E.useState(null),A=gt(t,Ie=>x(Ie)),[N,O]=E.useState(null),C=c3(N),_=(C==null?void 0:C.width)??0,P=(C==null?void 0:C.height)??0,I=r+(o!=="center"?"-"+o:""),L=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},H=Array.isArray(d)?d:[d],$=H.length>0,U={padding:L,boundary:H.filter(sZ),altBoundary:$},{refs:W,floatingStyles:Z,placement:j,isPositioned:G,middlewareData:z}=VX({strategy:"fixed",placement:I,whileElementsMounted:(...Ie)=>zX(...Ie,{animationFrame:b==="always"}),elements:{reference:k.anchor},middleware:[YX({mainAxis:a+P,alignmentAxis:s}),c&&KX({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?XX():void 0,...U}),c&&ZX({...U}),QX({...U,apply:({elements:Ie,rects:Ce,availableWidth:Ee,availableHeight:te})=>{const{width:fe,height:Te}=Ce.reference,me=Ie.floating.style;me.setProperty("--radix-popper-available-width",`${Ee}px`),me.setProperty("--radix-popper-available-height",`${te}px`),me.setProperty("--radix-popper-anchor-width",`${fe}px`),me.setProperty("--radix-popper-anchor-height",`${Te}px`)}}),N&&eZ({element:N,padding:l}),lZ({arrowWidth:_,arrowHeight:P}),m&&JX({strategy:"referenceHidden",...U})]}),[Y,D]=v3(j),V=yn(y);Rn(()=>{G&&(V==null||V())},[G,V]);const B=(J=z.arrow)==null?void 0:J.x,M=(ae=z.arrow)==null?void 0:ae.y,K=((ke=z.arrow)==null?void 0:ke.centerOffset)!==0,[ee,Q]=E.useState();return Rn(()=>{R&&Q(window.getComputedStyle(R).zIndex)},[R]),w.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:G?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[(ie=z.transformOrigin)==null?void 0:ie.x,(Se=z.transformOrigin)==null?void 0:Se.y].join(" "),...((ve=z.hide)==null?void 0:ve.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(aZ,{scope:n,placedSide:Y,onArrowChange:O,arrowX:B,arrowY:M,shouldHideArrow:K,children:w.jsx(Ze.div,{"data-side":Y,"data-align":D,...S,ref:A,style:{...S.style,animation:G?void 0:"none"}})})})});m3.displayName=nT;var b3="PopperArrow",iZ={top:"bottom",right:"left",bottom:"top",left:"right"},y3=E.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,o=oZ(b3,r),s=iZ[o.placedSide];return w.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:w.jsx(nZ,{...a,ref:n,style:{...a.style,display:"block"}})})});y3.displayName=b3;function sZ(e){return e!==null}var lZ=e=>({name:"transformOrigin",options:e,fn(t){var k,R,x;const{placement:n,rects:r,middlewareData:a}=t,s=((k=a.arrow)==null?void 0:k.centerOffset)!==0,l=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[d,p]=v3(n),g={start:"0%",center:"50%",end:"100%"}[p],m=(((R=a.arrow)==null?void 0:R.x)??0)+l/2,b=(((x=a.arrow)==null?void 0:x.y)??0)+c/2;let y="",S="";return d==="bottom"?(y=s?g:`${m}px`,S=`${-c}px`):d==="top"?(y=s?g:`${m}px`,S=`${r.floating.height+c}px`):d==="right"?(y=`${-c}px`,S=s?g:`${b}px`):d==="left"&&(y=`${r.floating.width+c}px`,S=s?g:`${b}px`),{data:{x:y,y:S}}}});function v3(e){const[t,n="center"]=e.split("-");return[t,n]}var rT=p3,cp=h3,aT=m3,oT=y3,uZ="VisuallyHidden",iT=E.forwardRef((e,t)=>w.jsx(Ze.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));iT.displayName=uZ;var cZ=iT,[dp,Vxe]=wr("Tooltip",[Ws]),fp=Ws(),S3="TooltipProvider",dZ=700,Ak="tooltip.open",[fZ,sT]=dp(S3),E3=e=>{const{__scopeTooltip:t,delayDuration:n=dZ,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:o}=e,[s,l]=E.useState(!0),c=E.useRef(!1),d=E.useRef(0);return E.useEffect(()=>{const p=d.current;return()=>window.clearTimeout(p)},[]),w.jsx(fZ,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:E.useCallback(()=>{window.clearTimeout(d.current),l(!1)},[]),onClose:E.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:E.useCallback(p=>{c.current=p},[]),disableHoverableContent:a,children:o})};E3.displayName=S3;var pp="Tooltip",[pZ,gp]=dp(pp),w3=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:a=!1,onOpenChange:o,disableHoverableContent:s,delayDuration:l}=e,c=sT(pp,e.__scopeTooltip),d=fp(t),[p,g]=E.useState(null),m=An(),b=E.useRef(0),y=s??c.disableHoverableContent,S=l??c.delayDuration,k=E.useRef(!1),[R=!1,x]=ja({prop:r,defaultProp:a,onChange:_=>{_?(c.onOpen(),document.dispatchEvent(new CustomEvent(Ak))):c.onClose(),o==null||o(_)}}),A=E.useMemo(()=>R?k.current?"delayed-open":"instant-open":"closed",[R]),N=E.useCallback(()=>{window.clearTimeout(b.current),b.current=0,k.current=!1,x(!0)},[x]),O=E.useCallback(()=>{window.clearTimeout(b.current),b.current=0,x(!1)},[x]),C=E.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{k.current=!0,x(!0),b.current=0},S)},[S,x]);return E.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),w.jsx(rT,{...d,children:w.jsx(pZ,{scope:t,contentId:m,open:R,stateAttribute:A,trigger:p,onTriggerChange:g,onTriggerEnter:E.useCallback(()=>{c.isOpenDelayed?C():N()},[c.isOpenDelayed,C,N]),onTriggerLeave:E.useCallback(()=>{y?O():(window.clearTimeout(b.current),b.current=0)},[O,y]),onOpen:N,onClose:O,disableHoverableContent:y,children:n})})};w3.displayName=pp;var Rk="TooltipTrigger",x3=E.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=gp(Rk,n),o=sT(Rk,n),s=fp(n),l=E.useRef(null),c=gt(t,l,a.onTriggerChange),d=E.useRef(!1),p=E.useRef(!1),g=E.useCallback(()=>d.current=!1,[]);return E.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),w.jsx(cp,{asChild:!0,...s,children:w.jsx(Ze.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:c,onPointerMove:Ke(e.onPointerMove,m=>{m.pointerType!=="touch"&&!p.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:Ke(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:Ke(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:Ke(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:Ke(e.onBlur,a.onClose),onClick:Ke(e.onClick,a.onClose)})})});x3.displayName=Rk;var gZ="TooltipPortal",[Wxe,hZ]=dp(gZ,{forceMount:void 0}),Ds="TooltipContent",k3=E.forwardRef((e,t)=>{const n=hZ(Ds,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...o}=e,s=gp(Ds,e.__scopeTooltip);return w.jsx(xr,{present:r||s.open,children:s.disableHoverableContent?w.jsx(T3,{side:a,...o,ref:t}):w.jsx(mZ,{side:a,...o,ref:t})})}),mZ=E.forwardRef((e,t)=>{const n=gp(Ds,e.__scopeTooltip),r=sT(Ds,e.__scopeTooltip),a=E.useRef(null),o=gt(t,a),[s,l]=E.useState(null),{trigger:c,onClose:d}=n,p=a.current,{onPointerInTransitChange:g}=r,m=E.useCallback(()=>{l(null),g(!1)},[g]),b=E.useCallback((y,S)=>{const k=y.currentTarget,R={x:y.clientX,y:y.clientY},x=SZ(R,k.getBoundingClientRect()),A=EZ(R,x),N=wZ(S.getBoundingClientRect()),O=kZ([...A,...N]);l(O),g(!0)},[g]);return E.useEffect(()=>()=>m(),[m]),E.useEffect(()=>{if(c&&p){const y=k=>b(k,p),S=k=>b(k,c);return c.addEventListener("pointerleave",y),p.addEventListener("pointerleave",S),()=>{c.removeEventListener("pointerleave",y),p.removeEventListener("pointerleave",S)}}},[c,p,b,m]),E.useEffect(()=>{if(s){const y=S=>{const k=S.target,R={x:S.clientX,y:S.clientY},x=(c==null?void 0:c.contains(k))||(p==null?void 0:p.contains(k)),A=!xZ(R,s);x?m():A&&(m(),d())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,p,s,d,m]),w.jsx(T3,{...e,ref:o})}),[bZ,yZ]=dp(pp,{isInside:!1}),T3=E.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:s,...l}=e,c=gp(Ds,n),d=fp(n),{onClose:p}=c;return E.useEffect(()=>(document.addEventListener(Ak,p),()=>document.removeEventListener(Ak,p)),[p]),E.useEffect(()=>{if(c.trigger){const g=m=>{const b=m.target;b!=null&&b.contains(c.trigger)&&p()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[c.trigger,p]),w.jsx(Vu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:g=>g.preventDefault(),onDismiss:p,children:w.jsxs(aT,{"data-state":c.stateAttribute,...d,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[w.jsx(M0,{children:r}),w.jsx(bZ,{scope:n,isInside:!0,children:w.jsx(cZ,{id:c.contentId,role:"tooltip",children:a||r})})]})})});k3.displayName=Ds;var A3="TooltipArrow",vZ=E.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=fp(n);return yZ(A3,n).isInside?null:w.jsx(oT,{...a,...r,ref:t})});vZ.displayName=A3;function SZ(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,a,o)){case o:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function EZ(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function wZ(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function xZ(e,t){const{x:n,y:r}=e;let a=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const l=t[o].x,c=t[o].y,d=t[s].x,p=t[s].y;c>r!=p>r&&n<(d-l)*(r-c)/(p-c)+l&&(a=!a)}return a}function kZ(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),TZ(t)}function TZ(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(a.y-s.y)>=(o.y-s.y)*(a.x-s.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(a.y-s.y)>=(o.y-s.y)*(a.x-s.x))n.pop();else break}n.push(a)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var AZ=E3,RZ=w3,CZ=x3,R3=k3;const C3=AZ,_3=RZ,N3=CZ,_Z=e=>typeof e!="string"?e:w.jsx("div",{className:"relative top-0 pt-1 whitespace-pre-wrap break-words",children:e}),lT=E.forwardRef(({className:e,side:t="left",align:n="start",children:r,...a},o)=>{const s=E.useRef(null);return E.useEffect(()=>{s.current&&(s.current.scrollTop=0)},[r]),w.jsx(R3,{ref:o,side:t,align:n,className:Pe("bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-[60vh] overflow-y-auto whitespace-pre-wrap break-words rounded-md border px-3 py-2 text-sm shadow-md z-60",e),...a,children:typeof r=="string"?_Z(r):r})});lT.displayName=R3.displayName;const Ef=YB("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"size-8"}},defaultVariants:{variant:"default",size:"default"}}),xt=E.forwardRef(({className:e,variant:t,tooltip:n,size:r,side:a="right",asChild:o=!1,...s},l)=>{const c=o?_o:"button";return n?w.jsx(C3,{children:w.jsxs(_3,{children:[w.jsx(N3,{asChild:!0,children:w.jsx(c,{className:Pe(Ef({variant:t,size:r,className:e}),"cursor-pointer"),ref:l,...s})}),w.jsx(lT,{side:a,children:n})]})}):w.jsx(c,{className:Pe(Ef({variant:t,size:r,className:e}),"cursor-pointer"),ref:l,...s})});xt.displayName="Button";const NZ=nX,OZ=rX,O3=E.forwardRef(({className:e,...t},n)=>w.jsx(WU,{className:Pe("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",e),...t,ref:n}));O3.displayName=WU.displayName;const D3=E.forwardRef(({className:e,...t},n)=>w.jsxs(OZ,{children:[w.jsx(O3,{}),w.jsx(YU,{ref:n,className:Pe("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...t})]}));D3.displayName=YU.displayName;const I3=({className:e,...t})=>w.jsx("div",{className:Pe("flex flex-col space-y-2 text-center sm:text-left",e),...t});I3.displayName="AlertDialogHeader";const L3=E.forwardRef(({className:e,...t},n)=>w.jsx(ZU,{ref:n,className:Pe("text-lg font-semibold",e),...t}));L3.displayName=ZU.displayName;const M3=E.forwardRef(({className:e,...t},n)=>w.jsx(QU,{ref:n,className:Pe("text-muted-foreground text-sm",e),...t}));M3.displayName=QU.displayName;const DZ=E.forwardRef(({className:e,...t},n)=>w.jsx(KU,{ref:n,className:Pe(Ef(),e),...t}));DZ.displayName=KU.displayName;const IZ=E.forwardRef(({className:e,...t},n)=>w.jsx(XU,{ref:n,className:Pe(Ef({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));IZ.displayName=XU.displayName;const $a=E.forwardRef(({className:e,type:t,...n},r)=>w.jsx("input",{type:t,className:Pe("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&::-webkit-inner-spin-button]:opacity-100 [&::-webkit-outer-spin-button]:opacity-100",e),ref:r,...n}));$a.displayName="Input";const LZ=()=>{const[e,t]=E.useState(!0),n=Le.use.apiKey(),[r,a]=E.useState(""),o=Hn.use.message();E.useEffect(()=>{a(n||"")},[n,e]),E.useEffect(()=>{o&&(o.includes(GB)||o.includes(HB))&&t(!0)},[o,t]);const s=E.useCallback(async()=>{if(Le.setState({apiKey:r||null}),await Hn.getState().check()){t(!1);return}Pt.error("API Key is invalid")},[r]),l=E.useCallback(c=>{a(c.target.value)},[a]);return w.jsx(NZ,{open:e,onOpenChange:t,children:w.jsxs(D3,{children:[w.jsxs(I3,{children:[w.jsx(L3,{children:"API Key is required"}),w.jsx(M3,{children:"Please enter your API key"})]}),w.jsxs("form",{className:"flex gap-2",onSubmit:c=>c.preventDefault(),children:[w.jsx($a,{type:"password",value:r,onChange:l,placeholder:"Enter your API key",className:"max-h-full w-full min-w-0",autoComplete:"off"}),w.jsx(xt,{onClick:s,variant:"outline",size:"sm",children:"Save"})]})]})})};var uT="Popover",[P3,Yxe]=wr(uT,[Ws]),Yu=Ws(),[MZ,Ti]=P3(uT),F3=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,l=Yu(t),c=E.useRef(null),[d,p]=E.useState(!1),[g=!1,m]=ja({prop:r,defaultProp:a,onChange:o});return w.jsx(rT,{...l,children:w.jsx(MZ,{scope:t,contentId:An(),triggerRef:c,open:g,onOpenChange:m,onOpenToggle:E.useCallback(()=>m(b=>!b),[m]),hasCustomAnchor:d,onCustomAnchorAdd:E.useCallback(()=>p(!0),[]),onCustomAnchorRemove:E.useCallback(()=>p(!1),[]),modal:s,children:n})})};F3.displayName=uT;var z3="PopoverAnchor",PZ=E.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Ti(z3,n),o=Yu(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=a;return E.useEffect(()=>(s(),()=>l()),[s,l]),w.jsx(cp,{...o,...r,ref:t})});PZ.displayName=z3;var B3="PopoverTrigger",U3=E.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Ti(B3,n),o=Yu(n),s=gt(t,a.triggerRef),l=w.jsx(Ze.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":$3(a.open),...r,ref:s,onClick:Ke(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:w.jsx(cp,{asChild:!0,...o,children:l})});U3.displayName=B3;var FZ="PopoverPortal",[Kxe,zZ]=P3(FZ,{forceMount:void 0}),Is="PopoverContent",j3=E.forwardRef((e,t)=>{const n=zZ(Is,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,o=Ti(Is,e.__scopePopover);return w.jsx(xr,{present:r||o.open,children:o.modal?w.jsx(BZ,{...a,ref:t}):w.jsx(UZ,{...a,ref:t})})});j3.displayName=Is;var BZ=E.forwardRef((e,t)=>{const n=Ti(Is,e.__scopePopover),r=E.useRef(null),a=gt(t,r),o=E.useRef(!1);return E.useEffect(()=>{const s=r.current;if(s)return z0(s)},[]),w.jsx(ap,{as:_o,allowPinchZoom:!0,children:w.jsx(G3,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ke(e.onCloseAutoFocus,s=>{var l;s.preventDefault(),o.current||(l=n.triggerRef.current)==null||l.focus()}),onPointerDownOutside:Ke(e.onPointerDownOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,d=l.button===2||c;o.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:Ke(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),UZ=E.forwardRef((e,t)=>{const n=Ti(Is,e.__scopePopover),r=E.useRef(!1),a=E.useRef(!1);return w.jsx(G3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var s,l;(s=e.onCloseAutoFocus)==null||s.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:o=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const s=o.target;((d=n.triggerRef.current)==null?void 0:d.contains(s))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}})}),G3=E.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,...g}=e,m=Ti(Is,n),b=Yu(n);return F0(),w.jsx(np,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:w.jsx(Vu,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:p,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),children:w.jsx(aT,{"data-state":$3(m.open),role:"dialog",id:m.contentId,...b,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),H3="PopoverClose",jZ=E.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Ti(H3,n);return w.jsx(Ze.button,{type:"button",...r,ref:t,onClick:Ke(e.onClick,()=>a.onOpenChange(!1))})});jZ.displayName=H3;var GZ="PopoverArrow",HZ=E.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Yu(n);return w.jsx(oT,{...a,...r,ref:t})});HZ.displayName=GZ;function $3(e){return e?"open":"closed"}var $Z=F3,qZ=U3,q3=j3;const Ku=$Z,Xu=qZ,Ys=E.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},a)=>w.jsx(q3,{ref:a,align:t,sideOffset:n,className:Pe("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 rounded-md border p-4 shadow-md outline-none",e),...r}));Ys.displayName=q3.displayName;const VZ=(e,t,n,r)=>{var o,s,l,c;const a=[n,{code:t,...r||{}}];if((s=(o=e==null?void 0:e.services)==null?void 0:o.logger)!=null&&s.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);gi(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),(c=(l=e==null?void 0:e.services)==null?void 0:l.logger)!=null&&c.warn?e.services.logger.warn(...a):console!=null&&console.warn&&console.warn(...a)},aN={},Ck=(e,t,n,r)=>{gi(n)&&aN[n]||(gi(n)&&(aN[n]=new Date),VZ(e,t,n,r))},V3=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},_k=(e,t,n)=>{e.loadNamespaces(t,V3(e,n))},oN=(e,t,n,r)=>{if(gi(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return _k(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,V3(e,r))},WZ=(e,t,n={})=>!t.languages||!t.languages.length?(Ck(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages: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}}),gi=e=>typeof e=="string",YZ=e=>typeof e=="object"&&e!==null,KZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,XZ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ZZ=e=>XZ[e],QZ=e=>e.replace(KZ,ZZ);let Nk={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:QZ};const JZ=(e={})=>{Nk={...Nk,...e}},eQ=()=>Nk;let W3;const tQ=e=>{W3=e},nQ=()=>W3,rQ={type:"3rdParty",init(e){JZ(e.options.react),tQ(e)}},aQ=E.createContext();class oQ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const iQ=(e,t)=>{const n=E.useRef();return E.useEffect(()=>{n.current=e},[e,t]),n.current},Y3=(e,t,n,r)=>e.getFixedT(t,n,r),sQ=(e,t,n,r)=>E.useCallback(Y3(e,t,n,r),[e,t,n,r]),Ft=(e,t={})=>{var N,O,C,_;const{i18n:n}=t,{i18n:r,defaultNS:a}=E.useContext(aQ)||{},o=n||r||nQ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new oQ),!o){Ck(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const P=(L,H)=>gi(H)?H:YZ(H)&&gi(H.defaultValue)?H.defaultValue:Array.isArray(L)?L[L.length-1]:L,I=[P,{},!1];return I.t=P,I.i18n={},I.ready=!1,I}(N=o.options.react)!=null&&N.wait&&Ck(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...eQ(),...o.options.react,...t},{useSuspense:l,keyPrefix:c}=s;let d=a||((O=o.options)==null?void 0:O.defaultNS);d=gi(d)?[d]:d||["translation"],(_=(C=o.reportNamespaces).addUsedNamespaces)==null||_.call(C,d);const p=(o.isInitialized||o.initializedStoreOnce)&&d.every(P=>WZ(P,o,s)),g=sQ(o,t.lng||null,s.nsMode==="fallback"?d:d[0],c),m=()=>g,b=()=>Y3(o,t.lng||null,s.nsMode==="fallback"?d:d[0],c),[y,S]=E.useState(m);let k=d.join();t.lng&&(k=`${t.lng}${k}`);const R=iQ(k),x=E.useRef(!0);E.useEffect(()=>{const{bindI18n:P,bindI18nStore:I}=s;x.current=!0,!p&&!l&&(t.lng?oN(o,t.lng,d,()=>{x.current&&S(b)}):_k(o,d,()=>{x.current&&S(b)})),p&&R&&R!==k&&x.current&&S(b);const L=()=>{x.current&&S(b)};return P&&(o==null||o.on(P,L)),I&&(o==null||o.store.on(I,L)),()=>{x.current=!1,o&&(P==null||P.split(" ").forEach(H=>o.off(H,L))),I&&o&&I.split(" ").forEach(H=>o.store.off(H,L))}},[o,k]),E.useEffect(()=>{x.current&&p&&S(m)},[o,c,p]);const A=[y,o,p];if(A.t=y,A.i18n=o,A.ready=p,p||!p&&!l)return A;throw new Promise(P=>{t.lng?oN(o,t.lng,d,()=>P()):_k(o,d,()=>P())})},lQ=({status:e})=>{const{t}=Ft();return e?w.jsxs("div",{className:"min-w-[300px] space-y-3 text-sm",children:[w.jsxs("div",{className:"space-y-1",children:[w.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.storageInfo")}),w.jsxs("div",{className:"text-muted-foreground grid grid-cols-2 gap-1",children:[w.jsxs("span",{children:[t("graphPanel.statusCard.workingDirectory"),":"]}),w.jsx("span",{className:"truncate",children:e.working_directory}),w.jsxs("span",{children:[t("graphPanel.statusCard.inputDirectory"),":"]}),w.jsx("span",{className:"truncate",children:e.input_directory})]})]}),w.jsxs("div",{className:"space-y-1",children:[w.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.llmConfig")}),w.jsxs("div",{className:"text-muted-foreground grid grid-cols-2 gap-1",children:[w.jsxs("span",{children:[t("graphPanel.statusCard.llmBinding"),":"]}),w.jsx("span",{children:e.configuration.llm_binding}),w.jsxs("span",{children:[t("graphPanel.statusCard.llmBindingHost"),":"]}),w.jsx("span",{children:e.configuration.llm_binding_host}),w.jsxs("span",{children:[t("graphPanel.statusCard.llmModel"),":"]}),w.jsx("span",{children:e.configuration.llm_model}),w.jsxs("span",{children:[t("graphPanel.statusCard.maxTokens"),":"]}),w.jsx("span",{children:e.configuration.max_tokens})]})]}),w.jsxs("div",{className:"space-y-1",children:[w.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.embeddingConfig")}),w.jsxs("div",{className:"text-muted-foreground grid grid-cols-2 gap-1",children:[w.jsxs("span",{children:[t("graphPanel.statusCard.embeddingBinding"),":"]}),w.jsx("span",{children:e.configuration.embedding_binding}),w.jsxs("span",{children:[t("graphPanel.statusCard.embeddingBindingHost"),":"]}),w.jsx("span",{children:e.configuration.embedding_binding_host}),w.jsxs("span",{children:[t("graphPanel.statusCard.embeddingModel"),":"]}),w.jsx("span",{children:e.configuration.embedding_model})]})]}),w.jsxs("div",{className:"space-y-1",children:[w.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.storageConfig")}),w.jsxs("div",{className:"text-muted-foreground grid grid-cols-2 gap-1",children:[w.jsxs("span",{children:[t("graphPanel.statusCard.kvStorage"),":"]}),w.jsx("span",{children:e.configuration.kv_storage}),w.jsxs("span",{children:[t("graphPanel.statusCard.docStatusStorage"),":"]}),w.jsx("span",{children:e.configuration.doc_status_storage}),w.jsxs("span",{children:[t("graphPanel.statusCard.graphStorage"),":"]}),w.jsx("span",{children:e.configuration.graph_storage}),w.jsxs("span",{children:[t("graphPanel.statusCard.vectorStorage"),":"]}),w.jsx("span",{children:e.configuration.vector_storage})]})]})]}):w.jsx("div",{className:"text-muted-foreground text-sm",children:t("graphPanel.statusCard.unavailable")})},uQ=()=>{const{t:e}=Ft(),t=Hn.use.health(),n=Hn.use.lastCheckTime(),r=Hn.use.status(),[a,o]=E.useState(!1);return E.useEffect(()=>{o(!0);const s=setTimeout(()=>o(!1),300);return()=>clearTimeout(s)},[n]),w.jsx("div",{className:"fixed right-4 bottom-4 flex items-center gap-2 opacity-80 select-none",children:w.jsxs(Ku,{children:[w.jsx(Xu,{asChild:!0,children:w.jsxs("div",{className:"flex cursor-help items-center gap-2",children:[w.jsx("div",{className:Pe("h-3 w-3 rounded-full transition-all duration-300","shadow-[0_0_8px_rgba(0,0,0,0.2)]",t?"bg-green-500":"bg-red-500",a&&"scale-125",a&&t&&"shadow-[0_0_12px_rgba(34,197,94,0.4)]",a&&!t&&"shadow-[0_0_12px_rgba(239,68,68,0.4)]")}),w.jsx("span",{className:"text-muted-foreground text-xs",children:e(t?"graphPanel.statusIndicator.connected":"graphPanel.statusIndicator.disconnected")})]})}),w.jsx(Ys,{className:"w-auto",side:"top",align:"end",children:w.jsx(lQ,{status:r})})]})})};function Ok(e,[t,n]){return Math.min(n,Math.max(t,e))}function K3(e){const t=e+"CollectionProvider",[n,r]=wr(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=b=>{const{scope:y,children:S}=b,k=ye.useRef(null),R=ye.useRef(new Map).current;return w.jsx(a,{scope:y,itemMap:R,collectionRef:k,children:S})};s.displayName=t;const l=e+"CollectionSlot",c=ye.forwardRef((b,y)=>{const{scope:S,children:k}=b,R=o(l,S),x=gt(y,R.collectionRef);return w.jsx(_o,{ref:x,children:k})});c.displayName=l;const d=e+"CollectionItemSlot",p="data-radix-collection-item",g=ye.forwardRef((b,y)=>{const{scope:S,children:k,...R}=b,x=ye.useRef(null),A=gt(y,x),N=o(d,S);return ye.useEffect(()=>(N.itemMap.set(x,{ref:x,...R}),()=>void N.itemMap.delete(x))),w.jsx(_o,{[p]:"",ref:A,children:k})});g.displayName=d;function m(b){const y=o(e+"CollectionConsumer",b);return ye.useCallback(()=>{const k=y.collectionRef.current;if(!k)return[];const R=Array.from(k.querySelectorAll(`[${p}]`));return Array.from(y.itemMap.values()).sort((N,O)=>R.indexOf(N.ref.current)-R.indexOf(O.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:s,Slot:c,ItemSlot:g},m,r]}var cQ=E.createContext(void 0);function hp(e){const t=E.useContext(cQ);return e||t||"ltr"}function X3(e){const t=E.useRef({value:e,previous:e});return E.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var dQ=[" ","Enter","ArrowUp","ArrowDown"],fQ=[" ","Enter"],Zu="Select",[mp,bp,pQ]=K3(Zu),[Ks,Xxe]=wr(Zu,[pQ,Ws]),yp=Ws(),[gQ,Io]=Ks(Zu),[hQ,mQ]=Ks(Zu),Z3=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:a,onOpenChange:o,value:s,defaultValue:l,onValueChange:c,dir:d,name:p,autoComplete:g,disabled:m,required:b,form:y}=e,S=yp(t),[k,R]=E.useState(null),[x,A]=E.useState(null),[N,O]=E.useState(!1),C=hp(d),[_=!1,P]=ja({prop:r,defaultProp:a,onChange:o}),[I,L]=ja({prop:s,defaultProp:l,onChange:c}),H=E.useRef(null),$=k?y||!!k.closest("form"):!0,[U,W]=E.useState(new Set),Z=Array.from(U).map(j=>j.props.value).join(";");return w.jsx(rT,{...S,children:w.jsxs(gQ,{required:b,scope:t,trigger:k,onTriggerChange:R,valueNode:x,onValueNodeChange:A,valueNodeHasChildren:N,onValueNodeHasChildrenChange:O,contentId:An(),value:I,onValueChange:L,open:_,onOpenChange:P,dir:C,triggerPointerDownPosRef:H,disabled:m,children:[w.jsx(mp.Provider,{scope:t,children:w.jsx(hQ,{scope:e.__scopeSelect,onNativeOptionAdd:E.useCallback(j=>{W(G=>new Set(G).add(j))},[]),onNativeOptionRemove:E.useCallback(j=>{W(G=>{const z=new Set(G);return z.delete(j),z})},[]),children:n})}),$?w.jsxs(xj,{"aria-hidden":!0,required:b,tabIndex:-1,name:p,autoComplete:g,value:I,onChange:j=>L(j.target.value),disabled:m,form:y,children:[I===void 0?w.jsx("option",{value:""}):null,Array.from(U)]},Z):null]})})};Z3.displayName=Zu;var Q3="SelectTrigger",J3=E.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...a}=e,o=yp(n),s=Io(Q3,n),l=s.disabled||r,c=gt(t,s.onTriggerChange),d=bp(n),p=E.useRef("touch"),[g,m,b]=kj(S=>{const k=d().filter(A=>!A.disabled),R=k.find(A=>A.value===s.value),x=Tj(k,S,R);x!==void 0&&s.onValueChange(x.value)}),y=S=>{l||(s.onOpenChange(!0),b()),S&&(s.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return w.jsx(cp,{asChild:!0,...o,children:w.jsx(Ze.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":wj(s.value)?"":void 0,...a,ref:c,onClick:Ke(a.onClick,S=>{S.currentTarget.focus(),p.current!=="mouse"&&y(S)}),onPointerDown:Ke(a.onPointerDown,S=>{p.current=S.pointerType;const k=S.target;k.hasPointerCapture(S.pointerId)&&k.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(y(S),S.preventDefault())}),onKeyDown:Ke(a.onKeyDown,S=>{const k=g.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&m(S.key),!(k&&S.key===" ")&&dQ.includes(S.key)&&(y(),S.preventDefault())})})})});J3.displayName=Q3;var ej="SelectValue",tj=E.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:a,children:o,placeholder:s="",...l}=e,c=Io(ej,n),{onValueNodeHasChildrenChange:d}=c,p=o!==void 0,g=gt(t,c.onValueNodeChange);return Rn(()=>{d(p)},[d,p]),w.jsx(Ze.span,{...l,ref:g,style:{pointerEvents:"none"},children:wj(c.value)?w.jsx(w.Fragment,{children:s}):o})});tj.displayName=ej;var bQ="SelectIcon",nj=E.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...a}=e;return w.jsx(Ze.span,{"aria-hidden":!0,...a,ref:t,children:r||"▼"})});nj.displayName=bQ;var yQ="SelectPortal",rj=e=>w.jsx(P0,{asChild:!0,...e});rj.displayName=yQ;var yi="SelectContent",aj=E.forwardRef((e,t)=>{const n=Io(yi,e.__scopeSelect),[r,a]=E.useState();if(Rn(()=>{a(new DocumentFragment)},[]),!n.open){const o=r;return o?Hu.createPortal(w.jsx(oj,{scope:e.__scopeSelect,children:w.jsx(mp.Slot,{scope:e.__scopeSelect,children:w.jsx("div",{children:e.children})})}),o):null}return w.jsx(ij,{...e,ref:t})});aj.displayName=yi;var Lr=10,[oj,Lo]=Ks(yi),vQ="SelectContentImpl",ij=E.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:o,onPointerDownOutside:s,side:l,sideOffset:c,align:d,alignOffset:p,arrowPadding:g,collisionBoundary:m,collisionPadding:b,sticky:y,hideWhenDetached:S,avoidCollisions:k,...R}=e,x=Io(yi,n),[A,N]=E.useState(null),[O,C]=E.useState(null),_=gt(t,J=>N(J)),[P,I]=E.useState(null),[L,H]=E.useState(null),$=bp(n),[U,W]=E.useState(!1),Z=E.useRef(!1);E.useEffect(()=>{if(A)return z0(A)},[A]),F0();const j=E.useCallback(J=>{const[ae,...ke]=$().map(ve=>ve.ref.current),[ie]=ke.slice(-1),Se=document.activeElement;for(const ve of J)if(ve===Se||(ve==null||ve.scrollIntoView({block:"nearest"}),ve===ae&&O&&(O.scrollTop=0),ve===ie&&O&&(O.scrollTop=O.scrollHeight),ve==null||ve.focus(),document.activeElement!==Se))return},[$,O]),G=E.useCallback(()=>j([P,A]),[j,P,A]);E.useEffect(()=>{U&&G()},[U,G]);const{onOpenChange:z,triggerPointerDownPosRef:Y}=x;E.useEffect(()=>{if(A){let J={x:0,y:0};const ae=ie=>{var Se,ve;J={x:Math.abs(Math.round(ie.pageX)-(((Se=Y.current)==null?void 0:Se.x)??0)),y:Math.abs(Math.round(ie.pageY)-(((ve=Y.current)==null?void 0:ve.y)??0))}},ke=ie=>{J.x<=10&&J.y<=10?ie.preventDefault():A.contains(ie.target)||z(!1),document.removeEventListener("pointermove",ae),Y.current=null};return Y.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",ke,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",ke,{capture:!0})}}},[A,z,Y]),E.useEffect(()=>{const J=()=>z(!1);return window.addEventListener("blur",J),window.addEventListener("resize",J),()=>{window.removeEventListener("blur",J),window.removeEventListener("resize",J)}},[z]);const[D,V]=kj(J=>{const ae=$().filter(Se=>!Se.disabled),ke=ae.find(Se=>Se.ref.current===document.activeElement),ie=Tj(ae,J,ke);ie&&setTimeout(()=>ie.ref.current.focus())}),B=E.useCallback((J,ae,ke)=>{const ie=!Z.current&&!ke;(x.value!==void 0&&x.value===ae||ie)&&(I(J),ie&&(Z.current=!0))},[x.value]),M=E.useCallback(()=>A==null?void 0:A.focus(),[A]),K=E.useCallback((J,ae,ke)=>{const ie=!Z.current&&!ke;(x.value!==void 0&&x.value===ae||ie)&&H(J)},[x.value]),ee=r==="popper"?Dk:sj,Q=ee===Dk?{side:l,sideOffset:c,align:d,alignOffset:p,arrowPadding:g,collisionBoundary:m,collisionPadding:b,sticky:y,hideWhenDetached:S,avoidCollisions:k}:{};return w.jsx(oj,{scope:n,content:A,viewport:O,onViewportChange:C,itemRefCallback:B,selectedItem:P,onItemLeave:M,itemTextRefCallback:K,focusSelectedItem:G,selectedItemText:L,position:r,isPositioned:U,searchRef:D,children:w.jsx(ap,{as:_o,allowPinchZoom:!0,children:w.jsx(np,{asChild:!0,trapped:x.open,onMountAutoFocus:J=>{J.preventDefault()},onUnmountAutoFocus:Ke(a,J=>{var ae;(ae=x.trigger)==null||ae.focus({preventScroll:!0}),J.preventDefault()}),children:w.jsx(Vu,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:J=>J.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:w.jsx(ee,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:J=>J.preventDefault(),...R,...Q,onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:Ke(R.onKeyDown,J=>{const ae=J.ctrlKey||J.altKey||J.metaKey;if(J.key==="Tab"&&J.preventDefault(),!ae&&J.key.length===1&&V(J.key),["ArrowUp","ArrowDown","Home","End"].includes(J.key)){let ie=$().filter(Se=>!Se.disabled).map(Se=>Se.ref.current);if(["ArrowUp","End"].includes(J.key)&&(ie=ie.slice().reverse()),["ArrowUp","ArrowDown"].includes(J.key)){const Se=J.target,ve=ie.indexOf(Se);ie=ie.slice(ve+1)}setTimeout(()=>j(ie)),J.preventDefault()}})})})})})})});ij.displayName=vQ;var SQ="SelectItemAlignedPosition",sj=E.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...a}=e,o=Io(yi,n),s=Lo(yi,n),[l,c]=E.useState(null),[d,p]=E.useState(null),g=gt(t,_=>p(_)),m=bp(n),b=E.useRef(!1),y=E.useRef(!0),{viewport:S,selectedItem:k,selectedItemText:R,focusSelectedItem:x}=s,A=E.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&d&&S&&k&&R){const _=o.trigger.getBoundingClientRect(),P=d.getBoundingClientRect(),I=o.valueNode.getBoundingClientRect(),L=R.getBoundingClientRect();if(o.dir!=="rtl"){const Se=L.left-P.left,ve=I.left-Se,Ie=_.left-ve,Ce=_.width+Ie,Ee=Math.max(Ce,P.width),te=window.innerWidth-Lr,fe=Ok(ve,[Lr,Math.max(Lr,te-Ee)]);l.style.minWidth=Ce+"px",l.style.left=fe+"px"}else{const Se=P.right-L.right,ve=window.innerWidth-I.right-Se,Ie=window.innerWidth-_.right-ve,Ce=_.width+Ie,Ee=Math.max(Ce,P.width),te=window.innerWidth-Lr,fe=Ok(ve,[Lr,Math.max(Lr,te-Ee)]);l.style.minWidth=Ce+"px",l.style.right=fe+"px"}const H=m(),$=window.innerHeight-Lr*2,U=S.scrollHeight,W=window.getComputedStyle(d),Z=parseInt(W.borderTopWidth,10),j=parseInt(W.paddingTop,10),G=parseInt(W.borderBottomWidth,10),z=parseInt(W.paddingBottom,10),Y=Z+j+U+z+G,D=Math.min(k.offsetHeight*5,Y),V=window.getComputedStyle(S),B=parseInt(V.paddingTop,10),M=parseInt(V.paddingBottom,10),K=_.top+_.height/2-Lr,ee=$-K,Q=k.offsetHeight/2,J=k.offsetTop+Q,ae=Z+j+J,ke=Y-ae;if(ae<=K){const Se=H.length>0&&k===H[H.length-1].ref.current;l.style.bottom="0px";const ve=d.clientHeight-S.offsetTop-S.offsetHeight,Ie=Math.max(ee,Q+(Se?M:0)+ve+G),Ce=ae+Ie;l.style.height=Ce+"px"}else{const Se=H.length>0&&k===H[0].ref.current;l.style.top="0px";const Ie=Math.max(K,Z+S.offsetTop+(Se?B:0)+Q)+ke;l.style.height=Ie+"px",S.scrollTop=ae-K+S.offsetTop}l.style.margin=`${Lr}px 0`,l.style.minHeight=D+"px",l.style.maxHeight=$+"px",r==null||r(),requestAnimationFrame(()=>b.current=!0)}},[m,o.trigger,o.valueNode,l,d,S,k,R,o.dir,r]);Rn(()=>A(),[A]);const[N,O]=E.useState();Rn(()=>{d&&O(window.getComputedStyle(d).zIndex)},[d]);const C=E.useCallback(_=>{_&&y.current===!0&&(A(),x==null||x(),y.current=!1)},[A,x]);return w.jsx(wQ,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:b,onScrollButtonChange:C,children:w.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:N},children:w.jsx(Ze.div,{...a,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});sj.displayName=SQ;var EQ="SelectPopperPosition",Dk=E.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:a=Lr,...o}=e,s=yp(n);return w.jsx(aT,{...s,...o,ref:t,align:r,collisionPadding:a,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Dk.displayName=EQ;var[wQ,cT]=Ks(yi,{}),Ik="SelectViewport",lj=E.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...a}=e,o=Lo(Ik,n),s=cT(Ik,n),l=gt(t,o.onViewportChange),c=E.useRef(0);return w.jsxs(w.Fragment,{children:[w.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),w.jsx(mp.Slot,{scope:n,children:w.jsx(Ze.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:Ke(a.onScroll,d=>{const p=d.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:m}=s;if(m!=null&&m.current&&g){const b=Math.abs(c.current-p.scrollTop);if(b>0){const y=window.innerHeight-Lr*2,S=parseFloat(g.style.minHeight),k=parseFloat(g.style.height),R=Math.max(S,k);if(R<y){const x=R+b,A=Math.min(y,x),N=x-A;g.style.height=A+"px",g.style.bottom==="0px"&&(p.scrollTop=N>0?N:0,g.style.justifyContent="flex-end")}}}c.current=p.scrollTop})})})]})});lj.displayName=Ik;var uj="SelectGroup",[xQ,kQ]=Ks(uj),cj=E.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=An();return w.jsx(xQ,{scope:n,id:a,children:w.jsx(Ze.div,{role:"group","aria-labelledby":a,...r,ref:t})})});cj.displayName=uj;var dj="SelectLabel",fj=E.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=kQ(dj,n);return w.jsx(Ze.div,{id:a.id,...r,ref:t})});fj.displayName=dj;var wf="SelectItem",[TQ,pj]=Ks(wf),gj=E.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:a=!1,textValue:o,...s}=e,l=Io(wf,n),c=Lo(wf,n),d=l.value===r,[p,g]=E.useState(o??""),[m,b]=E.useState(!1),y=gt(t,x=>{var A;return(A=c.itemRefCallback)==null?void 0:A.call(c,x,r,a)}),S=An(),k=E.useRef("touch"),R=()=>{a||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return w.jsx(TQ,{scope:n,value:r,disabled:a,textId:S,isSelected:d,onItemTextChange:E.useCallback(x=>{g(A=>A||((x==null?void 0:x.textContent)??"").trim())},[]),children:w.jsx(mp.ItemSlot,{scope:n,value:r,disabled:a,textValue:p,children:w.jsx(Ze.div,{role:"option","aria-labelledby":S,"data-highlighted":m?"":void 0,"aria-selected":d&&m,"data-state":d?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...s,ref:y,onFocus:Ke(s.onFocus,()=>b(!0)),onBlur:Ke(s.onBlur,()=>b(!1)),onClick:Ke(s.onClick,()=>{k.current!=="mouse"&&R()}),onPointerUp:Ke(s.onPointerUp,()=>{k.current==="mouse"&&R()}),onPointerDown:Ke(s.onPointerDown,x=>{k.current=x.pointerType}),onPointerMove:Ke(s.onPointerMove,x=>{var A;k.current=x.pointerType,a?(A=c.onItemLeave)==null||A.call(c):k.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Ke(s.onPointerLeave,x=>{var A;x.currentTarget===document.activeElement&&((A=c.onItemLeave)==null||A.call(c))}),onKeyDown:Ke(s.onKeyDown,x=>{var N;((N=c.searchRef)==null?void 0:N.current)!==""&&x.key===" "||(fQ.includes(x.key)&&R(),x.key===" "&&x.preventDefault())})})})})});gj.displayName=wf;var pu="SelectItemText",hj=E.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:a,...o}=e,s=Io(pu,n),l=Lo(pu,n),c=pj(pu,n),d=mQ(pu,n),[p,g]=E.useState(null),m=gt(t,R=>g(R),c.onItemTextChange,R=>{var x;return(x=l.itemTextRefCallback)==null?void 0:x.call(l,R,c.value,c.disabled)}),b=p==null?void 0:p.textContent,y=E.useMemo(()=>w.jsx("option",{value:c.value,disabled:c.disabled,children:b},c.value),[c.disabled,c.value,b]),{onNativeOptionAdd:S,onNativeOptionRemove:k}=d;return Rn(()=>(S(y),()=>k(y)),[S,k,y]),w.jsxs(w.Fragment,{children:[w.jsx(Ze.span,{id:c.textId,...o,ref:m}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?Hu.createPortal(o.children,s.valueNode):null]})});hj.displayName=pu;var mj="SelectItemIndicator",bj=E.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return pj(mj,n).isSelected?w.jsx(Ze.span,{"aria-hidden":!0,...r,ref:t}):null});bj.displayName=mj;var Lk="SelectScrollUpButton",yj=E.forwardRef((e,t)=>{const n=Lo(Lk,e.__scopeSelect),r=cT(Lk,e.__scopeSelect),[a,o]=E.useState(!1),s=gt(t,r.onScrollButtonChange);return Rn(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollTop>0;o(d)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),a?w.jsx(Sj,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});yj.displayName=Lk;var Mk="SelectScrollDownButton",vj=E.forwardRef((e,t)=>{const n=Lo(Mk,e.__scopeSelect),r=cT(Mk,e.__scopeSelect),[a,o]=E.useState(!1),s=gt(t,r.onScrollButtonChange);return Rn(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollHeight-c.clientHeight,p=Math.ceil(c.scrollTop)<d;o(p)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),a?w.jsx(Sj,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});vj.displayName=Mk;var Sj=E.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...a}=e,o=Lo("SelectScrollButton",n),s=E.useRef(null),l=bp(n),c=E.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return E.useEffect(()=>()=>c(),[c]),Rn(()=>{var p;const d=l().find(g=>g.ref.current===document.activeElement);(p=d==null?void 0:d.ref.current)==null||p.scrollIntoView({block:"nearest"})},[l]),w.jsx(Ze.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:Ke(a.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(r,50))}),onPointerMove:Ke(a.onPointerMove,()=>{var d;(d=o.onItemLeave)==null||d.call(o),s.current===null&&(s.current=window.setInterval(r,50))}),onPointerLeave:Ke(a.onPointerLeave,()=>{c()})})}),AQ="SelectSeparator",Ej=E.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return w.jsx(Ze.div,{"aria-hidden":!0,...r,ref:t})});Ej.displayName=AQ;var Pk="SelectArrow",RQ=E.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=yp(n),o=Io(Pk,n),s=Lo(Pk,n);return o.open&&s.position==="popper"?w.jsx(oT,{...a,...r,ref:t}):null});RQ.displayName=Pk;function wj(e){return e===""||e===void 0}var xj=E.forwardRef((e,t)=>{const{value:n,...r}=e,a=E.useRef(null),o=gt(t,a),s=X3(n);return E.useEffect(()=>{const l=a.current,c=window.HTMLSelectElement.prototype,p=Object.getOwnPropertyDescriptor(c,"value").set;if(s!==n&&p){const g=new Event("change",{bubbles:!0});p.call(l,n),l.dispatchEvent(g)}},[s,n]),w.jsx(iT,{asChild:!0,children:w.jsx("select",{...r,ref:o,defaultValue:n})})});xj.displayName="BubbleSelect";function kj(e){const t=yn(e),n=E.useRef(""),r=E.useRef(0),a=E.useCallback(s=>{const l=n.current+s;t(l),function c(d){n.current=d,window.clearTimeout(r.current),d!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),o=E.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return E.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,o]}function Tj(e,t,n){const a=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let s=CQ(e,Math.max(o,0));a.length===1&&(s=s.filter(d=>d!==n));const c=s.find(d=>d.textValue.toLowerCase().startsWith(a.toLowerCase()));return c!==n?c:void 0}function CQ(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var _Q=Z3,Aj=J3,NQ=tj,OQ=nj,DQ=rj,Rj=aj,IQ=lj,LQ=cj,Cj=fj,_j=gj,MQ=hj,PQ=bj,Nj=yj,Oj=vj,Dj=Ej;const xf=_Q,iN=LQ,kf=NQ,Au=E.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(Aj,{ref:r,className:Pe("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,w.jsx(OQ,{asChild:!0,children:w.jsx(L0,{className:"h-4 w-4 opacity-50"})})]}));Au.displayName=Aj.displayName;const Ij=E.forwardRef(({className:e,...t},n)=>w.jsx(Nj,{ref:n,className:Pe("flex cursor-default items-center justify-center py-1",e),...t,children:w.jsx(JB,{className:"h-4 w-4"})}));Ij.displayName=Nj.displayName;const Lj=E.forwardRef(({className:e,...t},n)=>w.jsx(Oj,{ref:n,className:Pe("flex cursor-default items-center justify-center py-1",e),...t,children:w.jsx(L0,{className:"h-4 w-4"})}));Lj.displayName=Oj.displayName;const Ru=E.forwardRef(({className:e,children:t,position:n="popper",...r},a)=>w.jsx(DQ,{children:w.jsxs(Rj,{ref:a,className:Pe("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[w.jsx(Ij,{}),w.jsx(IQ,{className:Pe("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),w.jsx(Lj,{})]})}));Ru.displayName=Rj.displayName;const FQ=E.forwardRef(({className:e,...t},n)=>w.jsx(Cj,{ref:n,className:Pe("py-1.5 pr-2 pl-8 text-sm font-semibold",e),...t}));FQ.displayName=Cj.displayName;const xn=E.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(_j,{ref:r,className:Pe("focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[w.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:w.jsx(PQ,{children:w.jsx(I0,{className:"h-4 w-4"})})}),w.jsx(MQ,{children:t})]}));xn.displayName=_j.displayName;const zQ=E.forwardRef(({className:e,...t},n)=>w.jsx(Dj,{ref:n,className:Pe("bg-muted -mx-1 my-1 h-px",e),...t}));zQ.displayName=Dj.displayName;function Mj({className:e}){const[t,n]=E.useState(!1),{t:r}=Ft(),a=Le.use.language(),o=Le.use.setLanguage(),s=Le.use.theme(),l=Le.use.setTheme(),c=E.useCallback(p=>{o(p)},[o]),d=E.useCallback(p=>{l(p)},[l]);return w.jsxs(Ku,{open:t,onOpenChange:n,children:[w.jsx(Xu,{asChild:!0,children:w.jsx(xt,{variant:"ghost",size:"icon",className:Pe("h-9 w-9",e),children:w.jsx(QW,{className:"h-5 w-5"})})}),w.jsx(Ys,{side:"bottom",align:"end",className:"w-56",children:w.jsxs("div",{className:"flex flex-col gap-4",children:[w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx("label",{className:"text-sm font-medium",children:r("settings.language")}),w.jsxs(xf,{value:a,onValueChange:c,children:[w.jsx(Au,{children:w.jsx(kf,{})}),w.jsxs(Ru,{children:[w.jsx(xn,{value:"en",children:"English"}),w.jsx(xn,{value:"zh",children:"中文"}),w.jsx(xn,{value:"fr",children:"Français"}),w.jsx(xn,{value:"ar",children:"العربية"})]})]})]}),w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx("label",{className:"text-sm font-medium",children:r("settings.theme")}),w.jsxs(xf,{value:s,onValueChange:d,children:[w.jsx(Au,{children:w.jsx(kf,{})}),w.jsxs(Ru,{children:[w.jsx(xn,{value:"light",children:r("settings.light")}),w.jsx(xn,{value:"dark",children:r("settings.dark")}),w.jsx(xn,{value:"system",children:r("settings.system")})]})]})]})]})})]})}var fm="rovingFocusGroup.onEntryFocus",BQ={bubbles:!1,cancelable:!0},vp="RovingFocusGroup",[Fk,Pj,UQ]=K3(vp),[jQ,Fj]=wr(vp,[UQ]),[GQ,HQ]=jQ(vp),zj=E.forwardRef((e,t)=>w.jsx(Fk.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Fk.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx($Q,{...e,ref:t})})}));zj.displayName=vp;var $Q=E.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:d,preventScrollOnEntryFocus:p=!1,...g}=e,m=E.useRef(null),b=gt(t,m),y=hp(o),[S=null,k]=ja({prop:s,defaultProp:l,onChange:c}),[R,x]=E.useState(!1),A=yn(d),N=Pj(n),O=E.useRef(!1),[C,_]=E.useState(0);return E.useEffect(()=>{const P=m.current;if(P)return P.addEventListener(fm,A),()=>P.removeEventListener(fm,A)},[A]),w.jsx(GQ,{scope:n,orientation:r,dir:y,loop:a,currentTabStopId:S,onItemFocus:E.useCallback(P=>k(P),[k]),onItemShiftTab:E.useCallback(()=>x(!0),[]),onFocusableItemAdd:E.useCallback(()=>_(P=>P+1),[]),onFocusableItemRemove:E.useCallback(()=>_(P=>P-1),[]),children:w.jsx(Ze.div,{tabIndex:R||C===0?-1:0,"data-orientation":r,...g,ref:b,style:{outline:"none",...e.style},onMouseDown:Ke(e.onMouseDown,()=>{O.current=!0}),onFocus:Ke(e.onFocus,P=>{const I=!O.current;if(P.target===P.currentTarget&&I&&!R){const L=new CustomEvent(fm,BQ);if(P.currentTarget.dispatchEvent(L),!L.defaultPrevented){const H=N().filter(j=>j.focusable),$=H.find(j=>j.active),U=H.find(j=>j.id===S),Z=[$,U,...H].filter(Boolean).map(j=>j.ref.current);jj(Z,p)}}O.current=!1}),onBlur:Ke(e.onBlur,()=>x(!1))})})}),Bj="RovingFocusGroupItem",Uj=E.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...s}=e,l=An(),c=o||l,d=HQ(Bj,n),p=d.currentTabStopId===c,g=Pj(n),{onFocusableItemAdd:m,onFocusableItemRemove:b}=d;return E.useEffect(()=>{if(r)return m(),()=>b()},[r,m,b]),w.jsx(Fk.ItemSlot,{scope:n,id:c,focusable:r,active:a,children:w.jsx(Ze.span,{tabIndex:p?0:-1,"data-orientation":d.orientation,...s,ref:t,onMouseDown:Ke(e.onMouseDown,y=>{r?d.onItemFocus(c):y.preventDefault()}),onFocus:Ke(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:Ke(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){d.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const S=WQ(y,d.orientation,d.dir);if(S!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let R=g().filter(x=>x.focusable).map(x=>x.ref.current);if(S==="last")R.reverse();else if(S==="prev"||S==="next"){S==="prev"&&R.reverse();const x=R.indexOf(y.currentTarget);R=d.loop?YQ(R,x+1):R.slice(x+1)}setTimeout(()=>jj(R))}})})})});Uj.displayName=Bj;var qQ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function VQ(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function WQ(e,t,n){const r=VQ(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return qQ[r]}function jj(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function YQ(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var KQ=zj,XQ=Uj,dT="Tabs",[ZQ,Zxe]=wr(dT,[Fj]),Gj=Fj(),[QQ,fT]=ZQ(dT),Hj=E.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:s="horizontal",dir:l,activationMode:c="automatic",...d}=e,p=hp(l),[g,m]=ja({prop:r,onChange:a,defaultProp:o});return w.jsx(QQ,{scope:n,baseId:An(),value:g,onValueChange:m,orientation:s,dir:p,activationMode:c,children:w.jsx(Ze.div,{dir:p,"data-orientation":s,...d,ref:t})})});Hj.displayName=dT;var $j="TabsList",qj=E.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=fT($j,n),s=Gj(n);return w.jsx(KQ,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:w.jsx(Ze.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});qj.displayName=$j;var Vj="TabsTrigger",Wj=E.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,s=fT(Vj,n),l=Gj(n),c=Xj(s.baseId,r),d=Zj(s.baseId,r),p=r===s.value;return w.jsx(XQ,{asChild:!0,...l,focusable:!a,active:p,children:w.jsx(Ze.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":d,"data-state":p?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:c,...o,ref:t,onMouseDown:Ke(e.onMouseDown,g=>{!a&&g.button===0&&g.ctrlKey===!1?s.onValueChange(r):g.preventDefault()}),onKeyDown:Ke(e.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&s.onValueChange(r)}),onFocus:Ke(e.onFocus,()=>{const g=s.activationMode!=="manual";!p&&!a&&g&&s.onValueChange(r)})})})});Wj.displayName=Vj;var Yj="TabsContent",Kj=E.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...s}=e,l=fT(Yj,n),c=Xj(l.baseId,r),d=Zj(l.baseId,r),p=r===l.value,g=E.useRef(p);return E.useEffect(()=>{const m=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(m)},[]),w.jsx(xr,{present:a||p,children:({present:m})=>w.jsx(Ze.div,{"data-state":p?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!m,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:g.current?"0s":void 0},children:m&&o})})});Kj.displayName=Yj;function Xj(e,t){return`${e}-trigger-${t}`}function Zj(e,t){return`${e}-content-${t}`}var JQ=Hj,Qj=qj,Jj=Wj,e4=Kj;const eJ=JQ,t4=E.forwardRef(({className:e,...t},n)=>w.jsx(Qj,{ref:n,className:Pe("bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",e),...t}));t4.displayName=Qj.displayName;const n4=E.forwardRef(({className:e,...t},n)=>w.jsx(Jj,{ref:n,className:Pe("ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",e),...t}));n4.displayName=Jj.displayName;const gu=E.forwardRef(({className:e,...t},n)=>w.jsx(e4,{ref:n,className:Pe("ring-offset-background focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none","data-[state=inactive]:invisible data-[state=active]:visible","h-full w-full",e),forceMount:!0,...t}));gu.displayName=e4.displayName;function Td({value:e,currentTab:t,children:n}){return w.jsx(n4,{value:e,className:Pe("cursor-pointer px-2 py-1 transition-all",t===e?"!bg-emerald-400 !text-zinc-50":"hover:bg-background/60"),children:n})}function tJ(){const e=Le.use.currentTab(),{t}=Ft();return w.jsx("div",{className:"flex h-8 self-center",children:w.jsxs(t4,{className:"h-full gap-2",children:[w.jsx(Td,{value:"documents",currentTab:e,children:t("header.documents")}),w.jsx(Td,{value:"knowledge-graph",currentTab:e,children:t("header.knowledgeGraph")}),w.jsx(Td,{value:"retrieval",currentTab:e,children:t("header.retrieval")}),w.jsx(Td,{value:"api",currentTab:e,children:t("header.api")})]})})}function nJ(){const{t:e}=Ft(),{isGuestMode:t,coreVersion:n,apiVersion:r}=na(),a=n&&r?`${n}/${r}`:null,o=()=>{xu.navigateToLogin()};return w.jsxs("header",{className:"border-border/40 bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-50 flex h-10 w-full border-b px-4 backdrop-blur",children:[w.jsxs("a",{href:cV,className:"mr-6 flex items-center gap-2",children:[w.jsx(aU,{className:"size-4 text-emerald-400","aria-hidden":"true"}),w.jsx("span",{className:"font-bold md:inline-block",children:O_.name}),a&&w.jsxs("span",{className:"ml-2 text-xs text-gray-500 dark:text-gray-400",children:["v",a]})]}),w.jsxs("div",{className:"flex h-10 flex-1 justify-center",children:[w.jsx(tJ,{}),t&&w.jsx("div",{className:"ml-2 self-center px-2 py-1 text-xs bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200 rounded-md",children:e("login.guestMode","Guest Mode")})]}),w.jsx("nav",{className:"flex items-center",children:w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(xt,{variant:"ghost",size:"icon",side:"bottom",tooltip:e("header.projectRepository"),children:w.jsx("a",{href:O_.github,target:"_blank",rel:"noopener noreferrer",children:w.jsx(BW,{className:"size-4","aria-hidden":"true"})})}),w.jsx(Mj,{}),!t&&w.jsx(xt,{variant:"ghost",size:"icon",side:"bottom",tooltip:e("header.logout"),onClick:o,children:w.jsx(VW,{className:"size-4","aria-hidden":"true"})})]})})]})}var Ad={exports:{}},sN;function rJ(){if(sN)return Ad.exports;sN=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(O,C,_){return Function.prototype.apply.call(O,C,_)},n;e&&typeof e.ownKeys=="function"?n=e.ownKeys:Object.getOwnPropertySymbols?n=function(O){return Object.getOwnPropertyNames(O).concat(Object.getOwnPropertySymbols(O))}:n=function(O){return Object.getOwnPropertyNames(O)};function r(N){console&&console.warn&&console.warn(N)}var a=Number.isNaN||function(O){return O!==O};function o(){o.init.call(this)}Ad.exports=o,Ad.exports.once=R,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function l(N){if(typeof N!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof N)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(N){if(typeof N!="number"||N<0||a(N))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+N+".");s=N}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(O){if(typeof O!="number"||O<0||a(O))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+O+".");return this._maxListeners=O,this};function c(N){return N._maxListeners===void 0?o.defaultMaxListeners:N._maxListeners}o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(O){for(var C=[],_=1;_<arguments.length;_++)C.push(arguments[_]);var P=O==="error",I=this._events;if(I!==void 0)P=P&&I.error===void 0;else if(!P)return!1;if(P){var L;if(C.length>0&&(L=C[0]),L instanceof Error)throw L;var H=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw H.context=L,H}var $=I[O];if($===void 0)return!1;if(typeof $=="function")t($,this,C);else for(var U=$.length,W=y($,U),_=0;_<U;++_)t(W[_],this,C);return!0};function d(N,O,C,_){var P,I,L;if(l(C),I=N._events,I===void 0?(I=N._events=Object.create(null),N._eventsCount=0):(I.newListener!==void 0&&(N.emit("newListener",O,C.listener?C.listener:C),I=N._events),L=I[O]),L===void 0)L=I[O]=C,++N._eventsCount;else if(typeof L=="function"?L=I[O]=_?[C,L]:[L,C]:_?L.unshift(C):L.push(C),P=c(N),P>0&&L.length>P&&!L.warned){L.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+L.length+" "+String(O)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=N,H.type=O,H.count=L.length,r(H)}return N}o.prototype.addListener=function(O,C){return d(this,O,C,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(O,C){return d(this,O,C,!0)};function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(N,O,C){var _={fired:!1,wrapFn:void 0,target:N,type:O,listener:C},P=p.bind(_);return P.listener=C,_.wrapFn=P,P}o.prototype.once=function(O,C){return l(C),this.on(O,g(this,O,C)),this},o.prototype.prependOnceListener=function(O,C){return l(C),this.prependListener(O,g(this,O,C)),this},o.prototype.removeListener=function(O,C){var _,P,I,L,H;if(l(C),P=this._events,P===void 0)return this;if(_=P[O],_===void 0)return this;if(_===C||_.listener===C)--this._eventsCount===0?this._events=Object.create(null):(delete P[O],P.removeListener&&this.emit("removeListener",O,_.listener||C));else if(typeof _!="function"){for(I=-1,L=_.length-1;L>=0;L--)if(_[L]===C||_[L].listener===C){H=_[L].listener,I=L;break}if(I<0)return this;I===0?_.shift():S(_,I),_.length===1&&(P[O]=_[0]),P.removeListener!==void 0&&this.emit("removeListener",O,H||C)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(O){var C,_,P;if(_=this._events,_===void 0)return this;if(_.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_[O]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _[O]),this;if(arguments.length===0){var I=Object.keys(_),L;for(P=0;P<I.length;++P)L=I[P],L!=="removeListener"&&this.removeAllListeners(L);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(C=_[O],typeof C=="function")this.removeListener(O,C);else if(C!==void 0)for(P=C.length-1;P>=0;P--)this.removeListener(O,C[P]);return this};function m(N,O,C){var _=N._events;if(_===void 0)return[];var P=_[O];return P===void 0?[]:typeof P=="function"?C?[P.listener||P]:[P]:C?k(P):y(P,P.length)}o.prototype.listeners=function(O){return m(this,O,!0)},o.prototype.rawListeners=function(O){return m(this,O,!1)},o.listenerCount=function(N,O){return typeof N.listenerCount=="function"?N.listenerCount(O):b.call(N,O)},o.prototype.listenerCount=b;function b(N){var O=this._events;if(O!==void 0){var C=O[N];if(typeof C=="function")return 1;if(C!==void 0)return C.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function y(N,O){for(var C=new Array(O),_=0;_<O;++_)C[_]=N[_];return C}function S(N,O){for(;O+1<N.length;O++)N[O]=N[O+1];N.pop()}function k(N){for(var O=new Array(N.length),C=0;C<O.length;++C)O[C]=N[C].listener||N[C];return O}function R(N,O){return new Promise(function(C,_){function P(L){N.removeListener(O,I),_(L)}function I(){typeof N.removeListener=="function"&&N.removeListener("error",P),C([].slice.call(arguments))}A(N,O,I,{once:!0}),O!=="error"&&x(N,P,{once:!0})})}function x(N,O,C){typeof N.on=="function"&&A(N,"error",O,C)}function A(N,O,C,_){if(typeof N.on=="function")_.once?N.once(O,C):N.on(O,C);else if(typeof N.addEventListener=="function")N.addEventListener(O,function P(I){_.once&&N.removeEventListener(O,P),C(I)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof N)}return Ad.exports}var r4=rJ();function aJ(){const e=arguments[0];for(let t=1,n=arguments.length;t<n;t++)if(arguments[t])for(const r in arguments[t])e[r]=arguments[t][r];return e}let nn=aJ;typeof Object.assign=="function"&&(nn=Object.assign);function Er(e,t,n,r){const a=e._nodes.get(t);let o=null;return a&&(r==="mixed"?o=a.out&&a.out[n]||a.undirected&&a.undirected[n]:r==="directed"?o=a.out&&a.out[n]:o=a.undirected&&a.undirected[n]),o}function vn(e){return typeof e=="object"&&e!==null}function a4(e){let t;for(t in e)return!1;return!0}function yr(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!0,value:n})}function Ir(e,t,n){const r={enumerable:!0,configurable:!0};typeof n=="function"?r.get=n:(r.value=n,r.writable=!1),Object.defineProperty(e,t,r)}function lN(e){return!(!vn(e)||e.attributes&&!Array.isArray(e.attributes))}function oJ(){let e=Math.floor(Math.random()*256)&255;return()=>e++}function Ba(){const e=arguments;let t=null,n=-1;return{[Symbol.iterator](){return this},next(){let r=null;do{if(t===null){if(n++,n>=e.length)return{done:!0};t=e[n][Symbol.iterator]()}if(r=t.next(),r.done){t=null;continue}break}while(!0);return r}}}function Xs(){return{[Symbol.iterator](){return this},next(){return{done:!0}}}}class pT extends Error{constructor(t){super(),this.name="GraphError",this.message=t}}class Me extends pT{constructor(t){super(t),this.name="InvalidArgumentsGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Me.prototype.constructor)}}class De extends pT{constructor(t){super(t),this.name="NotFoundGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,De.prototype.constructor)}}class Qe extends pT{constructor(t){super(t),this.name="UsageGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Qe.prototype.constructor)}}function o4(e,t){this.key=e,this.attributes=t,this.clear()}o4.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}};function i4(e,t){this.key=e,this.attributes=t,this.clear()}i4.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}};function s4(e,t){this.key=e,this.attributes=t,this.clear()}s4.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}};function Zs(e,t,n,r,a){this.key=t,this.attributes=a,this.undirected=e,this.source=n,this.target=r}Zs.prototype.attach=function(){let e="out",t="in";this.undirected&&(e=t="undirected");const n=this.source.key,r=this.target.key;this.source[e][r]=this,!(this.undirected&&n===r)&&(this.target[t][n]=this)};Zs.prototype.attachMulti=function(){let e="out",t="in";const n=this.source.key,r=this.target.key;this.undirected&&(e=t="undirected");const a=this.source[e],o=a[r];if(typeof o>"u"){a[r]=this,this.undirected&&n===r||(this.target[t][n]=this);return}o.previous=this,this.next=o,a[r]=this,this.target[t][n]=this};Zs.prototype.detach=function(){const e=this.source.key,t=this.target.key;let n="out",r="in";this.undirected&&(n=r="undirected"),delete this.source[n][t],delete this.target[r][e]};Zs.prototype.detachMulti=function(){const e=this.source.key,t=this.target.key;let n="out",r="in";this.undirected&&(n=r="undirected"),this.previous===void 0?this.next===void 0?(delete this.source[n][t],delete this.target[r][e]):(this.next.previous=void 0,this.source[n][t]=this.next,this.target[r][e]=this.next):(this.previous.next=this.next,this.next!==void 0&&(this.next.previous=this.previous))};const l4=0,u4=1,iJ=2,c4=3;function Wa(e,t,n,r,a,o,s){let l,c,d,p;if(r=""+r,n===l4){if(l=e._nodes.get(r),!l)throw new De(`Graph.${t}: could not find the "${r}" node in the graph.`);d=a,p=o}else if(n===c4){if(a=""+a,c=e._edges.get(a),!c)throw new De(`Graph.${t}: could not find the "${a}" edge in the graph.`);const g=c.source.key,m=c.target.key;if(r===g)l=c.target;else if(r===m)l=c.source;else throw new De(`Graph.${t}: the "${r}" node is not attached to the "${a}" edge (${g}, ${m}).`);d=o,p=s}else{if(c=e._edges.get(r),!c)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`);n===u4?l=c.source:l=c.target,d=a,p=o}return[l,d,p]}function sJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);return s.attributes[l]}}function lJ(e,t,n){e.prototype[t]=function(r,a){const[o]=Wa(this,t,n,r,a);return o.attributes}}function uJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);return s.attributes.hasOwnProperty(l)}}function cJ(e,t,n){e.prototype[t]=function(r,a,o,s){const[l,c,d]=Wa(this,t,n,r,a,o,s);return l.attributes[c]=d,this.emit("nodeAttributesUpdated",{key:l.key,type:"set",attributes:l.attributes,name:c}),this}}function dJ(e,t,n){e.prototype[t]=function(r,a,o,s){const[l,c,d]=Wa(this,t,n,r,a,o,s);if(typeof d!="function")throw new Me(`Graph.${t}: updater should be a function.`);const p=l.attributes,g=d(p[c]);return p[c]=g,this.emit("nodeAttributesUpdated",{key:l.key,type:"set",attributes:l.attributes,name:c}),this}}function fJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);return delete s.attributes[l],this.emit("nodeAttributesUpdated",{key:s.key,type:"remove",attributes:s.attributes,name:l}),this}}function pJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);if(!vn(l))throw new Me(`Graph.${t}: provided attributes are not a plain object.`);return s.attributes=l,this.emit("nodeAttributesUpdated",{key:s.key,type:"replace",attributes:s.attributes}),this}}function gJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);if(!vn(l))throw new Me(`Graph.${t}: provided attributes are not a plain object.`);return nn(s.attributes,l),this.emit("nodeAttributesUpdated",{key:s.key,type:"merge",attributes:s.attributes,data:l}),this}}function hJ(e,t,n){e.prototype[t]=function(r,a,o){const[s,l]=Wa(this,t,n,r,a,o);if(typeof l!="function")throw new Me(`Graph.${t}: provided updater is not a function.`);return s.attributes=l(s.attributes),this.emit("nodeAttributesUpdated",{key:s.key,type:"update",attributes:s.attributes}),this}}const mJ=[{name:e=>`get${e}Attribute`,attacher:sJ},{name:e=>`get${e}Attributes`,attacher:lJ},{name:e=>`has${e}Attribute`,attacher:uJ},{name:e=>`set${e}Attribute`,attacher:cJ},{name:e=>`update${e}Attribute`,attacher:dJ},{name:e=>`remove${e}Attribute`,attacher:fJ},{name:e=>`replace${e}Attributes`,attacher:pJ},{name:e=>`merge${e}Attributes`,attacher:gJ},{name:e=>`update${e}Attributes`,attacher:hJ}];function bJ(e){mJ.forEach(function({name:t,attacher:n}){n(e,t("Node"),l4),n(e,t("Source"),u4),n(e,t("Target"),iJ),n(e,t("Opposite"),c4)})}function yJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}return o.attributes[a]}}function vJ(e,t,n){e.prototype[t]=function(r){let a;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>1){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+r,s=""+arguments[1];if(a=Er(this,o,s,n),!a)throw new De(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,a=this._edges.get(r),!a)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}return a.attributes}}function SJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}return o.attributes.hasOwnProperty(a)}}function EJ(e,t,n){e.prototype[t]=function(r,a,o){let s;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const l=""+r,c=""+a;if(a=arguments[2],o=arguments[3],s=Er(this,l,c,n),!s)throw new De(`Graph.${t}: could not find an edge for the given path ("${l}" - "${c}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,s=this._edges.get(r),!s)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}return s.attributes[a]=o,this.emit("edgeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:a}),this}}function wJ(e,t,n){e.prototype[t]=function(r,a,o){let s;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const l=""+r,c=""+a;if(a=arguments[2],o=arguments[3],s=Er(this,l,c,n),!s)throw new De(`Graph.${t}: could not find an edge for the given path ("${l}" - "${c}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,s=this._edges.get(r),!s)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}if(typeof o!="function")throw new Me(`Graph.${t}: updater should be a function.`);return s.attributes[a]=o(s.attributes[a]),this.emit("edgeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:a}),this}}function xJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}return delete o.attributes[a],this.emit("edgeAttributesUpdated",{key:o.key,type:"remove",attributes:o.attributes,name:a}),this}}function kJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}if(!vn(a))throw new Me(`Graph.${t}: provided attributes are not a plain object.`);return o.attributes=a,this.emit("edgeAttributesUpdated",{key:o.key,type:"replace",attributes:o.attributes}),this}}function TJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}if(!vn(a))throw new Me(`Graph.${t}: provided attributes are not a plain object.`);return nn(o.attributes,a),this.emit("edgeAttributesUpdated",{key:o.key,type:"merge",attributes:o.attributes,data:a}),this}}function AJ(e,t,n){e.prototype[t]=function(r,a){let o;if(this.type!=="mixed"&&n!=="mixed"&&n!==this.type)throw new Qe(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Qe(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+r,l=""+a;if(a=arguments[2],o=Er(this,s,l,n),!o)throw new De(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(n!=="mixed")throw new Qe(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(r=""+r,o=this._edges.get(r),!o)throw new De(`Graph.${t}: could not find the "${r}" edge in the graph.`)}if(typeof a!="function")throw new Me(`Graph.${t}: provided updater is not a function.`);return o.attributes=a(o.attributes),this.emit("edgeAttributesUpdated",{key:o.key,type:"update",attributes:o.attributes}),this}}const RJ=[{name:e=>`get${e}Attribute`,attacher:yJ},{name:e=>`get${e}Attributes`,attacher:vJ},{name:e=>`has${e}Attribute`,attacher:SJ},{name:e=>`set${e}Attribute`,attacher:EJ},{name:e=>`update${e}Attribute`,attacher:wJ},{name:e=>`remove${e}Attribute`,attacher:xJ},{name:e=>`replace${e}Attributes`,attacher:kJ},{name:e=>`merge${e}Attributes`,attacher:TJ},{name:e=>`update${e}Attributes`,attacher:AJ}];function CJ(e){RJ.forEach(function({name:t,attacher:n}){n(e,t("Edge"),"mixed"),n(e,t("DirectedEdge"),"directed"),n(e,t("UndirectedEdge"),"undirected")})}const _J=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function NJ(e,t,n,r){let a=!1;for(const o in t){if(o===r)continue;const s=t[o];if(a=n(s.key,s.attributes,s.source.key,s.target.key,s.source.attributes,s.target.attributes,s.undirected),e&&a)return s.key}}function OJ(e,t,n,r){let a,o,s,l=!1;for(const c in t)if(c!==r){a=t[c];do{if(o=a.source,s=a.target,l=n(a.key,a.attributes,o.key,s.key,o.attributes,s.attributes,a.undirected),e&&l)return a.key;a=a.next}while(a!==void 0)}}function pm(e,t){const n=Object.keys(e),r=n.length;let a,o=0;return{[Symbol.iterator](){return this},next(){do if(a)a=a.next;else{if(o>=r)return{done:!0};const s=n[o++];if(s===t){a=void 0;continue}a=e[s]}while(!a);return{done:!1,value:{edge:a.key,attributes:a.attributes,source:a.source.key,target:a.target.key,sourceAttributes:a.source.attributes,targetAttributes:a.target.attributes,undirected:a.undirected}}}}}function DJ(e,t,n,r){const a=t[n];if(!a)return;const o=a.source,s=a.target;if(r(a.key,a.attributes,o.key,s.key,o.attributes,s.attributes,a.undirected)&&e)return a.key}function IJ(e,t,n,r){let a=t[n];if(!a)return;let o=!1;do{if(o=r(a.key,a.attributes,a.source.key,a.target.key,a.source.attributes,a.target.attributes,a.undirected),e&&o)return a.key;a=a.next}while(a!==void 0)}function gm(e,t){let n=e[t];if(n.next!==void 0)return{[Symbol.iterator](){return this},next(){if(!n)return{done:!0};const a={edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected};return n=n.next,{done:!1,value:a}}};let r=!1;return{[Symbol.iterator](){return this},next(){return r===!0?{done:!0}:(r=!0,{done:!1,value:{edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected}})}}}function LJ(e,t){if(e.size===0)return[];if(t==="mixed"||t===e.type)return Array.from(e._edges.keys());const n=t==="undirected"?e.undirectedSize:e.directedSize,r=new Array(n),a=t==="undirected",o=e._edges.values();let s=0,l,c;for(;l=o.next(),l.done!==!0;)c=l.value,c.undirected===a&&(r[s++]=c.key);return r}function d4(e,t,n,r){if(t.size===0)return;const a=n!=="mixed"&&n!==t.type,o=n==="undirected";let s,l,c=!1;const d=t._edges.values();for(;s=d.next(),s.done!==!0;){if(l=s.value,a&&l.undirected!==o)continue;const{key:p,attributes:g,source:m,target:b}=l;if(c=r(p,g,m.key,b.key,m.attributes,b.attributes,l.undirected),e&&c)return p}}function MJ(e,t){if(e.size===0)return Xs();const n=t!=="mixed"&&t!==e.type,r=t==="undirected",a=e._edges.values();return{[Symbol.iterator](){return this},next(){let o,s;for(;;){if(o=a.next(),o.done)return o;if(s=o.value,!(n&&s.undirected!==r))break}return{value:{edge:s.key,attributes:s.attributes,source:s.source.key,target:s.target.key,sourceAttributes:s.source.attributes,targetAttributes:s.target.attributes,undirected:s.undirected},done:!1}}}}function gT(e,t,n,r,a,o){const s=t?OJ:NJ;let l;if(n!=="undirected"&&(r!=="out"&&(l=s(e,a.in,o),e&&l)||r!=="in"&&(l=s(e,a.out,o,r?void 0:a.key),e&&l))||n!=="directed"&&(l=s(e,a.undirected,o),e&&l))return l}function PJ(e,t,n,r){const a=[];return gT(!1,e,t,n,r,function(o){a.push(o)}),a}function FJ(e,t,n){let r=Xs();return e!=="undirected"&&(t!=="out"&&typeof n.in<"u"&&(r=Ba(r,pm(n.in))),t!=="in"&&typeof n.out<"u"&&(r=Ba(r,pm(n.out,t?void 0:n.key)))),e!=="directed"&&typeof n.undirected<"u"&&(r=Ba(r,pm(n.undirected))),r}function hT(e,t,n,r,a,o,s){const l=n?IJ:DJ;let c;if(t!=="undirected"&&(typeof a.in<"u"&&r!=="out"&&(c=l(e,a.in,o,s),e&&c)||typeof a.out<"u"&&r!=="in"&&(r||a.key!==o)&&(c=l(e,a.out,o,s),e&&c))||t!=="directed"&&typeof a.undirected<"u"&&(c=l(e,a.undirected,o,s),e&&c))return c}function zJ(e,t,n,r,a){const o=[];return hT(!1,e,t,n,r,a,function(s){o.push(s)}),o}function BJ(e,t,n,r){let a=Xs();return e!=="undirected"&&(typeof n.in<"u"&&t!=="out"&&r in n.in&&(a=Ba(a,gm(n.in,r))),typeof n.out<"u"&&t!=="in"&&r in n.out&&(t||n.key!==r)&&(a=Ba(a,gm(n.out,r)))),e!=="directed"&&typeof n.undirected<"u"&&r in n.undirected&&(a=Ba(a,gm(n.undirected,r))),a}function UJ(e,t){const{name:n,type:r,direction:a}=t;e.prototype[n]=function(o,s){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return[];if(!arguments.length)return LJ(this,r);if(arguments.length===1){o=""+o;const l=this._nodes.get(o);if(typeof l>"u")throw new De(`Graph.${n}: could not find the "${o}" node in the graph.`);return PJ(this.multi,r==="mixed"?this.type:r,a,l)}if(arguments.length===2){o=""+o,s=""+s;const l=this._nodes.get(o);if(!l)throw new De(`Graph.${n}: could not find the "${o}" source node in the graph.`);if(!this._nodes.has(s))throw new De(`Graph.${n}: could not find the "${s}" target node in the graph.`);return zJ(r,this.multi,a,l,s)}throw new Me(`Graph.${n}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function jJ(e,t){const{name:n,type:r,direction:a}=t,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(d,p,g){if(!(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)){if(arguments.length===1)return g=d,d4(!1,this,r,g);if(arguments.length===2){d=""+d,g=p;const m=this._nodes.get(d);if(typeof m>"u")throw new De(`Graph.${o}: could not find the "${d}" node in the graph.`);return gT(!1,this.multi,r==="mixed"?this.type:r,a,m,g)}if(arguments.length===3){d=""+d,p=""+p;const m=this._nodes.get(d);if(!m)throw new De(`Graph.${o}: could not find the "${d}" source node in the graph.`);if(!this._nodes.has(p))throw new De(`Graph.${o}: could not find the "${p}" target node in the graph.`);return hT(!1,r,this.multi,a,m,p,g)}throw new Me(`Graph.${o}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)}};const s="map"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(){const d=Array.prototype.slice.call(arguments),p=d.pop();let g;if(d.length===0){let m=0;r!=="directed"&&(m+=this.undirectedSize),r!=="undirected"&&(m+=this.directedSize),g=new Array(m);let b=0;d.push((y,S,k,R,x,A,N)=>{g[b++]=p(y,S,k,R,x,A,N)})}else g=[],d.push((m,b,y,S,k,R,x)=>{g.push(p(m,b,y,S,k,R,x))});return this[o].apply(this,d),g};const l="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(){const d=Array.prototype.slice.call(arguments),p=d.pop(),g=[];return d.push((m,b,y,S,k,R,x)=>{p(m,b,y,S,k,R,x)&&g.push(m)}),this[o].apply(this,d),g};const c="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[c]=function(){let d=Array.prototype.slice.call(arguments);if(d.length<2||d.length>4)throw new Me(`Graph.${c}: invalid number of arguments (expecting 2, 3 or 4 and got ${d.length}).`);if(typeof d[d.length-1]=="function"&&typeof d[d.length-2]!="function")throw new Me(`Graph.${c}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let p,g;d.length===2?(p=d[0],g=d[1],d=[]):d.length===3?(p=d[1],g=d[2],d=[d[0]]):d.length===4&&(p=d[2],g=d[3],d=[d[0],d[1]]);let m=g;return d.push((b,y,S,k,R,x,A)=>{m=p(m,b,y,S,k,R,x,A)}),this[o].apply(this,d),m}}function GJ(e,t){const{name:n,type:r,direction:a}=t,o="find"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(c,d,p){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return!1;if(arguments.length===1)return p=c,d4(!0,this,r,p);if(arguments.length===2){c=""+c,p=d;const g=this._nodes.get(c);if(typeof g>"u")throw new De(`Graph.${o}: could not find the "${c}" node in the graph.`);return gT(!0,this.multi,r==="mixed"?this.type:r,a,g,p)}if(arguments.length===3){c=""+c,d=""+d;const g=this._nodes.get(c);if(!g)throw new De(`Graph.${o}: could not find the "${c}" source node in the graph.`);if(!this._nodes.has(d))throw new De(`Graph.${o}: could not find the "${d}" target node in the graph.`);return hT(!0,r,this.multi,a,g,d,p)}throw new Me(`Graph.${o}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)};const s="some"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[s]=function(){const c=Array.prototype.slice.call(arguments),d=c.pop();return c.push((g,m,b,y,S,k,R)=>d(g,m,b,y,S,k,R)),!!this[o].apply(this,c)};const l="every"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[l]=function(){const c=Array.prototype.slice.call(arguments),d=c.pop();return c.push((g,m,b,y,S,k,R)=>!d(g,m,b,y,S,k,R)),!this[o].apply(this,c)}}function HJ(e,t){const{name:n,type:r,direction:a}=t,o=n.slice(0,-1)+"Entries";e.prototype[o]=function(s,l){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return Xs();if(!arguments.length)return MJ(this,r);if(arguments.length===1){s=""+s;const c=this._nodes.get(s);if(!c)throw new De(`Graph.${o}: could not find the "${s}" node in the graph.`);return FJ(r,a,c)}if(arguments.length===2){s=""+s,l=""+l;const c=this._nodes.get(s);if(!c)throw new De(`Graph.${o}: could not find the "${s}" source node in the graph.`);if(!this._nodes.has(l))throw new De(`Graph.${o}: could not find the "${l}" target node in the graph.`);return BJ(r,a,c,l)}throw new Me(`Graph.${o}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function $J(e){_J.forEach(t=>{UJ(e,t),jJ(e,t),GJ(e,t),HJ(e,t)})}const qJ=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function Sp(){this.A=null,this.B=null}Sp.prototype.wrap=function(e){this.A===null?this.A=e:this.B===null&&(this.B=e)};Sp.prototype.has=function(e){return this.A!==null&&e in this.A||this.B!==null&&e in this.B};function nu(e,t,n,r,a){for(const o in r){const s=r[o],l=s.source,c=s.target,d=l===n?c:l;if(t&&t.has(d.key))continue;const p=a(d.key,d.attributes);if(e&&p)return d.key}}function mT(e,t,n,r,a){if(t!=="mixed"){if(t==="undirected")return nu(e,null,r,r.undirected,a);if(typeof n=="string")return nu(e,null,r,r[n],a)}const o=new Sp;let s;if(t!=="undirected"){if(n!=="out"){if(s=nu(e,null,r,r.in,a),e&&s)return s;o.wrap(r.in)}if(n!=="in"){if(s=nu(e,o,r,r.out,a),e&&s)return s;o.wrap(r.out)}}if(t!=="directed"&&(s=nu(e,o,r,r.undirected,a),e&&s))return s}function VJ(e,t,n){if(e!=="mixed"){if(e==="undirected")return Object.keys(n.undirected);if(typeof t=="string")return Object.keys(n[t])}const r=[];return mT(!1,e,t,n,function(a){r.push(a)}),r}function ru(e,t,n){const r=Object.keys(n),a=r.length;let o=0;return{[Symbol.iterator](){return this},next(){let s=null;do{if(o>=a)return e&&e.wrap(n),{done:!0};const l=n[r[o++]],c=l.source,d=l.target;if(s=c===t?d:c,e&&e.has(s.key)){s=null;continue}}while(s===null);return{done:!1,value:{neighbor:s.key,attributes:s.attributes}}}}}function WJ(e,t,n){if(e!=="mixed"){if(e==="undirected")return ru(null,n,n.undirected);if(typeof t=="string")return ru(null,n,n[t])}let r=Xs();const a=new Sp;return e!=="undirected"&&(t!=="out"&&(r=Ba(r,ru(a,n,n.in))),t!=="in"&&(r=Ba(r,ru(a,n,n.out)))),e!=="directed"&&(r=Ba(r,ru(a,n,n.undirected))),r}function YJ(e,t){const{name:n,type:r,direction:a}=t;e.prototype[n]=function(o){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return[];o=""+o;const s=this._nodes.get(o);if(typeof s>"u")throw new De(`Graph.${n}: could not find the "${o}" node in the graph.`);return VJ(r==="mixed"?this.type:r,a,s)}}function KJ(e,t){const{name:n,type:r,direction:a}=t,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(d,p){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return;d=""+d;const g=this._nodes.get(d);if(typeof g>"u")throw new De(`Graph.${o}: could not find the "${d}" node in the graph.`);mT(!1,r==="mixed"?this.type:r,a,g,p)};const s="map"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(d,p){const g=[];return this[o](d,(m,b)=>{g.push(p(m,b))}),g};const l="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(d,p){const g=[];return this[o](d,(m,b)=>{p(m,b)&&g.push(m)}),g};const c="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[c]=function(d,p,g){if(arguments.length<3)throw new Me(`Graph.${c}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let m=g;return this[o](d,(b,y)=>{m=p(m,b,y)}),m}}function XJ(e,t){const{name:n,type:r,direction:a}=t,o=n[0].toUpperCase()+n.slice(1,-1),s="find"+o;e.prototype[s]=function(d,p){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return;d=""+d;const g=this._nodes.get(d);if(typeof g>"u")throw new De(`Graph.${s}: could not find the "${d}" node in the graph.`);return mT(!0,r==="mixed"?this.type:r,a,g,p)};const l="some"+o;e.prototype[l]=function(d,p){return!!this[s](d,p)};const c="every"+o;e.prototype[c]=function(d,p){return!this[s](d,(m,b)=>!p(m,b))}}function ZJ(e,t){const{name:n,type:r,direction:a}=t,o=n.slice(0,-1)+"Entries";e.prototype[o]=function(s){if(r!=="mixed"&&this.type!=="mixed"&&r!==this.type)return Xs();s=""+s;const l=this._nodes.get(s);if(typeof l>"u")throw new De(`Graph.${o}: could not find the "${s}" node in the graph.`);return WJ(r==="mixed"?this.type:r,a,l)}}function QJ(e){qJ.forEach(t=>{YJ(e,t),KJ(e,t),XJ(e,t),ZJ(e,t)})}function Rd(e,t,n,r,a){const o=r._nodes.values(),s=r.type;let l,c,d,p,g,m;for(;l=o.next(),l.done!==!0;){let b=!1;if(c=l.value,s!=="undirected"){p=c.out;for(d in p){g=p[d];do m=g.target,b=!0,a(c.key,m.key,c.attributes,m.attributes,g.key,g.attributes,g.undirected),g=g.next;while(g)}}if(s!=="directed"){p=c.undirected;for(d in p)if(!(t&&c.key>d)){g=p[d];do m=g.target,m.key!==d&&(m=g.source),b=!0,a(c.key,m.key,c.attributes,m.attributes,g.key,g.attributes,g.undirected),g=g.next;while(g)}}n&&!b&&a(c.key,null,c.attributes,null,null,null,null)}}function JJ(e,t){const n={key:e};return a4(t.attributes)||(n.attributes=nn({},t.attributes)),n}function eee(e,t,n){const r={key:t,source:n.source.key,target:n.target.key};return a4(n.attributes)||(r.attributes=nn({},n.attributes)),e==="mixed"&&n.undirected&&(r.undirected=!0),r}function tee(e){if(!vn(e))throw new Me('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in e))throw new Me("Graph.import: serialized node is missing its key.");if("attributes"in e&&(!vn(e.attributes)||e.attributes===null))throw new Me("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function nee(e){if(!vn(e))throw new Me('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in e))throw new Me("Graph.import: serialized edge is missing its source.");if(!("target"in e))throw new Me("Graph.import: serialized edge is missing its target.");if("attributes"in e&&(!vn(e.attributes)||e.attributes===null))throw new Me("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in e&&typeof e.undirected!="boolean")throw new Me("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}const ree=oJ(),aee=new Set(["directed","undirected","mixed"]),uN=new Set(["domain","_events","_eventsCount","_maxListeners"]),oee=[{name:e=>`${e}Edge`,generateKey:!0},{name:e=>`${e}DirectedEdge`,generateKey:!0,type:"directed"},{name:e=>`${e}UndirectedEdge`,generateKey:!0,type:"undirected"},{name:e=>`${e}EdgeWithKey`},{name:e=>`${e}DirectedEdgeWithKey`,type:"directed"},{name:e=>`${e}UndirectedEdgeWithKey`,type:"undirected"}],iee={allowSelfLoops:!0,multi:!1,type:"mixed"};function see(e,t,n){if(n&&!vn(n))throw new Me(`Graph.addNode: invalid attributes. Expecting an object but got "${n}"`);if(t=""+t,n=n||{},e._nodes.has(t))throw new Qe(`Graph.addNode: the "${t}" node already exist in the graph.`);const r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}function cN(e,t,n){const r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}function f4(e,t,n,r,a,o,s,l){if(!r&&e.type==="undirected")throw new Qe(`Graph.${t}: you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead.`);if(r&&e.type==="directed")throw new Qe(`Graph.${t}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`);if(l&&!vn(l))throw new Me(`Graph.${t}: invalid attributes. Expecting an object but got "${l}"`);if(o=""+o,s=""+s,l=l||{},!e.allowSelfLoops&&o===s)throw new Qe(`Graph.${t}: source & target are the same ("${o}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);const c=e._nodes.get(o),d=e._nodes.get(s);if(!c)throw new De(`Graph.${t}: source node "${o}" not found.`);if(!d)throw new De(`Graph.${t}: target node "${s}" not found.`);const p={key:null,undirected:r,source:o,target:s,attributes:l};if(n)a=e._edgeKeyGenerator();else if(a=""+a,e._edges.has(a))throw new Qe(`Graph.${t}: the "${a}" edge already exists in the graph.`);if(!e.multi&&(r?typeof c.undirected[s]<"u":typeof c.out[s]<"u"))throw new Qe(`Graph.${t}: an edge linking "${o}" to "${s}" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option.`);const g=new Zs(r,a,c,d,l);e._edges.set(a,g);const m=o===s;return r?(c.undirectedDegree++,d.undirectedDegree++,m&&(c.undirectedLoops++,e._undirectedSelfLoopCount++)):(c.outDegree++,d.inDegree++,m&&(c.directedLoops++,e._directedSelfLoopCount++)),e.multi?g.attachMulti():g.attach(),r?e._undirectedSize++:e._directedSize++,p.key=a,e.emit("edgeAdded",p),a}function lee(e,t,n,r,a,o,s,l,c){if(!r&&e.type==="undirected")throw new Qe(`Graph.${t}: you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead.`);if(r&&e.type==="directed")throw new Qe(`Graph.${t}: you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead.`);if(l){if(c){if(typeof l!="function")throw new Me(`Graph.${t}: invalid updater function. Expecting a function but got "${l}"`)}else if(!vn(l))throw new Me(`Graph.${t}: invalid attributes. Expecting an object but got "${l}"`)}o=""+o,s=""+s;let d;if(c&&(d=l,l=void 0),!e.allowSelfLoops&&o===s)throw new Qe(`Graph.${t}: source & target are the same ("${o}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);let p=e._nodes.get(o),g=e._nodes.get(s),m,b;if(!n&&(m=e._edges.get(a),m)){if((m.source.key!==o||m.target.key!==s)&&(!r||m.source.key!==s||m.target.key!==o))throw new Qe(`Graph.${t}: inconsistency detected when attempting to merge the "${a}" edge with "${o}" source & "${s}" target vs. ("${m.source.key}", "${m.target.key}").`);b=m}if(!b&&!e.multi&&p&&(b=r?p.undirected[s]:p.out[s]),b){const x=[b.key,!1,!1,!1];if(c?!d:!l)return x;if(c){const A=b.attributes;b.attributes=d(A),e.emit("edgeAttributesUpdated",{type:"replace",key:b.key,attributes:b.attributes})}else nn(b.attributes,l),e.emit("edgeAttributesUpdated",{type:"merge",key:b.key,attributes:b.attributes,data:l});return x}l=l||{},c&&d&&(l=d(l));const y={key:null,undirected:r,source:o,target:s,attributes:l};if(n)a=e._edgeKeyGenerator();else if(a=""+a,e._edges.has(a))throw new Qe(`Graph.${t}: the "${a}" edge already exists in the graph.`);let S=!1,k=!1;p||(p=cN(e,o,{}),S=!0,o===s&&(g=p,k=!0)),g||(g=cN(e,s,{}),k=!0),m=new Zs(r,a,p,g,l),e._edges.set(a,m);const R=o===s;return r?(p.undirectedDegree++,g.undirectedDegree++,R&&(p.undirectedLoops++,e._undirectedSelfLoopCount++)):(p.outDegree++,g.inDegree++,R&&(p.directedLoops++,e._directedSelfLoopCount++)),e.multi?m.attachMulti():m.attach(),r?e._undirectedSize++:e._directedSize++,y.key=a,e.emit("edgeAdded",y),[a,!0,S,k]}function ps(e,t){e._edges.delete(t.key);const{source:n,target:r,attributes:a}=t,o=t.undirected,s=n===r;o?(n.undirectedDegree--,r.undirectedDegree--,s&&(n.undirectedLoops--,e._undirectedSelfLoopCount--)):(n.outDegree--,r.inDegree--,s&&(n.directedLoops--,e._directedSelfLoopCount--)),e.multi?t.detachMulti():t.detach(),o?e._undirectedSize--:e._directedSize--,e.emit("edgeDropped",{key:t.key,attributes:a,source:n.key,target:r.key,undirected:o})}class Ct extends r4.EventEmitter{constructor(t){if(super(),t=nn({},iee,t),typeof t.multi!="boolean")throw new Me(`Graph.constructor: invalid 'multi' option. Expecting a boolean but got "${t.multi}".`);if(!aee.has(t.type))throw new Me(`Graph.constructor: invalid 'type' option. Should be one of "mixed", "directed" or "undirected" but got "${t.type}".`);if(typeof t.allowSelfLoops!="boolean")throw new Me(`Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got "${t.allowSelfLoops}".`);const n=t.type==="mixed"?o4:t.type==="directed"?i4:s4;yr(this,"NodeDataClass",n);const r="geid_"+ree()+"_";let a=0;const o=()=>{let s;do s=r+a++;while(this._edges.has(s));return s};yr(this,"_attributes",{}),yr(this,"_nodes",new Map),yr(this,"_edges",new Map),yr(this,"_directedSize",0),yr(this,"_undirectedSize",0),yr(this,"_directedSelfLoopCount",0),yr(this,"_undirectedSelfLoopCount",0),yr(this,"_edgeKeyGenerator",o),yr(this,"_options",t),uN.forEach(s=>yr(this,s,this[s])),Ir(this,"order",()=>this._nodes.size),Ir(this,"size",()=>this._edges.size),Ir(this,"directedSize",()=>this._directedSize),Ir(this,"undirectedSize",()=>this._undirectedSize),Ir(this,"selfLoopCount",()=>this._directedSelfLoopCount+this._undirectedSelfLoopCount),Ir(this,"directedSelfLoopCount",()=>this._directedSelfLoopCount),Ir(this,"undirectedSelfLoopCount",()=>this._undirectedSelfLoopCount),Ir(this,"multi",this._options.multi),Ir(this,"type",this._options.type),Ir(this,"allowSelfLoops",this._options.allowSelfLoops),Ir(this,"implementation",()=>"graphology")}_resetInstanceCounters(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0}hasNode(t){return this._nodes.has(""+t)}hasDirectedEdge(t,n){if(this.type==="undirected")return!1;if(arguments.length===1){const r=""+t,a=this._edges.get(r);return!!a&&!a.undirected}else if(arguments.length===2){t=""+t,n=""+n;const r=this._nodes.get(t);return r?r.out.hasOwnProperty(n):!1}throw new Me(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasUndirectedEdge(t,n){if(this.type==="directed")return!1;if(arguments.length===1){const r=""+t,a=this._edges.get(r);return!!a&&a.undirected}else if(arguments.length===2){t=""+t,n=""+n;const r=this._nodes.get(t);return r?r.undirected.hasOwnProperty(n):!1}throw new Me(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasEdge(t,n){if(arguments.length===1){const r=""+t;return this._edges.has(r)}else if(arguments.length===2){t=""+t,n=""+n;const r=this._nodes.get(t);return r?typeof r.out<"u"&&r.out.hasOwnProperty(n)||typeof r.undirected<"u"&&r.undirected.hasOwnProperty(n):!1}throw new Me(`Graph.hasEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}directedEdge(t,n){if(this.type==="undirected")return;if(t=""+t,n=""+n,this.multi)throw new Qe("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");const r=this._nodes.get(t);if(!r)throw new De(`Graph.directedEdge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(n))throw new De(`Graph.directedEdge: could not find the "${n}" target node in the graph.`);const a=r.out&&r.out[n]||void 0;if(a)return a.key}undirectedEdge(t,n){if(this.type==="directed")return;if(t=""+t,n=""+n,this.multi)throw new Qe("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");const r=this._nodes.get(t);if(!r)throw new De(`Graph.undirectedEdge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(n))throw new De(`Graph.undirectedEdge: could not find the "${n}" target node in the graph.`);const a=r.undirected&&r.undirected[n]||void 0;if(a)return a.key}edge(t,n){if(this.multi)throw new Qe("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.edge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(n))throw new De(`Graph.edge: could not find the "${n}" target node in the graph.`);const a=r.out&&r.out[n]||r.undirected&&r.undirected[n]||void 0;if(a)return a.key}areDirectedNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areDirectedNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:n in r.in||n in r.out}areOutNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areOutNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:n in r.out}areInNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areInNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:n in r.in}areUndirectedNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areUndirectedNeighbors: could not find the "${t}" node in the graph.`);return this.type==="directed"?!1:n in r.undirected}areNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&(n in r.in||n in r.out)||this.type!=="directed"&&n in r.undirected}areInboundNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areInboundNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&n in r.in||this.type!=="directed"&&n in r.undirected}areOutboundNeighbors(t,n){t=""+t,n=""+n;const r=this._nodes.get(t);if(!r)throw new De(`Graph.areOutboundNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&n in r.out||this.type!=="directed"&&n in r.undirected}inDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.inDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.inDegree}outDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.outDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.outDegree}directedDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.directedDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.inDegree+n.outDegree}undirectedDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.undirectedDegree: could not find the "${t}" node in the graph.`);return this.type==="directed"?0:n.undirectedDegree}inboundDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.inboundDegree: could not find the "${t}" node in the graph.`);let r=0;return this.type!=="directed"&&(r+=n.undirectedDegree),this.type!=="undirected"&&(r+=n.inDegree),r}outboundDegree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.outboundDegree: could not find the "${t}" node in the graph.`);let r=0;return this.type!=="directed"&&(r+=n.undirectedDegree),this.type!=="undirected"&&(r+=n.outDegree),r}degree(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.degree: could not find the "${t}" node in the graph.`);let r=0;return this.type!=="directed"&&(r+=n.undirectedDegree),this.type!=="undirected"&&(r+=n.inDegree+n.outDegree),r}inDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.inDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.inDegree-n.directedLoops}outDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.outDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.outDegree-n.directedLoops}directedDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.directedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:n.inDegree+n.outDegree-n.directedLoops*2}undirectedDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.undirectedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="directed"?0:n.undirectedDegree-n.undirectedLoops*2}inboundDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.inboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let r=0,a=0;return this.type!=="directed"&&(r+=n.undirectedDegree,a+=n.undirectedLoops*2),this.type!=="undirected"&&(r+=n.inDegree,a+=n.directedLoops),r-a}outboundDegreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.outboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let r=0,a=0;return this.type!=="directed"&&(r+=n.undirectedDegree,a+=n.undirectedLoops*2),this.type!=="undirected"&&(r+=n.outDegree,a+=n.directedLoops),r-a}degreeWithoutSelfLoops(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.degreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let r=0,a=0;return this.type!=="directed"&&(r+=n.undirectedDegree,a+=n.undirectedLoops*2),this.type!=="undirected"&&(r+=n.inDegree+n.outDegree,a+=n.directedLoops*2),r-a}source(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.source: could not find the "${t}" edge in the graph.`);return n.source.key}target(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.target: could not find the "${t}" edge in the graph.`);return n.target.key}extremities(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.extremities: could not find the "${t}" edge in the graph.`);return[n.source.key,n.target.key]}opposite(t,n){t=""+t,n=""+n;const r=this._edges.get(n);if(!r)throw new De(`Graph.opposite: could not find the "${n}" edge in the graph.`);const a=r.source.key,o=r.target.key;if(t===a)return o;if(t===o)return a;throw new De(`Graph.opposite: the "${t}" node is not attached to the "${n}" edge (${a}, ${o}).`)}hasExtremity(t,n){t=""+t,n=""+n;const r=this._edges.get(t);if(!r)throw new De(`Graph.hasExtremity: could not find the "${t}" edge in the graph.`);return r.source.key===n||r.target.key===n}isUndirected(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.isUndirected: could not find the "${t}" edge in the graph.`);return n.undirected}isDirected(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.isDirected: could not find the "${t}" edge in the graph.`);return!n.undirected}isSelfLoop(t){t=""+t;const n=this._edges.get(t);if(!n)throw new De(`Graph.isSelfLoop: could not find the "${t}" edge in the graph.`);return n.source===n.target}addNode(t,n){return see(this,t,n).key}mergeNode(t,n){if(n&&!vn(n))throw new Me(`Graph.mergeNode: invalid attributes. Expecting an object but got "${n}"`);t=""+t,n=n||{};let r=this._nodes.get(t);return r?(n&&(nn(r.attributes,n),this.emit("nodeAttributesUpdated",{type:"merge",key:t,attributes:r.attributes,data:n})),[t,!1]):(r=new this.NodeDataClass(t,n),this._nodes.set(t,r),this.emit("nodeAdded",{key:t,attributes:n}),[t,!0])}updateNode(t,n){if(n&&typeof n!="function")throw new Me(`Graph.updateNode: invalid updater function. Expecting a function but got "${n}"`);t=""+t;let r=this._nodes.get(t);if(r){if(n){const o=r.attributes;r.attributes=n(o),this.emit("nodeAttributesUpdated",{type:"replace",key:t,attributes:r.attributes})}return[t,!1]}const a=n?n({}):{};return r=new this.NodeDataClass(t,a),this._nodes.set(t,r),this.emit("nodeAdded",{key:t,attributes:a}),[t,!0]}dropNode(t){t=""+t;const n=this._nodes.get(t);if(!n)throw new De(`Graph.dropNode: could not find the "${t}" node in the graph.`);let r;if(this.type!=="undirected"){for(const a in n.out){r=n.out[a];do ps(this,r),r=r.next;while(r)}for(const a in n.in){r=n.in[a];do ps(this,r),r=r.next;while(r)}}if(this.type!=="directed")for(const a in n.undirected){r=n.undirected[a];do ps(this,r),r=r.next;while(r)}this._nodes.delete(t),this.emit("nodeDropped",{key:t,attributes:n.attributes})}dropEdge(t){let n;if(arguments.length>1){const r=""+arguments[0],a=""+arguments[1];if(n=Er(this,r,a,this.type),!n)throw new De(`Graph.dropEdge: could not find the "${r}" -> "${a}" edge in the graph.`)}else if(t=""+t,n=this._edges.get(t),!n)throw new De(`Graph.dropEdge: could not find the "${t}" edge in the graph.`);return ps(this,n),this}dropDirectedEdge(t,n){if(arguments.length<2)throw new Qe("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new Qe("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");t=""+t,n=""+n;const r=Er(this,t,n,"directed");if(!r)throw new De(`Graph.dropDirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`);return ps(this,r),this}dropUndirectedEdge(t,n){if(arguments.length<2)throw new Qe("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new Qe("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");const r=Er(this,t,n,"undirected");if(!r)throw new De(`Graph.dropUndirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`);return ps(this,r),this}clear(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared")}clearEdges(){const t=this._nodes.values();let n;for(;n=t.next(),n.done!==!0;)n.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared")}getAttribute(t){return this._attributes[t]}getAttributes(){return this._attributes}hasAttribute(t){return this._attributes.hasOwnProperty(t)}setAttribute(t,n){return this._attributes[t]=n,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this}updateAttribute(t,n){if(typeof n!="function")throw new Me("Graph.updateAttribute: updater should be a function.");const r=this._attributes[t];return this._attributes[t]=n(r),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this}removeAttribute(t){return delete this._attributes[t],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:t}),this}replaceAttributes(t){if(!vn(t))throw new Me("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=t,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this}mergeAttributes(t){if(!vn(t))throw new Me("Graph.mergeAttributes: provided attributes are not a plain object.");return nn(this._attributes,t),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:t}),this}updateAttributes(t){if(typeof t!="function")throw new Me("Graph.updateAttributes: provided updater is not a function.");return this._attributes=t(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this}updateEachNodeAttributes(t,n){if(typeof t!="function")throw new Me("Graph.updateEachNodeAttributes: expecting an updater function.");if(n&&!lN(n))throw new Me("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");const r=this._nodes.values();let a,o;for(;a=r.next(),a.done!==!0;)o=a.value,o.attributes=t(o.key,o.attributes);this.emit("eachNodeAttributesUpdated",{hints:n||null})}updateEachEdgeAttributes(t,n){if(typeof t!="function")throw new Me("Graph.updateEachEdgeAttributes: expecting an updater function.");if(n&&!lN(n))throw new Me("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");const r=this._edges.values();let a,o,s,l;for(;a=r.next(),a.done!==!0;)o=a.value,s=o.source,l=o.target,o.attributes=t(o.key,o.attributes,s.key,l.key,s.attributes,l.attributes,o.undirected);this.emit("eachEdgeAttributesUpdated",{hints:n||null})}forEachAdjacencyEntry(t){if(typeof t!="function")throw new Me("Graph.forEachAdjacencyEntry: expecting a callback.");Rd(!1,!1,!1,this,t)}forEachAdjacencyEntryWithOrphans(t){if(typeof t!="function")throw new Me("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");Rd(!1,!1,!0,this,t)}forEachAssymetricAdjacencyEntry(t){if(typeof t!="function")throw new Me("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");Rd(!1,!0,!1,this,t)}forEachAssymetricAdjacencyEntryWithOrphans(t){if(typeof t!="function")throw new Me("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");Rd(!1,!0,!0,this,t)}nodes(){return Array.from(this._nodes.keys())}forEachNode(t){if(typeof t!="function")throw new Me("Graph.forEachNode: expecting a callback.");const n=this._nodes.values();let r,a;for(;r=n.next(),r.done!==!0;)a=r.value,t(a.key,a.attributes)}findNode(t){if(typeof t!="function")throw new Me("Graph.findNode: expecting a callback.");const n=this._nodes.values();let r,a;for(;r=n.next(),r.done!==!0;)if(a=r.value,t(a.key,a.attributes))return a.key}mapNodes(t){if(typeof t!="function")throw new Me("Graph.mapNode: expecting a callback.");const n=this._nodes.values();let r,a;const o=new Array(this.order);let s=0;for(;r=n.next(),r.done!==!0;)a=r.value,o[s++]=t(a.key,a.attributes);return o}someNode(t){if(typeof t!="function")throw new Me("Graph.someNode: expecting a callback.");const n=this._nodes.values();let r,a;for(;r=n.next(),r.done!==!0;)if(a=r.value,t(a.key,a.attributes))return!0;return!1}everyNode(t){if(typeof t!="function")throw new Me("Graph.everyNode: expecting a callback.");const n=this._nodes.values();let r,a;for(;r=n.next(),r.done!==!0;)if(a=r.value,!t(a.key,a.attributes))return!1;return!0}filterNodes(t){if(typeof t!="function")throw new Me("Graph.filterNodes: expecting a callback.");const n=this._nodes.values();let r,a;const o=[];for(;r=n.next(),r.done!==!0;)a=r.value,t(a.key,a.attributes)&&o.push(a.key);return o}reduceNodes(t,n){if(typeof t!="function")throw new Me("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new Me("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");let r=n;const a=this._nodes.values();let o,s;for(;o=a.next(),o.done!==!0;)s=o.value,r=t(r,s.key,s.attributes);return r}nodeEntries(){const t=this._nodes.values();return{[Symbol.iterator](){return this},next(){const n=t.next();if(n.done)return n;const r=n.value;return{value:{node:r.key,attributes:r.attributes},done:!1}}}}export(){const t=new Array(this._nodes.size);let n=0;this._nodes.forEach((a,o)=>{t[n++]=JJ(o,a)});const r=new Array(this._edges.size);return n=0,this._edges.forEach((a,o)=>{r[n++]=eee(this.type,o,a)}),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:t,edges:r}}import(t,n=!1){if(t instanceof Ct)return t.forEachNode((c,d)=>{n?this.mergeNode(c,d):this.addNode(c,d)}),t.forEachEdge((c,d,p,g,m,b,y)=>{n?y?this.mergeUndirectedEdgeWithKey(c,p,g,d):this.mergeDirectedEdgeWithKey(c,p,g,d):y?this.addUndirectedEdgeWithKey(c,p,g,d):this.addDirectedEdgeWithKey(c,p,g,d)}),this;if(!vn(t))throw new Me("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(t.attributes){if(!vn(t.attributes))throw new Me("Graph.import: invalid attributes. Expecting a plain object.");n?this.mergeAttributes(t.attributes):this.replaceAttributes(t.attributes)}let r,a,o,s,l;if(t.nodes){if(o=t.nodes,!Array.isArray(o))throw new Me("Graph.import: invalid nodes. Expecting an array.");for(r=0,a=o.length;r<a;r++){s=o[r],tee(s);const{key:c,attributes:d}=s;n?this.mergeNode(c,d):this.addNode(c,d)}}if(t.edges){let c=!1;if(this.type==="undirected"&&(c=!0),o=t.edges,!Array.isArray(o))throw new Me("Graph.import: invalid edges. Expecting an array.");for(r=0,a=o.length;r<a;r++){l=o[r],nee(l);const{source:d,target:p,attributes:g,undirected:m=c}=l;let b;"key"in l?(b=n?m?this.mergeUndirectedEdgeWithKey:this.mergeDirectedEdgeWithKey:m?this.addUndirectedEdgeWithKey:this.addDirectedEdgeWithKey,b.call(this,l.key,d,p,g)):(b=n?m?this.mergeUndirectedEdge:this.mergeDirectedEdge:m?this.addUndirectedEdge:this.addDirectedEdge,b.call(this,d,p,g))}}return this}nullCopy(t){const n=new Ct(nn({},this._options,t));return n.replaceAttributes(nn({},this.getAttributes())),n}emptyCopy(t){const n=this.nullCopy(t);return this._nodes.forEach((r,a)=>{const o=nn({},r.attributes);r=new n.NodeDataClass(a,o),n._nodes.set(a,r)}),n}copy(t){if(t=t||{},typeof t.type=="string"&&t.type!==this.type&&t.type!=="mixed")throw new Qe(`Graph.copy: cannot create an incompatible copy from "${this.type}" type to "${t.type}" because this would mean losing information about the current graph.`);if(typeof t.multi=="boolean"&&t.multi!==this.multi&&t.multi!==!0)throw new Qe("Graph.copy: cannot create an incompatible copy by downgrading a multi graph to a simple one because this would mean losing information about the current graph.");if(typeof t.allowSelfLoops=="boolean"&&t.allowSelfLoops!==this.allowSelfLoops&&t.allowSelfLoops!==!0)throw new Qe("Graph.copy: cannot create an incompatible copy from a graph allowing self loops to one that does not because this would mean losing information about the current graph.");const n=this.emptyCopy(t),r=this._edges.values();let a,o;for(;a=r.next(),a.done!==!0;)o=a.value,f4(n,"copy",!1,o.undirected,o.key,o.source.key,o.target.key,nn({},o.attributes));return n}toJSON(){return this.export()}toString(){return"[object Graph]"}inspect(){const t={};this._nodes.forEach((o,s)=>{t[s]=o.attributes});const n={},r={};this._edges.forEach((o,s)=>{const l=o.undirected?"--":"->";let c="",d=o.source.key,p=o.target.key,g;o.undirected&&d>p&&(g=d,d=p,p=g);const m=`(${d})${l}(${p})`;s.startsWith("geid_")?this.multi&&(typeof r[m]>"u"?r[m]=0:r[m]++,c+=`${r[m]}. `):c+=`[${s}]: `,c+=m,n[c]=o.attributes});const a={};for(const o in this)this.hasOwnProperty(o)&&!uN.has(o)&&typeof this[o]!="function"&&typeof o!="symbol"&&(a[o]=this[o]);return a.attributes=this._attributes,a.nodes=t,a.edges=n,yr(a,"constructor",this.constructor),a}}typeof Symbol<"u"&&(Ct.prototype[Symbol.for("nodejs.util.inspect.custom")]=Ct.prototype.inspect);oee.forEach(e=>{["add","merge","update"].forEach(t=>{const n=e.name(t),r=t==="add"?f4:lee;e.generateKey?Ct.prototype[n]=function(a,o,s){return r(this,n,!0,(e.type||this.type)==="undirected",null,a,o,s,t==="update")}:Ct.prototype[n]=function(a,o,s,l){return r(this,n,!1,(e.type||this.type)==="undirected",a,o,s,l,t==="update")}})});bJ(Ct);CJ(Ct);$J(Ct);QJ(Ct);class Cu extends Ct{constructor(t){const n=nn({type:"directed"},t);if("multi"in n&&n.multi!==!1)throw new Me("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if(n.type!=="directed")throw new Me('DirectedGraph.from: inconsistent "'+n.type+'" type in given options!');super(n)}}class p4 extends Ct{constructor(t){const n=nn({type:"undirected"},t);if("multi"in n&&n.multi!==!1)throw new Me("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if(n.type!=="undirected")throw new Me('UndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');super(n)}}class g4 extends Ct{constructor(t){const n=nn({multi:!0},t);if("multi"in n&&n.multi!==!0)throw new Me("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");super(n)}}class h4 extends Ct{constructor(t){const n=nn({type:"directed",multi:!0},t);if("multi"in n&&n.multi!==!0)throw new Me("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if(n.type!=="directed")throw new Me('MultiDirectedGraph.from: inconsistent "'+n.type+'" type in given options!');super(n)}}class m4 extends Ct{constructor(t){const n=nn({type:"undirected",multi:!0},t);if("multi"in n&&n.multi!==!0)throw new Me("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if(n.type!=="undirected")throw new Me('MultiUndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');super(n)}}function Qs(e){e.from=function(t,n){const r=nn({},t.options,n),a=new e(r);return a.import(t),a}}Qs(Ct);Qs(Cu);Qs(p4);Qs(g4);Qs(h4);Qs(m4);Ct.Graph=Ct;Ct.DirectedGraph=Cu;Ct.UndirectedGraph=p4;Ct.MultiGraph=g4;Ct.MultiDirectedGraph=h4;Ct.MultiUndirectedGraph=m4;Ct.InvalidArgumentsGraphError=Me;Ct.NotFoundGraphError=De;Ct.UsageGraphError=Qe;function uee(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function hu(e){var t=uee(e,"string");return typeof t=="symbol"?t:t+""}function dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hu(r.key),r)}}function fn(e,t,n){return t&&dN(e.prototype,t),n&&dN(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ls(e)}function b4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b4=function(){return!!e})()}function cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cee(e)}function $n(e,t,n){return t=Ls(t),dee(e,b4()?Reflect.construct(t,n||[],Ls(e).constructor):t.apply(e,n))}function zk(e,t){return zk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},zk(e,t)}function qn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zk(e,t)}function fee(e){if(Array.isArray(e))return e}function pee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,s,l=[],c=!0,d=!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)&&(l.push(r.value),l.length!==t);c=!0);}catch(p){d=!0,a=p}finally{try{if(!c&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(d)throw a}}return l}}function Bk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y4(e,t){if(e){if(typeof e=="string")return Bk(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bk(e,t):void 0}}function gee(){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 Ms(e,t){return fee(e)||pee(e,t)||y4(e,t)||gee()}var hm={black:"#000000",silver:"#C0C0C0",gray:"#808080",grey:"#808080",white:"#FFFFFF",maroon:"#800000",red:"#FF0000",purple:"#800080",fuchsia:"#FF00FF",green:"#008000",lime:"#00FF00",olive:"#808000",yellow:"#FFFF00",navy:"#000080",blue:"#0000FF",teal:"#008080",aqua:"#00FFFF",darkblue:"#00008B",mediumblue:"#0000CD",darkgreen:"#006400",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",springgreen:"#00FF7F",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",rebeccapurple:"#663399",mediumaquamarine:"#66CDAA",dimgray:"#696969",dimgrey:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",slategrey:"#708090",lightslategray:"#778899",lightslategrey:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370DB",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",palevioletred:"#DB7093",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",lightyellow:"#FFFFE0",ivory:"#FFFFF0"},v4=new Int8Array(4),ef=new Int32Array(v4.buffer,0,1),S4=new Float32Array(v4.buffer,0,1),hee=/^\s*rgba?\s*\(/,mee=/^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,\s*([0-9]*)(?:\s*,\s*(.*)?)?\)\s*$/;function bee(e){var t=0,n=0,r=0,a=1;if(e[0]==="#")e.length===4?(t=parseInt(e.charAt(1)+e.charAt(1),16),n=parseInt(e.charAt(2)+e.charAt(2),16),r=parseInt(e.charAt(3)+e.charAt(3),16)):(t=parseInt(e.charAt(1)+e.charAt(2),16),n=parseInt(e.charAt(3)+e.charAt(4),16),r=parseInt(e.charAt(5)+e.charAt(6),16)),e.length===9&&(a=parseInt(e.charAt(7)+e.charAt(8),16)/255);else if(hee.test(e)){var o=e.match(mee);o&&(t=+o[1],n=+o[2],r=+o[3],o[4]&&(a=+o[4]))}return{r:t,g:n,b:r,a}}var Cs={};for(var Cd in hm)Cs[Cd]=la(hm[Cd]),Cs[hm[Cd]]=Cs[Cd];function E4(e,t,n,r,a){return ef[0]=r<<24|n<<16|t<<8|e,ef[0]=ef[0]&4278190079,S4[0]}function la(e){if(e=e.toLowerCase(),typeof Cs[e]<"u")return Cs[e];var t=bee(e),n=t.r,r=t.g,a=t.b,o=t.a;o=o*255|0;var s=E4(n,r,a,o);return Cs[e]=s,s}function yee(e,t){S4[0]=la(e);var n=ef[0],r=n&255,a=n>>8&255,o=n>>16&255,s=n>>24&255;return[r,a,o,s]}var mm={};function w4(e){if(typeof mm[e]<"u")return mm[e];var t=(e&16711680)>>>16,n=(e&65280)>>>8,r=e&255,a=255,o=E4(t,n,r,a);return mm[e]=o,o}function fN(e,t,n,r){return n+(t<<8)+(e<<16)}function pN(e,t,n,r,a,o){var s=Math.floor(n/o*a),l=Math.floor(e.drawingBufferHeight/o-r/o*a),c=new Uint8Array(4);e.bindFramebuffer(e.FRAMEBUFFER,t),e.readPixels(s,l,1,1,e.RGBA,e.UNSIGNED_BYTE,c);var d=Ms(c,4),p=d[0],g=d[1],m=d[2],b=d[3];return[p,g,m,b]}function Re(e,t,n){return(t=hu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gN(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 Ue(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gN(Object(n),!0).forEach(function(r){Re(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function vee(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Ls(e))!==null;);return e}function Uk(){return Uk=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=vee(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},Uk.apply(null,arguments)}function x4(e,t,n,r){var a=Uk(Ls(e.prototype),t,n);return typeof a=="function"?function(o){return a.apply(n,o)}:a}function See(e){return e.normalized?1:e.size}function bm(e){var t=0;return e.forEach(function(n){return t+=See(n)}),t}function k4(e,t,n){var r=e==="VERTEX"?t.VERTEX_SHADER:t.FRAGMENT_SHADER,a=t.createShader(r);if(a===null)throw new Error("loadShader: error while creating the shader");t.shaderSource(a,n),t.compileShader(a);var o=t.getShaderParameter(a,t.COMPILE_STATUS);if(!o){var s=t.getShaderInfoLog(a);throw t.deleteShader(a),new Error(`loadShader: error while compiling the shader:
|
||
`.concat(s,`
|
||
`).concat(n))}return a}function Eee(e,t){return k4("VERTEX",e,t)}function wee(e,t){return k4("FRAGMENT",e,t)}function xee(e,t){var n=e.createProgram();if(n===null)throw new Error("loadProgram: error while creating the program.");var r,a;for(r=0,a=t.length;r<a;r++)e.attachShader(n,t[r]);e.linkProgram(n);var o=e.getProgramParameter(n,e.LINK_STATUS);if(!o)throw e.deleteProgram(n),new Error("loadProgram: error while linking the program.");return n}function hN(e){var t=e.gl,n=e.buffer,r=e.program,a=e.vertexShader,o=e.fragmentShader;t.deleteShader(a),t.deleteShader(o),t.deleteProgram(r),t.deleteBuffer(n)}function mN(e){return e%1===0?e.toFixed(1):e.toString()}var bN=`#define PICKING_MODE
|
||
`,kee=Re(Re(Re(Re(Re(Re(Re(Re({},WebGL2RenderingContext.BOOL,1),WebGL2RenderingContext.BYTE,1),WebGL2RenderingContext.UNSIGNED_BYTE,1),WebGL2RenderingContext.SHORT,2),WebGL2RenderingContext.UNSIGNED_SHORT,2),WebGL2RenderingContext.INT,4),WebGL2RenderingContext.UNSIGNED_INT,4),WebGL2RenderingContext.FLOAT,4),T4=function(){function e(t,n,r){dn(this,e),Re(this,"array",new Float32Array),Re(this,"constantArray",new Float32Array),Re(this,"capacity",0),Re(this,"verticesCount",0);var a=this.getDefinition();if(this.VERTICES=a.VERTICES,this.VERTEX_SHADER_SOURCE=a.VERTEX_SHADER_SOURCE,this.FRAGMENT_SHADER_SOURCE=a.FRAGMENT_SHADER_SOURCE,this.UNIFORMS=a.UNIFORMS,this.ATTRIBUTES=a.ATTRIBUTES,this.METHOD=a.METHOD,this.CONSTANT_ATTRIBUTES="CONSTANT_ATTRIBUTES"in a?a.CONSTANT_ATTRIBUTES:[],this.CONSTANT_DATA="CONSTANT_DATA"in a?a.CONSTANT_DATA:[],this.isInstanced="CONSTANT_ATTRIBUTES"in a,this.ATTRIBUTES_ITEMS_COUNT=bm(this.ATTRIBUTES),this.STRIDE=this.VERTICES*this.ATTRIBUTES_ITEMS_COUNT,this.renderer=r,this.normalProgram=this.getProgramInfo("normal",t,a.VERTEX_SHADER_SOURCE,a.FRAGMENT_SHADER_SOURCE,null),this.pickProgram=n?this.getProgramInfo("pick",t,bN+a.VERTEX_SHADER_SOURCE,bN+a.FRAGMENT_SHADER_SOURCE,n):null,this.isInstanced){var o=bm(this.CONSTANT_ATTRIBUTES);if(this.CONSTANT_DATA.length!==this.VERTICES)throw new Error("Program: error while getting constant data (expected ".concat(this.VERTICES," items, received ").concat(this.CONSTANT_DATA.length," instead)"));this.constantArray=new Float32Array(this.CONSTANT_DATA.length*o);for(var s=0;s<this.CONSTANT_DATA.length;s++){var l=this.CONSTANT_DATA[s];if(l.length!==o)throw new Error("Program: error while getting constant data (one vector has ".concat(l.length," items instead of ").concat(o,")"));for(var c=0;c<l.length;c++)this.constantArray[s*o+c]=l[c]}this.STRIDE=this.ATTRIBUTES_ITEMS_COUNT}}return fn(e,[{key:"kill",value:function(){hN(this.normalProgram),this.pickProgram&&(hN(this.pickProgram),this.pickProgram=null)}},{key:"getProgramInfo",value:function(n,r,a,o,s){var l=this.getDefinition(),c=r.createBuffer();if(c===null)throw new Error("Program: error while creating the WebGL buffer.");var d=Eee(r,a),p=wee(r,o),g=xee(r,[d,p]),m={};l.UNIFORMS.forEach(function(S){var k=r.getUniformLocation(g,S);k&&(m[S]=k)});var b={};l.ATTRIBUTES.forEach(function(S){b[S.name]=r.getAttribLocation(g,S.name)});var y;if("CONSTANT_ATTRIBUTES"in l&&(l.CONSTANT_ATTRIBUTES.forEach(function(S){b[S.name]=r.getAttribLocation(g,S.name)}),y=r.createBuffer(),y===null))throw new Error("Program: error while creating the WebGL constant buffer.");return{name:n,program:g,gl:r,frameBuffer:s,buffer:c,constantBuffer:y||{},uniformLocations:m,attributeLocations:b,isPicking:n==="pick",vertexShader:d,fragmentShader:p}}},{key:"bindProgram",value:function(n){var r=this,a=0,o=n.gl,s=n.buffer;this.isInstanced?(o.bindBuffer(o.ARRAY_BUFFER,n.constantBuffer),a=0,this.CONSTANT_ATTRIBUTES.forEach(function(l){return a+=r.bindAttribute(l,n,a,!1)}),o.bufferData(o.ARRAY_BUFFER,this.constantArray,o.STATIC_DRAW),o.bindBuffer(o.ARRAY_BUFFER,n.buffer),a=0,this.ATTRIBUTES.forEach(function(l){return a+=r.bindAttribute(l,n,a,!0)}),o.bufferData(o.ARRAY_BUFFER,this.array,o.DYNAMIC_DRAW)):(o.bindBuffer(o.ARRAY_BUFFER,s),a=0,this.ATTRIBUTES.forEach(function(l){return a+=r.bindAttribute(l,n,a)}),o.bufferData(o.ARRAY_BUFFER,this.array,o.DYNAMIC_DRAW)),o.bindBuffer(o.ARRAY_BUFFER,null)}},{key:"unbindProgram",value:function(n){var r=this;this.isInstanced?(this.CONSTANT_ATTRIBUTES.forEach(function(a){return r.unbindAttribute(a,n,!1)}),this.ATTRIBUTES.forEach(function(a){return r.unbindAttribute(a,n,!0)})):this.ATTRIBUTES.forEach(function(a){return r.unbindAttribute(a,n)})}},{key:"bindAttribute",value:function(n,r,a,o){var s=kee[n.type];if(typeof s!="number")throw new Error('Program.bind: yet unsupported attribute type "'.concat(n.type,'"'));var l=r.attributeLocations[n.name],c=r.gl;if(l!==-1){c.enableVertexAttribArray(l);var d=this.isInstanced?(o?this.ATTRIBUTES_ITEMS_COUNT:bm(this.CONSTANT_ATTRIBUTES))*Float32Array.BYTES_PER_ELEMENT:this.ATTRIBUTES_ITEMS_COUNT*Float32Array.BYTES_PER_ELEMENT;if(c.vertexAttribPointer(l,n.size,n.type,n.normalized||!1,d,a),this.isInstanced&&o)if(c instanceof WebGL2RenderingContext)c.vertexAttribDivisor(l,1);else{var p=c.getExtension("ANGLE_instanced_arrays");p&&p.vertexAttribDivisorANGLE(l,1)}}return n.size*s}},{key:"unbindAttribute",value:function(n,r,a){var o=r.attributeLocations[n.name],s=r.gl;if(o!==-1&&(s.disableVertexAttribArray(o),this.isInstanced&&a))if(s instanceof WebGL2RenderingContext)s.vertexAttribDivisor(o,0);else{var l=s.getExtension("ANGLE_instanced_arrays");l&&l.vertexAttribDivisorANGLE(o,0)}}},{key:"reallocate",value:function(n){n!==this.capacity&&(this.capacity=n,this.verticesCount=this.VERTICES*n,this.array=new Float32Array(this.isInstanced?this.capacity*this.ATTRIBUTES_ITEMS_COUNT:this.verticesCount*this.ATTRIBUTES_ITEMS_COUNT))}},{key:"hasNothingToRender",value:function(){return this.verticesCount===0}},{key:"renderProgram",value:function(n,r){var a=r.gl,o=r.program;a.enable(a.BLEND),a.useProgram(o),this.setUniforms(n,r),this.drawWebGL(this.METHOD,r)}},{key:"render",value:function(n){this.hasNothingToRender()||(this.pickProgram&&(this.pickProgram.gl.viewport(0,0,n.width*n.pixelRatio/n.downSizingRatio,n.height*n.pixelRatio/n.downSizingRatio),this.bindProgram(this.pickProgram),this.renderProgram(Ue(Ue({},n),{},{pixelRatio:n.pixelRatio/n.downSizingRatio}),this.pickProgram),this.unbindProgram(this.pickProgram)),this.normalProgram.gl.viewport(0,0,n.width*n.pixelRatio,n.height*n.pixelRatio),this.bindProgram(this.normalProgram),this.renderProgram(n,this.normalProgram),this.unbindProgram(this.normalProgram))}},{key:"drawWebGL",value:function(n,r){var a=r.gl,o=r.frameBuffer;if(a.bindFramebuffer(a.FRAMEBUFFER,o),!this.isInstanced)a.drawArrays(n,0,this.verticesCount);else if(a instanceof WebGL2RenderingContext)a.drawArraysInstanced(n,0,this.VERTICES,this.capacity);else{var s=a.getExtension("ANGLE_instanced_arrays");s&&s.drawArraysInstancedANGLE(n,0,this.VERTICES,this.capacity)}}}])}(),bT=function(e){function t(){return dn(this,t),$n(this,t,arguments)}return qn(t,e),fn(t,[{key:"kill",value:function(){x4(t,"kill",this)([])}},{key:"process",value:function(r,a,o){var s=a*this.STRIDE;if(o.hidden){for(var l=s+this.STRIDE;s<l;s++)this.array[s]=0;return}return this.processVisibleItem(w4(r),s,o)}}])}(T4),Qu=function(e){function t(){var n;dn(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=$n(this,t,[].concat(a)),Re(n,"drawLabel",void 0),n}return qn(t,e),fn(t,[{key:"kill",value:function(){x4(t,"kill",this)([])}},{key:"process",value:function(r,a,o,s,l){var c=a*this.STRIDE;if(l.hidden||o.hidden||s.hidden){for(var d=c+this.STRIDE;c<d;c++)this.array[c]=0;return}return this.processVisibleItem(w4(r),c,o,s,l)}}])}(T4);function A4(e,t){return function(){function n(r,a,o){dn(this,n),Re(this,"drawLabel",t),this.programs=e.map(function(s){return new s(r,a,o)})}return fn(n,[{key:"reallocate",value:function(a){this.programs.forEach(function(o){return o.reallocate(a)})}},{key:"process",value:function(a,o,s,l,c){this.programs.forEach(function(d){return d.process(a,o,s,l,c)})}},{key:"render",value:function(a){this.programs.forEach(function(o){return o.render(a)})}},{key:"kill",value:function(){this.programs.forEach(function(a){return a.kill()})}}])}()}function Tee(e,t,n,r,a){var o=a.edgeLabelSize,s=a.edgeLabelFont,l=a.edgeLabelWeight,c=a.edgeLabelColor.attribute?t[a.edgeLabelColor.attribute]||a.edgeLabelColor.color||"#000":a.edgeLabelColor.color,d=t.label;if(d){e.fillStyle=c,e.font="".concat(l," ").concat(o,"px ").concat(s);var p=n.size,g=r.size,m=n.x,b=n.y,y=r.x,S=r.y,k=(m+y)/2,R=(b+S)/2,x=y-m,A=S-b,N=Math.sqrt(x*x+A*A);if(!(N<p+g)){m+=x*p/N,b+=A*p/N,y-=x*g/N,S-=A*g/N,k=(m+y)/2,R=(b+S)/2,x=y-m,A=S-b,N=Math.sqrt(x*x+A*A);var O=e.measureText(d).width;if(O>N){var C="…";for(d=d+C,O=e.measureText(d).width;O>N&&d.length>1;)d=d.slice(0,-2)+C,O=e.measureText(d).width;if(d.length<4)return}var _;x>0?A>0?_=Math.acos(x/N):_=Math.asin(A/N):A>0?_=Math.acos(x/N)+Math.PI:_=Math.asin(x/N)+Math.PI/2,e.save(),e.translate(k,R),e.rotate(_),e.fillText(d,-O/2,t.size/2+o),e.restore()}}}function R4(e,t,n){if(t.label){var r=n.labelSize,a=n.labelFont,o=n.labelWeight,s=n.labelColor.attribute?t[n.labelColor.attribute]||n.labelColor.color||"#000":n.labelColor.color;e.fillStyle=s,e.font="".concat(o," ").concat(r,"px ").concat(a),e.fillText(t.label,t.x+t.size+3,t.y+r/3)}}function Aee(e,t,n){var r=n.labelSize,a=n.labelFont,o=n.labelWeight;e.font="".concat(o," ").concat(r,"px ").concat(a),e.fillStyle="#FFF",e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=8,e.shadowColor="#000";var s=2;if(typeof t.label=="string"){var l=e.measureText(t.label).width,c=Math.round(l+5),d=Math.round(r+2*s),p=Math.max(t.size,r/2)+s,g=Math.asin(d/2/p),m=Math.sqrt(Math.abs(Math.pow(p,2)-Math.pow(d/2,2)));e.beginPath(),e.moveTo(t.x+m,t.y+d/2),e.lineTo(t.x+p+c,t.y+d/2),e.lineTo(t.x+p+c,t.y-d/2),e.lineTo(t.x+m,t.y-d/2),e.arc(t.x,t.y,p,g,-g),e.closePath(),e.fill()}else e.beginPath(),e.arc(t.x,t.y,t.size+s,0,Math.PI*2),e.closePath(),e.fill();e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,R4(e,t,n)}var Ree=`
|
||
precision highp float;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
uniform float u_correctionRatio;
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float border = u_correctionRatio * 2.0;
|
||
float dist = length(v_diffVector) - v_radius + border;
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > border)
|
||
gl_FragColor = transparent;
|
||
else
|
||
gl_FragColor = v_color;
|
||
|
||
#else
|
||
float t = 0.0;
|
||
if (dist > border)
|
||
t = 1.0;
|
||
else if (dist > 0.0)
|
||
t = dist / border;
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
}
|
||
`,Cee=Ree,_ee=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
attribute float a_angle;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
varying float v_border;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;
|
||
vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));
|
||
vec2 position = a_position + diffVector;
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
v_diffVector = diffVector;
|
||
v_radius = size / 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Nee=_ee,C4=WebGLRenderingContext,yN=C4.UNSIGNED_BYTE,ym=C4.FLOAT,Oee=["u_sizeRatio","u_correctionRatio","u_matrix"],Ju=function(e){function t(){return dn(this,t),$n(this,t,arguments)}return qn(t,e),fn(t,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Nee,FRAGMENT_SHADER_SOURCE:Cee,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Oee,ATTRIBUTES:[{name:"a_position",size:2,type:ym},{name:"a_size",size:1,type:ym},{name:"a_color",size:4,type:yN,normalized:!0},{name:"a_id",size:4,type:yN,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:ym}],CONSTANT_DATA:[[t.ANGLE_1],[t.ANGLE_2],[t.ANGLE_3]]}}},{key:"processVisibleItem",value:function(r,a,o){var s=this.array,l=la(o.color);s[a++]=o.x,s[a++]=o.y,s[a++]=o.size,s[a++]=l,s[a++]=r}},{key:"setUniforms",value:function(r,a){var o=a.gl,s=a.uniformLocations,l=s.u_sizeRatio,c=s.u_correctionRatio,d=s.u_matrix;o.uniform1f(c,r.correctionRatio),o.uniform1f(l,r.sizeRatio),o.uniformMatrix3fv(d,!1,r.matrix)}}])}(bT);Re(Ju,"ANGLE_1",0);Re(Ju,"ANGLE_2",2*Math.PI/3);Re(Ju,"ANGLE_3",4*Math.PI/3);var Dee=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
|
||
void main(void) {
|
||
gl_FragColor = v_color;
|
||
}
|
||
`,Iee=Dee,Lee=`
|
||
attribute vec2 a_position;
|
||
attribute vec2 a_normal;
|
||
attribute float a_radius;
|
||
attribute vec3 a_barycentric;
|
||
|
||
#ifdef PICKING_MODE
|
||
attribute vec4 a_id;
|
||
#else
|
||
attribute vec4 a_color;
|
||
#endif
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_widenessToThicknessRatio;
|
||
|
||
varying vec4 v_color;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
float normalLength = length(a_normal);
|
||
vec2 unitNormal = a_normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl and
|
||
// edge.clamped.vert.glsl. Please read it to get better comments on what's
|
||
// happening:
|
||
float pixelsThickness = max(normalLength / u_sizeRatio, minThickness);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio;
|
||
float webGLNodeRadius = a_radius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
float webGLArrowHeadThickness = webGLThickness * u_widenessToThicknessRatio;
|
||
|
||
float da = a_barycentric.x;
|
||
float db = a_barycentric.y;
|
||
float dc = a_barycentric.z;
|
||
|
||
vec2 delta = vec2(
|
||
da * (webGLNodeRadius * unitNormal.y)
|
||
+ db * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y + webGLArrowHeadThickness * unitNormal.x)
|
||
+ dc * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y - webGLArrowHeadThickness * unitNormal.x),
|
||
|
||
da * (-webGLNodeRadius * unitNormal.x)
|
||
+ db * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x + webGLArrowHeadThickness * unitNormal.y)
|
||
+ dc * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x - webGLArrowHeadThickness * unitNormal.y)
|
||
);
|
||
|
||
vec2 position = (u_matrix * vec3(a_position + delta, 1)).xy;
|
||
|
||
gl_Position = vec4(position, 0, 1);
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Mee=Lee,_4=WebGLRenderingContext,vN=_4.UNSIGNED_BYTE,_d=_4.FLOAT,Pee=["u_matrix","u_sizeRatio","u_correctionRatio","u_minEdgeThickness","u_lengthToThicknessRatio","u_widenessToThicknessRatio"],ec={extremity:"target",lengthToThicknessRatio:2.5,widenessToThicknessRatio:2};function Tf(e){var t=Ue(Ue({},ec),e||{});return function(n){function r(){return dn(this,r),$n(this,r,arguments)}return qn(r,n),fn(r,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Mee,FRAGMENT_SHADER_SOURCE:Iee,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Pee,ATTRIBUTES:[{name:"a_position",size:2,type:_d},{name:"a_normal",size:2,type:_d},{name:"a_radius",size:1,type:_d},{name:"a_color",size:4,type:vN,normalized:!0},{name:"a_id",size:4,type:vN,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_barycentric",size:3,type:_d}],CONSTANT_DATA:[[1,0,0],[0,1,0],[0,0,1]]}}},{key:"processVisibleItem",value:function(o,s,l,c,d){if(t.extremity==="source"){var p=[c,l];l=p[0],c=p[1]}var g=d.size||1,m=c.size||1,b=l.x,y=l.y,S=c.x,k=c.y,R=la(d.color),x=S-b,A=k-y,N=x*x+A*A,O=0,C=0;N&&(N=1/Math.sqrt(N),O=-A*N*g,C=x*N*g);var _=this.array;_[s++]=S,_[s++]=k,_[s++]=-O,_[s++]=-C,_[s++]=m,_[s++]=R,_[s++]=o}},{key:"setUniforms",value:function(o,s){var l=s.gl,c=s.uniformLocations,d=c.u_matrix,p=c.u_sizeRatio,g=c.u_correctionRatio,m=c.u_minEdgeThickness,b=c.u_lengthToThicknessRatio,y=c.u_widenessToThicknessRatio;l.uniformMatrix3fv(d,!1,o.matrix),l.uniform1f(p,o.sizeRatio),l.uniform1f(g,o.correctionRatio),l.uniform1f(m,o.minEdgeThickness),l.uniform1f(b,t.lengthToThicknessRatio),l.uniform1f(y,t.widenessToThicknessRatio)}}])}(Qu)}Tf();var Fee=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
// We only handle antialiasing for normal mode:
|
||
#ifdef PICKING_MODE
|
||
gl_FragColor = v_color;
|
||
#else
|
||
float dist = length(v_normal) * v_thickness;
|
||
|
||
float t = smoothstep(
|
||
v_thickness - v_feather,
|
||
v_thickness,
|
||
dist
|
||
);
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
}
|
||
`,yT=Fee,zee=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
attribute float a_radius;
|
||
attribute float a_radiusCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
float radius = a_radius * a_radiusCoef;
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl. Please read it to
|
||
// get better comments on what's happening:
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here, we move the point to leave space for the arrow head:
|
||
float direction = sign(radius);
|
||
float webGLNodeRadius = direction * radius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
|
||
vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (webGLNodeRadius + webGLArrowHeadLength);
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + compensationVector, 1)).xy, 0, 1);
|
||
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Bee=zee,N4=WebGLRenderingContext,SN=N4.UNSIGNED_BYTE,oi=N4.FLOAT,Uee=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness","u_lengthToThicknessRatio"],jee={lengthToThicknessRatio:ec.lengthToThicknessRatio};function O4(e){var t=Ue(Ue({},jee),{});return function(n){function r(){return dn(this,r),$n(this,r,arguments)}return qn(r,n),fn(r,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:Bee,FRAGMENT_SHADER_SOURCE:yT,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Uee,ATTRIBUTES:[{name:"a_positionStart",size:2,type:oi},{name:"a_positionEnd",size:2,type:oi},{name:"a_normal",size:2,type:oi},{name:"a_color",size:4,type:SN,normalized:!0},{name:"a_id",size:4,type:SN,normalized:!0},{name:"a_radius",size:1,type:oi}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:oi},{name:"a_normalCoef",size:1,type:oi},{name:"a_radiusCoef",size:1,type:oi}],CONSTANT_DATA:[[0,1,0],[0,-1,0],[1,1,1],[1,1,1],[0,-1,0],[1,-1,-1]]}}},{key:"processVisibleItem",value:function(o,s,l,c,d){var p=d.size||1,g=l.x,m=l.y,b=c.x,y=c.y,S=la(d.color),k=b-g,R=y-m,x=c.size||1,A=k*k+R*R,N=0,O=0;A&&(A=1/Math.sqrt(A),N=-R*A*p,O=k*A*p);var C=this.array;C[s++]=g,C[s++]=m,C[s++]=b,C[s++]=y,C[s++]=N,C[s++]=O,C[s++]=S,C[s++]=o,C[s++]=x}},{key:"setUniforms",value:function(o,s){var l=s.gl,c=s.uniformLocations,d=c.u_matrix,p=c.u_zoomRatio,g=c.u_feather,m=c.u_pixelRatio,b=c.u_correctionRatio,y=c.u_sizeRatio,S=c.u_minEdgeThickness,k=c.u_lengthToThicknessRatio;l.uniformMatrix3fv(d,!1,o.matrix),l.uniform1f(p,o.zoomRatio),l.uniform1f(y,o.sizeRatio),l.uniform1f(b,o.correctionRatio),l.uniform1f(m,o.pixelRatio),l.uniform1f(g,o.antiAliasingFeather),l.uniform1f(S,o.minEdgeThickness),l.uniform1f(k,t.lengthToThicknessRatio)}}])}(Qu)}O4();function Gee(e){return A4([O4(),Tf(e)])}var Hee=Gee(),D4=Hee,$ee=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// We require edges to be at least "minThickness" pixels thick *on screen*
|
||
// (so we need to compensate the size ratio):
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
|
||
// Then, we need to retrieve the normalized thickness of the edge in the WebGL
|
||
// referential (in a ([0, 1], [0, 1]) space), using our "magic" correction
|
||
// ratio:
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness, 1)).xy, 0, 1);
|
||
|
||
// For the fragment shader though, we need a thickness that takes the "magic"
|
||
// correction ratio into account (as in webGLThickness), but so that the
|
||
// antialiasing effect does not depend on the zoom level. So here's yet
|
||
// another thickness version:
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,qee=$ee,I4=WebGLRenderingContext,EN=I4.UNSIGNED_BYTE,au=I4.FLOAT,Vee=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness"],Wee=function(e){function t(){return dn(this,t),$n(this,t,arguments)}return qn(t,e),fn(t,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:qee,FRAGMENT_SHADER_SOURCE:yT,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Vee,ATTRIBUTES:[{name:"a_positionStart",size:2,type:au},{name:"a_positionEnd",size:2,type:au},{name:"a_normal",size:2,type:au},{name:"a_color",size:4,type:EN,normalized:!0},{name:"a_id",size:4,type:EN,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:au},{name:"a_normalCoef",size:1,type:au}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[1,1],[0,-1],[1,-1]]}}},{key:"processVisibleItem",value:function(r,a,o,s,l){var c=l.size||1,d=o.x,p=o.y,g=s.x,m=s.y,b=la(l.color),y=g-d,S=m-p,k=y*y+S*S,R=0,x=0;k&&(k=1/Math.sqrt(k),R=-S*k*c,x=y*k*c);var A=this.array;A[a++]=d,A[a++]=p,A[a++]=g,A[a++]=m,A[a++]=R,A[a++]=x,A[a++]=b,A[a++]=r}},{key:"setUniforms",value:function(r,a){var o=a.gl,s=a.uniformLocations,l=s.u_matrix,c=s.u_zoomRatio,d=s.u_feather,p=s.u_pixelRatio,g=s.u_correctionRatio,m=s.u_sizeRatio,b=s.u_minEdgeThickness;o.uniformMatrix3fv(l,!1,r.matrix),o.uniform1f(c,r.zoomRatio),o.uniform1f(m,r.sizeRatio),o.uniform1f(g,r.correctionRatio),o.uniform1f(p,r.pixelRatio),o.uniform1f(d,r.antiAliasingFeather),o.uniform1f(b,r.minEdgeThickness)}}])}(Qu),vT=function(e){function t(){var n;return dn(this,t),n=$n(this,t),n.rawEmitter=n,n}return qn(t,e),fn(t)}(r4.EventEmitter),vm,wN;function ua(){return wN||(wN=1,vm=function(t){return t!==null&&typeof t=="object"&&typeof t.addUndirectedEdgeWithKey=="function"&&typeof t.dropNode=="function"&&typeof t.multi=="boolean"}),vm}var Yee=ua();const Kee=cn(Yee);var Xee=function(t){return t},Zee=function(t){return t*t},Qee=function(t){return t*(2-t)},Jee=function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},ete=function(t){return t*t*t},tte=function(t){return--t*t*t+1},nte=function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},L4={linear:Xee,quadraticIn:Zee,quadraticOut:Qee,quadraticInOut:Jee,cubicIn:ete,cubicOut:tte,cubicInOut:nte},M4={easing:"quadraticInOut",duration:150};function P4(e,t,n,r){var a=Object.assign({},M4,n),o=typeof a.easing=="function"?a.easing:L4[a.easing],s=Date.now(),l={};for(var c in t){var d=t[c];l[c]={};for(var p in d)l[c][p]=e.getNodeAttribute(c,p)}var g=null,m=function(){g=null;var y=(Date.now()-s)/a.duration;if(y>=1){for(var S in t){var k=t[S];for(var R in k)e.setNodeAttribute(S,R,k[R])}return}y=o(y);for(var x in t){var A=t[x],N=l[x];for(var O in A)e.setNodeAttribute(x,O,A[O]*y+N[O]*(1-y))}g=requestAnimationFrame(m)};return m(),function(){g&&cancelAnimationFrame(g)}}function Mr(){return Float32Array.of(1,0,0,0,1,0,0,0,1)}function Nd(e,t,n){return e[0]=t,e[4]=typeof n=="number"?n:t,e}function xN(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[3]=-n,e[4]=r,e}function kN(e,t,n){return e[6]=t,e[7]=n,e}function vo(e,t){var n=e[0],r=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],d=e[7],p=e[8],g=t[0],m=t[1],b=t[2],y=t[3],S=t[4],k=t[5],R=t[6],x=t[7],A=t[8];return e[0]=g*n+m*o+b*c,e[1]=g*r+m*s+b*d,e[2]=g*a+m*l+b*p,e[3]=y*n+S*o+k*c,e[4]=y*r+S*s+k*d,e[5]=y*a+S*l+k*p,e[6]=R*n+x*o+A*c,e[7]=R*r+x*s+A*d,e[8]=R*a+x*l+A*p,e}function jk(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=e[0],a=e[1],o=e[3],s=e[4],l=e[6],c=e[7],d=t.x,p=t.y;return{x:d*r+p*o+l*n,y:d*a+p*s+c*n}}function rte(e,t){var n=e.height/e.width,r=t.height/t.width;return n<1&&r>1||n>1&&r<1?1:Math.min(Math.max(r,1/r),Math.max(1/n,n))}function ou(e,t,n,r,a){var o=e.angle,s=e.ratio,l=e.x,c=e.y,d=t.width,p=t.height,g=Mr(),m=Math.min(d,p)-2*r,b=rte(t,n);return a?(vo(g,kN(Mr(),l,c)),vo(g,Nd(Mr(),s)),vo(g,xN(Mr(),o)),vo(g,Nd(Mr(),d/m/2/b,p/m/2/b))):(vo(g,Nd(Mr(),2*(m/d)*b,2*(m/p)*b)),vo(g,xN(Mr(),-o)),vo(g,Nd(Mr(),1/s)),vo(g,kN(Mr(),-l,-c))),g}function ate(e,t,n){var r=jk(e,{x:Math.cos(t.angle),y:Math.sin(t.angle)},0),a=r.x,o=r.y;return 1/Math.sqrt(Math.pow(a,2)+Math.pow(o,2))/n.width}function ote(e){if(!e.order)return{x:[0,1],y:[0,1]};var t=1/0,n=-1/0,r=1/0,a=-1/0;return e.forEachNode(function(o,s){var l=s.x,c=s.y;l<t&&(t=l),l>n&&(n=l),c<r&&(r=c),c>a&&(a=c)}),{x:[t,n],y:[r,a]}}function ite(e){if(!Kee(e))throw new Error("Sigma: invalid graph instance.");e.forEachNode(function(t,n){if(!Number.isFinite(n.x)||!Number.isFinite(n.y))throw new Error("Sigma: Coordinates of node ".concat(t," are invalid. A node must have a numeric 'x' and 'y' attribute."))})}function ste(e,t,n){var r=document.createElement(e);if(t)for(var a in t)r.style[a]=t[a];if(n)for(var o in n)r.setAttribute(o,n[o]);return r}function TN(){return typeof window.devicePixelRatio<"u"?window.devicePixelRatio:1}function AN(e,t,n){return n.sort(function(r,a){var o=t(r)||0,s=t(a)||0;return o<s?-1:o>s?1:0})}function RN(e){var t=Ms(e.x,2),n=t[0],r=t[1],a=Ms(e.y,2),o=a[0],s=a[1],l=Math.max(r-n,s-o),c=(r+n)/2,d=(s+o)/2;(l===0||Math.abs(l)===1/0||isNaN(l))&&(l=1),isNaN(c)&&(c=0),isNaN(d)&&(d=0);var p=function(m){return{x:.5+(m.x-c)/l,y:.5+(m.y-d)/l}};return p.applyTo=function(g){g.x=.5+(g.x-c)/l,g.y=.5+(g.y-d)/l},p.inverse=function(g){return{x:c+l*(g.x-.5),y:d+l*(g.y-.5)}},p.ratio=l,p}function Gk(e){"@babel/helpers - typeof";return Gk=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},Gk(e)}function CN(e,t){var n=t.size;if(n!==0){var r=e.length;e.length+=n;var a=0;t.forEach(function(o){e[r+a]=o,a++})}}function Sm(e){e=e||{};for(var t=0,n=arguments.length<=1?0:arguments.length-1;t<n;t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];r&&Object.assign(e,r)}return e}var ST={hideEdgesOnMove:!1,hideLabelsOnMove:!1,renderLabels:!0,renderEdgeLabels:!1,enableEdgeEvents:!1,defaultNodeColor:"#999",defaultNodeType:"circle",defaultEdgeColor:"#ccc",defaultEdgeType:"line",labelFont:"Arial",labelSize:14,labelWeight:"normal",labelColor:{color:"#000"},edgeLabelFont:"Arial",edgeLabelSize:14,edgeLabelWeight:"normal",edgeLabelColor:{attribute:"color"},stagePadding:30,defaultDrawEdgeLabel:Tee,defaultDrawNodeLabel:R4,defaultDrawNodeHover:Aee,minEdgeThickness:1.7,antiAliasingFeather:1,dragTimeout:100,draggedEventsTolerance:3,inertiaDuration:200,inertiaRatio:3,zoomDuration:250,zoomingRatio:1.7,doubleClickTimeout:300,doubleClickZoomingRatio:2.2,doubleClickZoomingDuration:200,tapMoveTolerance:10,zoomToSizeRatioFunction:Math.sqrt,itemSizesReference:"screen",autoRescale:!0,autoCenter:!0,labelDensity:1,labelGridCellSize:100,labelRenderedSizeThreshold:6,nodeReducer:null,edgeReducer:null,zIndex:!1,minCameraRatio:null,maxCameraRatio:null,enableCameraZooming:!0,enableCameraPanning:!0,enableCameraRotation:!0,cameraPanBoundaries:null,allowInvalidContainer:!1,nodeProgramClasses:{},nodeHoverProgramClasses:{},edgeProgramClasses:{}},lte={circle:Ju},ute={arrow:D4,line:Wee};function Em(e){if(typeof e.labelDensity!="number"||e.labelDensity<0)throw new Error("Settings: invalid `labelDensity`. Expecting a positive number.");var t=e.minCameraRatio,n=e.maxCameraRatio;if(typeof t=="number"&&typeof n=="number"&&n<t)throw new Error("Settings: invalid camera ratio boundaries. Expecting `maxCameraRatio` to be greater than `minCameraRatio`.")}function cte(e){var t=Sm({},ST,e);return t.nodeProgramClasses=Sm({},lte,t.nodeProgramClasses),t.edgeProgramClasses=Sm({},ute,t.edgeProgramClasses),t}var Od=1.5,_N=function(e){function t(){var n;return dn(this,t),n=$n(this,t),Re(n,"x",.5),Re(n,"y",.5),Re(n,"angle",0),Re(n,"ratio",1),Re(n,"minRatio",null),Re(n,"maxRatio",null),Re(n,"enabledZooming",!0),Re(n,"enabledPanning",!0),Re(n,"enabledRotation",!0),Re(n,"clean",null),Re(n,"nextFrame",null),Re(n,"previousState",null),Re(n,"enabled",!0),n.previousState=n.getState(),n}return qn(t,e),fn(t,[{key:"enable",value:function(){return this.enabled=!0,this}},{key:"disable",value:function(){return this.enabled=!1,this}},{key:"getState",value:function(){return{x:this.x,y:this.y,angle:this.angle,ratio:this.ratio}}},{key:"hasState",value:function(r){return this.x===r.x&&this.y===r.y&&this.ratio===r.ratio&&this.angle===r.angle}},{key:"getPreviousState",value:function(){var r=this.previousState;return r?{x:r.x,y:r.y,angle:r.angle,ratio:r.ratio}:null}},{key:"getBoundedRatio",value:function(r){var a=r;return typeof this.minRatio=="number"&&(a=Math.max(a,this.minRatio)),typeof this.maxRatio=="number"&&(a=Math.min(a,this.maxRatio)),a}},{key:"validateState",value:function(r){var a={};return this.enabledPanning&&typeof r.x=="number"&&(a.x=r.x),this.enabledPanning&&typeof r.y=="number"&&(a.y=r.y),this.enabledZooming&&typeof r.ratio=="number"&&(a.ratio=this.getBoundedRatio(r.ratio)),this.enabledRotation&&typeof r.angle=="number"&&(a.angle=r.angle),this.clean?this.clean(Ue(Ue({},this.getState()),a)):a}},{key:"isAnimated",value:function(){return!!this.nextFrame}},{key:"setState",value:function(r){if(!this.enabled)return this;this.previousState=this.getState();var a=this.validateState(r);return typeof a.x=="number"&&(this.x=a.x),typeof a.y=="number"&&(this.y=a.y),typeof a.ratio=="number"&&(this.ratio=a.ratio),typeof a.angle=="number"&&(this.angle=a.angle),this.hasState(this.previousState)||this.emit("updated",this.getState()),this}},{key:"updateState",value:function(r){return this.setState(r(this.getState())),this}},{key:"animate",value:function(r){var a=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;if(!s)return new Promise(function(b){return a.animate(r,o,b)});if(this.enabled){var l=Ue(Ue({},M4),o),c=this.validateState(r),d=typeof l.easing=="function"?l.easing:L4[l.easing],p=Date.now(),g=this.getState(),m=function(){var y=(Date.now()-p)/l.duration;if(y>=1){a.nextFrame=null,a.setState(c),a.animationCallback&&(a.animationCallback.call(null),a.animationCallback=void 0);return}var S=d(y),k={};typeof c.x=="number"&&(k.x=g.x+(c.x-g.x)*S),typeof c.y=="number"&&(k.y=g.y+(c.y-g.y)*S),a.enabledRotation&&typeof c.angle=="number"&&(k.angle=g.angle+(c.angle-g.angle)*S),typeof c.ratio=="number"&&(k.ratio=g.ratio+(c.ratio-g.ratio)*S),a.setState(k),a.nextFrame=requestAnimationFrame(m)};this.nextFrame?(cancelAnimationFrame(this.nextFrame),this.animationCallback&&this.animationCallback.call(null),this.nextFrame=requestAnimationFrame(m)):m(),this.animationCallback=s}}},{key:"animatedZoom",value:function(r){return r?typeof r=="number"?this.animate({ratio:this.ratio/r}):this.animate({ratio:this.ratio/(r.factor||Od)},r):this.animate({ratio:this.ratio/Od})}},{key:"animatedUnzoom",value:function(r){return r?typeof r=="number"?this.animate({ratio:this.ratio*r}):this.animate({ratio:this.ratio*(r.factor||Od)},r):this.animate({ratio:this.ratio*Od})}},{key:"animatedReset",value:function(r){return this.animate({x:.5,y:.5,ratio:1,angle:0},r)}},{key:"copy",value:function(){return t.from(this.getState())}}],[{key:"from",value:function(r){var a=new t;return a.setState(r)}}])}(vT);function Fr(e,t){var n=t.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}function La(e,t){var n=Ue(Ue({},Fr(e,t)),{},{sigmaDefaultPrevented:!1,preventSigmaDefault:function(){n.sigmaDefaultPrevented=!0},original:e});return n}function iu(e){var t="x"in e?e:Ue(Ue({},e.touches[0]||e.previousTouches[0]),{},{original:e.original,sigmaDefaultPrevented:e.sigmaDefaultPrevented,preventSigmaDefault:function(){e.sigmaDefaultPrevented=!0,t.sigmaDefaultPrevented=!0}});return t}function dte(e,t){return Ue(Ue({},La(e,t)),{},{delta:F4(e)})}var fte=2;function tf(e){for(var t=[],n=0,r=Math.min(e.length,fte);n<r;n++)t.push(e[n]);return t}function su(e,t,n){var r={touches:tf(e.touches).map(function(a){return Fr(a,n)}),previousTouches:t.map(function(a){return Fr(a,n)}),sigmaDefaultPrevented:!1,preventSigmaDefault:function(){r.sigmaDefaultPrevented=!0},original:e};return r}function F4(e){if(typeof e.deltaY<"u")return e.deltaY*-3/360;if(typeof e.detail<"u")return e.detail/-9;throw new Error("Captor: could not extract delta from event.")}var z4=function(e){function t(n,r){var a;return dn(this,t),a=$n(this,t),a.container=n,a.renderer=r,a}return qn(t,e),fn(t)}(vT),pte=["doubleClickTimeout","doubleClickZoomingDuration","doubleClickZoomingRatio","dragTimeout","draggedEventsTolerance","inertiaDuration","inertiaRatio","zoomDuration","zoomingRatio"],gte=pte.reduce(function(e,t){return Ue(Ue({},e),{},Re({},t,ST[t]))},{}),hte=function(e){function t(n,r){var a;return dn(this,t),a=$n(this,t,[n,r]),Re(a,"enabled",!0),Re(a,"draggedEvents",0),Re(a,"downStartTime",null),Re(a,"lastMouseX",null),Re(a,"lastMouseY",null),Re(a,"isMouseDown",!1),Re(a,"isMoving",!1),Re(a,"movingTimeout",null),Re(a,"startCameraState",null),Re(a,"clicks",0),Re(a,"doubleClickTimeout",null),Re(a,"currentWheelDirection",0),Re(a,"settings",gte),a.handleClick=a.handleClick.bind(a),a.handleRightClick=a.handleRightClick.bind(a),a.handleDown=a.handleDown.bind(a),a.handleUp=a.handleUp.bind(a),a.handleMove=a.handleMove.bind(a),a.handleWheel=a.handleWheel.bind(a),a.handleLeave=a.handleLeave.bind(a),a.handleEnter=a.handleEnter.bind(a),n.addEventListener("click",a.handleClick,{capture:!1}),n.addEventListener("contextmenu",a.handleRightClick,{capture:!1}),n.addEventListener("mousedown",a.handleDown,{capture:!1}),n.addEventListener("wheel",a.handleWheel,{capture:!1}),n.addEventListener("mouseleave",a.handleLeave,{capture:!1}),n.addEventListener("mouseenter",a.handleEnter,{capture:!1}),document.addEventListener("mousemove",a.handleMove,{capture:!1}),document.addEventListener("mouseup",a.handleUp,{capture:!1}),a}return qn(t,e),fn(t,[{key:"kill",value:function(){var r=this.container;r.removeEventListener("click",this.handleClick),r.removeEventListener("contextmenu",this.handleRightClick),r.removeEventListener("mousedown",this.handleDown),r.removeEventListener("wheel",this.handleWheel),r.removeEventListener("mouseleave",this.handleLeave),r.removeEventListener("mouseenter",this.handleEnter),document.removeEventListener("mousemove",this.handleMove),document.removeEventListener("mouseup",this.handleUp)}},{key:"handleClick",value:function(r){var a=this;if(this.enabled){if(this.clicks++,this.clicks===2)return this.clicks=0,typeof this.doubleClickTimeout=="number"&&(clearTimeout(this.doubleClickTimeout),this.doubleClickTimeout=null),this.handleDoubleClick(r);setTimeout(function(){a.clicks=0,a.doubleClickTimeout=null},this.settings.doubleClickTimeout),this.draggedEvents<this.settings.draggedEventsTolerance&&this.emit("click",La(r,this.container))}}},{key:"handleRightClick",value:function(r){this.enabled&&this.emit("rightClick",La(r,this.container))}},{key:"handleDoubleClick",value:function(r){if(this.enabled){r.preventDefault(),r.stopPropagation();var a=La(r,this.container);if(this.emit("doubleClick",a),!a.sigmaDefaultPrevented){var o=this.renderer.getCamera(),s=o.getBoundedRatio(o.getState().ratio/this.settings.doubleClickZoomingRatio);o.animate(this.renderer.getViewportZoomedState(Fr(r,this.container),s),{easing:"quadraticInOut",duration:this.settings.doubleClickZoomingDuration})}}}},{key:"handleDown",value:function(r){if(this.enabled){if(r.button===0){this.startCameraState=this.renderer.getCamera().getState();var a=Fr(r,this.container),o=a.x,s=a.y;this.lastMouseX=o,this.lastMouseY=s,this.draggedEvents=0,this.downStartTime=Date.now(),this.isMouseDown=!0}this.emit("mousedown",La(r,this.container))}}},{key:"handleUp",value:function(r){var a=this;if(!(!this.enabled||!this.isMouseDown)){var o=this.renderer.getCamera();this.isMouseDown=!1,typeof this.movingTimeout=="number"&&(clearTimeout(this.movingTimeout),this.movingTimeout=null);var s=Fr(r,this.container),l=s.x,c=s.y,d=o.getState(),p=o.getPreviousState()||{x:0,y:0};this.isMoving?o.animate({x:d.x+this.settings.inertiaRatio*(d.x-p.x),y:d.y+this.settings.inertiaRatio*(d.y-p.y)},{duration:this.settings.inertiaDuration,easing:"quadraticOut"}):(this.lastMouseX!==l||this.lastMouseY!==c)&&o.setState({x:d.x,y:d.y}),this.isMoving=!1,setTimeout(function(){var g=a.draggedEvents>0;a.draggedEvents=0,g&&a.renderer.getSetting("hideEdgesOnMove")&&a.renderer.refresh()},0),this.emit("mouseup",La(r,this.container))}}},{key:"handleMove",value:function(r){var a=this;if(this.enabled){var o=La(r,this.container);if(this.emit("mousemovebody",o),(r.target===this.container||r.composedPath()[0]===this.container)&&this.emit("mousemove",o),!o.sigmaDefaultPrevented&&this.isMouseDown){this.isMoving=!0,this.draggedEvents++,typeof this.movingTimeout=="number"&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){a.movingTimeout=null,a.isMoving=!1},this.settings.dragTimeout);var s=this.renderer.getCamera(),l=Fr(r,this.container),c=l.x,d=l.y,p=this.renderer.viewportToFramedGraph({x:this.lastMouseX,y:this.lastMouseY}),g=this.renderer.viewportToFramedGraph({x:c,y:d}),m=p.x-g.x,b=p.y-g.y,y=s.getState(),S=y.x+m,k=y.y+b;s.setState({x:S,y:k}),this.lastMouseX=c,this.lastMouseY=d,r.preventDefault(),r.stopPropagation()}}}},{key:"handleLeave",value:function(r){this.emit("mouseleave",La(r,this.container))}},{key:"handleEnter",value:function(r){this.emit("mouseenter",La(r,this.container))}},{key:"handleWheel",value:function(r){var a=this,o=this.renderer.getCamera();if(!(!this.enabled||!o.enabledZooming)){var s=F4(r);if(s){var l=dte(r,this.container);if(this.emit("wheel",l),l.sigmaDefaultPrevented){r.preventDefault(),r.stopPropagation();return}var c=o.getState().ratio,d=s>0?1/this.settings.zoomingRatio:this.settings.zoomingRatio,p=o.getBoundedRatio(c*d),g=s>0?1:-1,m=Date.now();c!==p&&(r.preventDefault(),r.stopPropagation(),!(this.currentWheelDirection===g&&this.lastWheelTriggerTime&&m-this.lastWheelTriggerTime<this.settings.zoomDuration/5)&&(o.animate(this.renderer.getViewportZoomedState(Fr(r,this.container),p),{easing:"quadraticOut",duration:this.settings.zoomDuration},function(){a.currentWheelDirection=0}),this.currentWheelDirection=g,this.lastWheelTriggerTime=m))}}}},{key:"setSettings",value:function(r){this.settings=r}}])}(z4),mte=["dragTimeout","inertiaDuration","inertiaRatio","doubleClickTimeout","doubleClickZoomingRatio","doubleClickZoomingDuration","tapMoveTolerance"],bte=mte.reduce(function(e,t){return Ue(Ue({},e),{},Re({},t,ST[t]))},{}),yte=function(e){function t(n,r){var a;return dn(this,t),a=$n(this,t,[n,r]),Re(a,"enabled",!0),Re(a,"isMoving",!1),Re(a,"hasMoved",!1),Re(a,"touchMode",0),Re(a,"startTouchesPositions",[]),Re(a,"lastTouches",[]),Re(a,"lastTap",null),Re(a,"settings",bte),a.handleStart=a.handleStart.bind(a),a.handleLeave=a.handleLeave.bind(a),a.handleMove=a.handleMove.bind(a),n.addEventListener("touchstart",a.handleStart,{capture:!1}),n.addEventListener("touchcancel",a.handleLeave,{capture:!1}),document.addEventListener("touchend",a.handleLeave,{capture:!1,passive:!1}),document.addEventListener("touchmove",a.handleMove,{capture:!1,passive:!1}),a}return qn(t,e),fn(t,[{key:"kill",value:function(){var r=this.container;r.removeEventListener("touchstart",this.handleStart),r.removeEventListener("touchcancel",this.handleLeave),document.removeEventListener("touchend",this.handleLeave),document.removeEventListener("touchmove",this.handleMove)}},{key:"getDimensions",value:function(){return{width:this.container.offsetWidth,height:this.container.offsetHeight}}},{key:"handleStart",value:function(r){var a=this;if(this.enabled){r.preventDefault();var o=tf(r.touches);if(this.touchMode=o.length,this.startCameraState=this.renderer.getCamera().getState(),this.startTouchesPositions=o.map(function(b){return Fr(b,a.container)}),this.touchMode===2){var s=Ms(this.startTouchesPositions,2),l=s[0],c=l.x,d=l.y,p=s[1],g=p.x,m=p.y;this.startTouchesAngle=Math.atan2(m-d,g-c),this.startTouchesDistance=Math.sqrt(Math.pow(g-c,2)+Math.pow(m-d,2))}this.emit("touchdown",su(r,this.lastTouches,this.container)),this.lastTouches=o,this.lastTouchesPositions=this.startTouchesPositions}}},{key:"handleLeave",value:function(r){if(!(!this.enabled||!this.startTouchesPositions.length)){switch(r.cancelable&&r.preventDefault(),this.movingTimeout&&(this.isMoving=!1,clearTimeout(this.movingTimeout)),this.touchMode){case 2:if(r.touches.length===1){this.handleStart(r),r.preventDefault();break}case 1:if(this.isMoving){var a=this.renderer.getCamera(),o=a.getState(),s=a.getPreviousState()||{x:0,y:0};a.animate({x:o.x+this.settings.inertiaRatio*(o.x-s.x),y:o.y+this.settings.inertiaRatio*(o.y-s.y)},{duration:this.settings.inertiaDuration,easing:"quadraticOut"})}this.hasMoved=!1,this.isMoving=!1,this.touchMode=0;break}if(this.emit("touchup",su(r,this.lastTouches,this.container)),!r.touches.length){var l=Fr(this.lastTouches[0],this.container),c=this.startTouchesPositions[0],d=Math.pow(l.x-c.x,2)+Math.pow(l.y-c.y,2);if(!r.touches.length&&d<Math.pow(this.settings.tapMoveTolerance,2))if(this.lastTap&&Date.now()-this.lastTap.time<this.settings.doubleClickTimeout){var p=su(r,this.lastTouches,this.container);if(this.emit("doubletap",p),this.lastTap=null,!p.sigmaDefaultPrevented){var g=this.renderer.getCamera(),m=g.getBoundedRatio(g.getState().ratio/this.settings.doubleClickZoomingRatio);g.animate(this.renderer.getViewportZoomedState(l,m),{easing:"quadraticInOut",duration:this.settings.doubleClickZoomingDuration})}}else{var b=su(r,this.lastTouches,this.container);this.emit("tap",b),this.lastTap={time:Date.now(),position:b.touches[0]||b.previousTouches[0]}}}this.lastTouches=tf(r.touches),this.startTouchesPositions=[]}}},{key:"handleMove",value:function(r){var a=this;if(!(!this.enabled||!this.startTouchesPositions.length)){r.preventDefault();var o=tf(r.touches),s=o.map(function(V){return Fr(V,a.container)}),l=this.lastTouches;this.lastTouches=o,this.lastTouchesPositions=s;var c=su(r,l,this.container);if(this.emit("touchmove",c),!c.sigmaDefaultPrevented&&(this.hasMoved||(this.hasMoved=s.some(function(V,B){var M=a.startTouchesPositions[B];return M&&(V.x!==M.x||V.y!==M.y)})),!!this.hasMoved)){this.isMoving=!0,this.movingTimeout&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){a.isMoving=!1},this.settings.dragTimeout);var d=this.renderer.getCamera(),p=this.startCameraState,g=this.renderer.getSetting("stagePadding");switch(this.touchMode){case 1:{var m=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0]),b=m.x,y=m.y,S=this.renderer.viewportToFramedGraph(s[0]),k=S.x,R=S.y;d.setState({x:p.x+b-k,y:p.y+y-R});break}case 2:{var x={x:.5,y:.5,angle:0,ratio:1},A=s[0],N=A.x,O=A.y,C=s[1],_=C.x,P=C.y,I=Math.atan2(P-O,_-N)-this.startTouchesAngle,L=Math.hypot(P-O,_-N)/this.startTouchesDistance,H=d.getBoundedRatio(p.ratio/L);x.ratio=H,x.angle=p.angle+I;var $=this.getDimensions(),U=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0],{cameraState:p}),W=Math.min($.width,$.height)-2*g,Z=W/$.width,j=W/$.height,G=H/W,z=N-W/2/Z,Y=O-W/2/j,D=[z*Math.cos(-x.angle)-Y*Math.sin(-x.angle),Y*Math.cos(-x.angle)+z*Math.sin(-x.angle)];z=D[0],Y=D[1],x.x=U.x-z*G,x.y=U.y+Y*G,d.setState(x);break}}}}}},{key:"setSettings",value:function(r){this.settings=r}}])}(z4);function vte(e){if(Array.isArray(e))return Bk(e)}function Ste(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ete(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NN(e){return vte(e)||Ste(e)||y4(e)||Ete()}function wte(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 wm(e,t){if(e==null)return{};var n,r,a=wte(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ON=function(){function e(t,n){dn(this,e),this.key=t,this.size=n}return fn(e,null,[{key:"compare",value:function(n,r){return n.size>r.size?-1:n.size<r.size||n.key>r.key?1:-1}}])}(),DN=function(){function e(){dn(this,e),Re(this,"width",0),Re(this,"height",0),Re(this,"cellSize",0),Re(this,"columns",0),Re(this,"rows",0),Re(this,"cells",{})}return fn(e,[{key:"resizeAndClear",value:function(n,r){this.width=n.width,this.height=n.height,this.cellSize=r,this.columns=Math.ceil(n.width/r),this.rows=Math.ceil(n.height/r),this.cells={}}},{key:"getIndex",value:function(n){var r=Math.floor(n.x/this.cellSize),a=Math.floor(n.y/this.cellSize);return a*this.columns+r}},{key:"add",value:function(n,r,a){var o=new ON(n,r),s=this.getIndex(a),l=this.cells[s];l||(l=[],this.cells[s]=l),l.push(o)}},{key:"organize",value:function(){for(var n in this.cells){var r=this.cells[n];r.sort(ON.compare)}}},{key:"getLabelsToDisplay",value:function(n,r){var a=this.cellSize*this.cellSize,o=a/n/n,s=o*r/a,l=Math.ceil(s),c=[];for(var d in this.cells)for(var p=this.cells[d],g=0;g<Math.min(l,p.length);g++)c.push(p[g].key);return c}}])}();function xte(e){var t=e.graph,n=e.hoveredNode,r=e.highlightedNodes,a=e.displayedNodeLabels,o=[];return t.forEachEdge(function(s,l,c,d){(c===n||d===n||r.has(c)||r.has(d)||a.has(c)&&a.has(d))&&o.push(s)}),o}var kte=150,Tte=50,Fa=Object.prototype.hasOwnProperty;function Ate(e,t,n){if(!Fa.call(n,"x")||!Fa.call(n,"y"))throw new Error('Sigma: could not find a valid position (x, y) for node "'.concat(t,'". All your nodes must have a number "x" and "y". Maybe your forgot to apply a layout or your "nodeReducer" is not returning the correct data?'));return n.color||(n.color=e.defaultNodeColor),!n.label&&n.label!==""&&(n.label=null),n.label!==void 0&&n.label!==null?n.label=""+n.label:n.label=null,n.size||(n.size=2),Fa.call(n,"hidden")||(n.hidden=!1),Fa.call(n,"highlighted")||(n.highlighted=!1),Fa.call(n,"forceLabel")||(n.forceLabel=!1),(!n.type||n.type==="")&&(n.type=e.defaultNodeType),n.zIndex||(n.zIndex=0),n}function Rte(e,t,n){return n.color||(n.color=e.defaultEdgeColor),n.label||(n.label=""),n.size||(n.size=.5),Fa.call(n,"hidden")||(n.hidden=!1),Fa.call(n,"forceLabel")||(n.forceLabel=!1),(!n.type||n.type==="")&&(n.type=e.defaultEdgeType),n.zIndex||(n.zIndex=0),n}var Cte=function(e){function t(n,r){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(dn(this,t),a=$n(this,t),Re(a,"elements",{}),Re(a,"canvasContexts",{}),Re(a,"webGLContexts",{}),Re(a,"pickingLayers",new Set),Re(a,"textures",{}),Re(a,"frameBuffers",{}),Re(a,"activeListeners",{}),Re(a,"labelGrid",new DN),Re(a,"nodeDataCache",{}),Re(a,"edgeDataCache",{}),Re(a,"nodeProgramIndex",{}),Re(a,"edgeProgramIndex",{}),Re(a,"nodesWithForcedLabels",new Set),Re(a,"edgesWithForcedLabels",new Set),Re(a,"nodeExtent",{x:[0,1],y:[0,1]}),Re(a,"nodeZExtent",[1/0,-1/0]),Re(a,"edgeZExtent",[1/0,-1/0]),Re(a,"matrix",Mr()),Re(a,"invMatrix",Mr()),Re(a,"correctionRatio",1),Re(a,"customBBox",null),Re(a,"normalizationFunction",RN({x:[0,1],y:[0,1]})),Re(a,"graphToViewportRatio",1),Re(a,"itemIDsIndex",{}),Re(a,"nodeIndices",{}),Re(a,"edgeIndices",{}),Re(a,"width",0),Re(a,"height",0),Re(a,"pixelRatio",TN()),Re(a,"pickingDownSizingRatio",2*a.pixelRatio),Re(a,"displayedNodeLabels",new Set),Re(a,"displayedEdgeLabels",new Set),Re(a,"highlightedNodes",new Set),Re(a,"hoveredNode",null),Re(a,"hoveredEdge",null),Re(a,"renderFrame",null),Re(a,"renderHighlightedNodesFrame",null),Re(a,"needToProcess",!1),Re(a,"checkEdgesEventsFrame",null),Re(a,"nodePrograms",{}),Re(a,"nodeHoverPrograms",{}),Re(a,"edgePrograms",{}),a.settings=cte(o),Em(a.settings),ite(n),!(r instanceof HTMLElement))throw new Error("Sigma: container should be an html element.");a.graph=n,a.container=r,a.createWebGLContext("edges",{picking:o.enableEdgeEvents}),a.createCanvasContext("edgeLabels"),a.createWebGLContext("nodes",{picking:!0}),a.createCanvasContext("labels"),a.createCanvasContext("hovers"),a.createWebGLContext("hoverNodes"),a.createCanvasContext("mouse",{style:{touchAction:"none",userSelect:"none"}}),a.resize();for(var s in a.settings.nodeProgramClasses)a.registerNodeProgram(s,a.settings.nodeProgramClasses[s],a.settings.nodeHoverProgramClasses[s]);for(var l in a.settings.edgeProgramClasses)a.registerEdgeProgram(l,a.settings.edgeProgramClasses[l]);return a.camera=new _N,a.bindCameraHandlers(),a.mouseCaptor=new hte(a.elements.mouse,a),a.mouseCaptor.setSettings(a.settings),a.touchCaptor=new yte(a.elements.mouse,a),a.touchCaptor.setSettings(a.settings),a.bindEventHandlers(),a.bindGraphHandlers(),a.handleSettingsUpdate(),a.refresh(),a}return qn(t,e),fn(t,[{key:"registerNodeProgram",value:function(r,a,o){return this.nodePrograms[r]&&this.nodePrograms[r].kill(),this.nodeHoverPrograms[r]&&this.nodeHoverPrograms[r].kill(),this.nodePrograms[r]=new a(this.webGLContexts.nodes,this.frameBuffers.nodes,this),this.nodeHoverPrograms[r]=new(o||a)(this.webGLContexts.hoverNodes,null,this),this}},{key:"registerEdgeProgram",value:function(r,a){return this.edgePrograms[r]&&this.edgePrograms[r].kill(),this.edgePrograms[r]=new a(this.webGLContexts.edges,this.frameBuffers.edges,this),this}},{key:"unregisterNodeProgram",value:function(r){if(this.nodePrograms[r]){var a=this.nodePrograms,o=a[r],s=wm(a,[r].map(hu));o.kill(),this.nodePrograms=s}if(this.nodeHoverPrograms[r]){var l=this.nodeHoverPrograms,c=l[r],d=wm(l,[r].map(hu));c.kill(),this.nodePrograms=d}return this}},{key:"unregisterEdgeProgram",value:function(r){if(this.edgePrograms[r]){var a=this.edgePrograms,o=a[r],s=wm(a,[r].map(hu));o.kill(),this.edgePrograms=s}return this}},{key:"resetWebGLTexture",value:function(r){var a=this.webGLContexts[r],o=this.frameBuffers[r],s=this.textures[r];s&&a.deleteTexture(s);var l=a.createTexture();return a.bindFramebuffer(a.FRAMEBUFFER,o),a.bindTexture(a.TEXTURE_2D,l),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,this.width,this.height,0,a.RGBA,a.UNSIGNED_BYTE,null),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,l,0),this.textures[r]=l,this}},{key:"bindCameraHandlers",value:function(){var r=this;return this.activeListeners.camera=function(){r.scheduleRender()},this.camera.on("updated",this.activeListeners.camera),this}},{key:"unbindCameraHandlers",value:function(){return this.camera.removeListener("updated",this.activeListeners.camera),this}},{key:"getNodeAtPosition",value:function(r){var a=r.x,o=r.y,s=pN(this.webGLContexts.nodes,this.frameBuffers.nodes,a,o,this.pixelRatio,this.pickingDownSizingRatio),l=fN.apply(void 0,NN(s)),c=this.itemIDsIndex[l];return c&&c.type==="node"?c.id:null}},{key:"bindEventHandlers",value:function(){var r=this;this.activeListeners.handleResize=function(){r.scheduleRefresh()},window.addEventListener("resize",this.activeListeners.handleResize),this.activeListeners.handleMove=function(o){var s=iu(o),l={event:s,preventSigmaDefault:function(){s.preventSigmaDefault()}},c=r.getNodeAtPosition(s);if(c&&r.hoveredNode!==c&&!r.nodeDataCache[c].hidden){r.hoveredNode&&r.emit("leaveNode",Ue(Ue({},l),{},{node:r.hoveredNode})),r.hoveredNode=c,r.emit("enterNode",Ue(Ue({},l),{},{node:c})),r.scheduleHighlightedNodesRender();return}if(r.hoveredNode&&r.getNodeAtPosition(s)!==r.hoveredNode){var d=r.hoveredNode;r.hoveredNode=null,r.emit("leaveNode",Ue(Ue({},l),{},{node:d})),r.scheduleHighlightedNodesRender();return}if(r.settings.enableEdgeEvents){var p=r.hoveredNode?null:r.getEdgeAtPoint(l.event.x,l.event.y);p!==r.hoveredEdge&&(r.hoveredEdge&&r.emit("leaveEdge",Ue(Ue({},l),{},{edge:r.hoveredEdge})),p&&r.emit("enterEdge",Ue(Ue({},l),{},{edge:p})),r.hoveredEdge=p)}},this.activeListeners.handleMoveBody=function(o){var s=iu(o);r.emit("moveBody",{event:s,preventSigmaDefault:function(){s.preventSigmaDefault()}})},this.activeListeners.handleLeave=function(o){var s=iu(o),l={event:s,preventSigmaDefault:function(){s.preventSigmaDefault()}};r.hoveredNode&&(r.emit("leaveNode",Ue(Ue({},l),{},{node:r.hoveredNode})),r.scheduleHighlightedNodesRender()),r.settings.enableEdgeEvents&&r.hoveredEdge&&(r.emit("leaveEdge",Ue(Ue({},l),{},{edge:r.hoveredEdge})),r.scheduleHighlightedNodesRender()),r.emit("leaveStage",Ue({},l))},this.activeListeners.handleEnter=function(o){var s=iu(o),l={event:s,preventSigmaDefault:function(){s.preventSigmaDefault()}};r.emit("enterStage",Ue({},l))};var a=function(s){return function(l){var c=iu(l),d={event:c,preventSigmaDefault:function(){c.preventSigmaDefault()}},p=r.getNodeAtPosition(c);if(p)return r.emit("".concat(s,"Node"),Ue(Ue({},d),{},{node:p}));if(r.settings.enableEdgeEvents){var g=r.getEdgeAtPoint(c.x,c.y);if(g)return r.emit("".concat(s,"Edge"),Ue(Ue({},d),{},{edge:g}))}return r.emit("".concat(s,"Stage"),d)}};return this.activeListeners.handleClick=a("click"),this.activeListeners.handleRightClick=a("rightClick"),this.activeListeners.handleDoubleClick=a("doubleClick"),this.activeListeners.handleWheel=a("wheel"),this.activeListeners.handleDown=a("down"),this.activeListeners.handleUp=a("up"),this.mouseCaptor.on("mousemove",this.activeListeners.handleMove),this.mouseCaptor.on("mousemovebody",this.activeListeners.handleMoveBody),this.mouseCaptor.on("click",this.activeListeners.handleClick),this.mouseCaptor.on("rightClick",this.activeListeners.handleRightClick),this.mouseCaptor.on("doubleClick",this.activeListeners.handleDoubleClick),this.mouseCaptor.on("wheel",this.activeListeners.handleWheel),this.mouseCaptor.on("mousedown",this.activeListeners.handleDown),this.mouseCaptor.on("mouseup",this.activeListeners.handleUp),this.mouseCaptor.on("mouseleave",this.activeListeners.handleLeave),this.mouseCaptor.on("mouseenter",this.activeListeners.handleEnter),this.touchCaptor.on("touchdown",this.activeListeners.handleDown),this.touchCaptor.on("touchdown",this.activeListeners.handleMove),this.touchCaptor.on("touchup",this.activeListeners.handleUp),this.touchCaptor.on("touchmove",this.activeListeners.handleMove),this.touchCaptor.on("tap",this.activeListeners.handleClick),this.touchCaptor.on("doubletap",this.activeListeners.handleDoubleClick),this.touchCaptor.on("touchmove",this.activeListeners.handleMoveBody),this}},{key:"bindGraphHandlers",value:function(){var r=this,a=this.graph,o=new Set(["x","y","zIndex","type"]);return this.activeListeners.eachNodeAttributesUpdatedGraphUpdate=function(s){var l,c=(l=s.hints)===null||l===void 0?void 0:l.attributes;r.graph.forEachNode(function(p){return r.updateNode(p)});var d=!c||c.some(function(p){return o.has(p)});r.refresh({partialGraph:{nodes:a.nodes()},skipIndexation:!d,schedule:!0})},this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate=function(s){var l,c=(l=s.hints)===null||l===void 0?void 0:l.attributes;r.graph.forEachEdge(function(p){return r.updateEdge(p)});var d=c&&["zIndex","type"].some(function(p){return c==null?void 0:c.includes(p)});r.refresh({partialGraph:{edges:a.edges()},skipIndexation:!d,schedule:!0})},this.activeListeners.addNodeGraphUpdate=function(s){var l=s.key;r.addNode(l),r.refresh({partialGraph:{nodes:[l]},skipIndexation:!1,schedule:!0})},this.activeListeners.updateNodeGraphUpdate=function(s){var l=s.key;r.refresh({partialGraph:{nodes:[l]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropNodeGraphUpdate=function(s){var l=s.key;r.removeNode(l),r.refresh({schedule:!0})},this.activeListeners.addEdgeGraphUpdate=function(s){var l=s.key;r.addEdge(l),r.refresh({partialGraph:{edges:[l]},schedule:!0})},this.activeListeners.updateEdgeGraphUpdate=function(s){var l=s.key;r.refresh({partialGraph:{edges:[l]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropEdgeGraphUpdate=function(s){var l=s.key;r.removeEdge(l),r.refresh({schedule:!0})},this.activeListeners.clearEdgesGraphUpdate=function(){r.clearEdgeState(),r.clearEdgeIndices(),r.refresh({schedule:!0})},this.activeListeners.clearGraphUpdate=function(){r.clearEdgeState(),r.clearNodeState(),r.clearEdgeIndices(),r.clearNodeIndices(),r.refresh({schedule:!0})},a.on("nodeAdded",this.activeListeners.addNodeGraphUpdate),a.on("nodeDropped",this.activeListeners.dropNodeGraphUpdate),a.on("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),a.on("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),a.on("edgeAdded",this.activeListeners.addEdgeGraphUpdate),a.on("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),a.on("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),a.on("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),a.on("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),a.on("cleared",this.activeListeners.clearGraphUpdate),this}},{key:"unbindGraphHandlers",value:function(){var r=this.graph;r.removeListener("nodeAdded",this.activeListeners.addNodeGraphUpdate),r.removeListener("nodeDropped",this.activeListeners.dropNodeGraphUpdate),r.removeListener("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),r.removeListener("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),r.removeListener("edgeAdded",this.activeListeners.addEdgeGraphUpdate),r.removeListener("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),r.removeListener("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),r.removeListener("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),r.removeListener("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),r.removeListener("cleared",this.activeListeners.clearGraphUpdate)}},{key:"getEdgeAtPoint",value:function(r,a){var o=pN(this.webGLContexts.edges,this.frameBuffers.edges,r,a,this.pixelRatio,this.pickingDownSizingRatio),s=fN.apply(void 0,NN(o)),l=this.itemIDsIndex[s];return l&&l.type==="edge"?l.id:null}},{key:"process",value:function(){var r=this;this.emit("beforeProcess");var a=this.graph,o=this.settings,s=this.getDimensions();if(this.nodeExtent=ote(this.graph),!this.settings.autoRescale){var l=s.width,c=s.height,d=this.nodeExtent,p=d.x,g=d.y;this.nodeExtent={x:[(p[0]+p[1])/2-l/2,(p[0]+p[1])/2+l/2],y:[(g[0]+g[1])/2-c/2,(g[0]+g[1])/2+c/2]}}this.normalizationFunction=RN(this.customBBox||this.nodeExtent);var m=new _N,b=ou(m.getState(),s,this.getGraphDimensions(),this.getStagePadding());this.labelGrid.resizeAndClear(s,o.labelGridCellSize);for(var y={},S={},k={},R={},x=1,A=a.nodes(),N=0,O=A.length;N<O;N++){var C=A[N],_=this.nodeDataCache[C],P=a.getNodeAttributes(C);_.x=P.x,_.y=P.y,this.normalizationFunction.applyTo(_),typeof _.label=="string"&&!_.hidden&&this.labelGrid.add(C,_.size,this.framedGraphToViewport(_,{matrix:b})),y[_.type]=(y[_.type]||0)+1}this.labelGrid.organize();for(var I in this.nodePrograms){if(!Fa.call(this.nodePrograms,I))throw new Error('Sigma: could not find a suitable program for node type "'.concat(I,'"!'));this.nodePrograms[I].reallocate(y[I]||0),y[I]=0}this.settings.zIndex&&this.nodeZExtent[0]!==this.nodeZExtent[1]&&(A=AN(this.nodeZExtent,function(ee){return r.nodeDataCache[ee].zIndex},A));for(var L=0,H=A.length;L<H;L++){var $=A[L];S[$]=x,R[S[$]]={type:"node",id:$},x++;var U=this.nodeDataCache[$];this.addNodeToProgram($,S[$],y[U.type]++)}for(var W={},Z=a.edges(),j=0,G=Z.length;j<G;j++){var z=Z[j],Y=this.edgeDataCache[z];W[Y.type]=(W[Y.type]||0)+1}this.settings.zIndex&&this.edgeZExtent[0]!==this.edgeZExtent[1]&&(Z=AN(this.edgeZExtent,function(ee){return r.edgeDataCache[ee].zIndex},Z));for(var D in this.edgePrograms){if(!Fa.call(this.edgePrograms,D))throw new Error('Sigma: could not find a suitable program for edge type "'.concat(D,'"!'));this.edgePrograms[D].reallocate(W[D]||0),W[D]=0}for(var V=0,B=Z.length;V<B;V++){var M=Z[V];k[M]=x,R[k[M]]={type:"edge",id:M},x++;var K=this.edgeDataCache[M];this.addEdgeToProgram(M,k[M],W[K.type]++)}return this.itemIDsIndex=R,this.nodeIndices=S,this.edgeIndices=k,this.emit("afterProcess"),this}},{key:"handleSettingsUpdate",value:function(r){var a=this,o=this.settings;if(this.camera.minRatio=o.minCameraRatio,this.camera.maxRatio=o.maxCameraRatio,this.camera.enabledZooming=o.enableCameraZooming,this.camera.enabledPanning=o.enableCameraPanning,this.camera.enabledRotation=o.enableCameraRotation,o.cameraPanBoundaries?this.camera.clean=function(p){return a.cleanCameraState(p,o.cameraPanBoundaries&&Gk(o.cameraPanBoundaries)==="object"?o.cameraPanBoundaries:{})}:this.camera.clean=null,this.camera.setState(this.camera.validateState(this.camera.getState())),r){if(r.edgeProgramClasses!==o.edgeProgramClasses){for(var s in o.edgeProgramClasses)o.edgeProgramClasses[s]!==r.edgeProgramClasses[s]&&this.registerEdgeProgram(s,o.edgeProgramClasses[s]);for(var l in r.edgeProgramClasses)o.edgeProgramClasses[l]||this.unregisterEdgeProgram(l)}if(r.nodeProgramClasses!==o.nodeProgramClasses||r.nodeHoverProgramClasses!==o.nodeHoverProgramClasses){for(var c in o.nodeProgramClasses)(o.nodeProgramClasses[c]!==r.nodeProgramClasses[c]||o.nodeHoverProgramClasses[c]!==r.nodeHoverProgramClasses[c])&&this.registerNodeProgram(c,o.nodeProgramClasses[c],o.nodeHoverProgramClasses[c]);for(var d in r.nodeProgramClasses)o.nodeProgramClasses[d]||this.unregisterNodeProgram(d)}}return this.mouseCaptor.setSettings(this.settings),this.touchCaptor.setSettings(this.settings),this}},{key:"cleanCameraState",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.tolerance,s=o===void 0?0:o,l=a.boundaries,c=Ue({},r),d=l||this.nodeExtent,p=Ms(d.x,2),g=p[0],m=p[1],b=Ms(d.y,2),y=b[0],S=b[1],k=[this.graphToViewport({x:g,y},{cameraState:r}),this.graphToViewport({x:m,y},{cameraState:r}),this.graphToViewport({x:g,y:S},{cameraState:r}),this.graphToViewport({x:m,y:S},{cameraState:r})],R=1/0,x=-1/0,A=1/0,N=-1/0;k.forEach(function(W){var Z=W.x,j=W.y;R=Math.min(R,Z),x=Math.max(x,Z),A=Math.min(A,j),N=Math.max(N,j)});var O=x-R,C=N-A,_=this.getDimensions(),P=_.width,I=_.height,L=0,H=0;if(O>=P?x<P-s?L=x-(P-s):R>s&&(L=R-s):x>P+s?L=x-(P+s):R<-s&&(L=R+s),C>=I?N<I-s?H=N-(I-s):A>s&&(H=A-s):N>I+s?H=N-(I+s):A<-s&&(H=A+s),L||H){var $=this.viewportToFramedGraph({x:0,y:0},{cameraState:r}),U=this.viewportToFramedGraph({x:L,y:H},{cameraState:r});L=U.x-$.x,H=U.y-$.y,c.x+=L,c.y+=H}return c}},{key:"renderLabels",value:function(){if(!this.settings.renderLabels)return this;var r=this.camera.getState(),a=this.labelGrid.getLabelsToDisplay(r.ratio,this.settings.labelDensity);CN(a,this.nodesWithForcedLabels),this.displayedNodeLabels=new Set;for(var o=this.canvasContexts.labels,s=0,l=a.length;s<l;s++){var c=a[s],d=this.nodeDataCache[c];if(!this.displayedNodeLabels.has(c)&&!d.hidden){var p=this.framedGraphToViewport(d),g=p.x,m=p.y,b=this.scaleSize(d.size);if(!(!d.forceLabel&&b<this.settings.labelRenderedSizeThreshold)&&!(g<-150||g>this.width+kte||m<-50||m>this.height+Tte)){this.displayedNodeLabels.add(c);var y=this.settings.defaultDrawNodeLabel,S=this.nodePrograms[d.type],k=(S==null?void 0:S.drawLabel)||y;k(o,Ue(Ue({key:c},d),{},{size:b,x:g,y:m}),this.settings)}}}return this}},{key:"renderEdgeLabels",value:function(){if(!this.settings.renderEdgeLabels)return this;var r=this.canvasContexts.edgeLabels;r.clearRect(0,0,this.width,this.height);var a=xte({graph:this.graph,hoveredNode:this.hoveredNode,displayedNodeLabels:this.displayedNodeLabels,highlightedNodes:this.highlightedNodes});CN(a,this.edgesWithForcedLabels);for(var o=new Set,s=0,l=a.length;s<l;s++){var c=a[s],d=this.graph.extremities(c),p=this.nodeDataCache[d[0]],g=this.nodeDataCache[d[1]],m=this.edgeDataCache[c];if(!o.has(c)&&!(m.hidden||p.hidden||g.hidden)){var b=this.settings.defaultDrawEdgeLabel,y=this.edgePrograms[m.type],S=(y==null?void 0:y.drawLabel)||b;S(r,Ue(Ue({key:c},m),{},{size:this.scaleSize(m.size)}),Ue(Ue(Ue({key:d[0]},p),this.framedGraphToViewport(p)),{},{size:this.scaleSize(p.size)}),Ue(Ue(Ue({key:d[1]},g),this.framedGraphToViewport(g)),{},{size:this.scaleSize(g.size)}),this.settings),o.add(c)}}return this.displayedEdgeLabels=o,this}},{key:"renderHighlightedNodes",value:function(){var r=this,a=this.canvasContexts.hovers;a.clearRect(0,0,this.width,this.height);var o=function(b){var y=r.nodeDataCache[b],S=r.framedGraphToViewport(y),k=S.x,R=S.y,x=r.scaleSize(y.size),A=r.settings.defaultDrawNodeHover,N=r.nodePrograms[y.type],O=(N==null?void 0:N.drawHover)||A;O(a,Ue(Ue({key:b},y),{},{size:x,x:k,y:R}),r.settings)},s=[];this.hoveredNode&&!this.nodeDataCache[this.hoveredNode].hidden&&s.push(this.hoveredNode),this.highlightedNodes.forEach(function(m){m!==r.hoveredNode&&s.push(m)}),s.forEach(function(m){return o(m)});var l={};s.forEach(function(m){var b=r.nodeDataCache[m].type;l[b]=(l[b]||0)+1});for(var c in this.nodeHoverPrograms)this.nodeHoverPrograms[c].reallocate(l[c]||0),l[c]=0;s.forEach(function(m){var b=r.nodeDataCache[m];r.nodeHoverPrograms[b.type].process(0,l[b.type]++,b)}),this.webGLContexts.hoverNodes.clear(this.webGLContexts.hoverNodes.COLOR_BUFFER_BIT);var d=this.getRenderParams();for(var p in this.nodeHoverPrograms){var g=this.nodeHoverPrograms[p];g.render(d)}}},{key:"scheduleHighlightedNodesRender",value:function(){var r=this;this.renderHighlightedNodesFrame||this.renderFrame||(this.renderHighlightedNodesFrame=requestAnimationFrame(function(){r.renderHighlightedNodesFrame=null,r.renderHighlightedNodes(),r.renderEdgeLabels()}))}},{key:"render",value:function(){var r=this;this.emit("beforeRender");var a=function(){return r.emit("afterRender"),r};if(this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.resize(),this.needToProcess&&this.process(),this.needToProcess=!1,this.clear(),this.pickingLayers.forEach(function(k){return r.resetWebGLTexture(k)}),!this.graph.order)return a();var o=this.mouseCaptor,s=this.camera.isAnimated()||o.isMoving||o.draggedEvents||o.currentWheelDirection,l=this.camera.getState(),c=this.getDimensions(),d=this.getGraphDimensions(),p=this.getStagePadding();this.matrix=ou(l,c,d,p),this.invMatrix=ou(l,c,d,p,!0),this.correctionRatio=ate(this.matrix,l,c),this.graphToViewportRatio=this.getGraphToViewportRatio();var g=this.getRenderParams();for(var m in this.nodePrograms){var b=this.nodePrograms[m];b.render(g)}if(!this.settings.hideEdgesOnMove||!s)for(var y in this.edgePrograms){var S=this.edgePrograms[y];S.render(g)}return this.settings.hideLabelsOnMove&&s||(this.renderLabels(),this.renderEdgeLabels(),this.renderHighlightedNodes()),a()}},{key:"addNode",value:function(r){var a=Object.assign({},this.graph.getNodeAttributes(r));this.settings.nodeReducer&&(a=this.settings.nodeReducer(r,a));var o=Ate(this.settings,r,a);this.nodeDataCache[r]=o,this.nodesWithForcedLabels.delete(r),o.forceLabel&&!o.hidden&&this.nodesWithForcedLabels.add(r),this.highlightedNodes.delete(r),o.highlighted&&!o.hidden&&this.highlightedNodes.add(r),this.settings.zIndex&&(o.zIndex<this.nodeZExtent[0]&&(this.nodeZExtent[0]=o.zIndex),o.zIndex>this.nodeZExtent[1]&&(this.nodeZExtent[1]=o.zIndex))}},{key:"updateNode",value:function(r){this.addNode(r);var a=this.nodeDataCache[r];this.normalizationFunction.applyTo(a)}},{key:"removeNode",value:function(r){delete this.nodeDataCache[r],delete this.nodeProgramIndex[r],this.highlightedNodes.delete(r),this.hoveredNode===r&&(this.hoveredNode=null),this.nodesWithForcedLabels.delete(r)}},{key:"addEdge",value:function(r){var a=Object.assign({},this.graph.getEdgeAttributes(r));this.settings.edgeReducer&&(a=this.settings.edgeReducer(r,a));var o=Rte(this.settings,r,a);this.edgeDataCache[r]=o,this.edgesWithForcedLabels.delete(r),o.forceLabel&&!o.hidden&&this.edgesWithForcedLabels.add(r),this.settings.zIndex&&(o.zIndex<this.edgeZExtent[0]&&(this.edgeZExtent[0]=o.zIndex),o.zIndex>this.edgeZExtent[1]&&(this.edgeZExtent[1]=o.zIndex))}},{key:"updateEdge",value:function(r){this.addEdge(r)}},{key:"removeEdge",value:function(r){delete this.edgeDataCache[r],delete this.edgeProgramIndex[r],this.hoveredEdge===r&&(this.hoveredEdge=null),this.edgesWithForcedLabels.delete(r)}},{key:"clearNodeIndices",value:function(){this.labelGrid=new DN,this.nodeExtent={x:[0,1],y:[0,1]},this.nodeDataCache={},this.edgeProgramIndex={},this.nodesWithForcedLabels=new Set,this.nodeZExtent=[1/0,-1/0]}},{key:"clearEdgeIndices",value:function(){this.edgeDataCache={},this.edgeProgramIndex={},this.edgesWithForcedLabels=new Set,this.edgeZExtent=[1/0,-1/0]}},{key:"clearIndices",value:function(){this.clearEdgeIndices(),this.clearNodeIndices()}},{key:"clearNodeState",value:function(){this.displayedNodeLabels=new Set,this.highlightedNodes=new Set,this.hoveredNode=null}},{key:"clearEdgeState",value:function(){this.displayedEdgeLabels=new Set,this.highlightedNodes=new Set,this.hoveredEdge=null}},{key:"clearState",value:function(){this.clearEdgeState(),this.clearNodeState()}},{key:"addNodeToProgram",value:function(r,a,o){var s=this.nodeDataCache[r],l=this.nodePrograms[s.type];if(!l)throw new Error('Sigma: could not find a suitable program for node type "'.concat(s.type,'"!'));l.process(a,o,s),this.nodeProgramIndex[r]=o}},{key:"addEdgeToProgram",value:function(r,a,o){var s=this.edgeDataCache[r],l=this.edgePrograms[s.type];if(!l)throw new Error('Sigma: could not find a suitable program for edge type "'.concat(s.type,'"!'));var c=this.graph.extremities(r),d=this.nodeDataCache[c[0]],p=this.nodeDataCache[c[1]];l.process(a,o,d,p,s),this.edgeProgramIndex[r]=o}},{key:"getRenderParams",value:function(){return{matrix:this.matrix,invMatrix:this.invMatrix,width:this.width,height:this.height,pixelRatio:this.pixelRatio,zoomRatio:this.camera.ratio,cameraAngle:this.camera.angle,sizeRatio:1/this.scaleSize(),correctionRatio:this.correctionRatio,downSizingRatio:this.pickingDownSizingRatio,minEdgeThickness:this.settings.minEdgeThickness,antiAliasingFeather:this.settings.antiAliasingFeather}}},{key:"getStagePadding",value:function(){var r=this.settings,a=r.stagePadding,o=r.autoRescale;return o&&a||0}},{key:"createLayer",value:function(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.elements[r])throw new Error('Sigma: a layer named "'.concat(r,'" already exists'));var s=ste(a,{position:"absolute"},{class:"sigma-".concat(r)});return o.style&&Object.assign(s.style,o.style),this.elements[r]=s,"beforeLayer"in o&&o.beforeLayer?this.elements[o.beforeLayer].before(s):"afterLayer"in o&&o.afterLayer?this.elements[o.afterLayer].after(s):this.container.appendChild(s),s}},{key:"createCanvas",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.createLayer(r,"canvas",a)}},{key:"createCanvasContext",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.createCanvas(r,a),s={preserveDrawingBuffer:!1,antialias:!1};return this.canvasContexts[r]=o.getContext("2d",s),this}},{key:"createWebGLContext",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=(a==null?void 0:a.canvas)||this.createCanvas(r,a);a.hidden&&o.remove();var s=Ue({preserveDrawingBuffer:!1,antialias:!1},a),l;l=o.getContext("webgl2",s),l||(l=o.getContext("webgl",s)),l||(l=o.getContext("experimental-webgl",s));var c=l;if(this.webGLContexts[r]=c,c.blendFunc(c.ONE,c.ONE_MINUS_SRC_ALPHA),a.picking){this.pickingLayers.add(r);var d=c.createFramebuffer();if(!d)throw new Error("Sigma: cannot create a new frame buffer for layer ".concat(r));this.frameBuffers[r]=d}return c}},{key:"killLayer",value:function(r){var a=this.elements[r];if(!a)throw new Error("Sigma: cannot kill layer ".concat(r,", which does not exist"));if(this.webGLContexts[r]){var o,s=this.webGLContexts[r];(o=s.getExtension("WEBGL_lose_context"))===null||o===void 0||o.loseContext(),delete this.webGLContexts[r]}else this.canvasContexts[r]&&delete this.canvasContexts[r];return a.remove(),delete this.elements[r],this}},{key:"getCamera",value:function(){return this.camera}},{key:"setCamera",value:function(r){this.unbindCameraHandlers(),this.camera=r,this.bindCameraHandlers()}},{key:"getContainer",value:function(){return this.container}},{key:"getGraph",value:function(){return this.graph}},{key:"setGraph",value:function(r){r!==this.graph&&(this.hoveredNode&&!r.hasNode(this.hoveredNode)&&(this.hoveredNode=null),this.hoveredEdge&&!r.hasEdge(this.hoveredEdge)&&(this.hoveredEdge=null),this.unbindGraphHandlers(),this.checkEdgesEventsFrame!==null&&(cancelAnimationFrame(this.checkEdgesEventsFrame),this.checkEdgesEventsFrame=null),this.graph=r,this.bindGraphHandlers(),this.refresh())}},{key:"getMouseCaptor",value:function(){return this.mouseCaptor}},{key:"getTouchCaptor",value:function(){return this.touchCaptor}},{key:"getDimensions",value:function(){return{width:this.width,height:this.height}}},{key:"getGraphDimensions",value:function(){var r=this.customBBox||this.nodeExtent;return{width:r.x[1]-r.x[0]||1,height:r.y[1]-r.y[0]||1}}},{key:"getNodeDisplayData",value:function(r){var a=this.nodeDataCache[r];return a?Object.assign({},a):void 0}},{key:"getEdgeDisplayData",value:function(r){var a=this.edgeDataCache[r];return a?Object.assign({},a):void 0}},{key:"getNodeDisplayedLabels",value:function(){return new Set(this.displayedNodeLabels)}},{key:"getEdgeDisplayedLabels",value:function(){return new Set(this.displayedEdgeLabels)}},{key:"getSettings",value:function(){return Ue({},this.settings)}},{key:"getSetting",value:function(r){return this.settings[r]}},{key:"setSetting",value:function(r,a){var o=Ue({},this.settings);return this.settings[r]=a,Em(this.settings),this.handleSettingsUpdate(o),this.scheduleRefresh(),this}},{key:"updateSetting",value:function(r,a){return this.setSetting(r,a(this.settings[r])),this}},{key:"setSettings",value:function(r){var a=Ue({},this.settings);return this.settings=Ue(Ue({},this.settings),r),Em(this.settings),this.handleSettingsUpdate(a),this.scheduleRefresh(),this}},{key:"resize",value:function(r){var a=this.width,o=this.height;if(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,this.pixelRatio=TN(),this.width===0)if(this.settings.allowInvalidContainer)this.width=1;else throw new Error("Sigma: Container has no width. You can set the allowInvalidContainer setting to true to stop seeing this error.");if(this.height===0)if(this.settings.allowInvalidContainer)this.height=1;else throw new Error("Sigma: Container has no height. You can set the allowInvalidContainer setting to true to stop seeing this error.");if(!r&&a===this.width&&o===this.height)return this;for(var s in this.elements){var l=this.elements[s];l.style.width=this.width+"px",l.style.height=this.height+"px"}for(var c in this.canvasContexts)this.elements[c].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[c].setAttribute("height",this.height*this.pixelRatio+"px"),this.pixelRatio!==1&&this.canvasContexts[c].scale(this.pixelRatio,this.pixelRatio);for(var d in this.webGLContexts){this.elements[d].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[d].setAttribute("height",this.height*this.pixelRatio+"px");var p=this.webGLContexts[d];if(p.viewport(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),this.pickingLayers.has(d)){var g=this.textures[d];g&&p.deleteTexture(g)}}return this.emit("resize"),this}},{key:"clear",value:function(){return this.emit("beforeClear"),this.webGLContexts.nodes.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.nodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.edges.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.edges.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.hoverNodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.canvasContexts.labels.clearRect(0,0,this.width,this.height),this.canvasContexts.hovers.clearRect(0,0,this.width,this.height),this.canvasContexts.edgeLabels.clearRect(0,0,this.width,this.height),this.emit("afterClear"),this}},{key:"refresh",value:function(r){var a=this,o=(r==null?void 0:r.skipIndexation)!==void 0?r==null?void 0:r.skipIndexation:!1,s=(r==null?void 0:r.schedule)!==void 0?r.schedule:!1,l=!r||!r.partialGraph;if(l)this.clearEdgeIndices(),this.clearNodeIndices(),this.graph.forEachNode(function(N){return a.addNode(N)}),this.graph.forEachEdge(function(N){return a.addEdge(N)});else{for(var c,d,p=((c=r.partialGraph)===null||c===void 0?void 0:c.nodes)||[],g=0,m=(p==null?void 0:p.length)||0;g<m;g++){var b=p[g];if(this.updateNode(b),o){var y=this.nodeProgramIndex[b];if(y===void 0)throw new Error('Sigma: node "'.concat(b,`" can't be repaint`));this.addNodeToProgram(b,this.nodeIndices[b],y)}}for(var S=(r==null||(d=r.partialGraph)===null||d===void 0?void 0:d.edges)||[],k=0,R=S.length;k<R;k++){var x=S[k];if(this.updateEdge(x),o){var A=this.edgeProgramIndex[x];if(A===void 0)throw new Error('Sigma: edge "'.concat(x,`" can't be repaint`));this.addEdgeToProgram(x,this.edgeIndices[x],A)}}}return(l||!o)&&(this.needToProcess=!0),s?this.scheduleRender():this.render(),this}},{key:"scheduleRender",value:function(){var r=this;return this.renderFrame||(this.renderFrame=requestAnimationFrame(function(){r.render()})),this}},{key:"scheduleRefresh",value:function(r){return this.refresh(Ue(Ue({},r),{},{schedule:!0}))}},{key:"getViewportZoomedState",value:function(r,a){var o=this.camera.getState(),s=o.ratio,l=o.angle,c=o.x,d=o.y,p=this.settings,g=p.minCameraRatio,m=p.maxCameraRatio;typeof m=="number"&&(a=Math.min(a,m)),typeof g=="number"&&(a=Math.max(a,g));var b=a/s,y={x:this.width/2,y:this.height/2},S=this.viewportToFramedGraph(r),k=this.viewportToFramedGraph(y);return{angle:l,x:(S.x-k.x)*(1-b)+c,y:(S.y-k.y)*(1-b)+d,ratio:a}}},{key:"viewRectangle",value:function(){var r=this.viewportToFramedGraph({x:0,y:0}),a=this.viewportToFramedGraph({x:this.width,y:0}),o=this.viewportToFramedGraph({x:0,y:this.height});return{x1:r.x,y1:r.y,x2:a.x,y2:a.y,height:a.y-o.y}}},{key:"framedGraphToViewport",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=!!a.cameraState||!!a.viewportDimensions||!!a.graphDimensions,s=a.matrix?a.matrix:o?ou(a.cameraState||this.camera.getState(),a.viewportDimensions||this.getDimensions(),a.graphDimensions||this.getGraphDimensions(),a.padding||this.getStagePadding()):this.matrix,l=jk(s,r);return{x:(1+l.x)*this.width/2,y:(1-l.y)*this.height/2}}},{key:"viewportToFramedGraph",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=!!a.cameraState||!!a.viewportDimensions||!a.graphDimensions,s=a.matrix?a.matrix:o?ou(a.cameraState||this.camera.getState(),a.viewportDimensions||this.getDimensions(),a.graphDimensions||this.getGraphDimensions(),a.padding||this.getStagePadding(),!0):this.invMatrix,l=jk(s,{x:r.x/this.width*2-1,y:1-r.y/this.height*2});return isNaN(l.x)&&(l.x=0),isNaN(l.y)&&(l.y=0),l}},{key:"viewportToGraph",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.normalizationFunction.inverse(this.viewportToFramedGraph(r,a))}},{key:"graphToViewport",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.framedGraphToViewport(this.normalizationFunction(r),a)}},{key:"getGraphToViewportRatio",value:function(){var r={x:0,y:0},a={x:1,y:1},o=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),s=this.graphToViewport(r),l=this.graphToViewport(a),c=Math.sqrt(Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2));return c/o}},{key:"getBBox",value:function(){return this.nodeExtent}},{key:"getCustomBBox",value:function(){return this.customBBox}},{key:"setCustomBBox",value:function(r){return this.customBBox=r,this.scheduleRender(),this}},{key:"kill",value:function(){this.emit("kill"),this.removeAllListeners(),this.unbindCameraHandlers(),window.removeEventListener("resize",this.activeListeners.handleResize),this.mouseCaptor.kill(),this.touchCaptor.kill(),this.unbindGraphHandlers(),this.clearIndices(),this.clearState(),this.nodeDataCache={},this.edgeDataCache={},this.highlightedNodes.clear(),this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.renderHighlightedNodesFrame&&(cancelAnimationFrame(this.renderHighlightedNodesFrame),this.renderHighlightedNodesFrame=null);for(var r=this.container;r.firstChild;)r.removeChild(r.firstChild);this.canvasContexts={},this.webGLContexts={},this.elements={};for(var a in this.nodePrograms)this.nodePrograms[a].kill();for(var o in this.nodeHoverPrograms)this.nodeHoverPrograms[o].kill();for(var s in this.edgePrograms)this.edgePrograms[s].kill();this.nodePrograms={},this.nodeHoverPrograms={},this.edgePrograms={};for(var l in this.elements)this.killLayer(l)}},{key:"scaleSize",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.camera.ratio;return r/this.settings.zoomToSizeRatioFunction(a)*(this.getSetting("itemSizesReference")==="positions"?a*this.graphToViewportRatio:1)}},{key:"getCanvases",value:function(){var r={};for(var a in this.elements)this.elements[a]instanceof HTMLCanvasElement&&(r[a]=this.elements[a]);return r}}])}(vT);const B4=E.createContext(null),_te=B4.Provider;function ET(){const e=E.useContext(B4);if(e==null)throw new Error("No context provided: useSigmaContext() can only be used in a descendant of <SigmaContainer>");return e}function kr(){return ET().sigma}function U4(){const{sigma:e}=ET();return E.useCallback(t=>{e&&Object.keys(t).forEach(n=>{e.setSetting(n,t[n])})},[e])}function Ep(e){return new Set(Object.keys(e))}const IN=Ep({clickNode:!0,rightClickNode:!0,downNode:!0,enterNode:!0,leaveNode:!0,doubleClickNode:!0,wheelNode:!0,clickEdge:!0,rightClickEdge:!0,downEdge:!0,enterEdge:!0,leaveEdge:!0,doubleClickEdge:!0,wheelEdge:!0,clickStage:!0,rightClickStage:!0,downStage:!0,doubleClickStage:!0,wheelStage:!0,beforeRender:!0,afterRender:!0,kill:!0,upStage:!0,upEdge:!0,upNode:!0,enterStage:!0,leaveStage:!0,resize:!0,afterClear:!0,afterProcess:!0,beforeClear:!0,beforeProcess:!0,moveBody:!0}),LN=Ep({click:!0,rightClick:!0,doubleClick:!0,mouseup:!0,mousedown:!0,mousemove:!0,mousemovebody:!0,mouseleave:!0,mouseenter:!0,wheel:!0}),MN=Ep({touchup:!0,touchdown:!0,touchmove:!0,touchmovebody:!0,tap:!0,doubletap:!0}),PN=Ep({updated:!0});function j4(){const e=kr(),t=U4(),[n,r]=E.useState({});return E.useEffect(()=>{if(!e||!n)return;const a=n,o=Object.keys(a);return o.forEach(s=>{const l=a[s];IN.has(s)&&e.on(s,l),LN.has(s)&&e.getMouseCaptor().on(s,l),MN.has(s)&&e.getTouchCaptor().on(s,l),PN.has(s)&&e.getCamera().on(s,l)}),()=>{e&&o.forEach(s=>{const l=a[s];IN.has(s)&&e.off(s,l),LN.has(s)&&e.getMouseCaptor().off(s,l),MN.has(s)&&e.getTouchCaptor().off(s,l),PN.has(s)&&e.getCamera().off(s,l)})}},[e,n,t]),r}function tc(e,t){if(e===t)return!0;if(typeof e=="object"&&e!=null&&typeof t=="object"&&t!=null){if(Object.keys(e).length!=Object.keys(t).length)return!1;for(const n in e)if(!Object.hasOwn(t,n)||!tc(e[n],t[n]))return!1;return!0}return!1}function G4(e){const t=kr(),[n,r]=E.useState(e||{});E.useEffect(()=>{r(d=>tc(d,e||{})?d:e||{})},[e]);const a=E.useCallback(d=>{t.getCamera().animatedZoom(Object.assign(Object.assign({},n),d))},[t,n]),o=E.useCallback(d=>{t.getCamera().animatedUnzoom(Object.assign(Object.assign({},n),d))},[t,n]),s=E.useCallback(d=>{t.getCamera().animatedReset(Object.assign(Object.assign({},n),d))},[t,n]),l=E.useCallback((d,p)=>{t.getCamera().animate(d,Object.assign(Object.assign({},n),p))},[t,n]),c=E.useCallback((d,p)=>{const g=t.getNodeDisplayData(d);g?t.getCamera().animate(g,Object.assign(Object.assign({},n),p)):console.warn(`Node ${d} not found`)},[t,n]);return{zoomIn:a,zoomOut:o,reset:s,goto:l,gotoNode:c}}function Nte(e){const t=ET(),[n,r]=E.useState(!1),[a,o]=E.useState(t.container),s=E.useCallback(()=>r(l=>!l),[]);return E.useEffect(()=>(document.addEventListener("fullscreenchange",s),()=>document.removeEventListener("fullscreenchange",s)),[s]),E.useEffect(()=>{o(t.container)},[e,t.container]),{toggle:E.useCallback(()=>{var l;l=a,document.fullscreenElement!==l?l.requestFullscreen():document.exitFullscreen&&document.exitFullscreen()},[a]),isFullScreen:n}}const Ote=E.forwardRef(({graph:e,id:t,className:n,style:r,settings:a={},children:o},s)=>{const l=E.useRef(null),c=E.useRef(null),d={className:`react-sigma ${n||""}`,id:t,style:r},[p,g]=E.useState(null),[m,b]=E.useState(a);E.useEffect(()=>{b(k=>tc(k,a)?k:a)},[a]),E.useEffect(()=>{g(k=>{let R=null;if(c.current!==null){let x=new Ct;e&&(x=typeof e=="function"?new e:e);let A=null;k&&(A=k.getCamera().getState(),k.kill()),R=new Cte(x,c.current,m),A&&R.getCamera().setState(A)}return R})},[c,e,m]),E.useImperativeHandle(s,()=>p,[p]);const y=E.useMemo(()=>p&&l.current?{sigma:p,container:l.current}:null,[p,l]),S=y!==null?ye.createElement(_te,{value:y},o):null;return ye.createElement("div",Object.assign({},d,{ref:l}),ye.createElement("div",{className:"sigma-container",ref:c}),S)});var Dte=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_border;
|
||
|
||
const float radius = 0.5;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
vec2 m = gl_PointCoord - vec2(0.5, 0.5);
|
||
float dist = radius - length(m);
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > v_border)
|
||
gl_FragColor = v_color;
|
||
else
|
||
gl_FragColor = transparent;
|
||
|
||
#else
|
||
float t = 0.0;
|
||
if (dist > v_border)
|
||
t = 1.0;
|
||
else if (dist > 0.0)
|
||
t = dist / v_border;
|
||
|
||
gl_FragColor = mix(transparent, v_color, t);
|
||
#endif
|
||
}
|
||
`,Ite=Dte,Lte=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform mat3 u_matrix;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_border;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(a_position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
// Multiply the point size twice:
|
||
// - x SCALING_RATIO to correct the canvas scaling
|
||
// - x 2 to correct the formulae
|
||
gl_PointSize = a_size / u_sizeRatio * u_pixelRatio * 2.0;
|
||
|
||
v_border = (0.5 / a_size) * u_sizeRatio;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Mte=Lte,H4=WebGLRenderingContext,FN=H4.UNSIGNED_BYTE,zN=H4.FLOAT,Pte=["u_sizeRatio","u_pixelRatio","u_matrix"],Fte=function(e){function t(){return dn(this,t),$n(this,t,arguments)}return qn(t,e),fn(t,[{key:"getDefinition",value:function(){return{VERTICES:1,VERTEX_SHADER_SOURCE:Mte,FRAGMENT_SHADER_SOURCE:Ite,METHOD:WebGLRenderingContext.POINTS,UNIFORMS:Pte,ATTRIBUTES:[{name:"a_position",size:2,type:zN},{name:"a_size",size:1,type:zN},{name:"a_color",size:4,type:FN,normalized:!0},{name:"a_id",size:4,type:FN,normalized:!0}]}}},{key:"processVisibleItem",value:function(r,a,o){var s=this.array;s[a++]=o.x,s[a++]=o.y,s[a++]=o.size,s[a++]=la(o.color),s[a++]=r}},{key:"setUniforms",value:function(r,a){var o=r.sizeRatio,s=r.pixelRatio,l=r.matrix,c=a.gl,d=a.uniformLocations,p=d.u_sizeRatio,g=d.u_pixelRatio,m=d.u_matrix;c.uniform1f(g,s),c.uniform1f(p,o),c.uniformMatrix3fv(m,!1,l)}}])}(bT),zte=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
attribute float a_sourceRadius;
|
||
attribute float a_targetRadius;
|
||
attribute float a_sourceRadiusCoef;
|
||
attribute float a_targetRadiusCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl. Please read it to
|
||
// get better comments on what's happening:
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here, we move the point to leave space for the arrow heads:
|
||
// Source arrow head
|
||
float sourceRadius = a_sourceRadius * a_sourceRadiusCoef;
|
||
float sourceDirection = sign(sourceRadius);
|
||
float webGLSourceRadius = sourceDirection * sourceRadius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLSourceArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
vec2 sourceCompensationVector =
|
||
vec2(-sourceDirection * unitNormal.y, sourceDirection * unitNormal.x)
|
||
* (webGLSourceRadius + webGLSourceArrowHeadLength);
|
||
|
||
// Target arrow head
|
||
float targetRadius = a_targetRadius * a_targetRadiusCoef;
|
||
float targetDirection = sign(targetRadius);
|
||
float webGLTargetRadius = targetDirection * targetRadius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLTargetArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
vec2 targetCompensationVector =
|
||
vec2(-targetDirection * unitNormal.y, targetDirection * unitNormal.x)
|
||
* (webGLTargetRadius + webGLTargetArrowHeadLength);
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + sourceCompensationVector + targetCompensationVector, 1)).xy, 0, 1);
|
||
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Bte=zte,$4=WebGLRenderingContext,BN=$4.UNSIGNED_BYTE,Oa=$4.FLOAT,Ute=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness","u_lengthToThicknessRatio"],jte={lengthToThicknessRatio:ec.lengthToThicknessRatio};function q4(e){var t=Ue(Ue({},jte),{});return function(n){function r(){return dn(this,r),$n(this,r,arguments)}return qn(r,n),fn(r,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:Bte,FRAGMENT_SHADER_SOURCE:yT,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Ute,ATTRIBUTES:[{name:"a_positionStart",size:2,type:Oa},{name:"a_positionEnd",size:2,type:Oa},{name:"a_normal",size:2,type:Oa},{name:"a_color",size:4,type:BN,normalized:!0},{name:"a_id",size:4,type:BN,normalized:!0},{name:"a_sourceRadius",size:1,type:Oa},{name:"a_targetRadius",size:1,type:Oa}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:Oa},{name:"a_normalCoef",size:1,type:Oa},{name:"a_sourceRadiusCoef",size:1,type:Oa},{name:"a_targetRadiusCoef",size:1,type:Oa}],CONSTANT_DATA:[[0,1,-1,0],[0,-1,1,0],[1,1,0,1],[1,1,0,1],[0,-1,1,0],[1,-1,0,-1]]}}},{key:"processVisibleItem",value:function(o,s,l,c,d){var p=d.size||1,g=l.x,m=l.y,b=c.x,y=c.y,S=la(d.color),k=b-g,R=y-m,x=l.size||1,A=c.size||1,N=k*k+R*R,O=0,C=0;N&&(N=1/Math.sqrt(N),O=-R*N*p,C=k*N*p);var _=this.array;_[s++]=g,_[s++]=m,_[s++]=b,_[s++]=y,_[s++]=O,_[s++]=C,_[s++]=S,_[s++]=o,_[s++]=x,_[s++]=A}},{key:"setUniforms",value:function(o,s){var l=s.gl,c=s.uniformLocations,d=c.u_matrix,p=c.u_zoomRatio,g=c.u_feather,m=c.u_pixelRatio,b=c.u_correctionRatio,y=c.u_sizeRatio,S=c.u_minEdgeThickness,k=c.u_lengthToThicknessRatio;l.uniformMatrix3fv(d,!1,o.matrix),l.uniform1f(p,o.zoomRatio),l.uniform1f(y,o.sizeRatio),l.uniform1f(b,o.correctionRatio),l.uniform1f(m,o.pixelRatio),l.uniform1f(g,o.antiAliasingFeather),l.uniform1f(S,o.minEdgeThickness),l.uniform1f(k,t.lengthToThicknessRatio)}}])}(Qu)}q4();function Gte(e){return A4([q4(),Tf(e),Tf(Ue(Ue({},e),{},{extremity:"source"}))])}Gte();function Hte(e){if(Array.isArray(e))return e}function $te(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,s,l=[],c=!0,d=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(p){d=!0,a=p}finally{try{if(!c&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(d)throw a}}return l}}function Hk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function V4(e,t){if(e){if(typeof e=="string")return Hk(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hk(e,t):void 0}}function qte(){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 Vte(e,t){return Hte(e)||$te(e,t)||V4(e,t)||qte()}function Wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yte(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function W4(e){var t=Yte(e,"string");return typeof t=="symbol"?t:t+""}function Kte(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,W4(r.key),r)}}function Xte(e,t,n){return t&&Kte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Af(e)}function Y4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Y4=function(){return!!e})()}function $k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zte(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $k(e)}function Qte(e,t,n){return t=Af(t),Zte(e,Y4()?Reflect.construct(t,n||[],Af(e).constructor):t.apply(e,n))}function qk(e,t){return qk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qk(e,t)}function Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qk(e,t)}function vs(e,t,n){return(t=W4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ene(e){if(Array.isArray(e))return Hk(e)}function tne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xm(e){return ene(e)||tne(e)||V4(e)||nne()}function UN(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 jN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?UN(Object(n),!0).forEach(function(r){vs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var rne="relative",ane={drawLabel:void 0,drawHover:void 0,borders:[{size:{value:.1},color:{attribute:"borderColor"}},{size:{fill:!0},color:{attribute:"color"}}]},one="#000000";function ine(e){var t=e.borders,n=mN(t.filter(function(a){var o=a.size;return"fill"in o}).length),r=`
|
||
precision highp float;
|
||
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
#ifdef PICKING_MODE
|
||
varying vec4 v_color;
|
||
#else
|
||
// For normal mode, we use the border colors defined in the program:
|
||
`.concat(t.flatMap(function(a,o){var s=a.size;return"attribute"in s?["varying float v_borderSize_".concat(o+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(a,o){var s=a.color;return"attribute"in s?["varying vec4 v_borderColor_".concat(o+1,";")]:"value"in s?["uniform vec4 u_borderColor_".concat(o+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
|
||
uniform float u_correctionRatio;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float dist = length(v_diffVector);
|
||
float aaBorder = 2.0 * u_correctionRatio;
|
||
float v_borderSize_0 = v_radius;
|
||
vec4 v_borderColor_0 = transparent;
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > v_radius)
|
||
gl_FragColor = transparent;
|
||
else {
|
||
gl_FragColor = v_color;
|
||
gl_FragColor.a *= bias;
|
||
}
|
||
#else
|
||
// Sizes:
|
||
`).concat(t.flatMap(function(a,o){var s=a.size;if("fill"in s)return[];s=s;var l="attribute"in s?"v_borderSize_".concat(o+1):mN(s.value),c=(s.mode||rne)==="pixels"?"u_correctionRatio":"v_radius";return[" float borderSize_".concat(o+1," = ").concat(c," * ").concat(l,";")]}).join(`
|
||
`),`
|
||
// Now, let's split the remaining space between "fill" borders:
|
||
float fillBorderSize = (v_radius - (`).concat(t.flatMap(function(a,o){var s=a.size;return"fill"in s?[]:["borderSize_".concat(o+1)]}).join(" + "),") ) / ").concat(n,`;
|
||
`).concat(t.flatMap(function(a,o){var s=a.size;return"fill"in s?[" float borderSize_".concat(o+1," = fillBorderSize;")]:[]}).join(`
|
||
`),`
|
||
|
||
// Finally, normalize all border sizes, to start from the full size and to end with the smallest:
|
||
float adjustedBorderSize_0 = v_radius;
|
||
`).concat(t.map(function(a,o){return" float adjustedBorderSize_".concat(o+1," = adjustedBorderSize_").concat(o," - borderSize_").concat(o+1,";")}).join(`
|
||
`),`
|
||
|
||
// Colors:
|
||
vec4 borderColor_0 = transparent;
|
||
`).concat(t.map(function(a,o){var s=a.color,l=[];return"attribute"in s?l.push(" vec4 borderColor_".concat(o+1," = v_borderColor_").concat(o+1,";")):"transparent"in s?l.push(" vec4 borderColor_".concat(o+1," = vec4(0.0, 0.0, 0.0, 0.0);")):l.push(" vec4 borderColor_".concat(o+1," = u_borderColor_").concat(o+1,";")),l.push(" borderColor_".concat(o+1,".a *= bias;")),l.push(" if (borderSize_".concat(o+1," <= 1.0 * u_correctionRatio) { borderColor_").concat(o+1," = borderColor_").concat(o,"; }")),l.join(`
|
||
`)}).join(`
|
||
`),`
|
||
if (dist > adjustedBorderSize_0) {
|
||
gl_FragColor = borderColor_0;
|
||
} else `).concat(t.map(function(a,o){return"if (dist > adjustedBorderSize_".concat(o,` - aaBorder) {
|
||
gl_FragColor = mix(borderColor_`).concat(o+1,", borderColor_").concat(o,", (dist - adjustedBorderSize_").concat(o,` + aaBorder) / aaBorder);
|
||
} else if (dist > adjustedBorderSize_`).concat(o+1,`) {
|
||
gl_FragColor = borderColor_`).concat(o+1,`;
|
||
} else `)}).join(""),` { /* Nothing to add here */ }
|
||
#endif
|
||
}
|
||
`);return r}function sne(e){var t=e.borders,n=`
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
attribute float a_angle;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
#ifdef PICKING_MODE
|
||
attribute vec4 a_id;
|
||
varying vec4 v_color;
|
||
#else
|
||
`.concat(t.flatMap(function(r,a){var o=r.size;return"attribute"in o?["attribute float a_borderSize_".concat(a+1,";"),"varying float v_borderSize_".concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(r,a){var o=r.color;return"attribute"in o?["attribute vec4 a_borderColor_".concat(a+1,";"),"varying vec4 v_borderColor_".concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main() {
|
||
float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;
|
||
vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));
|
||
vec2 position = a_position + diffVector;
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
v_radius = size / 2.0;
|
||
v_diffVector = diffVector;
|
||
|
||
#ifdef PICKING_MODE
|
||
v_color = a_id;
|
||
#else
|
||
`).concat(t.flatMap(function(r,a){var o=r.size;return"attribute"in o?[" v_borderSize_".concat(a+1," = a_borderSize_").concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(r,a){var o=r.color;return"attribute"in o?[" v_borderColor_".concat(a+1," = a_borderColor_").concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
}
|
||
`);return n}var K4=WebGLRenderingContext,GN=K4.UNSIGNED_BYTE,Dd=K4.FLOAT;function lne(e){var t,n=jN(jN({},ane),{}),r=n.borders,a=n.drawLabel,o=n.drawHover,s=["u_sizeRatio","u_correctionRatio","u_matrix"].concat(xm(r.flatMap(function(l,c){var d=l.color;return"value"in d?["u_borderColor_".concat(c+1)]:[]})));return t=function(l){Jte(c,l);function c(){var d;Wte(this,c);for(var p=arguments.length,g=new Array(p),m=0;m<p;m++)g[m]=arguments[m];return d=Qte(this,c,[].concat(g)),vs($k(d),"drawLabel",a),vs($k(d),"drawHover",o),d}return Xte(c,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:sne(n),FRAGMENT_SHADER_SOURCE:ine(n),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:s,ATTRIBUTES:[{name:"a_position",size:2,type:Dd},{name:"a_id",size:4,type:GN,normalized:!0},{name:"a_size",size:1,type:Dd}].concat(xm(r.flatMap(function(p,g){var m=p.color;return"attribute"in m?[{name:"a_borderColor_".concat(g+1),size:4,type:GN,normalized:!0}]:[]})),xm(r.flatMap(function(p,g){var m=p.size;return"attribute"in m?[{name:"a_borderSize_".concat(g+1),size:1,type:Dd}]:[]}))),CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:Dd}],CONSTANT_DATA:[[c.ANGLE_1],[c.ANGLE_2],[c.ANGLE_3]]}}},{key:"processVisibleItem",value:function(p,g,m){var b=this.array;b[g++]=m.x,b[g++]=m.y,b[g++]=p,b[g++]=m.size,r.forEach(function(y){var S=y.color;"attribute"in S&&(b[g++]=la(m[S.attribute]||S.defaultValue||one))}),r.forEach(function(y){var S=y.size;"attribute"in S&&(b[g++]=m[S.attribute]||S.defaultValue)})}},{key:"setUniforms",value:function(p,g){var m=g.gl,b=g.uniformLocations,y=b.u_sizeRatio,S=b.u_correctionRatio,k=b.u_matrix;m.uniform1f(S,p.correctionRatio),m.uniform1f(y,p.sizeRatio),m.uniformMatrix3fv(k,!1,p.matrix),r.forEach(function(R,x){var A=R.color;if("value"in A){var N=b["u_borderColor_".concat(x+1)],O=yee(A.value),C=Vte(O,4),_=C[0],P=C[1],I=C[2],L=C[3];m.uniform4f(N,_/255,P/255,I/255,L/255)}})}}]),c}(bT),vs(t,"ANGLE_1",0),vs(t,"ANGLE_2",2*Math.PI/3),vs(t,"ANGLE_3",4*Math.PI/3),t}var une=lne();function cne(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X4(e){var t=cne(e,"string");return typeof t=="symbol"?t:t+""}function Z4(e,t,n){return(t=X4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HN(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 Rf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HN(Object(n),!0).forEach(function(r){Z4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X4(r.key),r)}}function pne(e,t,n){return t&&fne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cf(e)}function Q4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q4=function(){return!!e})()}function J4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gne(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J4(e)}function hne(e,t,n){return t=Cf(t),gne(e,Q4()?Reflect.construct(t,n||[],Cf(e).constructor):t.apply(e,n))}function Vk(e,t){return Vk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Vk(e,t)}function mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vk(e,t)}function Wk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bne(e){if(Array.isArray(e))return Wk(e)}function yne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vne(e,t){if(e){if(typeof e=="string")return Wk(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wk(e,t):void 0}}function Sne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function km(e){return bne(e)||yne(e)||vne(e)||Sne()}function e5(e,t,n,r){var a=Math.pow(1-e,2)*t.x+2*(1-e)*e*n.x+Math.pow(e,2)*r.x,o=Math.pow(1-e,2)*t.y+2*(1-e)*e*n.y+Math.pow(e,2)*r.y;return{x:a,y:o}}function Ene(e,t,n){for(var r=20,a=0,o=e,s=0;s<r;s++){var l=e5((s+1)/r,e,t,n);a+=Math.sqrt(Math.pow(o.x-l.x,2)+Math.pow(o.y-l.y,2)),o=l}return a}function wne(e){var t=e.curvatureAttribute,n=e.defaultCurvature,r=e.keepLabelUpright,a=r===void 0?!0:r;return function(o,s,l,c,d){var p=d.edgeLabelSize,g=s[t]||n,m=d.edgeLabelFont,b=d.edgeLabelWeight,y=d.edgeLabelColor.attribute?s[d.edgeLabelColor.attribute]||d.edgeLabelColor.color||"#000":d.edgeLabelColor.color,S=s.label;if(S){o.fillStyle=y,o.font="".concat(b," ").concat(p,"px ").concat(m);var k=!a||l.x<c.x,R=k?l.x:c.x,x=k?l.y:c.y,A=k?c.x:l.x,N=k?c.y:l.y,O=(R+A)/2,C=(x+N)/2,_=A-R,P=N-x,I=Math.sqrt(Math.pow(_,2)+Math.pow(P,2)),L=k?1:-1,H=O+P*g*L,$=C-_*g*L,U=s.size*.7+5,W={x:$-x,y:-(H-R)},Z=Math.sqrt(Math.pow(W.x,2)+Math.pow(W.y,2)),j={x:N-$,y:-(A-H)},G=Math.sqrt(Math.pow(j.x,2)+Math.pow(j.y,2));R+=U*W.x/Z,x+=U*W.y/Z,A+=U*j.x/G,N+=U*j.y/G,H+=U*P/I,$-=U*_/I;var z={x:H,y:$},Y={x:R,y:x},D={x:A,y:N},V=Ene(Y,z,D);if(!(V<l.size+c.size)){var B=o.measureText(S).width,M=V-l.size-c.size;if(B>M){var K="…";for(S=S+K,B=o.measureText(S).width;B>M&&S.length>1;)S=S.slice(0,-2)+K,B=o.measureText(S).width;if(S.length<4)return}for(var ee={},Q=0,J=S.length;Q<J;Q++){var ae=S[Q];ee[ae]||(ee[ae]=o.measureText(ae).width*(1+g*.35))}for(var ke=.5-B/V/2,ie=0,Se=S.length;ie<Se;ie++){var ve=S[ie],Ie=e5(ke,Y,z,D),Ce=2*(1-ke)*(H-R)+2*ke*(A-H),Ee=2*(1-ke)*($-x)+2*ke*(N-$),te=Math.atan2(Ee,Ce);o.save(),o.translate(Ie.x,Ie.y),o.rotate(te),o.fillText(ve,0,0),o.restore(),ke+=ee[ve]/V}}}}}function xne(e){var t=e.arrowHead,n=(t==null?void 0:t.extremity)==="target"||(t==null?void 0:t.extremity)==="both",r=(t==null?void 0:t.extremity)==="source"||(t==null?void 0:t.extremity)==="both",a=`
|
||
precision highp float;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
varying vec2 v_cpA;
|
||
varying vec2 v_cpB;
|
||
varying vec2 v_cpC;
|
||
`.concat(n?`
|
||
varying float v_targetSize;
|
||
varying vec2 v_targetPoint;`:"",`
|
||
`).concat(r?`
|
||
varying float v_sourceSize;
|
||
varying vec2 v_sourcePoint;`:"",`
|
||
`).concat(t?`
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_widenessToThicknessRatio;`:"",`
|
||
|
||
float det(vec2 a, vec2 b) {
|
||
return a.x * b.y - b.x * a.y;
|
||
}
|
||
|
||
vec2 getDistanceVector(vec2 b0, vec2 b1, vec2 b2) {
|
||
float a = det(b0, b2), b = 2.0 * det(b1, b0), d = 2.0 * det(b2, b1);
|
||
float f = b * d - a * a;
|
||
vec2 d21 = b2 - b1, d10 = b1 - b0, d20 = b2 - b0;
|
||
vec2 gf = 2.0 * (b * d21 + d * d10 + a * d20);
|
||
gf = vec2(gf.y, -gf.x);
|
||
vec2 pp = -f * gf / dot(gf, gf);
|
||
vec2 d0p = b0 - pp;
|
||
float ap = det(d0p, d20), bp = 2.0 * det(d10, d0p);
|
||
float t = clamp((ap + bp) / (2.0 * a + b + d), 0.0, 1.0);
|
||
return mix(mix(b0, b1, t), mix(b1, b2, t), t);
|
||
}
|
||
|
||
float distToQuadraticBezierCurve(vec2 p, vec2 b0, vec2 b1, vec2 b2) {
|
||
return length(getDistanceVector(b0 - p, b1 - p, b2 - p));
|
||
}
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float dist = distToQuadraticBezierCurve(gl_FragCoord.xy, v_cpA, v_cpB, v_cpC);
|
||
float thickness = v_thickness;
|
||
`).concat(n?`
|
||
float distToTarget = length(gl_FragCoord.xy - v_targetPoint);
|
||
float targetArrowLength = v_targetSize + thickness * u_lengthToThicknessRatio;
|
||
if (distToTarget < targetArrowLength) {
|
||
thickness = (distToTarget - v_targetSize) / (targetArrowLength - v_targetSize) * u_widenessToThicknessRatio * thickness;
|
||
}`:"",`
|
||
`).concat(r?`
|
||
float distToSource = length(gl_FragCoord.xy - v_sourcePoint);
|
||
float sourceArrowLength = v_sourceSize + thickness * u_lengthToThicknessRatio;
|
||
if (distToSource < sourceArrowLength) {
|
||
thickness = (distToSource - v_sourceSize) / (sourceArrowLength - v_sourceSize) * u_widenessToThicknessRatio * thickness;
|
||
}`:"",`
|
||
|
||
float halfThickness = thickness / 2.0;
|
||
if (dist < halfThickness) {
|
||
#ifdef PICKING_MODE
|
||
gl_FragColor = v_color;
|
||
#else
|
||
float t = smoothstep(
|
||
halfThickness - v_feather,
|
||
halfThickness,
|
||
dist
|
||
);
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
} else {
|
||
gl_FragColor = transparent;
|
||
}
|
||
}
|
||
`);return a}function kne(e){var t=e.arrowHead,n=(t==null?void 0:t.extremity)==="target"||(t==null?void 0:t.extremity)==="both",r=(t==null?void 0:t.extremity)==="source"||(t==null?void 0:t.extremity)==="both",a=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute float a_direction;
|
||
attribute float a_thickness;
|
||
attribute vec2 a_source;
|
||
attribute vec2 a_target;
|
||
attribute float a_current;
|
||
attribute float a_curvature;
|
||
`.concat(n?`attribute float a_targetSize;
|
||
`:"",`
|
||
`).concat(r?`attribute float a_sourceSize;
|
||
`:"",`
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform vec2 u_dimensions;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
varying vec2 v_cpA;
|
||
varying vec2 v_cpB;
|
||
varying vec2 v_cpC;
|
||
`).concat(n?`
|
||
varying float v_targetSize;
|
||
varying vec2 v_targetPoint;`:"",`
|
||
`).concat(r?`
|
||
varying float v_sourceSize;
|
||
varying vec2 v_sourcePoint;`:"",`
|
||
`).concat(t?`
|
||
uniform float u_widenessToThicknessRatio;`:"",`
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const float epsilon = 0.7;
|
||
|
||
vec2 clipspaceToViewport(vec2 pos, vec2 dimensions) {
|
||
return vec2(
|
||
(pos.x + 1.0) * dimensions.x / 2.0,
|
||
(pos.y + 1.0) * dimensions.y / 2.0
|
||
);
|
||
}
|
||
|
||
vec2 viewportToClipspace(vec2 pos, vec2 dimensions) {
|
||
return vec2(
|
||
pos.x / dimensions.x * 2.0 - 1.0,
|
||
pos.y / dimensions.y * 2.0 - 1.0
|
||
);
|
||
}
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
// Selecting the correct position
|
||
// Branchless "position = a_source if a_current == 1.0 else a_target"
|
||
vec2 position = a_source * max(0.0, a_current) + a_target * max(0.0, 1.0 - a_current);
|
||
position = (u_matrix * vec3(position, 1)).xy;
|
||
|
||
vec2 source = (u_matrix * vec3(a_source, 1)).xy;
|
||
vec2 target = (u_matrix * vec3(a_target, 1)).xy;
|
||
|
||
vec2 viewportPosition = clipspaceToViewport(position, u_dimensions);
|
||
vec2 viewportSource = clipspaceToViewport(source, u_dimensions);
|
||
vec2 viewportTarget = clipspaceToViewport(target, u_dimensions);
|
||
|
||
vec2 delta = viewportTarget.xy - viewportSource.xy;
|
||
float len = length(delta);
|
||
vec2 normal = vec2(-delta.y, delta.x) * a_direction;
|
||
vec2 unitNormal = normal / len;
|
||
float boundingBoxThickness = len * a_curvature;
|
||
|
||
float curveThickness = max(minThickness, a_thickness / u_sizeRatio);
|
||
v_thickness = curveThickness * u_pixelRatio;
|
||
v_feather = u_feather;
|
||
|
||
v_cpA = viewportSource;
|
||
v_cpB = 0.5 * (viewportSource + viewportTarget) + unitNormal * a_direction * boundingBoxThickness;
|
||
v_cpC = viewportTarget;
|
||
|
||
vec2 viewportOffsetPosition = (
|
||
viewportPosition +
|
||
unitNormal * (boundingBoxThickness / 2.0 + sign(boundingBoxThickness) * (`).concat(t?"curveThickness * u_widenessToThicknessRatio":"curveThickness",` + epsilon)) *
|
||
max(0.0, a_direction) // NOTE: cutting the bounding box in half to avoid overdraw
|
||
);
|
||
|
||
position = viewportToClipspace(viewportOffsetPosition, u_dimensions);
|
||
gl_Position = vec4(position, 0, 1);
|
||
|
||
`).concat(n?`
|
||
v_targetSize = a_targetSize * u_pixelRatio / u_sizeRatio;
|
||
v_targetPoint = viewportTarget;
|
||
`:"",`
|
||
`).concat(r?`
|
||
v_sourceSize = a_sourceSize * u_pixelRatio / u_sizeRatio;
|
||
v_sourcePoint = viewportSource;
|
||
`:"",`
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`);return a}var t5=.25,Tne={arrowHead:null,curvatureAttribute:"curvature",defaultCurvature:t5},n5=WebGLRenderingContext,$N=n5.UNSIGNED_BYTE,So=n5.FLOAT;function wT(e){var t=Rf(Rf({},Tne),e||{}),n=t,r=n.arrowHead,a=n.curvatureAttribute,o=n.drawLabel,s=(r==null?void 0:r.extremity)==="target"||(r==null?void 0:r.extremity)==="both",l=(r==null?void 0:r.extremity)==="source"||(r==null?void 0:r.extremity)==="both",c=["u_matrix","u_sizeRatio","u_dimensions","u_pixelRatio","u_feather","u_minEdgeThickness"].concat(km(r?["u_lengthToThicknessRatio","u_widenessToThicknessRatio"]:[]));return function(d){mne(p,d);function p(){var g;dne(this,p);for(var m=arguments.length,b=new Array(m),y=0;y<m;y++)b[y]=arguments[y];return g=hne(this,p,[].concat(b)),Z4(J4(g),"drawLabel",o||wne(t)),g}return pne(p,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:kne(t),FRAGMENT_SHADER_SOURCE:xne(t),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:c,ATTRIBUTES:[{name:"a_source",size:2,type:So},{name:"a_target",size:2,type:So}].concat(km(s?[{name:"a_targetSize",size:1,type:So}]:[]),km(l?[{name:"a_sourceSize",size:1,type:So}]:[]),[{name:"a_thickness",size:1,type:So},{name:"a_curvature",size:1,type:So},{name:"a_color",size:4,type:$N,normalized:!0},{name:"a_id",size:4,type:$N,normalized:!0}]),CONSTANT_ATTRIBUTES:[{name:"a_current",size:1,type:So},{name:"a_direction",size:1,type:So}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[0,-1],[1,1],[1,-1]]}}},{key:"processVisibleItem",value:function(m,b,y,S,k){var R,x=k.size||1,A=y.x,N=y.y,O=S.x,C=S.y,_=la(k.color),P=(R=k[a])!==null&&R!==void 0?R:t5,I=this.array;I[b++]=A,I[b++]=N,I[b++]=O,I[b++]=C,s&&(I[b++]=S.size),l&&(I[b++]=y.size),I[b++]=x,I[b++]=P,I[b++]=_,I[b++]=m}},{key:"setUniforms",value:function(m,b){var y=b.gl,S=b.uniformLocations,k=S.u_matrix,R=S.u_pixelRatio,x=S.u_feather,A=S.u_sizeRatio,N=S.u_dimensions,O=S.u_minEdgeThickness;if(y.uniformMatrix3fv(k,!1,m.matrix),y.uniform1f(R,m.pixelRatio),y.uniform1f(A,m.sizeRatio),y.uniform1f(x,m.antiAliasingFeather),y.uniform2f(N,m.width*m.pixelRatio,m.height*m.pixelRatio),y.uniform1f(O,m.minEdgeThickness),r){var C=S.u_lengthToThicknessRatio,_=S.u_widenessToThicknessRatio;y.uniform1f(C,r.lengthToThicknessRatio),y.uniform1f(_,r.widenessToThicknessRatio)}}}]),p}(Qu)}var Ane=wT(),Rne=wT({arrowHead:ec});wT({arrowHead:Rf(Rf({},ec),{},{extremity:"both"})});const Cne=({node:e,move:t})=>{const n=kr(),{gotoNode:r}=G4();return E.useEffect(()=>{const a=n.getGraph();if(t){if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!0),r(e)}catch(o){console.error("Error focusing on node:",o)}else n.setCustomBBox(null),n.getCamera().animate({x:.5,y:.5,ratio:1},{duration:0});$e.getState().setMoveToSelectedNode(!1)}else if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!0)}catch(o){console.error("Error highlighting node:",o)}return()=>{if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!1)}catch(o){console.error("Error cleaning up node highlight:",o)}}},[e,t,n,r]),null};function Js(e,t){const n=kr(),r=E.useRef(t);return tc(r.current,t)||(r.current=t),{positions:E.useCallback(()=>r.current?e(n.getGraph(),r.current):{},[n,r,e]),assign:E.useCallback(()=>{r.current&&e.assign(n.getGraph(),r.current)},[n,r,e])}}function xT(e,t){const n=kr(),[r,a]=E.useState(!1),[o,s]=E.useState(null),l=E.useRef(t);return tc(l.current,t)||(l.current=t),E.useEffect(()=>{a(!1);let c=null;return l.current&&(c=new e(n.getGraph(),l.current)),s(c),()=>{c!==null&&c.kill()}},[n,l,s,a,e]),{stop:E.useCallback(()=>{o&&(o.stop(),a(!1))},[o,a]),start:E.useCallback(()=>{o&&(o.start(),a(!0))},[o,a]),kill:E.useCallback(()=>{o&&o.kill(),a(!1)},[o,a]),isRunning:r}}var Tm,qN;function nc(){if(qN)return Tm;qN=1;function e(n){return!n||typeof n!="object"||typeof n=="function"||Array.isArray(n)||n instanceof Set||n instanceof Map||n instanceof RegExp||n instanceof Date}function t(n,r){n=n||{};var a={};for(var o in r){var s=n[o],l=r[o];if(!e(l)){a[o]=t(s,l);continue}s===void 0?a[o]=l:a[o]=s}return a}return Tm=t,Tm}var Am,VN;function _ne(){if(VN)return Am;VN=1;function e(n){return function(r,a){return r+Math.floor(n()*(a-r+1))}}var t=e(Math.random);return t.createRandom=e,Am=t,Am}var Rm,WN;function Nne(){if(WN)return Rm;WN=1;var e=_ne().createRandom;function t(r){var a=e(r);return function(o){for(var s=o.length,l=s-1,c=-1;++c<s;){var d=a(c,l),p=o[d];o[d]=o[c],o[c]=p}}}var n=t(Math.random);return n.createShuffleInPlace=t,Rm=n,Rm}var Cm,YN;function One(){if(YN)return Cm;YN=1;var e=nc(),t=ua(),n=Nne(),r={attributes:{x:"x",y:"y"},center:0,hierarchyAttributes:[],rng:Math.random,scale:1};function a(_,P,I,L,H){this.wrappedCircle=H||null,this.children={},this.countChildren=0,this.id=_||null,this.next=null,this.previous=null,this.x=P||null,this.y=I||null,H?this.r=1010101:this.r=L||999}a.prototype.hasChildren=function(){return this.countChildren>0},a.prototype.addChild=function(_,P){this.children[_]=P,++this.countChildren},a.prototype.getChild=function(_){if(!this.children.hasOwnProperty(_)){var P=new a;this.children[_]=P,++this.countChildren}return this.children[_]},a.prototype.applyPositionToChildren=function(){if(this.hasChildren()){var _=this;for(var P in _.children){var I=_.children[P];I.x+=_.x,I.y+=_.y,I.applyPositionToChildren()}}};function o(_,P,I){for(var L in P.children){var H=P.children[L];H.hasChildren()?o(_,H,I):I[H.id]={x:H.x,y:H.y}}}function s(_,P){var I=_.r-P.r,L=P.x-_.x,H=P.y-_.y;return I<0||I*I<L*L+H*H}function l(_,P){var I=_.r-P.r+1e-6,L=P.x-_.x,H=P.y-_.y;return I>0&&I*I>L*L+H*H}function c(_,P){for(var I=0;I<P.length;++I)if(!l(_,P[I]))return!1;return!0}function d(_){return new a(null,_.x,_.y,_.r)}function p(_,P){var I=_.x,L=_.y,H=_.r,$=P.x,U=P.y,W=P.r,Z=$-I,j=U-L,G=W-H,z=Math.sqrt(Z*Z+j*j);return new a(null,(I+$+Z/z*G)/2,(L+U+j/z*G)/2,(z+H+W)/2)}function g(_,P,I){var L=_.x,H=_.y,$=_.r,U=P.x,W=P.y,Z=P.r,j=I.x,G=I.y,z=I.r,Y=L-U,D=L-j,V=H-W,B=H-G,M=Z-$,K=z-$,ee=L*L+H*H-$*$,Q=ee-U*U-W*W+Z*Z,J=ee-j*j-G*G+z*z,ae=D*V-Y*B,ke=(V*J-B*Q)/(ae*2)-L,ie=(B*M-V*K)/ae,Se=(D*Q-Y*J)/(ae*2)-H,ve=(Y*K-D*M)/ae,Ie=ie*ie+ve*ve-1,Ce=2*($+ke*ie+Se*ve),Ee=ke*ke+Se*Se-$*$,te=-(Ie?(Ce+Math.sqrt(Ce*Ce-4*Ie*Ee))/(2*Ie):Ee/Ce);return new a(null,L+ke+ie*te,H+Se+ve*te,te)}function m(_){switch(_.length){case 1:return d(_[0]);case 2:return p(_[0],_[1]);case 3:return g(_[0],_[1],_[2]);default:throw new Error("graphology-layout/circlepack: Invalid basis length "+_.length)}}function b(_,P){var I,L;if(c(P,_))return[P];for(I=0;I<_.length;++I)if(s(P,_[I])&&c(p(_[I],P),_))return[_[I],P];for(I=0;I<_.length-1;++I)for(L=I+1;L<_.length;++L)if(s(p(_[I],_[L]),P)&&s(p(_[I],P),_[L])&&s(p(_[L],P),_[I])&&c(g(_[I],_[L],P),_))return[_[I],_[L],P];throw new Error("graphology-layout/circlepack: extendBasis failure !")}function y(_){var P=_.wrappedCircle,I=_.next.wrappedCircle,L=P.r+I.r,H=(P.x*I.r+I.x*P.r)/L,$=(P.y*I.r+I.y*P.r)/L;return H*H+$*$}function S(_,P){var I=0,L=_.slice(),H=_.length,$=[],U,W;for(P(L);I<H;)U=L[I],W&&l(W,U)?++I:($=b($,U),W=m($),I=0);return W}function k(_,P,I){var L=_.x-P.x,H,$,U=_.y-P.y,W,Z,j=L*L+U*U;j?($=P.r+I.r,$*=$,Z=_.r+I.r,Z*=Z,$>Z?(H=(j+Z-$)/(2*j),W=Math.sqrt(Math.max(0,Z/j-H*H)),I.x=_.x-H*L-W*U,I.y=_.y-H*U+W*L):(H=(j+$-Z)/(2*j),W=Math.sqrt(Math.max(0,$/j-H*H)),I.x=P.x+H*L-W*U,I.y=P.y+H*U+W*L)):(I.x=P.x+I.r,I.y=P.y)}function R(_,P){var I=_.r+P.r-1e-6,L=P.x-_.x,H=P.y-_.y;return I>0&&I*I>L*L+H*H}function x(_,P){var I=_.length;if(I===0)return 0;var L,H,$,U,W,Z,j,G,z,Y;if(L=_[0],L.x=0,L.y=0,I<=1)return L.r;if(H=_[1],L.x=-H.r,H.x=L.r,H.y=0,I<=2)return L.r+H.r;$=_[2],k(H,L,$),L=new a(null,null,null,null,L),H=new a(null,null,null,null,H),$=new a(null,null,null,null,$),L.next=$.previous=H,H.next=L.previous=$,$.next=H.previous=L;e:for(Z=3;Z<I;++Z){$=_[Z],k(L.wrappedCircle,H.wrappedCircle,$),$=new a(null,null,null,null,$),j=H.next,G=L.previous,z=H.wrappedCircle.r,Y=L.wrappedCircle.r;do if(z<=Y){if(R(j.wrappedCircle,$.wrappedCircle)){H=j,L.next=H,H.previous=L,--Z;continue e}z+=j.wrappedCircle.r,j=j.next}else{if(R(G.wrappedCircle,$.wrappedCircle)){L=G,L.next=H,H.previous=L,--Z;continue e}Y+=G.wrappedCircle.r,G=G.previous}while(j!==G.next);for($.previous=L,$.next=H,L.next=H.previous=H=$,U=y(L);($=$.next)!==H;)(W=y($))<U&&(L=$,U=W);H=L.next}L=[H.wrappedCircle],$=H;for(var D=1e4;($=$.next)!==H&&--D!==0;)L.push($.wrappedCircle);for($=S(L,P),Z=0;Z<I;++Z)L=_[Z],L.x-=$.x,L.y-=$.y;return $.r}function A(_,P){var I=0;if(_.hasChildren()){for(var L in _.children){var H=_.children[L];H.hasChildren()&&(H.r=A(H,P))}I=x(Object.values(_.children),P)}return I}function N(_,P){A(_,P);for(var I in _.children){var L=_.children[I];L.applyPositionToChildren()}}function O(_,P,I){if(!t(P))throw new Error("graphology-layout/circlepack: the given graph is not a valid graphology instance.");I=e(I,r);var L={},H={},$=P.nodes(),U=I.center,W=I.hierarchyAttributes,Z=n.createShuffleInPlace(I.rng),j=I.scale,G=new a;P.forEachNode(function(M,K){var ee=K.size?K.size:1,Q=new a(M,null,null,ee),J=G;W.forEach(function(ae){var ke=K[ae];J=J.getChild(ke)}),J.addChild(M,Q)}),N(G,Z),o(P,G,L);var z=$.length,Y,D,V;for(V=0;V<z;V++){var B=$[V];Y=U+j*L[B].x,D=U+j*L[B].y,H[B]={x:Y,y:D},_&&(P.setNodeAttribute(B,I.attributes.x,Y),P.setNodeAttribute(B,I.attributes.y,D))}return H}var C=O.bind(null,!1);return C.assign=O.bind(null,!0),Cm=C,Cm}var Dne=One();const Ine=cn(Dne);function Lne(e={}){return Js(Ine,e)}var _m,KN;function Mne(){if(KN)return _m;KN=1;var e=nc(),t=ua(),n={dimensions:["x","y"],center:.5,scale:1};function r(o,s,l){if(!t(s))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");l=e(l,n);var c=l.dimensions;if(!Array.isArray(c)||c.length!==2)throw new Error("graphology-layout/random: given dimensions are invalid.");var d=l.center,p=l.scale,g=Math.PI*2,m=(d-.5)*p,b=s.order,y=c[0],S=c[1];function k(A,N){return N[y]=p*Math.cos(A*g/b)+m,N[S]=p*Math.sin(A*g/b)+m,N}var R=0;if(!o){var x={};return s.forEachNode(function(A){x[A]=k(R++,{})}),x}s.updateEachNodeAttributes(function(A,N){return k(R++,N),N},{attributes:c})}var a=r.bind(null,!1);return a.assign=r.bind(null,!0),_m=a,_m}var Pne=Mne();const Fne=cn(Pne);function zne(e={}){return Js(Fne,e)}var lu={},XN;function kT(){if(XN)return lu;XN=1;function e(r){return typeof r!="number"||isNaN(r)?1:r}function t(r,a){var o={},s=function(d){return typeof d>"u"?a:d};typeof a=="function"&&(s=a);var l=function(d){return s(d[r])},c=function(){return s(void 0)};return typeof r=="string"?(o.fromAttributes=l,o.fromGraph=function(d,p){return l(d.getNodeAttributes(p))},o.fromEntry=function(d,p){return l(p)}):typeof r=="function"?(o.fromAttributes=function(){throw new Error("graphology-utils/getters/createNodeValueGetter: irrelevant usage.")},o.fromGraph=function(d,p){return s(r(p,d.getNodeAttributes(p)))},o.fromEntry=function(d,p){return s(r(d,p))}):(o.fromAttributes=c,o.fromGraph=c,o.fromEntry=c),o}function n(r,a){var o={},s=function(d){return typeof d>"u"?a:d};typeof a=="function"&&(s=a);var l=function(d){return s(d[r])},c=function(){return s(void 0)};return typeof r=="string"?(o.fromAttributes=l,o.fromGraph=function(d,p){return l(d.getEdgeAttributes(p))},o.fromEntry=function(d,p){return l(p)},o.fromPartialEntry=o.fromEntry,o.fromMinimalEntry=o.fromEntry):typeof r=="function"?(o.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},o.fromGraph=function(d,p){var g=d.extremities(p);return s(r(p,d.getEdgeAttributes(p),g[0],g[1],d.getNodeAttributes(g[0]),d.getNodeAttributes(g[1]),d.isUndirected(p)))},o.fromEntry=function(d,p,g,m,b,y,S){return s(r(d,p,g,m,b,y,S))},o.fromPartialEntry=function(d,p,g,m){return s(r(d,p,g,m))},o.fromMinimalEntry=function(d,p){return s(r(d,p))}):(o.fromAttributes=c,o.fromGraph=c,o.fromEntry=c,o.fromMinimalEntry=c),o}return lu.createNodeValueGetter=t,lu.createEdgeValueGetter=n,lu.createEdgeWeightGetter=function(r){return n(r,e)},lu}var Nm,ZN;function r5(){if(ZN)return Nm;ZN=1;const{createNodeValueGetter:e,createEdgeValueGetter:t}=kT();return Nm=function(r,a,o){const{nodeXAttribute:s,nodeYAttribute:l}=o,{attraction:c,repulsion:d,gravity:p,inertia:g,maxMove:m}=o.settings;let{shouldSkipNode:b,shouldSkipEdge:y,isNodeFixed:S}=o;S=e(S),b=e(b,!1),y=t(y,!1);const k=r.filterNodes((A,N)=>!b.fromEntry(A,N)),R=k.length;for(let A=0;A<R;A++){const N=k[A],O=r.getNodeAttributes(N),C=a[N];C?a[N]={dx:C.dx*g,dy:C.dy*g,x:O[s]||0,y:O[l]||0}:a[N]={dx:0,dy:0,x:O[s]||0,y:O[l]||0}}if(d)for(let A=0;A<R;A++){const N=k[A],O=a[N];for(let C=A+1;C<R;C++){const _=k[C],P=a[_],I=P.x-O.x,L=P.y-O.y,H=Math.sqrt(I*I+L*L)||1,$=d/H*I,U=d/H*L;O.dx-=$,O.dy-=U,P.dx+=$,P.dy+=U}}if(c&&r.forEachEdge((A,N,O,C,_,P,I)=>{if(O===C||b.fromEntry(O,_)||b.fromEntry(C,P)||y.fromEntry(A,N,O,C,_,P,I))return;const L=a[O],H=a[C],$=H.x-L.x,U=H.y-L.y,W=Math.sqrt($*$+U*U)||1,Z=c*W*$,j=c*W*U;L.dx+=Z,L.dy+=j,H.dx-=Z,H.dy-=j}),p)for(let A=0;A<R;A++){const N=k[A],O=a[N],{x:C,y:_}=O,P=Math.sqrt(C*C+_*_)||1;a[N].dx-=C*p*P,a[N].dy-=_*p*P}const x=!1;for(let A=0;A<R;A++){const N=k[A],O=a[N],C=Math.sqrt(O.dx*O.dx+O.dy*O.dy);C>m&&(O.dx*=m/C,O.dy*=m/C),S.fromGraph(r,N)?O.fixed=!0:(O.x+=O.dx,O.y+=O.dy,O.fixed=!1)}return{converged:x}},Nm}var Id={},QN;function a5(){return QN||(QN=1,Id.assignLayoutChanges=function(e,t,n){const{nodeXAttribute:r,nodeYAttribute:a}=n;e.updateEachNodeAttributes((o,s)=>{const l=t[o];return!l||l.fixed||(s[r]=l.x,s[a]=l.y),s},{attributes:["x","y"]})},Id.collectLayoutChanges=function(e){const t={};for(const n in e){const r=e[n];t[n]={x:r.x,y:r.y}}return t}),Id}var Om,JN;function o5(){return JN||(JN=1,Om={nodeXAttribute:"x",nodeYAttribute:"y",isNodeFixed:"fixed",shouldSkipNode:null,shouldSkipEdge:null,settings:{attraction:5e-4,repulsion:.1,gravity:1e-4,inertia:.6,maxMove:200}}),Om}var Dm,eO;function Bne(){if(eO)return Dm;eO=1;const e=ua(),t=nc(),n=r5(),r=a5(),a=o5();function o(l,c,d){if(!e(c))throw new Error("graphology-layout-force: the given graph is not a valid graphology instance.");typeof d=="number"?d={maxIterations:d}:d=d||{};const p=d.maxIterations;if(d=t(d,a),typeof p!="number"||p<=0)throw new Error("graphology-layout-force: you should provide a positive number of maximum iterations.");const g={};let m=null,b;for(b=0;b<p&&(m=n(c,g,d),!m.converged);b++);if(l){r.assignLayoutChanges(c,g,d);return}return r.collectLayoutChanges(g)}const s=o.bind(null,!1);return s.assign=o.bind(null,!0),Dm=s,Dm}var Une=Bne();const jne=cn(Une);var Im,tO;function Gne(){if(tO)return Im;tO=1;const e=ua(),t=nc(),n=r5(),r=a5(),a=o5();function o(s,l){if(!e(s))throw new Error("graphology-layout-force/worker: the given graph is not a valid graphology instance.");l=t(l,a),this.callbacks={},l.onConverged&&(this.callbacks.onConverged=l.onConverged),this.graph=s,this.params=l,this.nodeStates={},this.frameID=null,this.running=!1,this.killed=!1}return o.prototype.isRunning=function(){return this.running},o.prototype.runFrame=function(){let{converged:s}=n(this.graph,this.nodeStates,this.params);r.assignLayoutChanges(this.graph,this.nodeStates,this.params),s=!1,s?(this.callbacks.onConverged&&this.callbacks.onConverged(),this.stop()):this.frameID=window.requestAnimationFrame(()=>this.runFrame())},o.prototype.stop=function(){return this.running=!1,this.frameID!==null&&(window.cancelAnimationFrame(this.frameID),this.frameID=null),this},o.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-force/worker.start: layout was killed.");this.running||(this.running=!0,this.runFrame())},o.prototype.kill=function(){this.stop(),delete this.nodeStates,this.killed=!0},Im=o,Im}var Hne=Gne();const $ne=cn(Hne);function qne(e={maxIterations:100}){return Js(jne,e)}function Vne(e={}){return xT($ne,e)}var Lm,nO;function Wne(){if(nO)return Lm;nO=1;var e=0,t=1,n=2,r=3,a=4,o=5,s=6,l=7,c=8,d=9,p=0,g=1,m=2,b=0,y=1,S=2,k=3,R=4,x=5,A=6,N=7,O=8,C=3,_=10,P=3,I=9,L=10;return Lm=function($,U,W){var Z,j,G,z,Y,D,V,B,M,K,ee=U.length,Q=W.length,J=$.adjustSizes,ae=$.barnesHutTheta*$.barnesHutTheta,ke,ie,Se,ve,Ie,Ce,Ee,te=[];for(G=0;G<ee;G+=_)U[G+a]=U[G+n],U[G+o]=U[G+r],U[G+n]=0,U[G+r]=0;if($.outboundAttractionDistribution){for(ke=0,G=0;G<ee;G+=_)ke+=U[G+s];ke/=ee/_}if($.barnesHutOptimize){var fe=1/0,Te=-1/0,me=1/0,we=-1/0,le,ze,Be;for(G=0;G<ee;G+=_)fe=Math.min(fe,U[G+e]),Te=Math.max(Te,U[G+e]),me=Math.min(me,U[G+t]),we=Math.max(we,U[G+t]);var he=Te-fe,Ne=we-me;for(he>Ne?(me-=(he-Ne)/2,we=me+he):(fe-=(Ne-he)/2,Te=fe+Ne),te[0+b]=-1,te[0+y]=(fe+Te)/2,te[0+S]=(me+we)/2,te[0+k]=Math.max(Te-fe,we-me),te[0+R]=-1,te[0+x]=-1,te[0+A]=0,te[0+N]=0,te[0+O]=0,Z=1,G=0;G<ee;G+=_)for(j=0,Be=C;;)if(te[j+x]>=0){U[G+e]<te[j+y]?U[G+t]<te[j+S]?le=te[j+x]:le=te[j+x]+I:U[G+t]<te[j+S]?le=te[j+x]+I*2:le=te[j+x]+I*3,te[j+N]=(te[j+N]*te[j+A]+U[G+e]*U[G+s])/(te[j+A]+U[G+s]),te[j+O]=(te[j+O]*te[j+A]+U[G+t]*U[G+s])/(te[j+A]+U[G+s]),te[j+A]+=U[G+s],j=le;continue}else if(te[j+b]<0){te[j+b]=G;break}else{if(te[j+x]=Z*I,B=te[j+k]/2,M=te[j+x],te[M+b]=-1,te[M+y]=te[j+y]-B,te[M+S]=te[j+S]-B,te[M+k]=B,te[M+R]=M+I,te[M+x]=-1,te[M+A]=0,te[M+N]=0,te[M+O]=0,M+=I,te[M+b]=-1,te[M+y]=te[j+y]-B,te[M+S]=te[j+S]+B,te[M+k]=B,te[M+R]=M+I,te[M+x]=-1,te[M+A]=0,te[M+N]=0,te[M+O]=0,M+=I,te[M+b]=-1,te[M+y]=te[j+y]+B,te[M+S]=te[j+S]-B,te[M+k]=B,te[M+R]=M+I,te[M+x]=-1,te[M+A]=0,te[M+N]=0,te[M+O]=0,M+=I,te[M+b]=-1,te[M+y]=te[j+y]+B,te[M+S]=te[j+S]+B,te[M+k]=B,te[M+R]=te[j+R],te[M+x]=-1,te[M+A]=0,te[M+N]=0,te[M+O]=0,Z+=4,U[te[j+b]+e]<te[j+y]?U[te[j+b]+t]<te[j+S]?le=te[j+x]:le=te[j+x]+I:U[te[j+b]+t]<te[j+S]?le=te[j+x]+I*2:le=te[j+x]+I*3,te[j+A]=U[te[j+b]+s],te[j+N]=U[te[j+b]+e],te[j+O]=U[te[j+b]+t],te[le+b]=te[j+b],te[j+b]=-1,U[G+e]<te[j+y]?U[G+t]<te[j+S]?ze=te[j+x]:ze=te[j+x]+I:U[G+t]<te[j+S]?ze=te[j+x]+I*2:ze=te[j+x]+I*3,le===ze)if(Be--){j=le;continue}else{Be=C;break}te[ze+b]=G;break}}if($.barnesHutOptimize)for(ie=$.scalingRatio,G=0;G<ee;G+=_)for(j=0;;)if(te[j+x]>=0)if(Ce=Math.pow(U[G+e]-te[j+N],2)+Math.pow(U[G+t]-te[j+O],2),K=te[j+k],4*K*K/Ce<ae){if(Se=U[G+e]-te[j+N],ve=U[G+t]-te[j+O],J===!0?Ce>0?(Ee=ie*U[G+s]*te[j+A]/Ce,U[G+n]+=Se*Ee,U[G+r]+=ve*Ee):Ce<0&&(Ee=-ie*U[G+s]*te[j+A]/Math.sqrt(Ce),U[G+n]+=Se*Ee,U[G+r]+=ve*Ee):Ce>0&&(Ee=ie*U[G+s]*te[j+A]/Ce,U[G+n]+=Se*Ee,U[G+r]+=ve*Ee),j=te[j+R],j<0)break;continue}else{j=te[j+x];continue}else{if(D=te[j+b],D>=0&&D!==G&&(Se=U[G+e]-U[D+e],ve=U[G+t]-U[D+t],Ce=Se*Se+ve*ve,J===!0?Ce>0?(Ee=ie*U[G+s]*U[D+s]/Ce,U[G+n]+=Se*Ee,U[G+r]+=ve*Ee):Ce<0&&(Ee=-ie*U[G+s]*U[D+s]/Math.sqrt(Ce),U[G+n]+=Se*Ee,U[G+r]+=ve*Ee):Ce>0&&(Ee=ie*U[G+s]*U[D+s]/Ce,U[G+n]+=Se*Ee,U[G+r]+=ve*Ee)),j=te[j+R],j<0)break;continue}else for(ie=$.scalingRatio,z=0;z<ee;z+=_)for(Y=0;Y<z;Y+=_)Se=U[z+e]-U[Y+e],ve=U[z+t]-U[Y+t],J===!0?(Ce=Math.sqrt(Se*Se+ve*ve)-U[z+c]-U[Y+c],Ce>0?(Ee=ie*U[z+s]*U[Y+s]/Ce/Ce,U[z+n]+=Se*Ee,U[z+r]+=ve*Ee,U[Y+n]-=Se*Ee,U[Y+r]-=ve*Ee):Ce<0&&(Ee=100*ie*U[z+s]*U[Y+s],U[z+n]+=Se*Ee,U[z+r]+=ve*Ee,U[Y+n]-=Se*Ee,U[Y+r]-=ve*Ee)):(Ce=Math.sqrt(Se*Se+ve*ve),Ce>0&&(Ee=ie*U[z+s]*U[Y+s]/Ce/Ce,U[z+n]+=Se*Ee,U[z+r]+=ve*Ee,U[Y+n]-=Se*Ee,U[Y+r]-=ve*Ee));for(M=$.gravity/$.scalingRatio,ie=$.scalingRatio,G=0;G<ee;G+=_)Ee=0,Se=U[G+e],ve=U[G+t],Ce=Math.sqrt(Math.pow(Se,2)+Math.pow(ve,2)),$.strongGravityMode?Ce>0&&(Ee=ie*U[G+s]*M):Ce>0&&(Ee=ie*U[G+s]*M/Ce),U[G+n]-=Se*Ee,U[G+r]-=ve*Ee;for(ie=1*($.outboundAttractionDistribution?ke:1),V=0;V<Q;V+=P)z=W[V+p],Y=W[V+g],B=W[V+m],Ie=Math.pow(B,$.edgeWeightInfluence),Se=U[z+e]-U[Y+e],ve=U[z+t]-U[Y+t],J===!0?(Ce=Math.sqrt(Se*Se+ve*ve)-U[z+c]-U[Y+c],$.linLogMode?$.outboundAttractionDistribution?Ce>0&&(Ee=-ie*Ie*Math.log(1+Ce)/Ce/U[z+s]):Ce>0&&(Ee=-ie*Ie*Math.log(1+Ce)/Ce):$.outboundAttractionDistribution?Ce>0&&(Ee=-ie*Ie/U[z+s]):Ce>0&&(Ee=-ie*Ie)):(Ce=Math.sqrt(Math.pow(Se,2)+Math.pow(ve,2)),$.linLogMode?$.outboundAttractionDistribution?Ce>0&&(Ee=-ie*Ie*Math.log(1+Ce)/Ce/U[z+s]):Ce>0&&(Ee=-ie*Ie*Math.log(1+Ce)/Ce):$.outboundAttractionDistribution?(Ce=1,Ee=-ie*Ie/U[z+s]):(Ce=1,Ee=-ie*Ie)),Ce>0&&(U[z+n]+=Se*Ee,U[z+r]+=ve*Ee,U[Y+n]-=Se*Ee,U[Y+r]-=ve*Ee);var ne,ce,_e,Fe,We,yt;if(J===!0)for(G=0;G<ee;G+=_)U[G+d]!==1&&(ne=Math.sqrt(Math.pow(U[G+n],2)+Math.pow(U[G+r],2)),ne>L&&(U[G+n]=U[G+n]*L/ne,U[G+r]=U[G+r]*L/ne),ce=U[G+s]*Math.sqrt((U[G+a]-U[G+n])*(U[G+a]-U[G+n])+(U[G+o]-U[G+r])*(U[G+o]-U[G+r])),_e=Math.sqrt((U[G+a]+U[G+n])*(U[G+a]+U[G+n])+(U[G+o]+U[G+r])*(U[G+o]+U[G+r]))/2,Fe=.1*Math.log(1+_e)/(1+Math.sqrt(ce)),We=U[G+e]+U[G+n]*(Fe/$.slowDown),U[G+e]=We,yt=U[G+t]+U[G+r]*(Fe/$.slowDown),U[G+t]=yt);else for(G=0;G<ee;G+=_)U[G+d]!==1&&(ce=U[G+s]*Math.sqrt((U[G+a]-U[G+n])*(U[G+a]-U[G+n])+(U[G+o]-U[G+r])*(U[G+o]-U[G+r])),_e=Math.sqrt((U[G+a]+U[G+n])*(U[G+a]+U[G+n])+(U[G+o]+U[G+r])*(U[G+o]+U[G+r]))/2,Fe=U[G+l]*Math.log(1+_e)/(1+Math.sqrt(ce)),U[G+l]=Math.min(1,Math.sqrt(Fe*(Math.pow(U[G+n],2)+Math.pow(U[G+r],2))/(1+Math.sqrt(ce)))),We=U[G+e]+U[G+n]*(Fe/$.slowDown),U[G+e]=We,yt=U[G+t]+U[G+r]*(Fe/$.slowDown),U[G+t]=yt);return{}},Lm}var Da={},rO;function i5(){if(rO)return Da;rO=1;var e=10,t=3;return Da.assign=function(n){n=n||{};var r=Array.prototype.slice.call(arguments).slice(1),a,o,s;for(a=0,s=r.length;a<s;a++)if(r[a])for(o in r[a])n[o]=r[a][o];return n},Da.validateSettings=function(n){return"linLogMode"in n&&typeof n.linLogMode!="boolean"?{message:"the `linLogMode` setting should be a boolean."}:"outboundAttractionDistribution"in n&&typeof n.outboundAttractionDistribution!="boolean"?{message:"the `outboundAttractionDistribution` setting should be a boolean."}:"adjustSizes"in n&&typeof n.adjustSizes!="boolean"?{message:"the `adjustSizes` setting should be a boolean."}:"edgeWeightInfluence"in n&&typeof n.edgeWeightInfluence!="number"?{message:"the `edgeWeightInfluence` setting should be a number."}:"scalingRatio"in n&&!(typeof n.scalingRatio=="number"&&n.scalingRatio>=0)?{message:"the `scalingRatio` setting should be a number >= 0."}:"strongGravityMode"in n&&typeof n.strongGravityMode!="boolean"?{message:"the `strongGravityMode` setting should be a boolean."}:"gravity"in n&&!(typeof n.gravity=="number"&&n.gravity>=0)?{message:"the `gravity` setting should be a number >= 0."}:"slowDown"in n&&!(typeof n.slowDown=="number"||n.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in n&&typeof n.barnesHutOptimize!="boolean"?{message:"the `barnesHutOptimize` setting should be a boolean."}:"barnesHutTheta"in n&&!(typeof n.barnesHutTheta=="number"&&n.barnesHutTheta>=0)?{message:"the `barnesHutTheta` setting should be a number >= 0."}:null},Da.graphToByteArrays=function(n,r){var a=n.order,o=n.size,s={},l,c=new Float32Array(a*e),d=new Float32Array(o*t);return l=0,n.forEachNode(function(p,g){s[p]=l,c[l]=g.x,c[l+1]=g.y,c[l+2]=0,c[l+3]=0,c[l+4]=0,c[l+5]=0,c[l+6]=1,c[l+7]=1,c[l+8]=g.size||1,c[l+9]=g.fixed?1:0,l+=e}),l=0,n.forEachEdge(function(p,g,m,b,y,S,k){var R=s[m],x=s[b],A=r(p,g,m,b,y,S,k);c[R+6]+=A,c[x+6]+=A,d[l]=R,d[l+1]=x,d[l+2]=A,l+=t}),{nodes:c,edges:d}},Da.assignLayoutChanges=function(n,r,a){var o=0;n.updateEachNodeAttributes(function(s,l){return l.x=r[o],l.y=r[o+1],o+=e,a?a(s,l):l})},Da.readGraphPositions=function(n,r){var a=0;n.forEachNode(function(o,s){r[a]=s.x,r[a+1]=s.y,a+=e})},Da.collectLayoutChanges=function(n,r,a){for(var o=n.nodes(),s={},l=0,c=0,d=r.length;l<d;l+=e){if(a){var p=Object.assign({},n.getNodeAttributes(o[c]));p.x=r[l],p.y=r[l+1],p=a(o[c],p),s[o[c]]={x:p.x,y:p.y}}else s[o[c]]={x:r[l],y:r[l+1]};c++}return s},Da.createWorker=function(r){var a=window.URL||window.webkitURL,o=r.toString(),s=a.createObjectURL(new Blob(["("+o+").call(this);"],{type:"text/javascript"})),l=new Worker(s);return a.revokeObjectURL(s),l},Da}var Mm,aO;function s5(){return aO||(aO=1,Mm={linLogMode:!1,outboundAttractionDistribution:!1,adjustSizes:!1,edgeWeightInfluence:1,scalingRatio:1,strongGravityMode:!1,gravity:1,slowDown:1,barnesHutOptimize:!1,barnesHutTheta:.5}),Mm}var Pm,oO;function Yne(){if(oO)return Pm;oO=1;var e=ua(),t=kT().createEdgeWeightGetter,n=Wne(),r=i5(),a=s5();function o(c,d,p){if(!e(d))throw new Error("graphology-layout-forceatlas2: the given graph is not a valid graphology instance.");typeof p=="number"&&(p={iterations:p});var g=p.iterations;if(typeof g!="number")throw new Error("graphology-layout-forceatlas2: invalid number of iterations.");if(g<=0)throw new Error("graphology-layout-forceatlas2: you should provide a positive number of iterations.");var m=t("getEdgeWeight"in p?p.getEdgeWeight:"weight").fromEntry,b=typeof p.outputReducer=="function"?p.outputReducer:null,y=r.assign({},a,p.settings),S=r.validateSettings(y);if(S)throw new Error("graphology-layout-forceatlas2: "+S.message);var k=r.graphToByteArrays(d,m),R;for(R=0;R<g;R++)n(y,k.nodes,k.edges);if(c){r.assignLayoutChanges(d,k.nodes,b);return}return r.collectLayoutChanges(d,k.nodes)}function s(c){var d=typeof c=="number"?c:c.order;return{barnesHutOptimize:d>2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(d)}}var l=o.bind(null,!1);return l.assign=o.bind(null,!0),l.inferSettings=s,Pm=l,Pm}var Kne=Yne();const Xne=cn(Kne);var Fm,iO;function Zne(){return iO||(iO=1,Fm=function(){var t,n,r={};(function(){var o=0,s=1,l=2,c=3,d=4,p=5,g=6,m=7,b=8,y=9,S=0,k=1,R=2,x=0,A=1,N=2,O=3,C=4,_=5,P=6,I=7,L=8,H=3,$=10,U=3,W=9,Z=10;r.exports=function(G,z,Y){var D,V,B,M,K,ee,Q,J,ae,ke,ie=z.length,Se=Y.length,ve=G.adjustSizes,Ie=G.barnesHutTheta*G.barnesHutTheta,Ce,Ee,te,fe,Te,me,we,le=[];for(B=0;B<ie;B+=$)z[B+d]=z[B+l],z[B+p]=z[B+c],z[B+l]=0,z[B+c]=0;if(G.outboundAttractionDistribution){for(Ce=0,B=0;B<ie;B+=$)Ce+=z[B+g];Ce/=ie/$}if(G.barnesHutOptimize){var ze=1/0,Be=-1/0,he=1/0,Ne=-1/0,ne,ce,_e;for(B=0;B<ie;B+=$)ze=Math.min(ze,z[B+o]),Be=Math.max(Be,z[B+o]),he=Math.min(he,z[B+s]),Ne=Math.max(Ne,z[B+s]);var Fe=Be-ze,We=Ne-he;for(Fe>We?(he-=(Fe-We)/2,Ne=he+Fe):(ze-=(We-Fe)/2,Be=ze+We),le[0+x]=-1,le[0+A]=(ze+Be)/2,le[0+N]=(he+Ne)/2,le[0+O]=Math.max(Be-ze,Ne-he),le[0+C]=-1,le[0+_]=-1,le[0+P]=0,le[0+I]=0,le[0+L]=0,D=1,B=0;B<ie;B+=$)for(V=0,_e=H;;)if(le[V+_]>=0){z[B+o]<le[V+A]?z[B+s]<le[V+N]?ne=le[V+_]:ne=le[V+_]+W:z[B+s]<le[V+N]?ne=le[V+_]+W*2:ne=le[V+_]+W*3,le[V+I]=(le[V+I]*le[V+P]+z[B+o]*z[B+g])/(le[V+P]+z[B+g]),le[V+L]=(le[V+L]*le[V+P]+z[B+s]*z[B+g])/(le[V+P]+z[B+g]),le[V+P]+=z[B+g],V=ne;continue}else if(le[V+x]<0){le[V+x]=B;break}else{if(le[V+_]=D*W,J=le[V+O]/2,ae=le[V+_],le[ae+x]=-1,le[ae+A]=le[V+A]-J,le[ae+N]=le[V+N]-J,le[ae+O]=J,le[ae+C]=ae+W,le[ae+_]=-1,le[ae+P]=0,le[ae+I]=0,le[ae+L]=0,ae+=W,le[ae+x]=-1,le[ae+A]=le[V+A]-J,le[ae+N]=le[V+N]+J,le[ae+O]=J,le[ae+C]=ae+W,le[ae+_]=-1,le[ae+P]=0,le[ae+I]=0,le[ae+L]=0,ae+=W,le[ae+x]=-1,le[ae+A]=le[V+A]+J,le[ae+N]=le[V+N]-J,le[ae+O]=J,le[ae+C]=ae+W,le[ae+_]=-1,le[ae+P]=0,le[ae+I]=0,le[ae+L]=0,ae+=W,le[ae+x]=-1,le[ae+A]=le[V+A]+J,le[ae+N]=le[V+N]+J,le[ae+O]=J,le[ae+C]=le[V+C],le[ae+_]=-1,le[ae+P]=0,le[ae+I]=0,le[ae+L]=0,D+=4,z[le[V+x]+o]<le[V+A]?z[le[V+x]+s]<le[V+N]?ne=le[V+_]:ne=le[V+_]+W:z[le[V+x]+s]<le[V+N]?ne=le[V+_]+W*2:ne=le[V+_]+W*3,le[V+P]=z[le[V+x]+g],le[V+I]=z[le[V+x]+o],le[V+L]=z[le[V+x]+s],le[ne+x]=le[V+x],le[V+x]=-1,z[B+o]<le[V+A]?z[B+s]<le[V+N]?ce=le[V+_]:ce=le[V+_]+W:z[B+s]<le[V+N]?ce=le[V+_]+W*2:ce=le[V+_]+W*3,ne===ce)if(_e--){V=ne;continue}else{_e=H;break}le[ce+x]=B;break}}if(G.barnesHutOptimize)for(Ee=G.scalingRatio,B=0;B<ie;B+=$)for(V=0;;)if(le[V+_]>=0)if(me=Math.pow(z[B+o]-le[V+I],2)+Math.pow(z[B+s]-le[V+L],2),ke=le[V+O],4*ke*ke/me<Ie){if(te=z[B+o]-le[V+I],fe=z[B+s]-le[V+L],ve===!0?me>0?(we=Ee*z[B+g]*le[V+P]/me,z[B+l]+=te*we,z[B+c]+=fe*we):me<0&&(we=-Ee*z[B+g]*le[V+P]/Math.sqrt(me),z[B+l]+=te*we,z[B+c]+=fe*we):me>0&&(we=Ee*z[B+g]*le[V+P]/me,z[B+l]+=te*we,z[B+c]+=fe*we),V=le[V+C],V<0)break;continue}else{V=le[V+_];continue}else{if(ee=le[V+x],ee>=0&&ee!==B&&(te=z[B+o]-z[ee+o],fe=z[B+s]-z[ee+s],me=te*te+fe*fe,ve===!0?me>0?(we=Ee*z[B+g]*z[ee+g]/me,z[B+l]+=te*we,z[B+c]+=fe*we):me<0&&(we=-Ee*z[B+g]*z[ee+g]/Math.sqrt(me),z[B+l]+=te*we,z[B+c]+=fe*we):me>0&&(we=Ee*z[B+g]*z[ee+g]/me,z[B+l]+=te*we,z[B+c]+=fe*we)),V=le[V+C],V<0)break;continue}else for(Ee=G.scalingRatio,M=0;M<ie;M+=$)for(K=0;K<M;K+=$)te=z[M+o]-z[K+o],fe=z[M+s]-z[K+s],ve===!0?(me=Math.sqrt(te*te+fe*fe)-z[M+b]-z[K+b],me>0?(we=Ee*z[M+g]*z[K+g]/me/me,z[M+l]+=te*we,z[M+c]+=fe*we,z[K+l]-=te*we,z[K+c]-=fe*we):me<0&&(we=100*Ee*z[M+g]*z[K+g],z[M+l]+=te*we,z[M+c]+=fe*we,z[K+l]-=te*we,z[K+c]-=fe*we)):(me=Math.sqrt(te*te+fe*fe),me>0&&(we=Ee*z[M+g]*z[K+g]/me/me,z[M+l]+=te*we,z[M+c]+=fe*we,z[K+l]-=te*we,z[K+c]-=fe*we));for(ae=G.gravity/G.scalingRatio,Ee=G.scalingRatio,B=0;B<ie;B+=$)we=0,te=z[B+o],fe=z[B+s],me=Math.sqrt(Math.pow(te,2)+Math.pow(fe,2)),G.strongGravityMode?me>0&&(we=Ee*z[B+g]*ae):me>0&&(we=Ee*z[B+g]*ae/me),z[B+l]-=te*we,z[B+c]-=fe*we;for(Ee=1*(G.outboundAttractionDistribution?Ce:1),Q=0;Q<Se;Q+=U)M=Y[Q+S],K=Y[Q+k],J=Y[Q+R],Te=Math.pow(J,G.edgeWeightInfluence),te=z[M+o]-z[K+o],fe=z[M+s]-z[K+s],ve===!0?(me=Math.sqrt(te*te+fe*fe)-z[M+b]-z[K+b],G.linLogMode?G.outboundAttractionDistribution?me>0&&(we=-Ee*Te*Math.log(1+me)/me/z[M+g]):me>0&&(we=-Ee*Te*Math.log(1+me)/me):G.outboundAttractionDistribution?me>0&&(we=-Ee*Te/z[M+g]):me>0&&(we=-Ee*Te)):(me=Math.sqrt(Math.pow(te,2)+Math.pow(fe,2)),G.linLogMode?G.outboundAttractionDistribution?me>0&&(we=-Ee*Te*Math.log(1+me)/me/z[M+g]):me>0&&(we=-Ee*Te*Math.log(1+me)/me):G.outboundAttractionDistribution?(me=1,we=-Ee*Te/z[M+g]):(me=1,we=-Ee*Te)),me>0&&(z[M+l]+=te*we,z[M+c]+=fe*we,z[K+l]-=te*we,z[K+c]-=fe*we);var yt,kt,ht,et,Tt,ot;if(ve===!0)for(B=0;B<ie;B+=$)z[B+y]!==1&&(yt=Math.sqrt(Math.pow(z[B+l],2)+Math.pow(z[B+c],2)),yt>Z&&(z[B+l]=z[B+l]*Z/yt,z[B+c]=z[B+c]*Z/yt),kt=z[B+g]*Math.sqrt((z[B+d]-z[B+l])*(z[B+d]-z[B+l])+(z[B+p]-z[B+c])*(z[B+p]-z[B+c])),ht=Math.sqrt((z[B+d]+z[B+l])*(z[B+d]+z[B+l])+(z[B+p]+z[B+c])*(z[B+p]+z[B+c]))/2,et=.1*Math.log(1+ht)/(1+Math.sqrt(kt)),Tt=z[B+o]+z[B+l]*(et/G.slowDown),z[B+o]=Tt,ot=z[B+s]+z[B+c]*(et/G.slowDown),z[B+s]=ot);else for(B=0;B<ie;B+=$)z[B+y]!==1&&(kt=z[B+g]*Math.sqrt((z[B+d]-z[B+l])*(z[B+d]-z[B+l])+(z[B+p]-z[B+c])*(z[B+p]-z[B+c])),ht=Math.sqrt((z[B+d]+z[B+l])*(z[B+d]+z[B+l])+(z[B+p]+z[B+c])*(z[B+p]+z[B+c]))/2,et=z[B+m]*Math.log(1+ht)/(1+Math.sqrt(kt)),z[B+m]=Math.min(1,Math.sqrt(et*(Math.pow(z[B+l],2)+Math.pow(z[B+c],2))/(1+Math.sqrt(kt)))),Tt=z[B+o]+z[B+l]*(et/G.slowDown),z[B+o]=Tt,ot=z[B+s]+z[B+c]*(et/G.slowDown),z[B+s]=ot);return{}}})();var a=r.exports;self.addEventListener("message",function(o){var s=o.data;t=new Float32Array(s.nodes),s.edges&&(n=new Float32Array(s.edges)),a(s.settings,t,n),self.postMessage({nodes:t.buffer},[t.buffer])})}),Fm}var zm,sO;function Qne(){if(sO)return zm;sO=1;var e=Zne(),t=ua(),n=kT().createEdgeWeightGetter,r=i5(),a=s5();function o(s,l){if(l=l||{},!t(s))throw new Error("graphology-layout-forceatlas2/worker: the given graph is not a valid graphology instance.");var c=n("getEdgeWeight"in l?l.getEdgeWeight:"weight").fromEntry,d=r.assign({},a,l.settings),p=r.validateSettings(d);if(p)throw new Error("graphology-layout-forceatlas2/worker: "+p.message);this.worker=null,this.graph=s,this.settings=d,this.getEdgeWeight=c,this.matrices=null,this.running=!1,this.killed=!1,this.outputReducer=typeof l.outputReducer=="function"?l.outputReducer:null,this.handleMessage=this.handleMessage.bind(this);var g=void 0,m=this;this.handleGraphUpdate=function(){m.worker&&m.worker.terminate(),g&&clearTimeout(g),g=setTimeout(function(){g=void 0,m.spawnWorker()},0)},s.on("nodeAdded",this.handleGraphUpdate),s.on("edgeAdded",this.handleGraphUpdate),s.on("nodeDropped",this.handleGraphUpdate),s.on("edgeDropped",this.handleGraphUpdate),this.spawnWorker()}return o.prototype.isRunning=function(){return this.running},o.prototype.spawnWorker=function(){this.worker&&this.worker.terminate(),this.worker=r.createWorker(e),this.worker.addEventListener("message",this.handleMessage),this.running&&(this.running=!1,this.start())},o.prototype.handleMessage=function(s){if(this.running){var l=new Float32Array(s.data.nodes);r.assignLayoutChanges(this.graph,l,this.outputReducer),this.outputReducer&&r.readGraphPositions(this.graph,l),this.matrices.nodes=l,this.askForIterations()}},o.prototype.askForIterations=function(s){var l=this.matrices,c={settings:this.settings,nodes:l.nodes.buffer},d=[l.nodes.buffer];return s&&(c.edges=l.edges.buffer,d.push(l.edges.buffer)),this.worker.postMessage(c,d),this},o.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-forceatlas2/worker.start: layout was killed.");return this.running?this:(this.matrices=r.graphToByteArrays(this.graph,this.getEdgeWeight),this.running=!0,this.askForIterations(!0),this)},o.prototype.stop=function(){return this.running=!1,this},o.prototype.kill=function(){if(this.killed)return this;this.running=!1,this.killed=!0,this.matrices=null,this.worker.terminate(),this.graph.removeListener("nodeAdded",this.handleGraphUpdate),this.graph.removeListener("edgeAdded",this.handleGraphUpdate),this.graph.removeListener("nodeDropped",this.handleGraphUpdate),this.graph.removeListener("edgeDropped",this.handleGraphUpdate)},zm=o,zm}var Jne=Qne();const ere=cn(Jne);function l5(e={iterations:100}){return Js(Xne,e)}function tre(e={}){return xT(ere,e)}var Bm,lO;function nre(){if(lO)return Bm;lO=1;var e=0,t=1,n=2,r=3;function a(s,l){return s+"§"+l}function o(){return .01*(.5-Math.random())}return Bm=function(l,c){var d=l.margin,p=l.ratio,g=l.expansion,m=l.gridSize,b=l.speed,y,S,k,R,x,A,N=!0,O=c.length,C=O/r|0,_=new Float32Array(C),P=new Float32Array(C),I=1/0,L=1/0,H=-1/0,$=-1/0;for(y=0;y<O;y+=r)k=c[y+e],R=c[y+t],A=c[y+n]*p+d,I=Math.min(I,k-A),H=Math.max(H,k+A),L=Math.min(L,R-A),$=Math.max($,R+A);var U=H-I,W=$-L,Z=(I+H)/2,j=(L+$)/2;I=Z-g*U/2,H=Z+g*U/2,L=j-g*W/2,$=j+g*W/2;var G=new Array(m*m),z=G.length,Y;for(Y=0;Y<z;Y++)G[Y]=[];var D,V,B,M,K,ee,Q,J,ae,ke;for(y=0;y<O;y+=r)for(k=c[y+e],R=c[y+t],A=c[y+n]*p+d,D=k-A,V=k+A,B=R-A,M=R+A,K=Math.floor(m*(D-I)/(H-I)),ee=Math.floor(m*(V-I)/(H-I)),Q=Math.floor(m*(B-L)/($-L)),J=Math.floor(m*(M-L)/($-L)),ae=K;ae<=ee;ae++)for(ke=Q;ke<=J;ke++)G[ae*m+ke].push(y);var ie,Se=new Set,ve,Ie,Ce,Ee,te,fe,Te,me,we,le,ze,Be,he;for(Y=0;Y<z;Y++)for(ie=G[Y],y=0,x=ie.length;y<x;y++)for(ve=ie[y],Ce=c[ve+e],te=c[ve+t],Te=c[ve+n],S=y+1;S<x;S++)Ie=ie[S],we=a(ve,Ie),!(z>1&&Se.has(we))&&(z>1&&Se.add(we),Ee=c[Ie+e],fe=c[Ie+t],me=c[Ie+n],le=Ee-Ce,ze=fe-te,Be=Math.sqrt(le*le+ze*ze),he=Be<Te*p+d+(me*p+d),he&&(N=!1,Ie=Ie/r|0,Be>0?(_[Ie]+=le/Be*(1+Te),P[Ie]+=ze/Be*(1+Te)):(_[Ie]+=U*o(),P[Ie]+=W*o())));for(y=0,S=0;y<O;y+=r,S++)c[y+e]+=_[S]*.1*b,c[y+t]+=P[S]*.1*b;return{converged:N}},Bm}var ii={},uO;function u5(){if(uO)return ii;uO=1;var e=3;return ii.validateSettings=function(t){return"gridSize"in t&&typeof t.gridSize!="number"||t.gridSize<=0?{message:"the `gridSize` setting should be a positive number."}:"margin"in t&&typeof t.margin!="number"||t.margin<0?{message:"the `margin` setting should be 0 or a positive number."}:"expansion"in t&&typeof t.expansion!="number"||t.expansion<=0?{message:"the `expansion` setting should be a positive number."}:"ratio"in t&&typeof t.ratio!="number"||t.ratio<=0?{message:"the `ratio` setting should be a positive number."}:"speed"in t&&typeof t.speed!="number"||t.speed<=0?{message:"the `speed` setting should be a positive number."}:null},ii.graphToByteArray=function(t,n){var r=t.order,a=new Float32Array(r*e),o=0;return t.forEachNode(function(s,l){typeof n=="function"&&(l=n(s,l)),a[o]=l.x,a[o+1]=l.y,a[o+2]=l.size||1,o+=e}),a},ii.assignLayoutChanges=function(t,n,r){var a=0;t.forEachNode(function(o){var s={x:n[a],y:n[a+1]};typeof r=="function"&&(s=r(o,s)),t.mergeNodeAttributes(o,s),a+=e})},ii.collectLayoutChanges=function(t,n,r){var a={},o=0;return t.forEachNode(function(s){var l={x:n[o],y:n[o+1]};typeof r=="function"&&(l=r(s,l)),a[s]=l,o+=e}),a},ii.createWorker=function(n){var r=window.URL||window.webkitURL,a=n.toString(),o=r.createObjectURL(new Blob(["("+a+").call(this);"],{type:"text/javascript"})),s=new Worker(o);return r.revokeObjectURL(o),s},ii}var Um,cO;function c5(){return cO||(cO=1,Um={gridSize:20,margin:5,expansion:1.1,ratio:1,speed:3}),Um}var jm,dO;function rre(){if(dO)return jm;dO=1;var e=ua(),t=nre(),n=u5(),r=c5(),a=500;function o(l,c,d){if(!e(c))throw new Error("graphology-layout-noverlap: the given graph is not a valid graphology instance.");typeof d=="number"?d={maxIterations:d}:d=d||{};var p=d.maxIterations||a;if(typeof p!="number"||p<=0)throw new Error("graphology-layout-force: you should provide a positive number of maximum iterations.");var g=Object.assign({},r,d.settings),m=n.validateSettings(g);if(m)throw new Error("graphology-layout-noverlap: "+m.message);var b=n.graphToByteArray(c,d.inputReducer),y=!1,S;for(S=0;S<p&&!y;S++)y=t(g,b).converged;if(l){n.assignLayoutChanges(c,b,d.outputReducer);return}return n.collectLayoutChanges(c,b,d.outputReducer)}var s=o.bind(null,!1);return s.assign=o.bind(null,!0),jm=s,jm}var are=rre();const ore=cn(are);var Gm,fO;function ire(){return fO||(fO=1,Gm=function(){var t,n={};(function(){var a=0,o=1,s=2,l=3;function c(p,g){return p+"§"+g}function d(){return .01*(.5-Math.random())}n.exports=function(g,m){var b=g.margin,y=g.ratio,S=g.expansion,k=g.gridSize,R=g.speed,x,A,N,O,C,_,P=!0,I=m.length,L=I/l|0,H=new Float32Array(L),$=new Float32Array(L),U=1/0,W=1/0,Z=-1/0,j=-1/0;for(x=0;x<I;x+=l)N=m[x+a],O=m[x+o],_=m[x+s]*y+b,U=Math.min(U,N-_),Z=Math.max(Z,N+_),W=Math.min(W,O-_),j=Math.max(j,O+_);var G=Z-U,z=j-W,Y=(U+Z)/2,D=(W+j)/2;U=Y-S*G/2,Z=Y+S*G/2,W=D-S*z/2,j=D+S*z/2;var V=new Array(k*k),B=V.length,M;for(M=0;M<B;M++)V[M]=[];var K,ee,Q,J,ae,ke,ie,Se,ve,Ie;for(x=0;x<I;x+=l)for(N=m[x+a],O=m[x+o],_=m[x+s]*y+b,K=N-_,ee=N+_,Q=O-_,J=O+_,ae=Math.floor(k*(K-U)/(Z-U)),ke=Math.floor(k*(ee-U)/(Z-U)),ie=Math.floor(k*(Q-W)/(j-W)),Se=Math.floor(k*(J-W)/(j-W)),ve=ae;ve<=ke;ve++)for(Ie=ie;Ie<=Se;Ie++)V[ve*k+Ie].push(x);var Ce,Ee=new Set,te,fe,Te,me,we,le,ze,Be,he,Ne,ne,ce,_e;for(M=0;M<B;M++)for(Ce=V[M],x=0,C=Ce.length;x<C;x++)for(te=Ce[x],Te=m[te+a],we=m[te+o],ze=m[te+s],A=x+1;A<C;A++)fe=Ce[A],he=c(te,fe),!(B>1&&Ee.has(he))&&(B>1&&Ee.add(he),me=m[fe+a],le=m[fe+o],Be=m[fe+s],Ne=me-Te,ne=le-we,ce=Math.sqrt(Ne*Ne+ne*ne),_e=ce<ze*y+b+(Be*y+b),_e&&(P=!1,fe=fe/l|0,ce>0?(H[fe]+=Ne/ce*(1+ze),$[fe]+=ne/ce*(1+ze)):(H[fe]+=G*d(),$[fe]+=z*d())));for(x=0,A=0;x<I;x+=l,A++)m[x+a]+=H[A]*.1*R,m[x+o]+=$[A]*.1*R;return{converged:P}}})();var r=n.exports;self.addEventListener("message",function(a){var o=a.data;t=new Float32Array(o.nodes);var s=r(o.settings,t);self.postMessage({result:s,nodes:t.buffer},[t.buffer])})}),Gm}var Hm,pO;function sre(){if(pO)return Hm;pO=1;var e=ire(),t=ua(),n=u5(),r=c5();function a(o,s){if(s=s||{},!t(o))throw new Error("graphology-layout-noverlap/worker: the given graph is not a valid graphology instance.");var l=Object.assign({},r,s.settings),c=n.validateSettings(l);if(c)throw new Error("graphology-layout-noverlap/worker: "+c.message);this.worker=null,this.graph=o,this.settings=l,this.matrices=null,this.running=!1,this.killed=!1,this.inputReducer=s.inputReducer,this.outputReducer=s.outputReducer,this.callbacks={onConverged:typeof s.onConverged=="function"?s.onConverged:null},this.handleMessage=this.handleMessage.bind(this);var d=!1,p=this;this.handleAddition=function(){d||(d=!0,p.spawnWorker(),setTimeout(function(){d=!1},0))},o.on("nodeAdded",this.handleAddition),o.on("edgeAdded",this.handleAddition),this.spawnWorker()}return a.prototype.isRunning=function(){return this.running},a.prototype.spawnWorker=function(){this.worker&&this.worker.terminate(),this.worker=n.createWorker(e),this.worker.addEventListener("message",this.handleMessage),this.running&&(this.running=!1,this.start())},a.prototype.handleMessage=function(o){if(this.running){var s=new Float32Array(o.data.nodes);if(n.assignLayoutChanges(this.graph,s,this.outputReducer),this.matrices.nodes=s,o.data.result.converged){this.callbacks.onConverged&&this.callbacks.onConverged(),this.stop();return}this.askForIterations()}},a.prototype.askForIterations=function(){var o=this.matrices,s={settings:this.settings,nodes:o.nodes.buffer},l=[o.nodes.buffer];return this.worker.postMessage(s,l),this},a.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-noverlap/worker.start: layout was killed.");return this.running?this:(this.matrices={nodes:n.graphToByteArray(this.graph,this.inputReducer)},this.running=!0,this.askForIterations(),this)},a.prototype.stop=function(){return this.running=!1,this},a.prototype.kill=function(){if(this.killed)return this;this.running=!1,this.killed=!0,this.matrices=null,this.worker.terminate(),this.graph.removeListener("nodeAdded",this.handleAddition),this.graph.removeListener("edgeAdded",this.handleAddition)},Hm=a,Hm}var lre=sre();const ure=cn(lre);function cre(e={}){return Js(ore,e)}function dre(e={}){return xT(ure,e)}var $m,gO;function fre(){if(gO)return $m;gO=1;var e=nc(),t=ua(),n={dimensions:["x","y"],center:.5,rng:Math.random,scale:1};function r(o,s,l){if(!t(s))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");l=e(l,n);var c=l.dimensions;if(!Array.isArray(c)||c.length<1)throw new Error("graphology-layout/random: given dimensions are invalid.");var d=c.length,p=l.center,g=l.rng,m=l.scale,b=(p-.5)*m;function y(k){for(var R=0;R<d;R++)k[c[R]]=g()*m+b;return k}if(!o){var S={};return s.forEachNode(function(k){S[k]=y({})}),S}s.updateEachNodeAttributes(function(k,R){return y(R),R},{attributes:c})}var a=r.bind(null,!1);return a.assign=r.bind(null,!0),$m=a,$m}var pre=fre();const gre=cn(pre);function hre(e={}){return Js(gre,e)}var hO=1,mre=.9,bre=.8,yre=.17,qm=.1,Vm=.999,vre=.9999,Sre=.99,Ere=/[\\\/_+.#"@\[\(\{&]/,wre=/[\\\/_+.#"@\[\(\{&]/g,xre=/[\s-]/,d5=/[\s-]/g;function Yk(e,t,n,r,a,o,s){if(o===t.length)return a===e.length?hO:Sre;var l=`${a},${o}`;if(s[l]!==void 0)return s[l];for(var c=r.charAt(o),d=n.indexOf(c,a),p=0,g,m,b,y;d>=0;)g=Yk(e,t,n,r,d+1,o+1,s),g>p&&(d===a?g*=hO:Ere.test(e.charAt(d-1))?(g*=bre,b=e.slice(a,d-1).match(wre),b&&a>0&&(g*=Math.pow(Vm,b.length))):xre.test(e.charAt(d-1))?(g*=mre,y=e.slice(a,d-1).match(d5),y&&a>0&&(g*=Math.pow(Vm,y.length))):(g*=yre,a>0&&(g*=Math.pow(Vm,d-a))),e.charAt(d)!==t.charAt(o)&&(g*=vre)),(g<qm&&n.charAt(d-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(d-1)!==r.charAt(o))&&(m=Yk(e,t,n,r,d+1,o+2,s),m*qm>g&&(g=m*qm)),g>p&&(p=g),d=n.indexOf(c,d+1);return s[l]=p,p}function mO(e){return e.toLowerCase().replace(d5," ")}function kre(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,Yk(e,t,mO(e),mO(t),0,0,{})}var Wm={exports:{}},Ym={};/**
|
||
* @license React
|
||
* use-sync-external-store-shim.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var bO;function Tre(){if(bO)return Ym;bO=1;var e=qf();function t(g,m){return g===m&&(g!==0||1/g===1/m)||g!==g&&m!==m}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function l(g,m){var b=m(),y=r({inst:{value:b,getSnapshot:m}}),S=y[0].inst,k=y[1];return o(function(){S.value=b,S.getSnapshot=m,c(S)&&k({inst:S})},[g,b,m]),a(function(){return c(S)&&k({inst:S}),g(function(){c(S)&&k({inst:S})})},[g]),s(b),b}function c(g){var m=g.getSnapshot;g=g.value;try{var b=m();return!n(g,b)}catch{return!0}}function d(g,m){return m()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return Ym.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Ym}var yO;function Are(){return yO||(yO=1,Wm.exports=Tre()),Wm.exports}var Rre=Are(),uu='[cmdk-group=""]',Km='[cmdk-group-items=""]',Cre='[cmdk-group-heading=""]',TT='[cmdk-item=""]',vO=`${TT}:not([aria-disabled="true"])`,Kk="cmdk-item-select",ui="data-value",_re=(e,t,n)=>kre(e,t,n),f5=E.createContext(void 0),rc=()=>E.useContext(f5),p5=E.createContext(void 0),AT=()=>E.useContext(p5),g5=E.createContext(void 0),h5=E.forwardRef((e,t)=>{let n=Ss(()=>{var B,M;return{search:"",value:(M=(B=e.value)!=null?B:e.defaultValue)!=null?M:"",filtered:{count:0,items:new Map,groups:new Set}}}),r=Ss(()=>new Set),a=Ss(()=>new Map),o=Ss(()=>new Map),s=Ss(()=>new Set),l=m5(e),{label:c,children:d,value:p,onValueChange:g,filter:m,shouldFilter:b,loop:y,disablePointerSelection:S=!1,vimBindings:k=!0,...R}=e,x=An(),A=An(),N=An(),O=E.useRef(null),C=Ure();vi(()=>{if(p!==void 0){let B=p.trim();n.current.value=B,_.emit()}},[p]),vi(()=>{C(6,U)},[]);let _=E.useMemo(()=>({subscribe:B=>(s.current.add(B),()=>s.current.delete(B)),snapshot:()=>n.current,setState:(B,M,K)=>{var ee,Q,J;if(!Object.is(n.current[B],M)){if(n.current[B]=M,B==="search")$(),L(),C(1,H);else if(B==="value"&&(K||C(5,U),((ee=l.current)==null?void 0:ee.value)!==void 0)){let ae=M??"";(J=(Q=l.current).onValueChange)==null||J.call(Q,ae);return}_.emit()}},emit:()=>{s.current.forEach(B=>B())}}),[]),P=E.useMemo(()=>({value:(B,M,K)=>{var ee;M!==((ee=o.current.get(B))==null?void 0:ee.value)&&(o.current.set(B,{value:M,keywords:K}),n.current.filtered.items.set(B,I(M,K)),C(2,()=>{L(),_.emit()}))},item:(B,M)=>(r.current.add(B),M&&(a.current.has(M)?a.current.get(M).add(B):a.current.set(M,new Set([B]))),C(3,()=>{$(),L(),n.current.value||H(),_.emit()}),()=>{o.current.delete(B),r.current.delete(B),n.current.filtered.items.delete(B);let K=W();C(4,()=>{$(),(K==null?void 0:K.getAttribute("id"))===B&&H(),_.emit()})}),group:B=>(a.current.has(B)||a.current.set(B,new Set),()=>{o.current.delete(B),a.current.delete(B)}),filter:()=>l.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>l.current.disablePointerSelection,listId:x,inputId:N,labelId:A,listInnerRef:O}),[]);function I(B,M){var K,ee;let Q=(ee=(K=l.current)==null?void 0:K.filter)!=null?ee:_re;return B?Q(B,n.current.search,M):0}function L(){if(!n.current.search||l.current.shouldFilter===!1)return;let B=n.current.filtered.items,M=[];n.current.filtered.groups.forEach(ee=>{let Q=a.current.get(ee),J=0;Q.forEach(ae=>{let ke=B.get(ae);J=Math.max(ke,J)}),M.push([ee,J])});let K=O.current;Z().sort((ee,Q)=>{var J,ae;let ke=ee.getAttribute("id"),ie=Q.getAttribute("id");return((J=B.get(ie))!=null?J:0)-((ae=B.get(ke))!=null?ae:0)}).forEach(ee=>{let Q=ee.closest(Km);Q?Q.appendChild(ee.parentElement===Q?ee:ee.closest(`${Km} > *`)):K.appendChild(ee.parentElement===K?ee:ee.closest(`${Km} > *`))}),M.sort((ee,Q)=>Q[1]-ee[1]).forEach(ee=>{var Q;let J=(Q=O.current)==null?void 0:Q.querySelector(`${uu}[${ui}="${encodeURIComponent(ee[0])}"]`);J==null||J.parentElement.appendChild(J)})}function H(){let B=Z().find(K=>K.getAttribute("aria-disabled")!=="true"),M=B==null?void 0:B.getAttribute(ui);_.setState("value",M||void 0)}function $(){var B,M,K,ee;if(!n.current.search||l.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let Q=0;for(let J of r.current){let ae=(M=(B=o.current.get(J))==null?void 0:B.value)!=null?M:"",ke=(ee=(K=o.current.get(J))==null?void 0:K.keywords)!=null?ee:[],ie=I(ae,ke);n.current.filtered.items.set(J,ie),ie>0&&Q++}for(let[J,ae]of a.current)for(let ke of ae)if(n.current.filtered.items.get(ke)>0){n.current.filtered.groups.add(J);break}n.current.filtered.count=Q}function U(){var B,M,K;let ee=W();ee&&(((B=ee.parentElement)==null?void 0:B.firstChild)===ee&&((K=(M=ee.closest(uu))==null?void 0:M.querySelector(Cre))==null||K.scrollIntoView({block:"nearest"})),ee.scrollIntoView({block:"nearest"}))}function W(){var B;return(B=O.current)==null?void 0:B.querySelector(`${TT}[aria-selected="true"]`)}function Z(){var B;return Array.from(((B=O.current)==null?void 0:B.querySelectorAll(vO))||[])}function j(B){let M=Z()[B];M&&_.setState("value",M.getAttribute(ui))}function G(B){var M;let K=W(),ee=Z(),Q=ee.findIndex(ae=>ae===K),J=ee[Q+B];(M=l.current)!=null&&M.loop&&(J=Q+B<0?ee[ee.length-1]:Q+B===ee.length?ee[0]:ee[Q+B]),J&&_.setState("value",J.getAttribute(ui))}function z(B){let M=W(),K=M==null?void 0:M.closest(uu),ee;for(;K&&!ee;)K=B>0?zre(K,uu):Bre(K,uu),ee=K==null?void 0:K.querySelector(vO);ee?_.setState("value",ee.getAttribute(ui)):G(B)}let Y=()=>j(Z().length-1),D=B=>{B.preventDefault(),B.metaKey?Y():B.altKey?z(1):G(1)},V=B=>{B.preventDefault(),B.metaKey?j(0):B.altKey?z(-1):G(-1)};return E.createElement(Ze.div,{ref:t,tabIndex:-1,...R,"cmdk-root":"",onKeyDown:B=>{var M;if((M=R.onKeyDown)==null||M.call(R,B),!B.defaultPrevented)switch(B.key){case"n":case"j":{k&&B.ctrlKey&&D(B);break}case"ArrowDown":{D(B);break}case"p":case"k":{k&&B.ctrlKey&&V(B);break}case"ArrowUp":{V(B);break}case"Home":{B.preventDefault(),j(0);break}case"End":{B.preventDefault(),Y();break}case"Enter":if(!B.nativeEvent.isComposing&&B.keyCode!==229){B.preventDefault();let K=W();if(K){let ee=new Event(Kk);K.dispatchEvent(ee)}}}}},E.createElement("label",{"cmdk-label":"",htmlFor:P.inputId,id:P.labelId,style:Gre},c),wp(e,B=>E.createElement(p5.Provider,{value:_},E.createElement(f5.Provider,{value:P},B))))}),Nre=E.forwardRef((e,t)=>{var n,r;let a=An(),o=E.useRef(null),s=E.useContext(g5),l=rc(),c=m5(e),d=(r=(n=c.current)==null?void 0:n.forceMount)!=null?r:s==null?void 0:s.forceMount;vi(()=>{if(!d)return l.item(a,s==null?void 0:s.id)},[d]);let p=b5(a,o,[e.value,e.children,o],e.keywords),g=AT(),m=Si(C=>C.value&&C.value===p.current),b=Si(C=>d||l.filter()===!1?!0:C.search?C.filtered.items.get(a)>0:!0);E.useEffect(()=>{let C=o.current;if(!(!C||e.disabled))return C.addEventListener(Kk,y),()=>C.removeEventListener(Kk,y)},[b,e.onSelect,e.disabled]);function y(){var C,_;S(),(_=(C=c.current).onSelect)==null||_.call(C,p.current)}function S(){g.setState("value",p.current,!0)}if(!b)return null;let{disabled:k,value:R,onSelect:x,forceMount:A,keywords:N,...O}=e;return E.createElement(Ze.div,{ref:_u([o,t]),...O,id:a,"cmdk-item":"",role:"option","aria-disabled":!!k,"aria-selected":!!m,"data-disabled":!!k,"data-selected":!!m,onPointerMove:k||l.getDisablePointerSelection()?void 0:S,onClick:k?void 0:y},e.children)}),Ore=E.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:a,...o}=e,s=An(),l=E.useRef(null),c=E.useRef(null),d=An(),p=rc(),g=Si(b=>a||p.filter()===!1?!0:b.search?b.filtered.groups.has(s):!0);vi(()=>p.group(s),[]),b5(s,l,[e.value,e.heading,c]);let m=E.useMemo(()=>({id:s,forceMount:a}),[a]);return E.createElement(Ze.div,{ref:_u([l,t]),...o,"cmdk-group":"",role:"presentation",hidden:g?void 0:!0},n&&E.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:d},n),wp(e,b=>E.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?d:void 0},E.createElement(g5.Provider,{value:m},b))))}),Dre=E.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,a=E.useRef(null),o=Si(s=>!s.search);return!n&&!o?null:E.createElement(Ze.div,{ref:_u([a,t]),...r,"cmdk-separator":"",role:"separator"})}),Ire=E.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,a=e.value!=null,o=AT(),s=Si(p=>p.search),l=Si(p=>p.value),c=rc(),d=E.useMemo(()=>{var p;let g=(p=c.listInnerRef.current)==null?void 0:p.querySelector(`${TT}[${ui}="${encodeURIComponent(l)}"]`);return g==null?void 0:g.getAttribute("id")},[]);return E.useEffect(()=>{e.value!=null&&o.setState("search",e.value)},[e.value]),E.createElement(Ze.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":d,id:c.inputId,type:"text",value:a?e.value:s,onChange:p=>{a||o.setState("search",p.target.value),n==null||n(p.target.value)}})}),Lre=E.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...a}=e,o=E.useRef(null),s=E.useRef(null),l=rc();return E.useEffect(()=>{if(s.current&&o.current){let c=s.current,d=o.current,p,g=new ResizeObserver(()=>{p=requestAnimationFrame(()=>{let m=c.offsetHeight;d.style.setProperty("--cmdk-list-height",m.toFixed(1)+"px")})});return g.observe(c),()=>{cancelAnimationFrame(p),g.unobserve(c)}}},[]),E.createElement(Ze.div,{ref:_u([o,t]),...a,"cmdk-list":"",role:"listbox","aria-label":r,id:l.listId},wp(e,c=>E.createElement("div",{ref:_u([s,l.listInnerRef]),"cmdk-list-sizer":""},c)))}),Mre=E.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:s,...l}=e;return E.createElement(H0,{open:n,onOpenChange:r},E.createElement($0,{container:s},E.createElement(op,{"cmdk-overlay":"",className:a}),E.createElement(ip,{"aria-label":e.label,"cmdk-dialog":"",className:o},E.createElement(h5,{ref:t,...l}))))}),Pre=E.forwardRef((e,t)=>Si(n=>n.filtered.count===0)?E.createElement(Ze.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Fre=E.forwardRef((e,t)=>{let{progress:n,children:r,label:a="Loading...",...o}=e;return E.createElement(Ze.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},wp(e,s=>E.createElement("div",{"aria-hidden":!0},s)))}),Vn=Object.assign(h5,{List:Lre,Item:Nre,Input:Ire,Group:Ore,Separator:Dre,Dialog:Mre,Empty:Pre,Loading:Fre});function zre(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Bre(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function m5(e){let t=E.useRef(e);return vi(()=>{t.current=e}),t}var vi=typeof window>"u"?E.useEffect:E.useLayoutEffect;function Ss(e){let t=E.useRef();return t.current===void 0&&(t.current=e()),t}function _u(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function Si(e){let t=AT(),n=()=>e(t.snapshot());return Rre.useSyncExternalStore(t.subscribe,n,n)}function b5(e,t,n,r=[]){let a=E.useRef(),o=rc();return vi(()=>{var s;let l=(()=>{var d;for(let p of n){if(typeof p=="string")return p.trim();if(typeof p=="object"&&"current"in p)return p.current?(d=p.current.textContent)==null?void 0:d.trim():a.current}})(),c=r.map(d=>d.trim());o.value(e,l,c),(s=t.current)==null||s.setAttribute(ui,l),a.current=l}),a}var Ure=()=>{let[e,t]=E.useState(),n=Ss(()=>new Map);return vi(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,a)=>{n.current.set(r,a),t({})}};function jre(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function wp({asChild:e,children:t},n){return e&&E.isValidElement(t)?E.cloneElement(jre(t),{ref:t.ref},n(t.props.children)):n(t)}var Gre={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const y5=H0,v5=LU,Hre=$0,S5=E.forwardRef(({className:e,...t},n)=>w.jsx(op,{ref:n,className:Pe("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",e),...t}));S5.displayName=op.displayName;const RT=E.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(Hre,{children:[w.jsx(S5,{}),w.jsxs(ip,{ref:r,className:Pe("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...n,children:[t,w.jsxs(W0,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",children:[w.jsx(rU,{className:"h-4 w-4"}),w.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));RT.displayName=ip.displayName;const CT=({className:e,...t})=>w.jsx("div",{className:Pe("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});CT.displayName="DialogHeader";const _T=E.forwardRef(({className:e,...t},n)=>w.jsx(q0,{ref:n,className:Pe("text-lg leading-none font-semibold tracking-tight",e),...t}));_T.displayName=q0.displayName;const NT=E.forwardRef(({className:e,...t},n)=>w.jsx(V0,{ref:n,className:Pe("text-muted-foreground text-sm",e),...t}));NT.displayName=V0.displayName;const xp=E.forwardRef(({className:e,...t},n)=>w.jsx(Vn,{ref:n,className:Pe("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...t}));xp.displayName=Vn.displayName;const OT=E.forwardRef(({className:e,...t},n)=>w.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[w.jsx(dY,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),w.jsx(Vn.Input,{ref:n,className:Pe("placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));OT.displayName=Vn.Input.displayName;const kp=E.forwardRef(({className:e,...t},n)=>w.jsx(Vn.List,{ref:n,className:Pe("max-h-[300px] overflow-x-hidden overflow-y-auto",e),...t}));kp.displayName=Vn.List.displayName;const DT=E.forwardRef((e,t)=>w.jsx(Vn.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));DT.displayName=Vn.Empty.displayName;const el=E.forwardRef(({className:e,...t},n)=>w.jsx(Vn.Group,{ref:n,className:Pe("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t}));el.displayName=Vn.Group.displayName;const $re=E.forwardRef(({className:e,...t},n)=>w.jsx(Vn.Separator,{ref:n,className:Pe("bg-border -mx-1 h-px",e),...t}));$re.displayName=Vn.Separator.displayName;const tl=E.forwardRef(({className:e,...t},n)=>w.jsx(Vn.Item,{ref:n,className:Pe("data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));tl.displayName=Vn.Item.displayName;const qre=({layout:e,autoRunFor:t,mainLayout:n})=>{const r=kr(),[a,o]=E.useState(!1),s=E.useRef(null),{t:l}=Ft(),c=E.useCallback(()=>{if(r)try{const p=r.getGraph();if(!p||p.order===0)return;const g=n.positions();P4(p,g,{duration:300})}catch(p){console.error("Error updating positions:",p),s.current&&(window.clearInterval(s.current),s.current=null,o(!1))}},[r,n]),d=E.useCallback(()=>{if(a){console.log("Stopping layout animation"),s.current&&(window.clearInterval(s.current),s.current=null);try{typeof e.kill=="function"?(e.kill(),console.log("Layout algorithm killed")):typeof e.stop=="function"&&(e.stop(),console.log("Layout algorithm stopped"))}catch(p){console.error("Error stopping layout algorithm:",p)}o(!1)}else console.log("Starting layout animation"),c(),s.current=window.setInterval(()=>{c()},200),o(!0),setTimeout(()=>{if(s.current){console.log("Auto-stopping layout animation after 3 seconds"),window.clearInterval(s.current),s.current=null,o(!1);try{typeof e.kill=="function"?e.kill():typeof e.stop=="function"&&e.stop()}catch(p){console.error("Error stopping layout algorithm:",p)}}},3e3)},[a,e,c]);return E.useEffect(()=>{if(!r){console.log("No sigma instance available");return}let p=null;return t!==void 0&&t>-1&&r.getGraph().order>0&&(console.log("Auto-starting layout animation"),c(),s.current=window.setInterval(()=>{c()},200),o(!0),t>0&&(p=window.setTimeout(()=>{console.log("Auto-stopping layout animation after timeout"),s.current&&(window.clearInterval(s.current),s.current=null),o(!1)},t))),()=>{s.current&&(window.clearInterval(s.current),s.current=null),p&&window.clearTimeout(p),o(!1)}},[t,r,c]),w.jsx(xt,{size:"icon",onClick:d,tooltip:l(a?"graphPanel.sideBar.layoutsControl.stopAnimation":"graphPanel.sideBar.layoutsControl.startAnimation"),variant:Pr,children:a?w.jsx(eY,{}):w.jsx(nY,{})})},Vre=()=>{const e=kr(),{t}=Ft(),[n,r]=E.useState("Circular"),[a,o]=E.useState(!1),s=Le.use.graphLayoutMaxIterations(),l=zne(),c=Lne(),d=hre(),p=cre({maxIterations:s,settings:{margin:5,expansion:1.1,gridSize:1,ratio:1,speed:3}}),g=qne({maxIterations:s,settings:{attraction:3e-4,repulsion:.02,gravity:.02,inertia:.4,maxMove:100}}),m=l5({iterations:s}),b=dre(),y=Vne(),S=tre(),k=E.useMemo(()=>({Circular:{layout:l},Circlepack:{layout:c},Random:{layout:d},Noverlaps:{layout:p,worker:b},"Force Directed":{layout:g,worker:y},"Force Atlas":{layout:m,worker:S}}),[c,l,g,m,p,d,y,b,S]),R=E.useCallback(x=>{console.debug("Running layout:",x);const{positions:A}=k[x].layout;try{const N=e.getGraph();if(!N){console.error("No graph available");return}const O=A();console.log("Positions calculated, animating nodes"),P4(N,O,{duration:400}),r(x)}catch(N){console.error("Error running layout:",N)}},[k,e]);return w.jsxs(w.Fragment,{children:[w.jsx("div",{children:k[n]&&"worker"in k[n]&&w.jsx(qre,{layout:k[n].worker,mainLayout:k[n].layout})}),w.jsx("div",{children:w.jsxs(Ku,{open:a,onOpenChange:o,children:[w.jsx(Xu,{asChild:!0,children:w.jsx(xt,{size:"icon",variant:Pr,onClick:()=>o(x=>!x),tooltip:t("graphPanel.sideBar.layoutsControl.layoutGraph"),children:w.jsx(jW,{})})}),w.jsx(Ys,{side:"right",align:"center",className:"p-1",children:w.jsx(xp,{children:w.jsx(kp,{children:w.jsx(el,{children:Object.keys(k).map(x=>w.jsx(tl,{onSelect:()=>{R(x)},className:"cursor-pointer text-xs",children:t(`graphPanel.sideBar.layoutsControl.layouts.${x}`)},x))})})})})]})})]})},E5=()=>{const e=E.useContext(qB);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},Ld=e=>!!(e.type.startsWith("mouse")&&e.buttons!==0),Wre=({disableHoverEffect:e})=>{const t=kr(),n=j4(),r=U4(),a=Le.use.graphLayoutMaxIterations(),{assign:o}=l5({iterations:a}),{theme:s}=E5(),l=Le.use.enableHideUnselectedEdges(),c=Le.use.enableEdgeEvents(),d=Le.use.showEdgeLabel(),p=Le.use.showNodeLabel(),g=$e.use.selectedNode(),m=$e.use.focusedNode(),b=$e.use.selectedEdge(),y=$e.use.focusedEdge(),S=$e.use.sigmaGraph();return E.useEffect(()=>{if(S&&t){try{typeof t.setGraph=="function"?(t.setGraph(S),console.log("Binding graph to sigma instance")):(t.graph=S,console.warn("Simgma missing setGraph function, set graph property directly"))}catch(k){console.error("Error setting graph on sigma instance:",k)}o(),console.log("Initial layout applied to graph")}},[t,S,o,a]),E.useEffect(()=>{t&&($e.getState().sigmaInstance||(console.log("Setting sigma instance from GraphControl"),$e.getState().setSigmaInstance(t)))},[t]),E.useEffect(()=>{const{setFocusedNode:k,setSelectedNode:R,setFocusedEdge:x,setSelectedEdge:A,clearSelection:N}=$e.getState(),O={enterNode:C=>{Ld(C.event.original)||k(C.node)},leaveNode:C=>{Ld(C.event.original)||k(null)},clickNode:C=>{R(C.node),A(null)},clickStage:()=>N()};c&&(O.clickEdge=C=>{A(C.edge),R(null)},O.enterEdge=C=>{Ld(C.event.original)||x(C.edge)},O.leaveEdge=C=>{Ld(C.event.original)||x(null)}),n(O)},[n,c]),E.useEffect(()=>{const k=s==="dark",R=k?dV:void 0,x=k?hV:void 0;r({enableEdgeEvents:c,renderEdgeLabels:d,renderLabels:p,nodeReducer:(A,N)=>{const O=t.getGraph(),C={...N,highlighted:N.highlighted||!1,labelColor:R};if(!e){C.highlighted=!1;const _=m||g,P=y||b;if(_&&O.hasNode(_))try{(A===_||O.neighbors(_).includes(A))&&(C.highlighted=!0,A===g&&(C.borderColor=gV))}catch(I){console.error("Error in nodeReducer:",I)}else if(P&&O.hasEdge(P))O.extremities(P).includes(A)&&(C.highlighted=!0,C.size=3);else return C;C.highlighted?k&&(C.labelColor=fV):C.color=pV}return C},edgeReducer:(A,N)=>{const O=t.getGraph(),C={...N,hidden:!1,labelColor:R,color:x};if(!e){const _=m||g;if(_&&O.hasNode(_))try{l?O.extremities(A).includes(_)||(C.hidden=!0):O.extremities(A).includes(_)&&(C.color=C_)}catch(P){console.error("Error in edgeReducer:",P)}else{const P=b&&O.hasEdge(b)?b:null,I=y&&O.hasEdge(y)?y:null;(P||I)&&(A===P?C.color=mV:A===I?C.color=C_:l&&(C.hidden=!0))}}return C}})},[g,m,b,y,r,t,e,s,l,c,d,p]),null},Yre=()=>{const{zoomIn:e,zoomOut:t,reset:n}=G4({duration:200,factor:1.5}),r=kr(),{t:a}=Ft(),o=E.useCallback(()=>e(),[e]),s=E.useCallback(()=>t(),[t]),l=E.useCallback(()=>{if(r)try{r.setCustomBBox(null),r.refresh();const p=r.getGraph();if(!(p!=null&&p.order)||p.nodes().length===0){n();return}r.getCamera().animate({x:.5,y:.5,ratio:1.1},{duration:1e3})}catch(p){console.error("Error resetting zoom:",p),n()}},[r,n]),c=E.useCallback(()=>{if(!r)return;const p=r.getCamera(),m=p.angle+Math.PI/8;p.animate({angle:m},{duration:200})},[r]),d=E.useCallback(()=>{if(!r)return;const p=r.getCamera(),m=p.angle-Math.PI/8;p.animate({angle:m},{duration:200})},[r]);return w.jsxs(w.Fragment,{children:[w.jsx(xt,{variant:Pr,onClick:d,tooltip:a("graphPanel.sideBar.zoomControl.rotateCameraCounterClockwise"),size:"icon",children:w.jsx(oY,{})}),w.jsx(xt,{variant:Pr,onClick:c,tooltip:a("graphPanel.sideBar.zoomControl.rotateCamera"),size:"icon",children:w.jsx(sY,{})}),w.jsx(xt,{variant:Pr,onClick:l,tooltip:a("graphPanel.sideBar.zoomControl.resetZoom"),size:"icon",children:w.jsx(MW,{})}),w.jsx(xt,{variant:Pr,onClick:o,tooltip:a("graphPanel.sideBar.zoomControl.zoomIn"),size:"icon",children:w.jsx(SY,{})}),w.jsx(xt,{variant:Pr,onClick:s,tooltip:a("graphPanel.sideBar.zoomControl.zoomOut"),size:"icon",children:w.jsx(wY,{})})]})},Kre=()=>{const{isFullScreen:e,toggle:t}=Nte(),{t:n}=Ft();return w.jsx(w.Fragment,{children:e?w.jsx(xt,{variant:Pr,onClick:t,tooltip:n("graphPanel.sideBar.fullScreenControl.windowed"),size:"icon",children:w.jsx(XW,{})}):w.jsx(xt,{variant:Pr,onClick:t,tooltip:n("graphPanel.sideBar.fullScreenControl.fullScreen"),size:"icon",children:w.jsx(YW,{})})})};var IT="Checkbox",[Xre,Qxe]=wr(IT),[Zre,Qre]=Xre(IT),w5=E.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:a,defaultChecked:o,required:s,disabled:l,value:c="on",onCheckedChange:d,form:p,...g}=e,[m,b]=E.useState(null),y=gt(t,N=>b(N)),S=E.useRef(!1),k=m?p||!!m.closest("form"):!0,[R=!1,x]=ja({prop:a,defaultProp:o,onChange:d}),A=E.useRef(R);return E.useEffect(()=>{const N=m==null?void 0:m.form;if(N){const O=()=>x(A.current);return N.addEventListener("reset",O),()=>N.removeEventListener("reset",O)}},[m,x]),w.jsxs(Zre,{scope:n,state:R,disabled:l,children:[w.jsx(Ze.button,{type:"button",role:"checkbox","aria-checked":Ro(R)?"mixed":R,"aria-required":s,"data-state":T5(R),"data-disabled":l?"":void 0,disabled:l,value:c,...g,ref:y,onKeyDown:Ke(e.onKeyDown,N=>{N.key==="Enter"&&N.preventDefault()}),onClick:Ke(e.onClick,N=>{x(O=>Ro(O)?!0:!O),k&&(S.current=N.isPropagationStopped(),S.current||N.stopPropagation())})}),k&&w.jsx(Jre,{control:m,bubbles:!S.current,name:r,value:c,checked:R,required:s,disabled:l,form:p,style:{transform:"translateX(-100%)"},defaultChecked:Ro(o)?!1:o})]})});w5.displayName=IT;var x5="CheckboxIndicator",k5=E.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...a}=e,o=Qre(x5,n);return w.jsx(xr,{present:r||Ro(o.state)||o.state===!0,children:w.jsx(Ze.span,{"data-state":T5(o.state),"data-disabled":o.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});k5.displayName=x5;var Jre=e=>{const{control:t,checked:n,bubbles:r=!0,defaultChecked:a,...o}=e,s=E.useRef(null),l=X3(n),c=c3(t);E.useEffect(()=>{const p=s.current,g=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(g,"checked").set;if(l!==n&&b){const y=new Event("click",{bubbles:r});p.indeterminate=Ro(n),b.call(p,Ro(n)?!1:n),p.dispatchEvent(y)}},[l,n,r]);const d=E.useRef(Ro(n)?!1:n);return w.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a??d.current,...o,tabIndex:-1,ref:s,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Ro(e){return e==="indeterminate"}function T5(e){return Ro(e)?"indeterminate":e?"checked":"unchecked"}var A5=w5,eae=k5;const mu=E.forwardRef(({className:e,...t},n)=>w.jsx(A5,{ref:n,className:Pe("peer border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground h-4 w-4 shrink-0 rounded-sm border focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:w.jsx(eae,{className:Pe("flex items-center justify-center text-current"),children:w.jsx(I0,{className:"h-4 w-4"})})}));mu.displayName=A5.displayName;var tae="Separator",SO="horizontal",nae=["horizontal","vertical"],R5=E.forwardRef((e,t)=>{const{decorative:n,orientation:r=SO,...a}=e,o=rae(r)?r:SO,l=n?{role:"none"}:{"aria-orientation":o==="vertical"?o:void 0,role:"separator"};return w.jsx(Ze.div,{"data-orientation":o,...l,...a,ref:t})});R5.displayName=tae;function rae(e){return nae.includes(e)}var C5=R5;const Es=E.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},a)=>w.jsx(C5,{ref:a,decorative:n,orientation:t,className:Pe("bg-border shrink-0",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Es.displayName=C5.displayName;const Eo=({checked:e,onCheckedChange:t,label:n})=>w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(mu,{checked:e,onCheckedChange:t}),w.jsx("label",{htmlFor:"terms",className:"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:n})]}),Xm=({value:e,onEditFinished:t,label:n,min:r,max:a})=>{const[o,s]=E.useState(e),l=E.useCallback(d=>{const p=d.target.value.trim();if(p.length===0){s(null);return}const g=Number.parseInt(p);if(!isNaN(g)&&g!==o){if(r!==void 0&&g<r||a!==void 0&&g>a)return;s(g)}},[o,r,a]),c=E.useCallback(()=>{o!==null&&e!==o&&t(o)},[e,o,t]);return w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx("label",{htmlFor:"terms",className:"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:n}),w.jsx($a,{type:"number",value:o===null?"":o,onChange:l,className:"h-6 w-full min-w-0 pr-1",min:r,max:a,onBlur:c,onKeyDown:d=>{d.key==="Enter"&&c()}})]})};function aae(){const[e,t]=E.useState(!1),n=Le.use.showPropertyPanel(),r=Le.use.showNodeSearchBar(),a=Le.use.showNodeLabel(),o=Le.use.enableEdgeEvents(),s=Le.use.enableNodeDrag(),l=Le.use.enableHideUnselectedEdges(),c=Le.use.showEdgeLabel(),d=Le.use.graphQueryMaxDepth(),p=Le.use.graphMinDegree(),g=Le.use.graphLayoutMaxIterations(),m=Le.use.enableHealthCheck(),b=E.useCallback(()=>Le.setState(L=>({enableNodeDrag:!L.enableNodeDrag})),[]),y=E.useCallback(()=>Le.setState(L=>({enableEdgeEvents:!L.enableEdgeEvents})),[]),S=E.useCallback(()=>Le.setState(L=>({enableHideUnselectedEdges:!L.enableHideUnselectedEdges})),[]),k=E.useCallback(()=>Le.setState(L=>({showEdgeLabel:!L.showEdgeLabel})),[]),R=E.useCallback(()=>Le.setState(L=>({showPropertyPanel:!L.showPropertyPanel})),[]),x=E.useCallback(()=>Le.setState(L=>({showNodeSearchBar:!L.showNodeSearchBar})),[]),A=E.useCallback(()=>Le.setState(L=>({showNodeLabel:!L.showNodeLabel})),[]),N=E.useCallback(()=>Le.setState(L=>({enableHealthCheck:!L.enableHealthCheck})),[]),O=E.useCallback(L=>{if(L<1)return;Le.setState({graphQueryMaxDepth:L});const H=Le.getState().queryLabel;Le.getState().setQueryLabel(""),setTimeout(()=>{Le.getState().setQueryLabel(H)},300)},[]),C=E.useCallback(L=>{if(L<0)return;Le.setState({graphMinDegree:L});const H=Le.getState().queryLabel;Le.getState().setQueryLabel(""),setTimeout(()=>{Le.getState().setQueryLabel(H)},300)},[]),_=E.useCallback(L=>{L<1||Le.setState({graphLayoutMaxIterations:L})},[]),{t:P}=Ft(),I=()=>t(!1);return w.jsx(w.Fragment,{children:w.jsxs(Ku,{open:e,onOpenChange:t,children:[w.jsx(Xu,{asChild:!0,children:w.jsx(xt,{variant:Pr,tooltip:P("graphPanel.sideBar.settings.settings"),size:"icon",children:w.jsx(hY,{})})}),w.jsx(Ys,{side:"right",align:"start",className:"mb-2 p-2",onCloseAutoFocus:L=>L.preventDefault(),children:w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx(Eo,{checked:m,onCheckedChange:N,label:P("graphPanel.sideBar.settings.healthCheck")}),w.jsx(Es,{}),w.jsx(Eo,{checked:n,onCheckedChange:R,label:P("graphPanel.sideBar.settings.showPropertyPanel")}),w.jsx(Eo,{checked:r,onCheckedChange:x,label:P("graphPanel.sideBar.settings.showSearchBar")}),w.jsx(Es,{}),w.jsx(Eo,{checked:a,onCheckedChange:A,label:P("graphPanel.sideBar.settings.showNodeLabel")}),w.jsx(Eo,{checked:s,onCheckedChange:b,label:P("graphPanel.sideBar.settings.nodeDraggable")}),w.jsx(Es,{}),w.jsx(Eo,{checked:c,onCheckedChange:k,label:P("graphPanel.sideBar.settings.showEdgeLabel")}),w.jsx(Eo,{checked:l,onCheckedChange:S,label:P("graphPanel.sideBar.settings.hideUnselectedEdges")}),w.jsx(Eo,{checked:o,onCheckedChange:y,label:P("graphPanel.sideBar.settings.edgeEvents")}),w.jsx(Es,{}),w.jsx(Xm,{label:P("graphPanel.sideBar.settings.maxQueryDepth"),min:1,value:d,onEditFinished:O}),w.jsx(Xm,{label:P("graphPanel.sideBar.settings.minDegree"),min:0,value:p,onEditFinished:C}),w.jsx(Xm,{label:P("graphPanel.sideBar.settings.maxLayoutIterations"),min:1,max:30,value:g,onEditFinished:_}),w.jsx(Es,{}),w.jsx(xt,{onClick:I,variant:"outline",size:"sm",className:"ml-auto px-4",children:P("graphPanel.sideBar.settings.save")})]})})]})})}const oae="ENTRIES",_5="KEYS",N5="VALUES",bn="";class Zm{constructor(t,n){const r=t._tree,a=Array.from(r.keys());this.set=t,this._type=n,this._path=a.length>0?[{node:r,keys:a}]:[]}next(){const t=this.dive();return this.backtrack(),t}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:t,keys:n}=gs(this._path);if(gs(n)===bn)return{done:!1,value:this.result()};const r=t.get(gs(n));return this._path.push({node:r,keys:Array.from(r.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const t=gs(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:t})=>gs(t)).filter(t=>t!==bn).join("")}value(){return gs(this._path).node.get(bn)}result(){switch(this._type){case N5:return this.value();case _5:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const gs=e=>e[e.length-1],iae=(e,t,n)=>{const r=new Map;if(t===void 0)return r;const a=t.length+1,o=a+n,s=new Uint8Array(o*a).fill(n+1);for(let l=0;l<a;++l)s[l]=l;for(let l=1;l<o;++l)s[l*a]=l;return O5(e,t,n,r,s,1,a,""),r},O5=(e,t,n,r,a,o,s,l)=>{const c=o*s;e:for(const d of e.keys())if(d===bn){const p=a[c-1];p<=n&&r.set(l,[e.get(d),p])}else{let p=o;for(let g=0;g<d.length;++g,++p){const m=d[g],b=s*p,y=b-s;let S=a[b];const k=Math.max(0,p-n-1),R=Math.min(s-1,p+n);for(let x=k;x<R;++x){const A=m!==t[x],N=a[y+x]+ +A,O=a[y+x+1]+1,C=a[b+x]+1,_=a[b+x+1]=Math.min(N,O,C);_<S&&(S=_)}if(S>n)continue e}O5(e.get(d),t,n,r,a,p,s,l+d)}};class To{constructor(t=new Map,n=""){this._size=void 0,this._tree=t,this._prefix=n}atPrefix(t){if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");const[n,r]=_f(this._tree,t.slice(this._prefix.length));if(n===void 0){const[a,o]=LT(r);for(const s of a.keys())if(s!==bn&&s.startsWith(o)){const l=new Map;return l.set(s.slice(o.length),a.get(s)),new To(l,t)}}return new To(n,t)}clear(){this._size=void 0,this._tree.clear()}delete(t){return this._size=void 0,sae(this._tree,t)}entries(){return new Zm(this,oae)}forEach(t){for(const[n,r]of this)t(n,r,this)}fuzzyGet(t,n){return iae(this._tree,t,n)}get(t){const n=Xk(this._tree,t);return n!==void 0?n.get(bn):void 0}has(t){const n=Xk(this._tree,t);return n!==void 0&&n.has(bn)}keys(){return new Zm(this,_5)}set(t,n){if(typeof t!="string")throw new Error("key must be a string");return this._size=void 0,Qm(this._tree,t).set(bn,n),this}get size(){if(this._size)return this._size;this._size=0;const t=this.entries();for(;!t.next().done;)this._size+=1;return this._size}update(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const r=Qm(this._tree,t);return r.set(bn,n(r.get(bn))),this}fetch(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const r=Qm(this._tree,t);let a=r.get(bn);return a===void 0&&r.set(bn,a=n()),a}values(){return new Zm(this,N5)}[Symbol.iterator](){return this.entries()}static from(t){const n=new To;for(const[r,a]of t)n.set(r,a);return n}static fromObject(t){return To.from(Object.entries(t))}}const _f=(e,t,n=[])=>{if(t.length===0||e==null)return[e,n];for(const r of e.keys())if(r!==bn&&t.startsWith(r))return n.push([e,r]),_f(e.get(r),t.slice(r.length),n);return n.push([e,t]),_f(void 0,"",n)},Xk=(e,t)=>{if(t.length===0||e==null)return e;for(const n of e.keys())if(n!==bn&&t.startsWith(n))return Xk(e.get(n),t.slice(n.length))},Qm=(e,t)=>{const n=t.length;e:for(let r=0;e&&r<n;){for(const o of e.keys())if(o!==bn&&t[r]===o[0]){const s=Math.min(n-r,o.length);let l=1;for(;l<s&&t[r+l]===o[l];)++l;const c=e.get(o);if(l===o.length)e=c;else{const d=new Map;d.set(o.slice(l),c),e.set(t.slice(r,r+l),d),e.delete(o),e=d}r+=l;continue e}const a=new Map;return e.set(t.slice(r),a),a}return e},sae=(e,t)=>{const[n,r]=_f(e,t);if(n!==void 0){if(n.delete(bn),n.size===0)D5(r);else if(n.size===1){const[a,o]=n.entries().next().value;I5(r,a,o)}}},D5=e=>{if(e.length===0)return;const[t,n]=LT(e);if(t.delete(n),t.size===0)D5(e.slice(0,-1));else if(t.size===1){const[r,a]=t.entries().next().value;r!==bn&&I5(e.slice(0,-1),r,a)}},I5=(e,t,n)=>{if(e.length===0)return;const[r,a]=LT(e);r.set(a+t,n),r.delete(a)},LT=e=>e[e.length-1],MT="or",L5="and",lae="and_not";class Co{constructor(t){if((t==null?void 0:t.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const n=t.autoVacuum==null||t.autoVacuum===!0?tb:t.autoVacuum;this._options={...eb,...t,autoVacuum:n,searchOptions:{...EO,...t.searchOptions||{}},autoSuggestOptions:{...pae,...t.autoSuggestOptions||{}}},this._index=new To,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Qk,this.addFields(this._options.fields)}add(t){const{extractField:n,tokenize:r,processTerm:a,fields:o,idField:s}=this._options,l=n(t,s);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${s}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const c=this.addDocumentId(l);this.saveStoredFields(c,t);for(const d of o){const p=n(t,d);if(p==null)continue;const g=r(p.toString(),d),m=this._fieldIds[d],b=new Set(g).size;this.addFieldLength(c,m,this._documentCount-1,b);for(const y of g){const S=a(y,d);if(Array.isArray(S))for(const k of S)this.addTerm(m,c,k);else S&&this.addTerm(m,c,S)}}}addAll(t){for(const n of t)this.add(n)}addAllAsync(t,n={}){const{chunkSize:r=10}=n,a={chunk:[],promise:Promise.resolve()},{chunk:o,promise:s}=t.reduce(({chunk:l,promise:c},d,p)=>(l.push(d),(p+1)%r===0?{chunk:[],promise:c.then(()=>new Promise(g=>setTimeout(g,0))).then(()=>this.addAll(l))}:{chunk:l,promise:c}),a);return s.then(()=>this.addAll(o))}remove(t){const{tokenize:n,processTerm:r,extractField:a,fields:o,idField:s}=this._options,l=a(t,s);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${s}"`);const c=this._idToShortId.get(l);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const d of o){const p=a(t,d);if(p==null)continue;const g=n(p.toString(),d),m=this._fieldIds[d],b=new Set(g).size;this.removeFieldLength(c,m,this._documentCount,b);for(const y of g){const S=r(y,d);if(Array.isArray(S))for(const k of S)this.removeTerm(m,c,k);else S&&this.removeTerm(m,c,S)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(l),this._fieldLength.delete(c),this._documentCount-=1}removeAll(t){if(t)for(const n of t)this.remove(n);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new To,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(t){const n=this._idToShortId.get(t);if(n==null)throw new Error(`MiniSearch: cannot discard document with ID ${t}: it is not in the index`);this._idToShortId.delete(t),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEach((r,a)=>{this.removeFieldLength(n,a,this._documentCount,r)}),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:t,minDirtCount:n,batchSize:r,batchWait:a}=this._options.autoVacuum;this.conditionalVacuum({batchSize:r,batchWait:a},{minDirtCount:n,minDirtFactor:t})}discardAll(t){const n=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const r of t)this.discard(r)}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()}replace(t){const{idField:n,extractField:r}=this._options,a=r(t,n);this.discard(a),this.add(t)}vacuum(t={}){return this.conditionalVacuum(t)}conditionalVacuum(t,n){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const r=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Qk,this.performVacuuming(t,r)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)}async performVacuuming(t,n){const r=this._dirtCount;if(this.vacuumConditionsMet(n)){const a=t.batchSize||Zk.batchSize,o=t.batchWait||Zk.batchWait;let s=1;for(const[l,c]of this._index){for(const[d,p]of c)for(const[g]of p)this._documentIds.has(g)||(p.size<=1?c.delete(d):p.delete(g));this._index.get(l).size===0&&this._index.delete(l),s%a===0&&await new Promise(d=>setTimeout(d,o)),s+=1}this._dirtCount-=r}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(t){if(t==null)return!0;let{minDirtCount:n,minDirtFactor:r}=t;return n=n||tb.minDirtCount,r=r||tb.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=r}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(t){return this._idToShortId.has(t)}getStoredFields(t){const n=this._idToShortId.get(t);if(n!=null)return this._storedFields.get(n)}search(t,n={}){const{searchOptions:r}=this._options,a={...r,...n},o=this.executeQuery(t,n),s=[];for(const[l,{score:c,terms:d,match:p}]of o){const g=d.length||1,m={id:this._documentIds.get(l),score:c*g,terms:Object.keys(p),queryTerms:d,match:p};Object.assign(m,this._storedFields.get(l)),(a.filter==null||a.filter(m))&&s.push(m)}return t===Co.wildcard&&a.boostDocument==null||s.sort(xO),s}autoSuggest(t,n={}){n={...this._options.autoSuggestOptions,...n};const r=new Map;for(const{score:o,terms:s}of this.search(t,n)){const l=s.join(" "),c=r.get(l);c!=null?(c.score+=o,c.count+=1):r.set(l,{score:o,terms:s,count:1})}const a=[];for(const[o,{score:s,terms:l,count:c}]of r)a.push({suggestion:o,terms:l,score:s/c});return a.sort(xO),a}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),n)}static async loadJSONAsync(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(t),n)}static getDefault(t){if(eb.hasOwnProperty(t))return Jm(eb,t);throw new Error(`MiniSearch: unknown option "${t}"`)}static loadJS(t,n){const{index:r,documentIds:a,fieldLength:o,storedFields:s,serializationVersion:l}=t,c=this.instantiateMiniSearch(t,n);c._documentIds=Md(a),c._fieldLength=Md(o),c._storedFields=Md(s);for(const[d,p]of c._documentIds)c._idToShortId.set(p,d);for(const[d,p]of r){const g=new Map;for(const m of Object.keys(p)){let b=p[m];l===1&&(b=b.ds),g.set(parseInt(m,10),Md(b))}c._index.set(d,g)}return c}static async loadJSAsync(t,n){const{index:r,documentIds:a,fieldLength:o,storedFields:s,serializationVersion:l}=t,c=this.instantiateMiniSearch(t,n);c._documentIds=await Pd(a),c._fieldLength=await Pd(o),c._storedFields=await Pd(s);for(const[p,g]of c._documentIds)c._idToShortId.set(g,p);let d=0;for(const[p,g]of r){const m=new Map;for(const b of Object.keys(g)){let y=g[b];l===1&&(y=y.ds),m.set(parseInt(b,10),await Pd(y))}++d%1e3===0&&await M5(0),c._index.set(p,m)}return c}static instantiateMiniSearch(t,n){const{documentCount:r,nextId:a,fieldIds:o,averageFieldLength:s,dirtCount:l,serializationVersion:c}=t;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const d=new Co(n);return d._documentCount=r,d._nextId=a,d._idToShortId=new Map,d._fieldIds=o,d._avgFieldLength=s,d._dirtCount=l||0,d._index=new To,d}executeQuery(t,n={}){if(t===Co.wildcard)return this.executeWildcardQuery(n);if(typeof t!="string"){const m={...n,...t,queries:void 0},b=t.queries.map(y=>this.executeQuery(y,m));return this.combineResults(b,m.combineWith)}const{tokenize:r,processTerm:a,searchOptions:o}=this._options,s={tokenize:r,processTerm:a,...o,...n},{tokenize:l,processTerm:c}=s,g=l(t).flatMap(m=>c(m)).filter(m=>!!m).map(fae(s)).map(m=>this.executeQuerySpec(m,s));return this.combineResults(g,s.combineWith)}executeQuerySpec(t,n){const r={...this._options.searchOptions,...n},a=(r.fields||this._options.fields).reduce((S,k)=>({...S,[k]:Jm(r.boost,k)||1}),{}),{boostDocument:o,weights:s,maxFuzzy:l,bm25:c}=r,{fuzzy:d,prefix:p}={...EO.weights,...s},g=this._index.get(t.term),m=this.termResults(t.term,t.term,1,t.termBoost,g,a,o,c);let b,y;if(t.prefix&&(b=this._index.atPrefix(t.term)),t.fuzzy){const S=t.fuzzy===!0?.2:t.fuzzy,k=S<1?Math.min(l,Math.round(t.term.length*S)):S;k&&(y=this._index.fuzzyGet(t.term,k))}if(b)for(const[S,k]of b){const R=S.length-t.term.length;if(!R)continue;y==null||y.delete(S);const x=p*S.length/(S.length+.3*R);this.termResults(t.term,S,x,t.termBoost,k,a,o,c,m)}if(y)for(const S of y.keys()){const[k,R]=y.get(S);if(!R)continue;const x=d*S.length/(S.length+R);this.termResults(t.term,S,x,t.termBoost,k,a,o,c,m)}return m}executeWildcardQuery(t){const n=new Map,r={...this._options.searchOptions,...t};for(const[a,o]of this._documentIds){const s=r.boostDocument?r.boostDocument(o,"",this._storedFields.get(a)):1;n.set(a,{score:s,terms:[],match:{}})}return n}combineResults(t,n=MT){if(t.length===0)return new Map;const r=n.toLowerCase(),a=uae[r];if(!a)throw new Error(`Invalid combination operator: ${n}`);return t.reduce(a)||new Map}toJSON(){const t=[];for(const[n,r]of this._index){const a={};for(const[o,s]of r)a[o]=Object.fromEntries(s);t.push([n,a])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:t,serializationVersion:2}}termResults(t,n,r,a,o,s,l,c,d=new Map){if(o==null)return d;for(const p of Object.keys(s)){const g=s[p],m=this._fieldIds[p],b=o.get(m);if(b==null)continue;let y=b.size;const S=this._avgFieldLength[m];for(const k of b.keys()){if(!this._documentIds.has(k)){this.removeTerm(m,k,n),y-=1;continue}const R=l?l(this._documentIds.get(k),n,this._storedFields.get(k)):1;if(!R)continue;const x=b.get(k),A=this._fieldLength.get(k)[m],N=dae(x,y,this._documentCount,A,S,c),O=r*a*g*R*N,C=d.get(k);if(C){C.score+=O,gae(C.terms,t);const _=Jm(C.match,n);_?_.push(p):C.match[n]=[p]}else d.set(k,{score:O,terms:[t],match:{[n]:[p]}})}}return d}addTerm(t,n,r){const a=this._index.fetch(r,kO);let o=a.get(t);if(o==null)o=new Map,o.set(n,1),a.set(t,o);else{const s=o.get(n);o.set(n,(s||0)+1)}}removeTerm(t,n,r){if(!this._index.has(r)){this.warnDocumentChanged(n,t,r);return}const a=this._index.fetch(r,kO),o=a.get(t);o==null||o.get(n)==null?this.warnDocumentChanged(n,t,r):o.get(n)<=1?o.size<=1?a.delete(t):o.delete(n):o.set(n,o.get(n)-1),this._index.get(r).size===0&&this._index.delete(r)}warnDocumentChanged(t,n,r){for(const a of Object.keys(this._fieldIds))if(this._fieldIds[a]===n){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(t)} has changed before removal: term "${r}" was not present in field "${a}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(t){const n=this._nextId;return this._idToShortId.set(t,n),this._documentIds.set(n,t),this._documentCount+=1,this._nextId+=1,n}addFields(t){for(let n=0;n<t.length;n++)this._fieldIds[t[n]]=n}addFieldLength(t,n,r,a){let o=this._fieldLength.get(t);o==null&&this._fieldLength.set(t,o=[]),o[n]=a;const l=(this._avgFieldLength[n]||0)*r+a;this._avgFieldLength[n]=l/(r+1)}removeFieldLength(t,n,r,a){if(r===1){this._avgFieldLength[n]=0;return}const o=this._avgFieldLength[n]*r-a;this._avgFieldLength[n]=o/(r-1)}saveStoredFields(t,n){const{storeFields:r,extractField:a}=this._options;if(r==null||r.length===0)return;let o=this._storedFields.get(t);o==null&&this._storedFields.set(t,o={});for(const s of r){const l=a(n,s);l!==void 0&&(o[s]=l)}}}Co.wildcard=Symbol("*");const Jm=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,uae={[MT]:(e,t)=>{for(const n of t.keys()){const r=e.get(n);if(r==null)e.set(n,t.get(n));else{const{score:a,terms:o,match:s}=t.get(n);r.score=r.score+a,r.match=Object.assign(r.match,s),wO(r.terms,o)}}return e},[L5]:(e,t)=>{const n=new Map;for(const r of t.keys()){const a=e.get(r);if(a==null)continue;const{score:o,terms:s,match:l}=t.get(r);wO(a.terms,s),n.set(r,{score:a.score+o,terms:a.terms,match:Object.assign(a.match,l)})}return n},[lae]:(e,t)=>{for(const n of t.keys())e.delete(n);return e}},cae={k:1.2,b:.7,d:.5},dae=(e,t,n,r,a,o)=>{const{k:s,b:l,d:c}=o;return Math.log(1+(n-t+.5)/(t+.5))*(c+e*(s+1)/(e+s*(1-l+l*r/a)))},fae=e=>(t,n,r)=>{const a=typeof e.fuzzy=="function"?e.fuzzy(t,n,r):e.fuzzy||!1,o=typeof e.prefix=="function"?e.prefix(t,n,r):e.prefix===!0,s=typeof e.boostTerm=="function"?e.boostTerm(t,n,r):1;return{term:t,fuzzy:a,prefix:o,termBoost:s}},eb={idField:"id",extractField:(e,t)=>e[t],tokenize:e=>e.split(hae),processTerm:e=>e.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(e,t)=>{typeof(console==null?void 0:console[e])=="function"&&console[e](t)},autoVacuum:!0},EO={combineWith:MT,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:cae},pae={combineWith:L5,prefix:(e,t,n)=>t===n.length-1},Zk={batchSize:1e3,batchWait:10},Qk={minDirtFactor:.1,minDirtCount:20},tb={...Zk,...Qk},gae=(e,t)=>{e.includes(t)||e.push(t)},wO=(e,t)=>{for(const n of t)e.includes(n)||e.push(n)},xO=({score:e},{score:t})=>t-e,kO=()=>new Map,Md=e=>{const t=new Map;for(const n of Object.keys(e))t.set(parseInt(n,10),e[n]);return t},Pd=async e=>{const t=new Map;let n=0;for(const r of Object.keys(e))t.set(parseInt(r,10),e[r]),++n%1e3===0&&await M5(0);return t},M5=e=>new Promise(t=>setTimeout(t,e)),hae=/[\n\r\p{Z}\p{P}]+/u;function Jk(){return Jk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jk.apply(null,arguments)}function Nu(e){"@babel/helpers - typeof";return Nu=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},Nu(e)}function mae(e,t){if(Nu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bae(e){var t=mae(e,"string");return Nu(t)=="symbol"?t:t+""}function P5(e,t,n){return(t=bae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function yae(e){if(Array.isArray(e))return e0(e)}function vae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sae(e,t){if(e){if(typeof e=="string")return e0(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e0(e,t):void 0}}function Eae(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function t0(e){return yae(e)||vae(e)||Sae(e)||Eae()}function wae(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function xae(e,t){if(e==null)return{};var n,r,a=wae(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const kae={index:new Co({fields:[]})};E.createContext(kae);const n0=({label:e,color:t,hidden:n,labels:r={}})=>ye.createElement("div",{className:"node"},ye.createElement("span",{className:"render "+(n?"circle":"disc"),style:{backgroundColor:t||"#000"}}),ye.createElement("span",{className:`label ${n?"text-muted":""} ${e?"":"text-italic"}`},e||r.no_label||"No label")),Tae=({id:e,labels:t})=>{const n=kr(),r=E.useMemo(()=>{const a=n.getGraph().getNodeAttributes(e),o=n.getSetting("nodeReducer");return Object.assign(Object.assign({color:n.getSetting("defaultNodeColor")},a),o?o(e,a):{})},[n,e]);return ye.createElement(n0,Object.assign({},r,{labels:t}))},Aae=({label:e,color:t,source:n,target:r,hidden:a,directed:o,labels:s={}})=>ye.createElement("div",{className:"edge"},ye.createElement(n0,Object.assign({},n,{labels:s})),ye.createElement("div",{className:"body"},ye.createElement("div",{className:"render"},ye.createElement("span",{className:a?"dotted":"dash",style:{borderColor:t||"#000"}})," ",o&&ye.createElement("span",{className:"arrow",style:{borderTopColor:t||"#000"}})),ye.createElement("span",{className:`label ${a?"text-muted":""} ${e?"":"fst-italic"}`},e||s.no_label||"No label")),ye.createElement(n0,Object.assign({},r,{labels:s}))),Rae=({id:e,labels:t})=>{const n=kr(),r=E.useMemo(()=>{const a=n.getGraph().getEdgeAttributes(e),o=n.getSetting("nodeReducer"),s=n.getSetting("edgeReducer"),l=n.getGraph().getNodeAttributes(n.getGraph().source(e)),c=n.getGraph().getNodeAttributes(n.getGraph().target(e));return Object.assign(Object.assign(Object.assign({color:n.getSetting("defaultEdgeColor"),directed:n.getGraph().isDirected(e)},a),s?s(e,a):{}),{source:Object.assign(Object.assign({color:n.getSetting("defaultNodeColor")},l),o?o(e,l):{}),target:Object.assign(Object.assign({color:n.getSetting("defaultNodeColor")},c),o?o(e,c):{})})},[n,e]);return ye.createElement(Aae,Object.assign({},r,{labels:t}))};function PT(e,t){const[n,r]=E.useState(e);return E.useEffect(()=>{const a=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(a)}},[e,t]),n}function Cae({fetcher:e,preload:t,filterFn:n,renderOption:r,getOptionValue:a,notFound:o,loadingSkeleton:s,label:l,placeholder:c="Select...",value:d,onChange:p,onFocus:g,disabled:m=!1,className:b,noResultsMessage:y}){const[S,k]=E.useState(!1),[R,x]=E.useState(!1),[A,N]=E.useState([]),[O,C]=E.useState(!1),[_,P]=E.useState(null),[I,L]=E.useState(d),[H,$]=E.useState(null),[U,W]=E.useState(""),Z=PT(U,t?0:150),[j,G]=E.useState([]);E.useEffect(()=>{k(!0),L(d)},[d]),E.useEffect(()=>{S||(async()=>{try{C(!0),P(null);const V=d!==null?await e(d):[];G(V),N(V)}catch(V){P(V instanceof Error?V.message:"Failed to fetch options")}finally{C(!1)}})()},[S,e,d]),E.useEffect(()=>{const D=async()=>{try{C(!0),P(null);const V=await e(Z);G(V),N(V)}catch(V){P(V instanceof Error?V.message:"Failed to fetch options")}finally{C(!1)}};S&&t?t&&N(Z?j.filter(V=>n?n(V,Z):!0):j):D()},[e,Z,S,t,n]);const z=E.useCallback(D=>{D!==I&&(L(D),p(D)),x(!1)},[I,L,x,p]),Y=E.useCallback(D=>{D!==H&&($(D),g(D))},[H,$,g]);return w.jsx("div",{className:Pe(m&&"cursor-not-allowed opacity-50",b),onFocus:()=>{x(!0)},onBlur:()=>x(!1),children:w.jsxs(xp,{shouldFilter:!1,className:"bg-transparent",children:[w.jsxs("div",{children:[w.jsx(OT,{placeholder:c,value:U,className:"max-h-8",onValueChange:D=>{W(D),D&&!R&&x(!0)}}),O&&A.length>0&&w.jsx("div",{className:"absolute top-1/2 right-2 flex -translate-y-1/2 transform items-center",children:w.jsx(tU,{className:"h-4 w-4 animate-spin"})})]}),w.jsxs(kp,{hidden:!R,children:[_&&w.jsx("div",{className:"text-destructive p-4 text-center",children:_}),O&&A.length===0&&(s||w.jsx(_ae,{})),!O&&!_&&A.length===0&&(o||w.jsx(DT,{children:y??`No ${l.toLowerCase()} found.`})),w.jsx(el,{children:A.map((D,V)=>w.jsxs(ye.Fragment,{children:[w.jsx(tl,{value:a(D),onSelect:z,onMouseEnter:()=>Y(a(D)),className:"truncate",children:r(D)},a(D)+`${V}`),V!==A.length-1&&w.jsx("div",{className:"bg-foreground/10 h-[1px]"},`divider-${V}`)]},a(D)+`-fragment-${V}`))})]})]})})}function _ae(){return w.jsx(el,{children:w.jsx(tl,{disabled:!0,children:w.jsxs("div",{className:"flex w-full items-center gap-2",children:[w.jsx("div",{className:"bg-muted h-6 w-6 animate-pulse rounded-full"}),w.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[w.jsx("div",{className:"bg-muted h-4 w-24 animate-pulse rounded"}),w.jsx("div",{className:"bg-muted h-3 w-16 animate-pulse rounded"})]})]})})})}const nb="__message_item",Nae=({id:e})=>{const t=$e.use.sigmaGraph();return t!=null&&t.hasNode(e)?w.jsx(Tae,{id:e}):null};function Oae(e){return w.jsxs("div",{children:[e.type==="nodes"&&w.jsx(Nae,{id:e.id}),e.type==="edges"&&w.jsx(Rae,{id:e.id}),e.type==="message"&&w.jsx("div",{children:e.message})]})}const Dae=({onChange:e,onFocus:t,value:n})=>{const{t:r}=Ft(),a=$e.use.sigmaGraph(),o=$e.use.searchEngine();E.useEffect(()=>{a&&$e.getState().resetSearchEngine()},[a]),E.useEffect(()=>{if(!a||a.nodes().length===0||o)return;const l=new Co({idField:"id",fields:["label"],searchOptions:{prefix:!0,fuzzy:.2,boost:{label:2}}}),c=a.nodes().map(d=>({id:d,label:a.getNodeAttribute(d,"label")}));l.addAll(c),$e.getState().setSearchEngine(l)},[a,o]);const s=E.useCallback(async l=>{if(t&&t(null),!a||!o)return[];if(a.nodes().length===0)return[];if(!l)return a.nodes().filter(p=>a.hasNode(p)).slice(0,bd).map(p=>({id:p,type:"nodes"}));const c=o.search(l).filter(d=>a.hasNode(d.id)).map(d=>({id:d.id,type:"nodes"}));return c.length<=bd?c:[...c.slice(0,bd),{type:"message",id:nb,message:r("graphPanel.search.message",{count:c.length-bd})}]},[a,o,t,r]);return w.jsx(Cae,{className:"bg-background/60 w-24 rounded-xl border-1 opacity-60 backdrop-blur-lg transition-all hover:w-fit hover:opacity-100",fetcher:s,renderOption:Oae,getOptionValue:l=>l.id,value:n&&n.type!=="message"?n.id:null,onChange:l=>{l!==nb&&e(l?{id:l,type:"nodes"}:null)},onFocus:l=>{l!==nb&&t&&t(l?{id:l,type:"nodes"}:null)},label:"item",placeholder:r("graphPanel.search.placeholder")})},Iae=({...e})=>w.jsx(Dae,{...e});function Lae({fetcher:e,preload:t,filterFn:n,renderOption:r,getOptionValue:a,getDisplayValue:o,notFound:s,loadingSkeleton:l,label:c,placeholder:d="Select...",value:p,onChange:g,disabled:m=!1,className:b,triggerClassName:y,searchInputClassName:S,noResultsMessage:k,triggerTooltip:R,clearable:x=!0}){const[A,N]=E.useState(!1),[O,C]=E.useState(!1),[_,P]=E.useState([]),[I,L]=E.useState(!1),[H,$]=E.useState(null),[U,W]=E.useState(p),[Z,j]=E.useState(null),[G,z]=E.useState(""),Y=PT(G,t?0:150),[D,V]=E.useState([]);E.useEffect(()=>{N(!0),W(p)},[p]),E.useEffect(()=>{if(p&&_.length>0){const M=_.find(K=>a(K)===p);M&&j(M)}},[p,_,a]),E.useEffect(()=>{A||(async()=>{try{L(!0),$(null);const K=await e(p);V(K),P(K)}catch(K){$(K instanceof Error?K.message:"Failed to fetch options")}finally{L(!1)}})()},[A,e,p]),E.useEffect(()=>{const M=async()=>{try{L(!0),$(null);const K=await e(Y);V(K),P(K)}catch(K){$(K instanceof Error?K.message:"Failed to fetch options")}finally{L(!1)}};A&&t?t&&P(Y?D.filter(K=>n?n(K,Y):!0):D):M()},[e,Y,A,t,n]);const B=E.useCallback(M=>{const K=x&&M===U?"":M;W(K),j(_.find(ee=>a(ee)===K)||null),g(K),C(!1)},[U,g,x,_,a]);return w.jsxs(Ku,{open:O,onOpenChange:C,children:[w.jsx(Xu,{asChild:!0,children:w.jsxs(xt,{variant:"outline",role:"combobox","aria-expanded":O,className:Pe("justify-between",m&&"cursor-not-allowed opacity-50",y),disabled:m,tooltip:R,side:"bottom",children:[Z?o(Z):d,w.jsx(kW,{className:"opacity-50",size:10})]})}),w.jsx(Ys,{className:Pe("p-0",b),onCloseAutoFocus:M=>M.preventDefault(),children:w.jsxs(xp,{shouldFilter:!1,children:[w.jsxs("div",{className:"relative w-full border-b",children:[w.jsx(OT,{placeholder:`Search ${c.toLowerCase()}...`,value:G,onValueChange:M=>{z(M)},className:S}),I&&_.length>0&&w.jsx("div",{className:"absolute top-1/2 right-2 flex -translate-y-1/2 transform items-center",children:w.jsx(tU,{className:"h-4 w-4 animate-spin"})})]}),w.jsxs(kp,{children:[H&&w.jsx("div",{className:"text-destructive p-4 text-center",children:H}),I&&_.length===0&&(l||w.jsx(Mae,{})),!I&&!H&&_.length===0&&(s||w.jsx(DT,{children:k??`No ${c.toLowerCase()} found.`})),w.jsx(el,{children:_.map(M=>w.jsxs(tl,{value:a(M),onSelect:B,className:"truncate",children:[r(M),w.jsx(I0,{className:Pe("ml-auto h-3 w-3",U===a(M)?"opacity-100":"opacity-0")})]},a(M)))})]})]})})]})}function Mae(){return w.jsx(el,{children:w.jsx(tl,{disabled:!0,children:w.jsxs("div",{className:"flex w-full items-center gap-2",children:[w.jsx("div",{className:"bg-muted h-6 w-6 animate-pulse rounded-full"}),w.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[w.jsx("div",{className:"bg-muted h-4 w-24 animate-pulse rounded"}),w.jsx("div",{className:"bg-muted h-3 w-16 animate-pulse rounded"})]})]})})})}const Pae=()=>{const{t:e}=Ft(),t=Le.use.queryLabel(),n=$e.use.allDatabaseLabels(),r=E.useCallback(()=>{const s=new Co({idField:"id",fields:["value"],searchOptions:{prefix:!0,fuzzy:.2,boost:{label:2}}}),l=n.map((c,d)=>({id:d,value:c}));return s.addAll(l),{labels:n,searchEngine:s}},[n]),a=E.useCallback(async s=>{const{labels:l,searchEngine:c}=r();let d=l;return s&&(d=c.search(s).map(p=>l[p.id])),d.length<=__?d:[...d.slice(0,__),"..."]},[r]),o=E.useCallback(()=>{$e.getState().setLabelsFetchAttempted(!1),$e.getState().setGraphDataFetchAttempted(!1),$e.getState().setLastSuccessfulQueryLabel("");const s=Le.getState().queryLabel;s?(Le.getState().setQueryLabel(""),setTimeout(()=>{Le.getState().setQueryLabel(s)},0)):Le.getState().setQueryLabel("*")},[]);return w.jsxs("div",{className:"flex items-center",children:[w.jsx(xt,{size:"icon",variant:Pr,onClick:o,tooltip:e("graphPanel.graphLabels.refreshTooltip"),className:"mr-1",children:w.jsx(nU,{className:"h-4 w-4"})}),w.jsx(Lae,{className:"ml-2",triggerClassName:"max-h-8",searchInputClassName:"max-h-8",triggerTooltip:e("graphPanel.graphLabels.selectTooltip"),fetcher:a,renderOption:s=>w.jsx("div",{children:s}),getOptionValue:s=>s,getDisplayValue:s=>w.jsx("div",{children:s}),notFound:w.jsx("div",{className:"py-6 text-center text-sm",children:"No labels found"}),label:e("graphPanel.graphLabels.label"),placeholder:e("graphPanel.graphLabels.placeholder"),value:t!==null?t:"*",onChange:s=>{const l=Le.getState().queryLabel;s==="..."&&(s="*"),s===l&&s!=="*"&&(s="*"),$e.getState().setGraphDataFetchAttempted(!1),Le.getState().setQueryLabel(s)},clearable:!1})]})},Un=({text:e,className:t,tooltipClassName:n,tooltip:r,side:a,onClick:o})=>r?w.jsx(C3,{delayDuration:200,children:w.jsxs(_3,{children:[w.jsx(N3,{asChild:!0,children:w.jsx("label",{className:Pe(t,o!==void 0?"cursor-pointer":void 0),onClick:o,children:e})}),w.jsx(lT,{side:a,className:n,children:r})]})}):w.jsx("label",{className:Pe(t,o!==void 0?"cursor-pointer":void 0),onClick:o,children:e});var nf={exports:{}},Fae=nf.exports,TO;function zae(){return TO||(TO=1,function(e){(function(t,n,r){function a(c){var d=this,p=l();d.next=function(){var g=2091639*d.s0+d.c*23283064365386963e-26;return d.s0=d.s1,d.s1=d.s2,d.s2=g-(d.c=g|0)},d.c=1,d.s0=p(" "),d.s1=p(" "),d.s2=p(" "),d.s0-=p(c),d.s0<0&&(d.s0+=1),d.s1-=p(c),d.s1<0&&(d.s1+=1),d.s2-=p(c),d.s2<0&&(d.s2+=1),p=null}function o(c,d){return d.c=c.c,d.s0=c.s0,d.s1=c.s1,d.s2=c.s2,d}function s(c,d){var p=new a(c),g=d&&d.state,m=p.next;return m.int32=function(){return p.next()*4294967296|0},m.double=function(){return m()+(m()*2097152|0)*11102230246251565e-32},m.quick=m,g&&(typeof g=="object"&&o(g,p),m.state=function(){return o(p,{})}),m}function l(){var c=4022871197,d=function(p){p=String(p);for(var g=0;g<p.length;g++){c+=p.charCodeAt(g);var m=.02519603282416938*c;c=m>>>0,m-=c,m*=c,c=m>>>0,m-=c,c+=m*4294967296}return(c>>>0)*23283064365386963e-26};return d}n&&n.exports?n.exports=s:this.alea=s})(Fae,e)}(nf)),nf.exports}var rf={exports:{}},Bae=rf.exports,AO;function Uae(){return AO||(AO=1,function(e){(function(t,n,r){function a(l){var c=this,d="";c.x=0,c.y=0,c.z=0,c.w=0,c.next=function(){var g=c.x^c.x<<11;return c.x=c.y,c.y=c.z,c.z=c.w,c.w^=c.w>>>19^g^g>>>8},l===(l|0)?c.x=l:d+=l;for(var p=0;p<d.length+64;p++)c.x^=d.charCodeAt(p)|0,c.next()}function o(l,c){return c.x=l.x,c.y=l.y,c.z=l.z,c.w=l.w,c}function s(l,c){var d=new a(l),p=c&&c.state,g=function(){return(d.next()>>>0)/4294967296};return g.double=function(){do var m=d.next()>>>11,b=(d.next()>>>0)/4294967296,y=(m+b)/(1<<21);while(y===0);return y},g.int32=d.next,g.quick=g,p&&(typeof p=="object"&&o(p,d),g.state=function(){return o(d,{})}),g}n&&n.exports?n.exports=s:this.xor128=s})(Bae,e)}(rf)),rf.exports}var af={exports:{}},jae=af.exports,RO;function Gae(){return RO||(RO=1,function(e){(function(t,n,r){function a(l){var c=this,d="";c.next=function(){var g=c.x^c.x>>>2;return c.x=c.y,c.y=c.z,c.z=c.w,c.w=c.v,(c.d=c.d+362437|0)+(c.v=c.v^c.v<<4^(g^g<<1))|0},c.x=0,c.y=0,c.z=0,c.w=0,c.v=0,l===(l|0)?c.x=l:d+=l;for(var p=0;p<d.length+64;p++)c.x^=d.charCodeAt(p)|0,p==d.length&&(c.d=c.x<<10^c.x>>>4),c.next()}function o(l,c){return c.x=l.x,c.y=l.y,c.z=l.z,c.w=l.w,c.v=l.v,c.d=l.d,c}function s(l,c){var d=new a(l),p=c&&c.state,g=function(){return(d.next()>>>0)/4294967296};return g.double=function(){do var m=d.next()>>>11,b=(d.next()>>>0)/4294967296,y=(m+b)/(1<<21);while(y===0);return y},g.int32=d.next,g.quick=g,p&&(typeof p=="object"&&o(p,d),g.state=function(){return o(d,{})}),g}n&&n.exports?n.exports=s:this.xorwow=s})(jae,e)}(af)),af.exports}var of={exports:{}},Hae=of.exports,CO;function $ae(){return CO||(CO=1,function(e){(function(t,n,r){function a(l){var c=this;c.next=function(){var p=c.x,g=c.i,m,b;return m=p[g],m^=m>>>7,b=m^m<<24,m=p[g+1&7],b^=m^m>>>10,m=p[g+3&7],b^=m^m>>>3,m=p[g+4&7],b^=m^m<<7,m=p[g+7&7],m=m^m<<13,b^=m^m<<9,p[g]=b,c.i=g+1&7,b};function d(p,g){var m,b=[];if(g===(g|0))b[0]=g;else for(g=""+g,m=0;m<g.length;++m)b[m&7]=b[m&7]<<15^g.charCodeAt(m)+b[m+1&7]<<13;for(;b.length<8;)b.push(0);for(m=0;m<8&&b[m]===0;++m);for(m==8?b[7]=-1:b[m],p.x=b,p.i=0,m=256;m>0;--m)p.next()}d(c,l)}function o(l,c){return c.x=l.x.slice(),c.i=l.i,c}function s(l,c){l==null&&(l=+new Date);var d=new a(l),p=c&&c.state,g=function(){return(d.next()>>>0)/4294967296};return g.double=function(){do var m=d.next()>>>11,b=(d.next()>>>0)/4294967296,y=(m+b)/(1<<21);while(y===0);return y},g.int32=d.next,g.quick=g,p&&(p.x&&o(p,d),g.state=function(){return o(d,{})}),g}n&&n.exports?n.exports=s:this.xorshift7=s})(Hae,e)}(of)),of.exports}var sf={exports:{}},qae=sf.exports,_O;function Vae(){return _O||(_O=1,function(e){(function(t,n,r){function a(l){var c=this;c.next=function(){var p=c.w,g=c.X,m=c.i,b,y;return c.w=p=p+1640531527|0,y=g[m+34&127],b=g[m=m+1&127],y^=y<<13,b^=b<<17,y^=y>>>15,b^=b>>>12,y=g[m]=y^b,c.i=m,y+(p^p>>>16)|0};function d(p,g){var m,b,y,S,k,R=[],x=128;for(g===(g|0)?(b=g,g=null):(g=g+"\0",b=0,x=Math.max(x,g.length)),y=0,S=-32;S<x;++S)g&&(b^=g.charCodeAt((S+32)%g.length)),S===0&&(k=b),b^=b<<10,b^=b>>>15,b^=b<<4,b^=b>>>13,S>=0&&(k=k+1640531527|0,m=R[S&127]^=b+k,y=m==0?y+1:0);for(y>=128&&(R[(g&&g.length||0)&127]=-1),y=127,S=4*128;S>0;--S)b=R[y+34&127],m=R[y=y+1&127],b^=b<<13,m^=m<<17,b^=b>>>15,m^=m>>>12,R[y]=b^m;p.w=k,p.X=R,p.i=y}d(c,l)}function o(l,c){return c.i=l.i,c.w=l.w,c.X=l.X.slice(),c}function s(l,c){l==null&&(l=+new Date);var d=new a(l),p=c&&c.state,g=function(){return(d.next()>>>0)/4294967296};return g.double=function(){do var m=d.next()>>>11,b=(d.next()>>>0)/4294967296,y=(m+b)/(1<<21);while(y===0);return y},g.int32=d.next,g.quick=g,p&&(p.X&&o(p,d),g.state=function(){return o(d,{})}),g}n&&n.exports?n.exports=s:this.xor4096=s})(qae,e)}(sf)),sf.exports}var lf={exports:{}},Wae=lf.exports,NO;function Yae(){return NO||(NO=1,function(e){(function(t,n,r){function a(l){var c=this,d="";c.next=function(){var g=c.b,m=c.c,b=c.d,y=c.a;return g=g<<25^g>>>7^m,m=m-b|0,b=b<<24^b>>>8^y,y=y-g|0,c.b=g=g<<20^g>>>12^m,c.c=m=m-b|0,c.d=b<<16^m>>>16^y,c.a=y-g|0},c.a=0,c.b=0,c.c=-1640531527,c.d=1367130551,l===Math.floor(l)?(c.a=l/4294967296|0,c.b=l|0):d+=l;for(var p=0;p<d.length+20;p++)c.b^=d.charCodeAt(p)|0,c.next()}function o(l,c){return c.a=l.a,c.b=l.b,c.c=l.c,c.d=l.d,c}function s(l,c){var d=new a(l),p=c&&c.state,g=function(){return(d.next()>>>0)/4294967296};return g.double=function(){do var m=d.next()>>>11,b=(d.next()>>>0)/4294967296,y=(m+b)/(1<<21);while(y===0);return y},g.int32=d.next,g.quick=g,p&&(typeof p=="object"&&o(p,d),g.state=function(){return o(d,{})}),g}n&&n.exports?n.exports=s:this.tychei=s})(Wae,e)}(lf)),lf.exports}var uf={exports:{}};const Kae={},Xae=Object.freeze(Object.defineProperty({__proto__:null,default:Kae},Symbol.toStringTag,{value:"Module"})),Zae=dq(Xae);var Qae=uf.exports,OO;function Jae(){return OO||(OO=1,function(e){(function(t,n,r){var a=256,o=6,s=52,l="random",c=r.pow(a,o),d=r.pow(2,s),p=d*2,g=a-1,m;function b(N,O,C){var _=[];O=O==!0?{entropy:!0}:O||{};var P=R(k(O.entropy?[N,A(n)]:N??x(),3),_),I=new y(_),L=function(){for(var H=I.g(o),$=c,U=0;H<d;)H=(H+U)*a,$*=a,U=I.g(1);for(;H>=p;)H/=2,$/=2,U>>>=1;return(H+U)/$};return L.int32=function(){return I.g(4)|0},L.quick=function(){return I.g(4)/4294967296},L.double=L,R(A(I.S),n),(O.pass||C||function(H,$,U,W){return W&&(W.S&&S(W,I),H.state=function(){return S(I,{})}),U?(r[l]=H,$):H})(L,P,"global"in O?O.global:this==r,O.state)}function y(N){var O,C=N.length,_=this,P=0,I=_.i=_.j=0,L=_.S=[];for(C||(N=[C++]);P<a;)L[P]=P++;for(P=0;P<a;P++)L[P]=L[I=g&I+N[P%C]+(O=L[P])],L[I]=O;(_.g=function(H){for(var $,U=0,W=_.i,Z=_.j,j=_.S;H--;)$=j[W=g&W+1],U=U*a+j[g&(j[W]=j[Z=g&Z+$])+(j[Z]=$)];return _.i=W,_.j=Z,U})(a)}function S(N,O){return O.i=N.i,O.j=N.j,O.S=N.S.slice(),O}function k(N,O){var C=[],_=typeof N,P;if(O&&_=="object")for(P in N)try{C.push(k(N[P],O-1))}catch{}return C.length?C:_=="string"?N:N+"\0"}function R(N,O){for(var C=N+"",_,P=0;P<C.length;)O[g&P]=g&(_^=O[g&P]*19)+C.charCodeAt(P++);return A(O)}function x(){try{var N;return m&&(N=m.randomBytes)?N=N(a):(N=new Uint8Array(a),(t.crypto||t.msCrypto).getRandomValues(N)),A(N)}catch{var O=t.navigator,C=O&&O.plugins;return[+new Date,t,C,t.screen,A(n)]}}function A(N){return String.fromCharCode.apply(0,N)}if(R(r.random(),n),e.exports){e.exports=b;try{m=Zae}catch{}}else r["seed"+l]=b})(typeof self<"u"?self:Qae,[],Math)}(uf)),uf.exports}var rb,DO;function eoe(){if(DO)return rb;DO=1;var e=zae(),t=Uae(),n=Gae(),r=$ae(),a=Vae(),o=Yae(),s=Jae();return s.alea=e,s.xor128=t,s.xorwow=n,s.xorshift7=r,s.xor4096=a,s.tychei=o,rb=s,rb}var toe=eoe();const Nf=cn(toe),noe=e=>{if(!e)return console.log("Graph validation failed: graph is null"),!1;if(!Array.isArray(e.nodes)||!Array.isArray(e.edges))return console.log("Graph validation failed: nodes or edges is not an array"),!1;if(e.nodes.length===0)return console.log("Graph validation failed: nodes array is empty"),!1;for(const t of e.nodes)if(!t.id||!t.labels||!t.properties)return console.log("Graph validation failed: invalid node structure"),!1;for(const t of e.edges)if(!t.id||!t.source||!t.target)return console.log("Graph validation failed: invalid edge structure"),!1;for(const t of e.edges){const n=e.getNode(t.source),r=e.getNode(t.target);if(n==null||r==null)return console.log("Graph validation failed: edge references non-existent node"),!1}return console.log("Graph validation passed"),!0},roe=async(e,t,n)=>{let r=null;if(!$e.getState().lastSuccessfulQueryLabel){console.log("Last successful queryLabel is empty");try{await $e.getState().fetchAllDatabaseLabels()}catch(l){console.error("Failed to fetch all database labels:",l)}}const o=e||"*";try{console.log(`Fetching graph label: ${o}, depth: ${t}, deg: ${n}`),r=await $B(o,t,n)}catch(l){return Hn.getState().setErrorMessage(Sr(l),"Query Graphs Error!"),null}let s=null;if(r){const l={},c={};for(let m=0;m<r.nodes.length;m++){const b=r.nodes[m];l[b.id]=m,Nf(b.id,{global:!0}),b.color=gB(),b.x=Math.random(),b.y=Math.random(),b.degree=0,b.size=10}for(let m=0;m<r.edges.length;m++){const b=r.edges[m];c[b.id]=m;const y=l[b.source],S=l[b.target];if(y!==void 0&&y!==void 0){const k=r.nodes[y],R=r.nodes[S];if(!k){console.error(`Source node ${b.source} is undefined`);continue}if(!R){console.error(`Target node ${b.target} is undefined`);continue}k.degree+=1,R.degree+=1}}let d=Number.MAX_SAFE_INTEGER,p=0;for(const m of r.nodes)d=Math.min(d,m.degree),p=Math.max(p,m.degree);const g=p-d;if(g>0){const m=mk-li;for(const b of r.nodes)b.size=Math.round(li+m*Math.pow((b.degree-d)/g,.5))}s=new TV,s.nodes=r.nodes,s.edges=r.edges,s.nodeIdMap=l,s.edgeIdMap=c,noe(s)||(s=null,console.warn("Invalid graph data")),console.log("Graph data loaded")}return s},aoe=e=>{if(!e||!e.nodes.length)return console.log("No graph data available, skipping sigma graph creation"),null;const t=new Cu;for(const n of(e==null?void 0:e.nodes)??[]){Nf(n.id+Date.now().toString(),{global:!0});const r=Math.random(),a=Math.random();t.addNode(n.id,{label:n.labels.join(", "),color:n.color,x:r,y:a,size:n.size,borderColor:hk,borderSize:.2})}for(const n of(e==null?void 0:e.edges)??[])n.dynamicId=t.addDirectedEdge(n.source,n.target,{label:n.type||void 0});return t},ooe=()=>{const{t:e}=Ft(),t=Le.use.queryLabel(),n=$e.use.rawGraph(),r=$e.use.sigmaGraph(),a=Le.use.graphQueryMaxDepth(),o=Le.use.graphMinDegree(),s=$e.use.isFetching(),l=$e.use.nodeToExpand(),c=$e.use.nodeToPrune(),d=E.useRef(!1),p=E.useRef(!1),g=E.useRef(!1),m=E.useCallback(R=>(n==null?void 0:n.getNode(R))||null,[n]),b=E.useCallback((R,x=!0)=>(n==null?void 0:n.getEdge(R,x))||null,[n]),y=E.useRef(!1);E.useEffect(()=>{if(!t&&(n!==null||r!==null)){const R=$e.getState();R.reset(),R.setGraphDataFetchAttempted(!1),R.setLabelsFetchAttempted(!1),d.current=!1,p.current=!1}},[t,n,r]),E.useEffect(()=>{if(!y.current&&!(!t&&g.current)&&!s&&!$e.getState().graphDataFetchAttempted){y.current=!0,$e.getState().setGraphDataFetchAttempted(!0);const R=$e.getState();R.setIsFetching(!0),R.clearSelection(),R.sigmaGraph&&R.sigmaGraph.forEachNode(C=>{var _;(_=R.sigmaGraph)==null||_.setNodeAttribute(C,"highlighted",!1)}),console.log("Preparing graph data...");const x=t,A=a,N=o;let O;x?O=roe(x,A,N):(console.log("Query label is empty, show empty graph"),O=Promise.resolve(null)),O.then(C=>{const _=$e.getState();if(_.reset(),!C||!C.nodes||C.nodes.length===0){const P=new Cu;P.addNode("empty-graph-node",{label:e("graphPanel.emptyGraph"),color:"#cccccc",x:.5,y:.5,size:15,borderColor:hk,borderSize:.2}),_.setSigmaGraph(P),_.setRawGraph(null),_.setGraphIsEmpty(!0),x&&Le.getState().setQueryLabel(""),_.setLastSuccessfulQueryLabel(""),console.log("Graph data is empty, created graph with empty graph node")}else{const P=aoe(C);C.buildDynamicMap(),_.setSigmaGraph(P),_.setRawGraph(C),_.setGraphIsEmpty(!1),_.setLastSuccessfulQueryLabel(x),_.setMoveToSelectedNode(!0)}d.current=!0,p.current=!0,y.current=!1,_.setIsFetching(!1),(!C||!C.nodes||C.nodes.length===0)&&!x&&(g.current=!0)}).catch(C=>{console.error("Error fetching graph data:",C);const _=$e.getState();_.setIsFetching(!1),d.current=!1,y.current=!1,_.setGraphDataFetchAttempted(!1),_.setLastSuccessfulQueryLabel("")})}},[t,a,o,s,e]),E.useEffect(()=>{l&&((async x=>{var A,N,O;if(!(!x||!r||!n))try{const C=n.getNode(x);if(!C){console.error("Node not found:",x);return}const _=C.labels[0];if(!_){console.error("Node has no label:",x);return}const P=await $B(_,2,0);if(!P||!P.nodes||!P.edges){console.error("Failed to fetch extended graph");return}const I=[];for(const Q of P.nodes){Nf(Q.id,{global:!0});const J=gB();I.push({id:Q.id,labels:Q.labels,properties:Q.properties,size:10,x:Math.random(),y:Math.random(),color:J,degree:0})}const L=[];for(const Q of P.edges)L.push({id:Q.id,source:Q.source,target:Q.target,type:Q.type,properties:Q.properties,dynamicId:""});const H={};r.forEachNode(Q=>{H[Q]={x:r.getNodeAttribute(Q,"x"),y:r.getNodeAttribute(Q,"y")}});const $=new Set(r.nodes()),U=new Set,W=new Set,Z=1;let j=0;r.forEachNode(Q=>{const J=r.degree(Q);j=Math.max(j,J)});for(const Q of I){if($.has(Q.id))continue;L.some(ae=>ae.source===x&&ae.target===Q.id||ae.target===x&&ae.source===Q.id)&&U.add(Q.id)}const G=new Map,z=new Map,Y=new Set;for(const Q of L){const J=$.has(Q.source)||U.has(Q.source),ae=$.has(Q.target)||U.has(Q.target);J&&ae?(W.add(Q.id),U.has(Q.source)?G.set(Q.source,(G.get(Q.source)||0)+1):$.has(Q.source)&&z.set(Q.source,(z.get(Q.source)||0)+1),U.has(Q.target)?G.set(Q.target,(G.get(Q.target)||0)+1):$.has(Q.target)&&z.set(Q.target,(z.get(Q.target)||0)+1)):(r.hasNode(Q.source)?Y.add(Q.source):U.has(Q.source)&&(Y.add(Q.source),G.set(Q.source,(G.get(Q.source)||0)+1)),r.hasNode(Q.target)?Y.add(Q.target):U.has(Q.target)&&(Y.add(Q.target),G.set(Q.target,(G.get(Q.target)||0)+1)))}const D=(Q,J,ae,ke)=>{const ie=ke-ae||1,Se=mk-li;for(const ve of J)if(Q.hasNode(ve)){let Ie=Q.degree(ve);Ie+=1;const Ce=Math.min(Ie,ke+1),Ee=Math.round(li+Se*Math.pow((Ce-ae)/ie,.5)),te=Q.getNodeAttribute(ve,"size");Ee>te&&Q.setNodeAttribute(ve,"size",Ee)}};if(U.size===0){D(r,Y,Z,j),Pt.info(e("graphPanel.propertiesView.node.noNewNodes"));return}for(const[,Q]of G.entries())j=Math.max(j,Q);for(const[Q,J]of z.entries()){const ke=r.degree(Q)+J;j=Math.max(j,ke)}const V=j-Z||1,B=mk-li,M=((A=$e.getState().sigmaInstance)==null?void 0:A.getCamera().ratio)||1,K=Math.max(Math.sqrt(C.size)*4,Math.sqrt(U.size)*3)/M;Nf(Date.now().toString(),{global:!0});const ee=Math.random()*2*Math.PI;console.log("nodeSize:",C.size,"nodesToAdd:",U.size),console.log("cameraRatio:",Math.round(M*100)/100,"spreadFactor:",Math.round(K*100)/100);for(const Q of U){const J=I.find(Ce=>Ce.id===Q),ae=G.get(Q)||0,ke=Math.min(ae,j+1),ie=Math.round(li+B*Math.pow((ke-Z)/V,.5)),Se=2*Math.PI*(Array.from(U).indexOf(Q)/U.size),ve=((N=H[Q])==null?void 0:N.x)||H[C.id].x+Math.cos(ee+Se)*K,Ie=((O=H[Q])==null?void 0:O.y)||H[C.id].y+Math.sin(ee+Se)*K;r.addNode(Q,{label:J.labels.join(", "),color:J.color,x:ve,y:Ie,size:ie,borderColor:hk,borderSize:.2}),n.getNode(Q)||(J.size=ie,J.x=ve,J.y=Ie,J.degree=ae,n.nodes.push(J),n.nodeIdMap[Q]=n.nodes.length-1)}for(const Q of W){const J=L.find(ae=>ae.id===Q);r.hasEdge(J.source,J.target)||r.hasEdge(J.target,J.source)||(J.dynamicId=r.addDirectedEdge(J.source,J.target,{label:J.type||void 0}),n.getEdge(J.id,!1)?console.error("Edge already exists in rawGraph:",J.id):(n.edges.push(J),n.edgeIdMap[J.id]=n.edges.length-1,n.edgeDynamicIdMap[J.dynamicId]=n.edges.length-1))}if(n.buildDynamicMap(),$e.getState().resetSearchEngine(),D(r,Y,Z,j),r.hasNode(x)){const Q=r.degree(x),J=Math.min(Q,j+1),ae=Math.round(li+B*Math.pow((J-Z)/V,.5));r.setNodeAttribute(x,"size",ae),C.size=ae,C.degree=Q}}catch(C){console.error("Error expanding node:",C)}})(l),window.setTimeout(()=>{$e.getState().triggerNodeExpand(null)},0))},[l,r,n,e]);const S=E.useCallback((R,x)=>{const A=new Set([R]);return x.forEachNode(N=>{if(N===R)return;const O=x.neighbors(N);O.length===1&&O[0]===R&&A.add(N)}),A},[]);return E.useEffect(()=>{c&&((x=>{if(!(!x||!r||!n))try{const A=$e.getState();if(!r.hasNode(x)){console.error("Node not found:",x);return}const N=S(x,r);if(N.size===r.nodes().length){Pt.error(e("graphPanel.propertiesView.node.deleteAllNodesError"));return}A.clearSelection();for(const O of N){r.dropNode(O);const C=n.nodeIdMap[O];if(C!==void 0){const _=n.edges.filter(P=>P.source===O||P.target===O);for(const P of _){const I=n.edgeIdMap[P.id];if(I!==void 0){n.edges.splice(I,1);for(const[L,H]of Object.entries(n.edgeIdMap))H>I&&(n.edgeIdMap[L]=H-1);delete n.edgeIdMap[P.id],delete n.edgeDynamicIdMap[P.dynamicId]}}n.nodes.splice(C,1);for(const[P,I]of Object.entries(n.nodeIdMap))I>C&&(n.nodeIdMap[P]=I-1);delete n.nodeIdMap[O]}}n.buildDynamicMap(),$e.getState().resetSearchEngine(),N.size>1&&Pt.info(e("graphPanel.propertiesView.node.nodesRemoved",{count:N.size}))}catch(A){console.error("Error pruning node:",A)}})(c),window.setTimeout(()=>{$e.getState().triggerNodePrune(null)},0))},[c,r,n,S,e]),{lightrageGraph:E.useCallback(()=>{if(r)return r;console.log("Creating new Sigma graph instance");const R=new Cu;return $e.getState().setSigmaGraph(R),R},[r]),getNode:m,getEdge:b}},ioe=()=>{const{getNode:e,getEdge:t}=ooe(),n=$e.use.selectedNode(),r=$e.use.focusedNode(),a=$e.use.selectedEdge(),o=$e.use.focusedEdge(),[s,l]=E.useState(null),[c,d]=E.useState(null);return E.useEffect(()=>{let p=null,g=null;r?(p="node",g=e(r)):n?(p="node",g=e(n)):o?(p="edge",g=t(o,!0)):a&&(p="edge",g=t(a,!0)),g?(p=="node"?l(soe(g)):l(loe(g)),d(p)):(l(null),d(null))},[r,n,o,a,l,d,e,t]),s?w.jsx("div",{className:"bg-background/80 max-w-xs rounded-lg border-2 p-2 text-xs backdrop-blur-lg",children:c=="node"?w.jsx(uoe,{node:s}):w.jsx(coe,{edge:s})}):w.jsx(w.Fragment,{})},soe=e=>{const t=$e.getState(),n=[];if(t.sigmaGraph&&t.rawGraph)try{if(!t.sigmaGraph.hasNode(e.id))return{...e,relationships:[]};const r=t.sigmaGraph.edges(e.id);for(const a of r){if(!t.sigmaGraph.hasEdge(a))continue;const o=t.rawGraph.getEdge(a,!0);if(o){const l=e.id===o.source?o.target:o.source;if(!t.sigmaGraph.hasNode(l))continue;const c=t.rawGraph.getNode(l);c&&n.push({type:"Neighbour",id:l,label:c.properties.entity_id?c.properties.entity_id:c.labels.join(", ")})}}}catch(r){console.error("Error refining node properties:",r)}return{...e,relationships:n}},loe=e=>{const t=$e.getState();let n,r;if(t.sigmaGraph&&t.rawGraph)try{if(!t.sigmaGraph.hasEdge(e.id))return{...e,sourceNode:void 0,targetNode:void 0};t.sigmaGraph.hasNode(e.source)&&(n=t.rawGraph.getNode(e.source)),t.sigmaGraph.hasNode(e.target)&&(r=t.rawGraph.getNode(e.target))}catch(a){console.error("Error refining edge properties:",a)}return{...e,sourceNode:n,targetNode:r}},ta=({name:e,value:t,onClick:n,tooltip:r})=>{const{t:a}=Ft(),o=s=>{const l=`graphPanel.propertiesView.node.propertyNames.${s}`,c=a(l);return c===l?s:c};return w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx("label",{className:"text-primary/60 tracking-wide whitespace-nowrap",children:o(e)}),":",w.jsx(Un,{className:"hover:bg-primary/20 rounded p-1 overflow-hidden text-ellipsis",tooltipClassName:"max-w-80",text:t,tooltip:r||(typeof t=="string"?t:JSON.stringify(t,null,2)),side:"left",onClick:n})]})},uoe=({node:e})=>{const{t}=Ft(),n=()=>{$e.getState().triggerNodeExpand(e.id)},r=()=>{$e.getState().triggerNodePrune(e.id)};return w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsxs("div",{className:"flex justify-between items-center",children:[w.jsx("label",{className:"text-md pl-1 font-bold tracking-wide text-blue-700",children:t("graphPanel.propertiesView.node.title")}),w.jsxs("div",{className:"flex gap-3",children:[w.jsx(xt,{size:"icon",variant:"ghost",className:"h-7 w-7 border border-gray-400 hover:bg-gray-200 dark:border-gray-600 dark:hover:bg-gray-700",onClick:n,tooltip:t("graphPanel.propertiesView.node.expandNode"),children:w.jsx(FW,{className:"h-4 w-4 text-gray-700 dark:text-gray-300"})}),w.jsx(xt,{size:"icon",variant:"ghost",className:"h-7 w-7 border border-gray-400 hover:bg-gray-200 dark:border-gray-600 dark:hover:bg-gray-700",onClick:r,tooltip:t("graphPanel.propertiesView.node.pruneNode"),children:w.jsx(uY,{className:"h-4 w-4 text-gray-900 dark:text-gray-300"})})]})]}),w.jsxs("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:[w.jsx(ta,{name:t("graphPanel.propertiesView.node.id"),value:e.id}),w.jsx(ta,{name:t("graphPanel.propertiesView.node.labels"),value:e.labels.join(", "),onClick:()=>{$e.getState().setSelectedNode(e.id,!0)}}),w.jsx(ta,{name:t("graphPanel.propertiesView.node.degree"),value:e.degree})]}),w.jsx("label",{className:"text-md pl-1 font-bold tracking-wide text-amber-700",children:t("graphPanel.propertiesView.node.properties")}),w.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:Object.keys(e.properties).sort().map(a=>w.jsx(ta,{name:a,value:e.properties[a]},a))}),e.relationships.length>0&&w.jsxs(w.Fragment,{children:[w.jsx("label",{className:"text-md pl-1 font-bold tracking-wide text-emerald-700",children:t("graphPanel.propertiesView.node.relationships")}),w.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:e.relationships.map(({type:a,id:o,label:s})=>w.jsx(ta,{name:a,value:s,onClick:()=>{$e.getState().setSelectedNode(o,!0)}},o))})]})]})},coe=({edge:e})=>{const{t}=Ft();return w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx("label",{className:"text-md pl-1 font-bold tracking-wide text-violet-700",children:t("graphPanel.propertiesView.edge.title")}),w.jsxs("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:[w.jsx(ta,{name:t("graphPanel.propertiesView.edge.id"),value:e.id}),e.type&&w.jsx(ta,{name:t("graphPanel.propertiesView.edge.type"),value:e.type}),w.jsx(ta,{name:t("graphPanel.propertiesView.edge.source"),value:e.sourceNode?e.sourceNode.labels.join(", "):e.source,onClick:()=>{$e.getState().setSelectedNode(e.source,!0)}}),w.jsx(ta,{name:t("graphPanel.propertiesView.edge.target"),value:e.targetNode?e.targetNode.labels.join(", "):e.target,onClick:()=>{$e.getState().setSelectedNode(e.target,!0)}})]}),w.jsx("label",{className:"text-md pl-1 font-bold tracking-wide text-amber-700",children:t("graphPanel.propertiesView.edge.properties")}),w.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:Object.keys(e.properties).sort().map(n=>w.jsx(ta,{name:n,value:e.properties[n]},n))})]})},doe=()=>{const{t:e}=Ft(),t=Le.use.graphQueryMaxDepth(),n=Le.use.graphMinDegree();return w.jsxs("div",{className:"absolute bottom-4 left-[calc(1rem+2.5rem)] flex items-center gap-2 text-xs text-gray-400",children:[w.jsxs("div",{children:[e("graphPanel.sideBar.settings.depth"),": ",t]}),w.jsxs("div",{children:[e("graphPanel.sideBar.settings.degree"),": ",n]})]})},IO={allowInvalidContainer:!0,defaultNodeType:"default",defaultEdgeType:"curvedArrow",renderEdgeLabels:!1,edgeProgramClasses:{arrow:D4,curvedArrow:Rne,curvedNoArrow:Ane},nodeProgramClasses:{default:une,circel:Ju,point:Fte},labelGridCellSize:60,labelRenderedSizeThreshold:12,enableEdgeEvents:!0,labelColor:{color:"#000",attribute:"labelColor"},edgeLabelColor:{color:"#000",attribute:"labelColor"},edgeLabelSize:8,labelSize:12},foe=()=>{const e=j4(),t=kr(),[n,r]=E.useState(null);return E.useEffect(()=>{e({downNode:a=>{r(a.node),t.getGraph().setNodeAttribute(a.node,"highlighted",!0)},mousemovebody:a=>{if(!n)return;const o=t.viewportToGraph(a);t.getGraph().setNodeAttribute(n,"x",o.x),t.getGraph().setNodeAttribute(n,"y",o.y),a.preventSigmaDefault(),a.original.preventDefault(),a.original.stopPropagation()},mouseup:()=>{n&&(r(null),t.getGraph().removeNodeAttribute(n,"highlighted"))},mousedown:a=>{a.original.buttons!==0&&!t.getCustomBBox()&&t.setCustomBBox(t.getBBox())}})},[e,t,n]),null},poe=()=>{const[e,t]=E.useState(IO),n=E.useRef(null),r=$e.use.selectedNode(),a=$e.use.focusedNode(),o=$e.use.moveToSelectedNode(),s=$e.use.isFetching(),l=Le.use.showPropertyPanel(),c=Le.use.showNodeSearchBar(),d=Le.use.enableNodeDrag();E.useEffect(()=>{t(IO),console.log("Initialized sigma settings")},[]),E.useEffect(()=>()=>{const y=$e.getState().sigmaInstance;if(y)try{y.kill(),$e.getState().setSigmaInstance(null),console.log("Cleared sigma instance on Graphviewer unmount")}catch(S){console.error("Error cleaning up sigma instance:",S)}},[]);const p=E.useCallback(y=>{y===null?$e.getState().setFocusedNode(null):y.type==="nodes"&&$e.getState().setFocusedNode(y.id)},[]),g=E.useCallback(y=>{y===null?$e.getState().setSelectedNode(null):y.type==="nodes"&&$e.getState().setSelectedNode(y.id,!0)},[]),m=E.useMemo(()=>a??r,[a,r]),b=E.useMemo(()=>r?{type:"nodes",id:r}:null,[r]);return w.jsxs("div",{className:"relative h-full w-full overflow-hidden",children:[w.jsxs(Ote,{settings:e,className:"!bg-background !size-full overflow-hidden",ref:n,children:[w.jsx(Wre,{}),d&&w.jsx(foe,{}),w.jsx(Cne,{node:m,move:o}),w.jsxs("div",{className:"absolute top-2 left-2 flex items-start gap-2",children:[w.jsx(Pae,{}),c&&w.jsx(Iae,{value:b,onFocus:p,onChange:g})]}),w.jsxs("div",{className:"bg-background/60 absolute bottom-2 left-2 flex flex-col rounded-xl border-2 backdrop-blur-lg",children:[w.jsx(Vre,{}),w.jsx(Yre,{}),w.jsx(Kre,{}),w.jsx(aae,{})]}),l&&w.jsx("div",{className:"absolute top-2 right-2",children:w.jsx(ioe,{})}),w.jsx(doe,{})]}),s&&w.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-background/80 z-10",children:w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"}),w.jsx("p",{children:"Loading Graph Data..."})]})})]})},F5=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{className:"relative w-full overflow-auto",children:w.jsx("table",{ref:n,className:Pe("w-full caption-bottom text-sm",e),...t})}));F5.displayName="Table";const z5=E.forwardRef(({className:e,...t},n)=>w.jsx("thead",{ref:n,className:Pe("[&_tr]:border-b",e),...t}));z5.displayName="TableHeader";const B5=E.forwardRef(({className:e,...t},n)=>w.jsx("tbody",{ref:n,className:Pe("[&_tr:last-child]:border-0",e),...t}));B5.displayName="TableBody";const goe=E.forwardRef(({className:e,...t},n)=>w.jsx("tfoot",{ref:n,className:Pe("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t}));goe.displayName="TableFooter";const r0=E.forwardRef(({className:e,...t},n)=>w.jsx("tr",{ref:n,className:Pe("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t}));r0.displayName="TableRow";const Ma=E.forwardRef(({className:e,...t},n)=>w.jsx("th",{ref:n,className:Pe("text-muted-foreground h-10 px-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Ma.displayName="TableHead";const Pa=E.forwardRef(({className:e,...t},n)=>w.jsx("td",{ref:n,className:Pe("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Pa.displayName="TableCell";const hoe=E.forwardRef(({className:e,...t},n)=>w.jsx("caption",{ref:n,className:Pe("text-muted-foreground mt-4 text-sm",e),...t}));hoe.displayName="TableCaption";const Ps=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("bg-card text-card-foreground rounded-xl border shadow",e),...t}));Ps.displayName="Card";const Ou=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("flex flex-col space-y-1.5 p-6",e),...t}));Ou.displayName="CardHeader";const Du=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("leading-none font-semibold tracking-tight",e),...t}));Du.displayName="CardTitle";const Tp=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("text-muted-foreground text-sm",e),...t}));Tp.displayName="CardDescription";const Iu=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("p-6 pt-0",e),...t}));Iu.displayName="CardContent";const moe=E.forwardRef(({className:e,...t},n)=>w.jsx("div",{ref:n,className:Pe("flex items-center p-6 pt-0",e),...t}));moe.displayName="CardFooter";function boe({title:e,description:t,icon:n=IW,action:r,className:a,...o}){return w.jsxs(Ps,{className:Pe("flex w-full flex-col items-center justify-center space-y-6 bg-transparent p-16",a),...o,children:[w.jsx("div",{className:"mr-4 shrink-0 rounded-full border border-dashed p-4",children:w.jsx(n,{className:"text-muted-foreground size-8","aria-hidden":"true"})}),w.jsxs("div",{className:"flex flex-col items-center gap-1.5 text-center",children:[w.jsx(Du,{children:e}),t?w.jsx(Tp,{children:t}):null]}),r||null]})}var ab={exports:{}},ob,LO;function yoe(){if(LO)return ob;LO=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ob=e,ob}var ib,MO;function voe(){if(MO)return ib;MO=1;var e=yoe();function t(){}function n(){}return n.resetWarningCache=t,ib=function(){function r(s,l,c,d,p,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},ib}var PO;function Soe(){return PO||(PO=1,ab.exports=voe()()),ab.exports}var Eoe=Soe();const Ot=cn(Eoe),woe=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function Fs(e,t,n){const r=xoe(e),{webkitRelativePath:a}=e,o=typeof t=="string"?t:typeof a=="string"&&a.length>0?a:`./${e.name}`;return typeof r.path!="string"&&FO(r,"path",o),FO(r,"relativePath",o),r}function xoe(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),a=woe.get(r);a&&Object.defineProperty(e,"type",{value:a,writable:!1,configurable:!1,enumerable:!0})}return e}function FO(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const koe=[".DS_Store","Thumbs.db"];function Toe(e){return ki(this,void 0,void 0,function*(){return Of(e)&&Aoe(e.dataTransfer)?Noe(e.dataTransfer,e.type):Roe(e)?Coe(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?_oe(e):[]})}function Aoe(e){return Of(e)}function Roe(e){return Of(e)&&Of(e.target)}function Of(e){return typeof e=="object"&&e!==null}function Coe(e){return a0(e.target.files).map(t=>Fs(t))}function _oe(e){return ki(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>Fs(n))})}function Noe(e,t){return ki(this,void 0,void 0,function*(){if(e.items){const n=a0(e.items).filter(a=>a.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(Ooe));return zO(U5(r))}return zO(a0(e.files).map(n=>Fs(n)))})}function zO(e){return e.filter(t=>koe.indexOf(t.name)===-1)}function a0(e){if(e===null)return[];const t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(r)}return t}function Ooe(e){if(typeof e.webkitGetAsEntry!="function")return BO(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?j5(t):BO(e,t)}function U5(e){return e.reduce((t,n)=>[...t,...Array.isArray(n)?U5(n):[n]],[])}function BO(e,t){return ki(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const o=yield e.getAsFileSystemHandle();if(o===null)throw new Error(`${e} is not a File`);if(o!==void 0){const s=yield o.getFile();return s.handle=o,Fs(s)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return Fs(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function Doe(e){return ki(this,void 0,void 0,function*(){return e.isDirectory?j5(e):Ioe(e)})}function j5(e){const t=e.createReader();return new Promise((n,r)=>{const a=[];function o(){t.readEntries(s=>ki(this,void 0,void 0,function*(){if(s.length){const l=Promise.all(s.map(Doe));a.push(l),o()}else try{const l=yield Promise.all(a);n(l)}catch(l){r(l)}}),s=>{r(s)})}o()})}function Ioe(e){return ki(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const a=Fs(r,e.fullPath);t(a)},r=>{n(r)})})})}var Fd={},UO;function Loe(){return UO||(UO=1,Fd.__esModule=!0,Fd.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",a=(e.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return n.some(function(s){var l=s.trim().toLowerCase();return l.charAt(0)==="."?r.toLowerCase().endsWith(l):l.endsWith("/*")?o===l.replace(/\/.*$/,""):a===l})}return!0}),Fd}var Moe=Loe();const sb=cn(Moe);function jO(e){return zoe(e)||Foe(e)||H5(e)||Poe()}function Poe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Foe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zoe(e){if(Array.isArray(e))return o0(e)}function GO(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 HO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GO(Object(n),!0).forEach(function(r){G5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function G5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e,t){return joe(e)||Uoe(e,t)||H5(e,t)||Boe()}function Boe(){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 H5(e,t){if(e){if(typeof e=="string")return o0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o0(e,t)}}function o0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uoe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,s,l;try{for(n=n.call(e);!(a=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));a=!0);}catch(c){o=!0,l=c}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function joe(e){if(Array.isArray(e))return e}var Goe=typeof sb=="function"?sb:sb.default,Hoe="file-invalid-type",$oe="file-too-large",qoe="file-too-small",Voe="too-many-files",Woe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:Hoe,message:"File type must be ".concat(r)}},$O=function(t){return{code:$oe,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},qO=function(t){return{code:qoe,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},Yoe={code:Voe,message:"Too many files"};function $5(e,t){var n=e.type==="application/x-moz-file"||Goe(e,t);return[n,n?null:Woe(t)]}function q5(e,t,n){if(ci(e.size))if(ci(t)&&ci(n)){if(e.size>n)return[!1,$O(n)];if(e.size<t)return[!1,qO(t)]}else{if(ci(t)&&e.size<t)return[!1,qO(t)];if(ci(n)&&e.size>n)return[!1,$O(n)]}return[!0,null]}function ci(e){return e!=null}function Koe(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,o=e.multiple,s=e.maxFiles,l=e.validator;return!o&&t.length>1||o&&s>=1&&t.length>s?!1:t.every(function(c){var d=$5(c,n),p=Lu(d,1),g=p[0],m=q5(c,r,a),b=Lu(m,1),y=b[0],S=l?l(c):null;return g&&y&&!S})}function Df(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function zd(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function VO(e){e.preventDefault()}function Xoe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Zoe(e){return e.indexOf("Edge/")!==-1}function Qoe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Xoe(e)||Zoe(e)}function Qr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return t.some(function(l){return!Df(r)&&l&&l.apply(void 0,[r].concat(o)),Df(r)})}}function Joe(){return"showOpenFilePicker"in window}function eie(e){if(ci(e)){var t=Object.entries(e).filter(function(n){var r=Lu(n,2),a=r[0],o=r[1],s=!0;return V5(a)||(console.warn('Skipped "'.concat(a,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),s=!1),(!Array.isArray(o)||!o.every(W5))&&(console.warn('Skipped "'.concat(a,'" because an invalid file extension was provided.')),s=!1),s}).reduce(function(n,r){var a=Lu(r,2),o=a[0],s=a[1];return HO(HO({},n),{},G5({},o,s))},{});return[{description:"Files",accept:t}]}return e}function tie(e){if(ci(e))return Object.entries(e).reduce(function(t,n){var r=Lu(n,2),a=r[0],o=r[1];return[].concat(jO(t),[a],jO(o))},[]).filter(function(t){return V5(t)||W5(t)}).join(",")}function nie(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function rie(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function V5(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function W5(e){return/^.*\.[\w]+$/.test(e)}var aie=["children"],oie=["open"],iie=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],sie=["refKey","onChange","onClick"];function lie(e){return die(e)||cie(e)||Y5(e)||uie()}function uie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cie(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function die(e){if(Array.isArray(e))return i0(e)}function lb(e,t){return gie(e)||pie(e,t)||Y5(e,t)||fie()}function fie(){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 Y5(e,t){if(e){if(typeof e=="string")return i0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i0(e,t)}}function i0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,s,l;try{for(n=n.call(e);!(a=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));a=!0);}catch(c){o=!0,l=c}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function gie(e){if(Array.isArray(e))return e}function WO(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 jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?WO(Object(n),!0).forEach(function(r){s0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function s0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function If(e,t){if(e==null)return{};var n=hie(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hie(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}var Ap=E.forwardRef(function(e,t){var n=e.children,r=If(e,aie),a=mie(r),o=a.open,s=If(a,oie);return E.useImperativeHandle(t,function(){return{open:o}},[o]),ye.createElement(E.Fragment,null,n(jt(jt({},s),{},{open:o})))});Ap.displayName="Dropzone";var K5={disabled:!1,getFilesFromEvent:Toe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Ap.defaultProps=K5;Ap.propTypes={children:Ot.func,accept:Ot.objectOf(Ot.arrayOf(Ot.string)),multiple:Ot.bool,preventDropOnDocument:Ot.bool,noClick:Ot.bool,noKeyboard:Ot.bool,noDrag:Ot.bool,noDragEventsBubbling:Ot.bool,minSize:Ot.number,maxSize:Ot.number,maxFiles:Ot.number,disabled:Ot.bool,getFilesFromEvent:Ot.func,onFileDialogCancel:Ot.func,onFileDialogOpen:Ot.func,useFsAccessApi:Ot.bool,autoFocus:Ot.bool,onDragEnter:Ot.func,onDragLeave:Ot.func,onDragOver:Ot.func,onDrop:Ot.func,onDropAccepted:Ot.func,onDropRejected:Ot.func,onError:Ot.func,validator:Ot.func};var l0={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function mie(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=jt(jt({},K5),e),n=t.accept,r=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,d=t.onDragEnter,p=t.onDragLeave,g=t.onDragOver,m=t.onDrop,b=t.onDropAccepted,y=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,R=t.useFsAccessApi,x=t.autoFocus,A=t.preventDropOnDocument,N=t.noClick,O=t.noKeyboard,C=t.noDrag,_=t.noDragEventsBubbling,P=t.onError,I=t.validator,L=E.useMemo(function(){return tie(n)},[n]),H=E.useMemo(function(){return eie(n)},[n]),$=E.useMemo(function(){return typeof k=="function"?k:YO},[k]),U=E.useMemo(function(){return typeof S=="function"?S:YO},[S]),W=E.useRef(null),Z=E.useRef(null),j=E.useReducer(bie,l0),G=lb(j,2),z=G[0],Y=G[1],D=z.isFocused,V=z.isFileDialogActive,B=E.useRef(typeof window<"u"&&window.isSecureContext&&R&&Joe()),M=function(){!B.current&&V&&setTimeout(function(){if(Z.current){var Ne=Z.current.files;Ne.length||(Y({type:"closeDialog"}),U())}},300)};E.useEffect(function(){return window.addEventListener("focus",M,!1),function(){window.removeEventListener("focus",M,!1)}},[Z,V,U,B]);var K=E.useRef([]),ee=function(Ne){W.current&&W.current.contains(Ne.target)||(Ne.preventDefault(),K.current=[])};E.useEffect(function(){return A&&(document.addEventListener("dragover",VO,!1),document.addEventListener("drop",ee,!1)),function(){A&&(document.removeEventListener("dragover",VO),document.removeEventListener("drop",ee))}},[W,A]),E.useEffect(function(){return!r&&x&&W.current&&W.current.focus(),function(){}},[W,x,r]);var Q=E.useCallback(function(he){P?P(he):console.error(he)},[P]),J=E.useCallback(function(he){he.preventDefault(),he.persist(),we(he),K.current=[].concat(lie(K.current),[he.target]),zd(he)&&Promise.resolve(a(he)).then(function(Ne){if(!(Df(he)&&!_)){var ne=Ne.length,ce=ne>0&&Koe({files:Ne,accept:L,minSize:s,maxSize:o,multiple:l,maxFiles:c,validator:I}),_e=ne>0&&!ce;Y({isDragAccept:ce,isDragReject:_e,isDragActive:!0,type:"setDraggedFiles"}),d&&d(he)}}).catch(function(Ne){return Q(Ne)})},[a,d,Q,_,L,s,o,l,c,I]),ae=E.useCallback(function(he){he.preventDefault(),he.persist(),we(he);var Ne=zd(he);if(Ne&&he.dataTransfer)try{he.dataTransfer.dropEffect="copy"}catch{}return Ne&&g&&g(he),!1},[g,_]),ke=E.useCallback(function(he){he.preventDefault(),he.persist(),we(he);var Ne=K.current.filter(function(ce){return W.current&&W.current.contains(ce)}),ne=Ne.indexOf(he.target);ne!==-1&&Ne.splice(ne,1),K.current=Ne,!(Ne.length>0)&&(Y({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),zd(he)&&p&&p(he))},[W,p,_]),ie=E.useCallback(function(he,Ne){var ne=[],ce=[];he.forEach(function(_e){var Fe=$5(_e,L),We=lb(Fe,2),yt=We[0],kt=We[1],ht=q5(_e,s,o),et=lb(ht,2),Tt=et[0],ot=et[1],St=I?I(_e):null;if(yt&&Tt&&!St)ne.push(_e);else{var Ht=[kt,ot];St&&(Ht=Ht.concat(St)),ce.push({file:_e,errors:Ht.filter(function(pn){return pn})})}}),(!l&&ne.length>1||l&&c>=1&&ne.length>c)&&(ne.forEach(function(_e){ce.push({file:_e,errors:[Yoe]})}),ne.splice(0)),Y({acceptedFiles:ne,fileRejections:ce,isDragReject:ce.length>0,type:"setFiles"}),m&&m(ne,ce,Ne),ce.length>0&&y&&y(ce,Ne),ne.length>0&&b&&b(ne,Ne)},[Y,l,L,s,o,c,m,b,y,I]),Se=E.useCallback(function(he){he.preventDefault(),he.persist(),we(he),K.current=[],zd(he)&&Promise.resolve(a(he)).then(function(Ne){Df(he)&&!_||ie(Ne,he)}).catch(function(Ne){return Q(Ne)}),Y({type:"reset"})},[a,ie,Q,_]),ve=E.useCallback(function(){if(B.current){Y({type:"openDialog"}),$();var he={multiple:l,types:H};window.showOpenFilePicker(he).then(function(Ne){return a(Ne)}).then(function(Ne){ie(Ne,null),Y({type:"closeDialog"})}).catch(function(Ne){nie(Ne)?(U(Ne),Y({type:"closeDialog"})):rie(Ne)?(B.current=!1,Z.current?(Z.current.value=null,Z.current.click()):Q(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Q(Ne)});return}Z.current&&(Y({type:"openDialog"}),$(),Z.current.value=null,Z.current.click())},[Y,$,U,R,ie,Q,H,l]),Ie=E.useCallback(function(he){!W.current||!W.current.isEqualNode(he.target)||(he.key===" "||he.key==="Enter"||he.keyCode===32||he.keyCode===13)&&(he.preventDefault(),ve())},[W,ve]),Ce=E.useCallback(function(){Y({type:"focus"})},[]),Ee=E.useCallback(function(){Y({type:"blur"})},[]),te=E.useCallback(function(){N||(Qoe()?setTimeout(ve,0):ve())},[N,ve]),fe=function(Ne){return r?null:Ne},Te=function(Ne){return O?null:fe(Ne)},me=function(Ne){return C?null:fe(Ne)},we=function(Ne){_&&Ne.stopPropagation()},le=E.useMemo(function(){return function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=he.refKey,ne=Ne===void 0?"ref":Ne,ce=he.role,_e=he.onKeyDown,Fe=he.onFocus,We=he.onBlur,yt=he.onClick,kt=he.onDragEnter,ht=he.onDragOver,et=he.onDragLeave,Tt=he.onDrop,ot=If(he,iie);return jt(jt(s0({onKeyDown:Te(Qr(_e,Ie)),onFocus:Te(Qr(Fe,Ce)),onBlur:Te(Qr(We,Ee)),onClick:fe(Qr(yt,te)),onDragEnter:me(Qr(kt,J)),onDragOver:me(Qr(ht,ae)),onDragLeave:me(Qr(et,ke)),onDrop:me(Qr(Tt,Se)),role:typeof ce=="string"&&ce!==""?ce:"presentation"},ne,W),!r&&!O?{tabIndex:0}:{}),ot)}},[W,Ie,Ce,Ee,te,J,ae,ke,Se,O,C,r]),ze=E.useCallback(function(he){he.stopPropagation()},[]),Be=E.useMemo(function(){return function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=he.refKey,ne=Ne===void 0?"ref":Ne,ce=he.onChange,_e=he.onClick,Fe=If(he,sie),We=s0({accept:L,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:fe(Qr(ce,Se)),onClick:fe(Qr(_e,ze)),tabIndex:-1},ne,Z);return jt(jt({},We),Fe)}},[Z,n,l,Se,r]);return jt(jt({},z),{},{isFocused:D&&!r,getRootProps:le,getInputProps:Be,rootRef:W,inputRef:Z,open:fe(ve)})}function bie(e,t){switch(t.type){case"focus":return jt(jt({},e),{},{isFocused:!0});case"blur":return jt(jt({},e),{},{isFocused:!1});case"openDialog":return jt(jt({},l0),{},{isFileDialogActive:!0});case"closeDialog":return jt(jt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return jt(jt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return jt(jt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return jt({},l0);default:return e}}function YO(){}var FT="Progress",zT=100,[yie,Jxe]=wr(FT),[vie,Sie]=yie(FT),X5=E.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:a,getValueLabel:o=Eie,...s}=e;(a||a===0)&&!KO(a)&&console.error(wie(`${a}`,"Progress"));const l=KO(a)?a:zT;r!==null&&!XO(r,l)&&console.error(xie(`${r}`,"Progress"));const c=XO(r,l)?r:null,d=Lf(c)?o(c,l):void 0;return w.jsx(vie,{scope:n,value:c,max:l,children:w.jsx(Ze.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":Lf(c)?c:void 0,"aria-valuetext":d,role:"progressbar","data-state":J5(c,l),"data-value":c??void 0,"data-max":l,...s,ref:t})})});X5.displayName=FT;var Z5="ProgressIndicator",Q5=E.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,a=Sie(Z5,n);return w.jsx(Ze.div,{"data-state":J5(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...r,ref:t})});Q5.displayName=Z5;function Eie(e,t){return`${Math.round(e/t*100)}%`}function J5(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function Lf(e){return typeof e=="number"}function KO(e){return Lf(e)&&!isNaN(e)&&e>0}function XO(e,t){return Lf(e)&&!isNaN(e)&&e<=t&&e>=0}function wie(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${zT}\`.`}function xie(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
||
- a positive number
|
||
- less than the value passed to \`max\` (or ${zT} if no \`max\` prop is set)
|
||
- \`null\` or \`undefined\` if the progress is indeterminate.
|
||
|
||
Defaulting to \`null\`.`}var eG=X5,kie=Q5;const tG=E.forwardRef(({className:e,value:t,...n},r)=>w.jsx(eG,{ref:r,className:Pe("bg-secondary relative h-4 w-full overflow-hidden rounded-full",e),...n,children:w.jsx(kie,{className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));tG.displayName=eG.displayName;function Tie(e,t){return E.useReducer((n,r)=>t[n][r]??n,e)}var BT="ScrollArea",[nG,eke]=wr(BT),[Aie,Tr]=nG(BT),rG=E.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:a,scrollHideDelay:o=600,...s}=e,[l,c]=E.useState(null),[d,p]=E.useState(null),[g,m]=E.useState(null),[b,y]=E.useState(null),[S,k]=E.useState(null),[R,x]=E.useState(0),[A,N]=E.useState(0),[O,C]=E.useState(!1),[_,P]=E.useState(!1),I=gt(t,H=>c(H)),L=hp(a);return w.jsx(Aie,{scope:n,type:r,dir:L,scrollHideDelay:o,scrollArea:l,viewport:d,onViewportChange:p,content:g,onContentChange:m,scrollbarX:b,onScrollbarXChange:y,scrollbarXEnabled:O,onScrollbarXEnabledChange:C,scrollbarY:S,onScrollbarYChange:k,scrollbarYEnabled:_,onScrollbarYEnabledChange:P,onCornerWidthChange:x,onCornerHeightChange:N,children:w.jsx(Ze.div,{dir:L,...s,ref:I,style:{position:"relative","--radix-scroll-area-corner-width":R+"px","--radix-scroll-area-corner-height":A+"px",...e.style}})})});rG.displayName=BT;var aG="ScrollAreaViewport",oG=E.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:a,...o}=e,s=Tr(aG,n),l=E.useRef(null),c=gt(t,l,s.onViewportChange);return w.jsxs(w.Fragment,{children:[w.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),w.jsx(Ze.div,{"data-radix-scroll-area-viewport":"",...o,ref:c,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:w.jsx("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});oG.displayName=aG;var ca="ScrollAreaScrollbar",UT=E.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Tr(ca,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:s}=a,l=e.orientation==="horizontal";return E.useEffect(()=>(l?o(!0):s(!0),()=>{l?o(!1):s(!1)}),[l,o,s]),a.type==="hover"?w.jsx(Rie,{...r,ref:t,forceMount:n}):a.type==="scroll"?w.jsx(Cie,{...r,ref:t,forceMount:n}):a.type==="auto"?w.jsx(iG,{...r,ref:t,forceMount:n}):a.type==="always"?w.jsx(jT,{...r,ref:t}):null});UT.displayName=ca;var Rie=E.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Tr(ca,e.__scopeScrollArea),[o,s]=E.useState(!1);return E.useEffect(()=>{const l=a.scrollArea;let c=0;if(l){const d=()=>{window.clearTimeout(c),s(!0)},p=()=>{c=window.setTimeout(()=>s(!1),a.scrollHideDelay)};return l.addEventListener("pointerenter",d),l.addEventListener("pointerleave",p),()=>{window.clearTimeout(c),l.removeEventListener("pointerenter",d),l.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),w.jsx(xr,{present:n||o,children:w.jsx(iG,{"data-state":o?"visible":"hidden",...r,ref:t})})}),Cie=E.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Tr(ca,e.__scopeScrollArea),o=e.orientation==="horizontal",s=Cp(()=>c("SCROLL_END"),100),[l,c]=Tie("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return E.useEffect(()=>{if(l==="idle"){const d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[l,a.scrollHideDelay,c]),E.useEffect(()=>{const d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let g=d[p];const m=()=>{const b=d[p];g!==b&&(c("SCROLL"),s()),g=b};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,o,c,s]),w.jsx(xr,{present:n||l!=="hidden",children:w.jsx(jT,{"data-state":l==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:Ke(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Ke(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),iG=E.forwardRef((e,t)=>{const n=Tr(ca,e.__scopeScrollArea),{forceMount:r,...a}=e,[o,s]=E.useState(!1),l=e.orientation==="horizontal",c=Cp(()=>{if(n.viewport){const d=n.viewport.offsetWidth<n.viewport.scrollWidth,p=n.viewport.offsetHeight<n.viewport.scrollHeight;s(l?d:p)}},10);return zs(n.viewport,c),zs(n.content,c),w.jsx(xr,{present:r||o,children:w.jsx(jT,{"data-state":o?"visible":"hidden",...a,ref:t})})}),jT=E.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,a=Tr(ca,e.__scopeScrollArea),o=E.useRef(null),s=E.useRef(0),[l,c]=E.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=dG(l.viewport,l.content),p={...r,sizes:l,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:m=>o.current=m,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:m=>s.current=m};function g(m,b){return Lie(m,s.current,l,b)}return n==="horizontal"?w.jsx(_ie,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const m=a.viewport.scrollLeft,b=ZO(m,l,a.dir);o.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollLeft=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollLeft=g(m,a.dir))}}):n==="vertical"?w.jsx(Nie,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const m=a.viewport.scrollTop,b=ZO(m,l);o.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollTop=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollTop=g(m))}}):null}),_ie=E.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...a}=e,o=Tr(ca,e.__scopeScrollArea),[s,l]=E.useState(),c=E.useRef(null),d=gt(t,c,o.onScrollbarXChange);return E.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),w.jsx(lG,{"data-orientation":"horizontal",...a,ref:d,sizes:n,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Rp(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,g)=>{if(o.viewport){const m=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),pG(m,g)&&p.preventDefault()}},onResize:()=>{c.current&&o.viewport&&s&&r({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Pf(s.paddingLeft),paddingEnd:Pf(s.paddingRight)}})}})}),Nie=E.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...a}=e,o=Tr(ca,e.__scopeScrollArea),[s,l]=E.useState(),c=E.useRef(null),d=gt(t,c,o.onScrollbarYChange);return E.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),w.jsx(lG,{"data-orientation":"vertical",...a,ref:d,sizes:n,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Rp(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,g)=>{if(o.viewport){const m=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),pG(m,g)&&p.preventDefault()}},onResize:()=>{c.current&&o.viewport&&s&&r({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Pf(s.paddingTop),paddingEnd:Pf(s.paddingBottom)}})}})}),[Oie,sG]=nG(ca),lG=E.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:a,onThumbChange:o,onThumbPointerUp:s,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:p,onResize:g,...m}=e,b=Tr(ca,n),[y,S]=E.useState(null),k=gt(t,I=>S(I)),R=E.useRef(null),x=E.useRef(""),A=b.viewport,N=r.content-r.viewport,O=yn(p),C=yn(c),_=Cp(g,10);function P(I){if(R.current){const L=I.clientX-R.current.left,H=I.clientY-R.current.top;d({x:L,y:H})}}return E.useEffect(()=>{const I=L=>{const H=L.target;(y==null?void 0:y.contains(H))&&O(L,N)};return document.addEventListener("wheel",I,{passive:!1}),()=>document.removeEventListener("wheel",I,{passive:!1})},[A,y,N,O]),E.useEffect(C,[r,C]),zs(y,_),zs(b.content,_),w.jsx(Oie,{scope:n,scrollbar:y,hasThumb:a,onThumbChange:yn(o),onThumbPointerUp:yn(s),onThumbPositionChange:C,onThumbPointerDown:yn(l),children:w.jsx(Ze.div,{...m,ref:k,style:{position:"absolute",...m.style},onPointerDown:Ke(e.onPointerDown,I=>{I.button===0&&(I.target.setPointerCapture(I.pointerId),R.current=y.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),P(I))}),onPointerMove:Ke(e.onPointerMove,P),onPointerUp:Ke(e.onPointerUp,I=>{const L=I.target;L.hasPointerCapture(I.pointerId)&&L.releasePointerCapture(I.pointerId),document.body.style.webkitUserSelect=x.current,b.viewport&&(b.viewport.style.scrollBehavior=""),R.current=null})})})}),Mf="ScrollAreaThumb",uG=E.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=sG(Mf,e.__scopeScrollArea);return w.jsx(xr,{present:n||a.hasThumb,children:w.jsx(Die,{ref:t,...r})})}),Die=E.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...a}=e,o=Tr(Mf,n),s=sG(Mf,n),{onThumbPositionChange:l}=s,c=gt(t,g=>s.onThumbChange(g)),d=E.useRef(void 0),p=Cp(()=>{d.current&&(d.current(),d.current=void 0)},100);return E.useEffect(()=>{const g=o.viewport;if(g){const m=()=>{if(p(),!d.current){const b=Mie(g,l);d.current=b,l()}};return l(),g.addEventListener("scroll",m),()=>g.removeEventListener("scroll",m)}},[o.viewport,p,l]),w.jsx(Ze.div,{"data-state":s.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Ke(e.onPointerDownCapture,g=>{const b=g.target.getBoundingClientRect(),y=g.clientX-b.left,S=g.clientY-b.top;s.onThumbPointerDown({x:y,y:S})}),onPointerUp:Ke(e.onPointerUp,s.onThumbPointerUp)})});uG.displayName=Mf;var GT="ScrollAreaCorner",cG=E.forwardRef((e,t)=>{const n=Tr(GT,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?w.jsx(Iie,{...e,ref:t}):null});cG.displayName=GT;var Iie=E.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,a=Tr(GT,n),[o,s]=E.useState(0),[l,c]=E.useState(0),d=!!(o&&l);return zs(a.scrollbarX,()=>{var g;const p=((g=a.scrollbarX)==null?void 0:g.offsetHeight)||0;a.onCornerHeightChange(p),c(p)}),zs(a.scrollbarY,()=>{var g;const p=((g=a.scrollbarY)==null?void 0:g.offsetWidth)||0;a.onCornerWidthChange(p),s(p)}),d?w.jsx(Ze.div,{...r,ref:t,style:{width:o,height:l,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Pf(e){return e?parseInt(e,10):0}function dG(e,t){const n=e/t;return isNaN(n)?0:n}function Rp(e){const t=dG(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Lie(e,t,n,r="ltr"){const a=Rp(n),o=a/2,s=t||o,l=a-s,c=n.scrollbar.paddingStart+s,d=n.scrollbar.size-n.scrollbar.paddingEnd-l,p=n.content-n.viewport,g=r==="ltr"?[0,p]:[p*-1,0];return fG([c,d],g)(e)}function ZO(e,t,n="ltr"){const r=Rp(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,s=t.content-t.viewport,l=o-r,c=n==="ltr"?[0,s]:[s*-1,0],d=Ok(e,c);return fG([0,s],[0,l])(d)}function fG(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function pG(e,t){return e>0&&e<t}var Mie=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},s=n.left!==o.left,l=n.top!==o.top;(s||l)&&t(),n=o,r=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(r)};function Cp(e,t){const n=yn(e),r=E.useRef(0);return E.useEffect(()=>()=>window.clearTimeout(r.current),[]),E.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function zs(e,t){const n=yn(t);Rn(()=>{let r=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return a.observe(e),()=>{window.cancelAnimationFrame(r),a.unobserve(e)}}},[e,n])}var gG=rG,Pie=oG,Fie=cG;const hG=E.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(gG,{ref:r,className:Pe("relative overflow-hidden",e),...n,children:[w.jsx(Pie,{className:"h-full w-full rounded-[inherit]",children:t}),w.jsx(mG,{}),w.jsx(Fie,{})]}));hG.displayName=gG.displayName;const mG=E.forwardRef(({className:e,orientation:t="vertical",...n},r)=>w.jsx(UT,{ref:r,orientation:t,className:Pe("flex touch-none transition-colors select-none",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:w.jsx(uG,{className:"bg-border relative flex-1 rounded-full"})}));mG.displayName=UT.displayName;function u0(e,t={}){const{decimals:n=0,sizeType:r="normal"}=t,a=["Bytes","KB","MB","GB","TB"],o=["Bytes","KiB","MiB","GiB","TiB"];if(e===0)return"0 Byte";const s=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,s)).toFixed(n)} ${r==="accurate"?o[s]??"Bytes":a[s]??"Bytes"}`}function zie(e){const{value:t,onValueChange:n,onUpload:r,progresses:a,accept:o=yV,maxSize:s=1024*1024*200,maxFileCount:l=1,multiple:c=!1,disabled:d=!1,description:p,className:g,...m}=e,[b,y]=ja({prop:t,onChange:n}),S=E.useCallback((x,A)=>{if(!c&&l===1&&x.length>1){Pt.error("Cannot upload more than 1 file at a time");return}if(((b==null?void 0:b.length)??0)+x.length>l){Pt.error(`Cannot upload more than ${l} files`);return}const N=x.map(C=>Object.assign(C,{preview:URL.createObjectURL(C)})),O=b?[...b,...N]:N;if(y(O),A.length>0&&A.forEach(({file:C})=>{Pt.error(`File ${C.name} was rejected`)}),r&&O.length>0&&O.length<=l){const C=O.length>0?`${O.length} files`:"file";Pt.promise(r(O),{loading:`Uploading ${C}...`,success:()=>(y([]),`${C} uploaded`),error:`Failed to upload ${C}`})}},[b,l,c,r,y]);function k(x){if(!b)return;const A=b.filter((N,O)=>O!==x);y(A),n==null||n(A)}E.useEffect(()=>()=>{b&&b.forEach(x=>{bG(x)&&URL.revokeObjectURL(x.preview)})},[]);const R=d||((b==null?void 0:b.length)??0)>=l;return w.jsxs("div",{className:"relative flex flex-col gap-6 overflow-hidden",children:[w.jsx(Ap,{onDrop:S,accept:o,maxSize:s,maxFiles:l,multiple:l>1||c,disabled:R,children:({getRootProps:x,getInputProps:A,isDragActive:N})=>w.jsxs("div",{...x(),className:Pe("group border-muted-foreground/25 hover:bg-muted/25 relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition","ring-offset-background focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",N&&"border-muted-foreground/50",R&&"pointer-events-none opacity-60",g),...m,children:[w.jsx("input",{...A()}),N?w.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:px-5",children:[w.jsx("div",{className:"rounded-full border border-dashed p-3",children:w.jsx(vk,{className:"text-muted-foreground size-7","aria-hidden":"true"})}),w.jsx("p",{className:"text-muted-foreground font-medium",children:"Drop the files here"})]}):w.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:px-5",children:[w.jsx("div",{className:"rounded-full border border-dashed p-3",children:w.jsx(vk,{className:"text-muted-foreground size-7","aria-hidden":"true"})}),w.jsxs("div",{className:"flex flex-col gap-px",children:[w.jsx("p",{className:"text-muted-foreground font-medium",children:"Drag and drop files here, or click to select files"}),p?w.jsx("p",{className:"text-muted-foreground/70 text-sm",children:p}):w.jsxs("p",{className:"text-muted-foreground/70 text-sm",children:["You can upload",l>1?` ${l===1/0?"multiple":l}
|
||
files (up to ${u0(s)} each)`:` a file with ${u0(s)}`,"Supported formats: TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"]})]})]})]})}),b!=null&&b.length?w.jsx(hG,{className:"h-fit w-full px-3",children:w.jsx("div",{className:"flex max-h-48 flex-col gap-4",children:b==null?void 0:b.map((x,A)=>w.jsx(Bie,{file:x,onRemove:()=>k(A),progress:a==null?void 0:a[x.name]},A))})}):null]})}function Bie({file:e,progress:t,onRemove:n}){return w.jsxs("div",{className:"relative flex items-center gap-2.5",children:[w.jsxs("div",{className:"flex flex-1 gap-2.5",children:[bG(e)?w.jsx(Uie,{file:e}):null,w.jsxs("div",{className:"flex w-full flex-col gap-2",children:[w.jsxs("div",{className:"flex flex-col gap-px",children:[w.jsx("p",{className:"text-foreground/80 line-clamp-1 text-sm font-medium",children:e.name}),w.jsx("p",{className:"text-muted-foreground text-xs",children:u0(e.size)})]}),t?w.jsx(tG,{value:t}):null]})]}),w.jsx("div",{className:"flex items-center gap-2",children:w.jsxs(xt,{type:"button",variant:"outline",size:"icon",className:"size-7",onClick:n,children:[w.jsx(rU,{className:"size-4","aria-hidden":"true"}),w.jsx("span",{className:"sr-only",children:"Remove file"})]})})]})}function bG(e){return"preview"in e&&typeof e.preview=="string"}function Uie({file:e}){return e.type.startsWith("image/")?w.jsx("div",{className:"aspect-square shrink-0 rounded-md object-cover"}):w.jsx(OW,{className:"text-muted-foreground size-10","aria-hidden":"true"})}function jie(){const{t:e}=Ft(),[t,n]=E.useState(!1),[r,a]=E.useState(!1),[o,s]=E.useState({}),l=E.useCallback(async c=>{a(!0);try{await Promise.all(c.map(async d=>{try{const p=await LV(d,g=>{console.debug(e("documentPanel.uploadDocuments.uploading",{name:d.name,percent:g})),s(m=>({...m,[d.name]:g}))});p.status==="success"?Pt.success(e("documentPanel.uploadDocuments.success",{name:d.name})):Pt.error(e("documentPanel.uploadDocuments.failed",{name:d.name,message:p.message}))}catch(p){Pt.error(e("documentPanel.uploadDocuments.error",{name:d.name,error:Sr(p)}))}}))}catch(d){Pt.error(e("documentPanel.uploadDocuments.generalError",{error:Sr(d)}))}finally{a(!1)}},[a,s]);return w.jsxs(y5,{open:t,onOpenChange:c=>{r&&!c||n(c)},children:[w.jsx(v5,{asChild:!0,children:w.jsxs(xt,{variant:"default",side:"bottom",tooltip:e("documentPanel.uploadDocuments.tooltip"),size:"sm",children:[w.jsx(vk,{})," ",e("documentPanel.uploadDocuments.button")]})}),w.jsxs(RT,{className:"sm:max-w-xl",onCloseAutoFocus:c=>c.preventDefault(),children:[w.jsxs(CT,{children:[w.jsx(_T,{children:e("documentPanel.uploadDocuments.title")}),w.jsx(NT,{children:e("documentPanel.uploadDocuments.description")})]}),w.jsx(zie,{maxFileCount:1/0,maxSize:200*1024*1024,description:e("documentPanel.uploadDocuments.fileTypes"),onUpload:l,progresses:o,disabled:r})]})]})}function Gie(){const{t:e}=Ft(),[t,n]=E.useState(!1),r=E.useCallback(async()=>{try{const a=await MV();a.status==="success"?(Pt.success(e("documentPanel.clearDocuments.success")),n(!1)):Pt.error(e("documentPanel.clearDocuments.failed",{message:a.message}))}catch(a){Pt.error(e("documentPanel.clearDocuments.error",{error:Sr(a)}))}},[n]);return w.jsxs(y5,{open:t,onOpenChange:n,children:[w.jsx(v5,{asChild:!0,children:w.jsxs(xt,{variant:"outline",side:"bottom",tooltip:e("documentPanel.clearDocuments.tooltip"),size:"sm",children:[w.jsx(eU,{})," ",e("documentPanel.clearDocuments.button")]})}),w.jsxs(RT,{className:"sm:max-w-xl",onCloseAutoFocus:a=>a.preventDefault(),children:[w.jsxs(CT,{children:[w.jsx(_T,{children:e("documentPanel.clearDocuments.title")}),w.jsx(NT,{children:e("documentPanel.clearDocuments.confirm")})]}),w.jsx(xt,{variant:"destructive",onClick:r,children:e("documentPanel.clearDocuments.confirmButton")})]})]})}function Hie(){const{t:e}=Ft(),t=Hn.use.health(),[n,r]=E.useState(null),a=Le.use.currentTab(),o=E.useCallback(async()=>{try{const l=await NV();l&&l.statuses&&Object.values(l.statuses).reduce((d,p)=>d+p.length,0)>0?r(l):r(null)}catch(l){Pt.error(e("documentPanel.documentManager.errors.loadFailed",{error:Sr(l)}))}},[r,e]);E.useEffect(()=>{a==="documents"&&o()},[a,o]);const s=E.useCallback(async()=>{try{const{status:l}=await OV();Pt.message(l)}catch(l){Pt.error(e("documentPanel.documentManager.errors.scanFailed",{error:Sr(l)}))}},[e]);return E.useEffect(()=>{if(a!=="documents"||!t)return;const l=setInterval(async()=>{try{await o()}catch(c){Pt.error(e("documentPanel.documentManager.errors.scanProgressFailed",{error:Sr(c)}))}},5e3);return()=>clearInterval(l)},[t,o,e,a]),w.jsxs(Ps,{className:"!size-full !rounded-none !border-none",children:[w.jsx(Ou,{children:w.jsx(Du,{className:"text-lg",children:e("documentPanel.documentManager.title")})}),w.jsxs(Iu,{className:"space-y-4",children:[w.jsxs("div",{className:"flex gap-2",children:[w.jsxs(xt,{variant:"outline",onClick:s,side:"bottom",tooltip:e("documentPanel.documentManager.scanTooltip"),size:"sm",children:[w.jsx(nU,{})," ",e("documentPanel.documentManager.scanButton")]}),w.jsx("div",{className:"flex-1"}),w.jsx(Gie,{}),w.jsx(jie,{})]}),w.jsxs(Ps,{children:[w.jsxs(Ou,{children:[w.jsx(Du,{children:e("documentPanel.documentManager.uploadedTitle")}),w.jsx(Tp,{children:e("documentPanel.documentManager.uploadedDescription")})]}),w.jsxs(Iu,{children:[!n&&w.jsx(boe,{title:e("documentPanel.documentManager.emptyTitle"),description:e("documentPanel.documentManager.emptyDescription")}),n&&w.jsxs(F5,{children:[w.jsx(z5,{children:w.jsxs(r0,{children:[w.jsx(Ma,{children:e("documentPanel.documentManager.columns.id")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.summary")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.status")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.length")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.chunks")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.created")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.updated")}),w.jsx(Ma,{children:e("documentPanel.documentManager.columns.metadata")})]})}),w.jsx(B5,{className:"text-sm",children:Object.entries(n.statuses).map(([l,c])=>c.map(d=>w.jsxs(r0,{children:[w.jsx(Pa,{className:"truncate font-mono",children:d.id}),w.jsx(Pa,{className:"max-w-xs min-w-24 truncate",children:w.jsx(Un,{text:d.content_summary,tooltip:d.content_summary,tooltipClassName:"max-w-none overflow-visible block"})}),w.jsxs(Pa,{children:[l==="processed"&&w.jsx("span",{className:"text-green-600",children:e("documentPanel.documentManager.status.completed")}),l==="processing"&&w.jsx("span",{className:"text-blue-600",children:e("documentPanel.documentManager.status.processing")}),l==="pending"&&w.jsx("span",{className:"text-yellow-600",children:e("documentPanel.documentManager.status.pending")}),l==="failed"&&w.jsx("span",{className:"text-red-600",children:e("documentPanel.documentManager.status.failed")}),d.error&&w.jsx("span",{className:"ml-2 text-red-500",title:d.error,children:"⚠️"})]}),w.jsx(Pa,{children:d.content_length??"-"}),w.jsx(Pa,{children:d.chunks_count??"-"}),w.jsx(Pa,{className:"truncate",children:new Date(d.created_at).toLocaleString()}),w.jsx(Pa,{className:"truncate",children:new Date(d.updated_at).toLocaleString()}),w.jsx(Pa,{className:"max-w-xs truncate",children:d.metadata?JSON.stringify(d.metadata):"-"})]},d.id)))})]})]})]})]})]})}function yG(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}var Mu;(function(e){e.event="event",e.props="prop"})(Mu||(Mu={}));function ko(){}function $ie(e){var t,n=void 0;return function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return t&&r.length===t.length&&r.every(function(o,s){return o===t[s]})||(t=r,n=e.apply(void 0,r)),n}}function Pu(e){return!!(e||"").match(/\d/)}function _s(e){return e==null}function qie(e){return typeof e=="number"&&isNaN(e)}function vG(e){return _s(e)||qie(e)||typeof e=="number"&&!isFinite(e)}function SG(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function Vie(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function Wie(e,t,n){var r=Vie(n),a=e.search(/[1-9]/);return a=a===-1?e.length:a,e.substring(0,a)+e.substring(a,e.length).replace(r,"$1"+t)}function Yie(e){var t=E.useRef(e);t.current=e;var n=E.useRef(function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return t.current.apply(t,r)});return n.current}function HT(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var a=e.split("."),o=a[0],s=a[1]||"";return{beforeDecimal:o,afterDecimal:s,hasNegation:n,addNegation:r}}function Kie(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",a=n[1]||"";return(t?"-":"")+r+(a?"."+a:"")}function EG(e,t,n){for(var r="",a=n?"0":"",o=0;o<=t-1;o++)r+=e[o]||a;return r}function QO(e,t){return Array(t+1).join(e)}function wG(e){var t=e+"",n=t[0]==="-"?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),a=r[0],o=r[1];if(o=Number(o),!o)return n+a;a=a.replace(".","");var s=1+o,l=a.length;return s<0?a="0."+QO("0",Math.abs(s))+a:s>=l?a=a+QO("0",s-l):a=(a.substring(0,s)||"0")+"."+a.substring(s),n+a}function JO(e,t,n){if(["","-"].indexOf(e)!==-1)return e;var r=(e.indexOf(".")!==-1||n)&&t,a=HT(e),o=a.beforeDecimal,s=a.afterDecimal,l=a.hasNegation,c=parseFloat("0."+(s||"0")),d=s.length<=t?"0."+s:c.toFixed(t),p=d.split("."),g=o;o&&Number(p[0])&&(g=o.split("").reverse().reduce(function(S,k,R){return S.length>R?(Number(S[0])+Number(k)).toString()+S.substring(1,S.length):k+S},p[0]));var m=EG(p[1]||"",t,n),b=l?"-":"",y=r?".":"";return""+b+g+y+m}function di(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var xG=$ie(function(e,t){for(var n=0,r=0,a=e.length,o=t.length;e[n]===t[n]&&n<a;)n++;for(;e[a-1-r]===t[o-1-r]&&o-r>n&&a-r>n;)r++;return{from:{start:n,end:a-r},to:{start:n,end:o-r}}}),Xie=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function Zie(e,t,n){return Math.min(Math.max(e,t),n)}function ub(e){return Math.max(e.selectionStart,e.selectionEnd)}function Qie(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function Jie(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function ese(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,a=e.formattedValueIndex;return t[r]===n[a]}function tse(e,t,n,r,a,o,s){s===void 0&&(s=ese);var l=a.findIndex(function(N){return N}),c=e.slice(0,l);!t&&!n.startsWith(c)&&(t=c,n=c+n,r=r+c.length);for(var d=n.length,p=e.length,g={},m=new Array(d),b=0;b<d;b++){m[b]=-1;for(var y=0,S=p;y<S;y++){var k=s({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:b,formattedValueIndex:y});if(k&&g[y]!==!0){m[b]=y,g[y]=!0;break}}}for(var R=r;R<d&&(m[R]===-1||!o(n[R]));)R++;var x=R===d||m[R]===-1?p:m[R];for(R=r-1;R>0&&m[R]===-1;)R--;var A=R===-1||m[R]===-1?0:m[R]+1;return A>x?x:r-A<x-r?A:x}function eD(e,t,n,r){var a=e.length;if(t=Zie(t,0,a),r==="left"){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=a&&!n[t];)t++;t>a&&(t=n.lastIndexOf(!0))}return t===-1&&(t=a),t}function nse(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(Pu(e[n])||Pu(e[n-1]));return t}function kG(e,t,n,r,a,o){o===void 0&&(o=ko);var s=Yie(function(y,S){var k,R;return vG(y)?(R="",k=""):typeof y=="number"||S?(R=typeof y=="number"?wG(y):y,k=r(R)):(R=a(y,void 0),k=r(R)),{formattedValue:k,numAsString:R}}),l=E.useState(function(){return s(_s(e)?t:e,n)}),c=l[0],d=l[1],p=function(y,S){y.formattedValue!==c.formattedValue&&d({formattedValue:y.formattedValue,numAsString:y.value}),o(y,S)},g=e,m=n;_s(e)&&(g=c.numAsString,m=!0);var b=s(g,m);return E.useMemo(function(){d(b)},[b.formattedValue]),[c,p]}function rse(e){return e.replace(/[^0-9]/g,"")}function ase(e){return e}function ose(e){var t=e.type;t===void 0&&(t="text");var n=e.displayType;n===void 0&&(n="input");var r=e.customInput,a=e.renderText,o=e.getInputRef,s=e.format;s===void 0&&(s=ase);var l=e.removeFormatting;l===void 0&&(l=rse);var c=e.defaultValue,d=e.valueIsNumericString,p=e.onValueChange,g=e.isAllowed,m=e.onChange;m===void 0&&(m=ko);var b=e.onKeyDown;b===void 0&&(b=ko);var y=e.onMouseUp;y===void 0&&(y=ko);var S=e.onFocus;S===void 0&&(S=ko);var k=e.onBlur;k===void 0&&(k=ko);var R=e.value,x=e.getCaretBoundary;x===void 0&&(x=nse);var A=e.isValidInputCharacter;A===void 0&&(A=Pu);var N=e.isCharacterSame,O=yG(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),C=kG(R,c,!!d,s,l,p),_=C[0],P=_.formattedValue,I=_.numAsString,L=C[1],H=E.useRef(),$=E.useRef({formattedValue:P,numAsString:I}),U=function(fe,Te){$.current={formattedValue:fe.formattedValue,numAsString:fe.value},L(fe,Te)},W=E.useState(!1),Z=W[0],j=W[1],G=E.useRef(null),z=E.useRef({setCaretTimeout:null,focusTimeout:null});E.useEffect(function(){return j(!0),function(){clearTimeout(z.current.setCaretTimeout),clearTimeout(z.current.focusTimeout)}},[]);var Y=s,D=function(fe,Te){var me=parseFloat(Te);return{formattedValue:fe,value:Te,floatValue:isNaN(me)?void 0:me}},V=function(fe,Te,me){fe.selectionStart===0&&fe.selectionEnd===fe.value.length||(di(fe,Te),z.current.setCaretTimeout=setTimeout(function(){fe.value===me&&fe.selectionStart!==Te&&di(fe,Te)},0))},B=function(fe,Te,me){return eD(fe,Te,x(fe),me)},M=function(fe,Te,me){var we=x(Te),le=tse(Te,P,fe,me,we,A,N);return le=eD(Te,le,we),le},K=function(fe){var Te=fe.formattedValue;Te===void 0&&(Te="");var me=fe.input,we=fe.source,le=fe.event,ze=fe.numAsString,Be;if(me){var he=fe.inputValue||me.value,Ne=ub(me);me.value=Te,Be=M(he,Te,Ne),Be!==void 0&&V(me,Be,Te)}Te!==P&&U(D(Te,ze),{event:le,source:we})};E.useEffect(function(){var fe=$.current,Te=fe.formattedValue,me=fe.numAsString;(P!==Te||I!==me)&&U(D(P,I),{event:void 0,source:Mu.props})},[P,I]);var ee=G.current?ub(G.current):void 0,Q=typeof window<"u"?E.useLayoutEffect:E.useEffect;Q(function(){var fe=G.current;if(P!==$.current.formattedValue&&fe){var Te=M($.current.formattedValue,P,ee);fe.value=P,V(fe,Te,P)}},[P]);var J=function(fe,Te,me){var we=Te.target,le=H.current?Xie(H.current,we.selectionEnd):xG(P,fe),ze=Object.assign(Object.assign({},le),{lastValue:P}),Be=l(fe,ze),he=Y(Be);if(Be=l(he,void 0),g&&!g(D(he,Be))){var Ne=Te.target,ne=ub(Ne),ce=M(fe,P,ne);return Ne.value=P,V(Ne,ce,P),!1}return K({formattedValue:he,numAsString:Be,inputValue:fe,event:Te,source:me,input:Te.target}),!0},ae=function(fe,Te){Te===void 0&&(Te=0);var me=fe.selectionStart,we=fe.selectionEnd;H.current={selectionStart:me,selectionEnd:we+Te}},ke=function(fe){var Te=fe.target,me=Te.value,we=J(me,fe,Mu.event);we&&m(fe),H.current=void 0},ie=function(fe){var Te=fe.target,me=fe.key,we=Te.selectionStart,le=Te.selectionEnd,ze=Te.value;ze===void 0&&(ze="");var Be;me==="ArrowLeft"||me==="Backspace"?Be=Math.max(we-1,0):me==="ArrowRight"?Be=Math.min(we+1,ze.length):me==="Delete"&&(Be=we);var he=0;me==="Delete"&&we===le&&(he=1);var Ne=me==="ArrowLeft"||me==="ArrowRight";if(Be===void 0||we!==le&&!Ne){b(fe),ae(Te,he);return}var ne=Be;if(Ne){var ce=me==="ArrowLeft"?"left":"right";ne=B(ze,Be,ce),ne!==Be&&fe.preventDefault()}else me==="Delete"&&!A(ze[Be])?ne=B(ze,Be,"right"):me==="Backspace"&&!A(ze[Be])&&(ne=B(ze,Be,"left"));ne!==Be&&V(Te,ne,ze),b(fe),ae(Te,he)},Se=function(fe){var Te=fe.target,me=function(){var we=Te.selectionStart,le=Te.selectionEnd,ze=Te.value;if(ze===void 0&&(ze=""),we===le){var Be=B(ze,we);Be!==we&&V(Te,Be,ze)}};me(),requestAnimationFrame(function(){me()}),y(fe),ae(Te)},ve=function(fe){fe.persist&&fe.persist();var Te=fe.target,me=fe.currentTarget;G.current=Te,z.current.focusTimeout=setTimeout(function(){var we=Te.selectionStart,le=Te.selectionEnd,ze=Te.value;ze===void 0&&(ze="");var Be=B(ze,we);Be!==we&&!(we===0&&le===ze.length)&&V(Te,Be,ze),S(Object.assign(Object.assign({},fe),{currentTarget:me}))},0)},Ie=function(fe){G.current=null,clearTimeout(z.current.focusTimeout),clearTimeout(z.current.setCaretTimeout),k(fe)},Ce=Z&&Qie()?"numeric":void 0,Ee=Object.assign({inputMode:Ce},O,{type:t,value:P,onChange:ke,onKeyDown:ie,onMouseUp:Se,onFocus:ve,onBlur:Ie});if(n==="text")return a?ye.createElement(ye.Fragment,null,a(P,O)||null):ye.createElement("span",Object.assign({},O,{ref:o}),P);if(r){var te=r;return ye.createElement(te,Object.assign({},Ee,{ref:o}))}return ye.createElement("input",Object.assign({},Ee,{ref:o}))}function tD(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,a=t.prefix;a===void 0&&(a="");var o=t.suffix;o===void 0&&(o="");var s=t.allowNegative,l=t.thousandsGroupStyle;if(l===void 0&&(l="thousand"),e===""||e==="-")return e;var c=_p(t),d=c.thousandSeparator,p=c.decimalSeparator,g=n!==0&&e.indexOf(".")!==-1||n&&r,m=HT(e,s),b=m.beforeDecimal,y=m.afterDecimal,S=m.addNegation;return n!==void 0&&(y=EG(y,n,!!r)),d&&(b=Wie(b,d,l)),a&&(b=a+b),o&&(y=y+o),S&&(b="-"+b),e=b+(g&&p||"")+y,e}function _p(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function ise(e,t){e===void 0&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),a=n.test(e),o=r.test(e);return e=e.replace(/-/g,""),a&&!o&&t&&(e="-"+e),e}function sse(e,t){return new RegExp("(^-)|[0-9]|"+SG(e),"g")}function lse(e,t,n){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(n!=null&&n.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function use(e,t,n){var r;t===void 0&&(t=Jie(e));var a=n.allowNegative,o=n.prefix;o===void 0&&(o="");var s=n.suffix;s===void 0&&(s="");var l=n.decimalScale,c=t.from,d=t.to,p=d.start,g=d.end,m=_p(n),b=m.allowedDecimalSeparators,y=m.decimalSeparator,S=e[g]===y;if(Pu(e)&&(e===o||e===s)&&t.lastValue==="")return e;if(g-p===1&&b.indexOf(e[p])!==-1){var k=l===0?"":y;e=e.substring(0,p)+k+e.substring(p+1,e.length)}var R=function(G,z,Y){var D=!1,V=!1;o.startsWith("-")?D=!1:G.startsWith("--")?(D=!1,V=!0):s.startsWith("-")&&G.length===s.length?D=!1:G[0]==="-"&&(D=!0);var B=D?1:0;return V&&(B=2),B&&(G=G.substring(B),z-=B,Y-=B),{value:G,start:z,end:Y,hasNegation:D}},x=R(e,p,g),A=x.hasNegation;r=x,e=r.value,p=r.start,g=r.end;var N=R(t.lastValue,c.start,c.end),O=N.start,C=N.end,_=N.value,P=e.substring(p,g);e.length&&_.length&&(O>_.length-s.length||C<o.length)&&!(P&&s.startsWith(P))&&(e=_);var I=0;e.startsWith(o)?I+=o.length:p<o.length&&(I=p),e=e.substring(I),g-=I;var L=e.length,H=e.length-s.length;e.endsWith(s)?L=H:(g>H||g>e.length-s.length)&&(L=g),e=e.substring(0,L),e=ise(A?"-"+e:e,a),e=(e.match(sse(y))||[]).join("");var $=e.indexOf(y);e=e.replace(new RegExp(SG(y),"g"),function(G,z){return z===$?".":""});var U=HT(e,a),W=U.beforeDecimal,Z=U.afterDecimal,j=U.addNegation;return d.end-d.start<c.end-c.start&&W===""&&S&&!parseFloat(Z)&&(e=j?"-":""),e}function cse(e,t){var n=t.prefix;n===void 0&&(n="");var r=t.suffix;r===void 0&&(r="");var a=Array.from({length:e.length+1}).map(function(){return!0}),o=e[0]==="-";a.fill(!1,0,n.length+(o?1:0));var s=e.length;return a.fill(!1,s-r.length+1,s+1),a}function dse(e){var t=_p(e),n=t.thousandSeparator,r=t.decimalSeparator,a=e.prefix;a===void 0&&(a="");var o=e.allowNegative;if(o===void 0&&(o=!0),n===r)throw new Error(`
|
||
Decimal separator can't be same as thousand separator.
|
||
thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
||
decimalSeparator: `+r+` (default value for decimalSeparator is .)
|
||
`);return a.startsWith("-")&&o&&(console.error(`
|
||
Prefix can't start with '-' when allowNegative is true.
|
||
prefix: `+a+`
|
||
allowNegative: `+o+`
|
||
`),o=!1),Object.assign(Object.assign({},e),{allowNegative:o})}function fse(e){e=dse(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,a=e.onKeyDown;a===void 0&&(a=ko);var o=e.onBlur;o===void 0&&(o=ko);var s=e.thousandSeparator,l=e.decimalScale,c=e.fixedDecimalScale,d=e.prefix;d===void 0&&(d="");var p=e.defaultValue,g=e.value,m=e.valueIsNumericString,b=e.onValueChange,y=yG(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),S=_p(e),k=S.decimalSeparator,R=S.allowedDecimalSeparators,x=function(j){return tD(j,e)},A=function(j,G){return use(j,G,e)},N=_s(g)?p:g,O=m??lse(N,d,t);_s(g)?_s(p)||(O=O||typeof p=="number"):O=O||typeof g=="number";var C=function(j){return vG(j)?j:(typeof j=="number"&&(j=wG(j)),O&&typeof l=="number"?JO(j,l,!!c):j)},_=kG(C(g),C(p),!!O,x,A,b),P=_[0],I=P.numAsString,L=P.formattedValue,H=_[1],$=function(j){var G=j.target,z=j.key,Y=G.selectionStart,D=G.selectionEnd,V=G.value;if(V===void 0&&(V=""),(z==="Backspace"||z==="Delete")&&D<d.length){j.preventDefault();return}if(Y!==D){a(j);return}z==="Backspace"&&V[0]==="-"&&Y===d.length+1&&n&&di(G,1),l&&c&&(z==="Backspace"&&V[Y-1]===k?(di(G,Y-1),j.preventDefault()):z==="Delete"&&V[Y]===k&&j.preventDefault()),R!=null&&R.includes(z)&&V[Y]===k&&di(G,Y+1);var B=s===!0?",":s;z==="Backspace"&&V[Y-1]===B&&di(G,Y-1),z==="Delete"&&V[Y]===B&&di(G,Y+1),a(j)},U=function(j){var G=I;if(G.match(/\d/g)||(G=""),r||(G=Kie(G)),c&&l&&(G=JO(G,l,c)),G!==I){var z=tD(G,e);H({formattedValue:z,value:G,floatValue:parseFloat(G)},{event:j,source:Mu.event})}o(j)},W=function(j){return j===k?!0:Pu(j)},Z=function(j){var G=j.currentValue,z=j.lastValue,Y=j.formattedValue,D=j.currentValueIndex,V=j.formattedValueIndex,B=G[D],M=Y[V],K=xG(z,G),ee=K.to,Q=function(J){return A(J).indexOf(".")+d.length};return g===0&&c&&l&&G[ee.start]===k&&Q(G)<D&&Q(Y)>V?!1:D>=ee.start&&D<ee.end&&R&&R.includes(B)&&M===k?!0:B===M};return Object.assign(Object.assign({},y),{value:L,valueIsNumericString:!1,isValidInputCharacter:W,isCharacterSame:Z,onValueChange:H,format:x,removeFormatting:A,getCaretBoundary:function(j){return cse(j,e)},onKeyDown:$,onBlur:U})}function pse(e){var t=fse(e);return ye.createElement(ose,Object.assign({},t))}const ws=E.forwardRef(({stepper:e,thousandSeparator:t,placeholder:n,defaultValue:r,min:a=-1/0,max:o=1/0,onValueChange:s,fixedDecimalScale:l=!1,decimalScale:c=0,className:d=void 0,suffix:p,prefix:g,value:m,...b},y)=>{const[S,k]=E.useState(m??r),R=E.useCallback(()=>{k(O=>O===void 0?e??1:Math.min(O+(e??1),o))},[e,o]),x=E.useCallback(()=>{k(O=>O===void 0?-(e??1):Math.max(O-(e??1),a))},[e,a]);E.useEffect(()=>{m!==void 0&&k(m)},[m]);const A=O=>{const C=O.floatValue===void 0?void 0:O.floatValue;k(C),s&&s(C)},N=()=>{S!==void 0&&(S<a?(k(a),y.current.value=String(a)):S>o&&(k(o),y.current.value=String(o)))};return w.jsxs("div",{className:"relative flex",children:[w.jsx(pse,{value:S,onValueChange:A,thousandSeparator:t,decimalScale:c,fixedDecimalScale:l,allowNegative:a<0,valueIsNumericString:!0,onBlur:N,max:o,min:a,suffix:p,prefix:g,customInput:O=>w.jsx($a,{...O,className:Pe("w-full",d)}),placeholder:n,className:"[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",getInputRef:y,...b}),w.jsxs("div",{className:"absolute top-0 right-0 bottom-0 flex flex-col",children:[w.jsx(xt,{"aria-label":"Increase value",className:"border-input h-1/2 rounded-l-none rounded-br-none border-b border-l px-2 focus-visible:relative",variant:"outline",onClick:R,disabled:S===o,children:w.jsx(JB,{size:15})}),w.jsx(xt,{"aria-label":"Decrease value",className:"border-input h-1/2 rounded-l-none rounded-tr-none border-b border-l px-2 focus-visible:relative",variant:"outline",onClick:x,disabled:S===a,children:w.jsx(L0,{size:15})})]})]})});ws.displayName="NumberInput";function gse(){var r,a;const{t:e}=Ft(),t=Le(o=>o.querySettings),n=E.useCallback((o,s)=>{Le.getState().updateQuerySettings({[o]:s})},[]);return w.jsxs(Ps,{className:"flex shrink-0 flex-col min-w-[180px]",children:[w.jsxs(Ou,{className:"px-4 pt-4 pb-2",children:[w.jsx(Du,{children:e("retrievePanel.querySettings.parametersTitle")}),w.jsx(Tp,{children:e("retrievePanel.querySettings.parametersDescription")})]}),w.jsx(Iu,{className:"m-0 flex grow flex-col p-0 text-xs",children:w.jsx("div",{className:"relative size-full",children:w.jsxs("div",{className:"absolute inset-0 flex flex-col gap-2 overflow-auto px-2",children:[w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.queryMode"),tooltip:e("retrievePanel.querySettings.queryModeTooltip"),side:"left"}),w.jsxs(xf,{value:t.mode,onValueChange:o=>n("mode",o),children:[w.jsx(Au,{className:"hover:bg-primary/5 h-9 cursor-pointer focus:ring-0 focus:ring-offset-0 focus:outline-0 active:right-0",children:w.jsx(kf,{})}),w.jsx(Ru,{children:w.jsxs(iN,{children:[w.jsx(xn,{value:"naive",children:e("retrievePanel.querySettings.queryModeOptions.naive")}),w.jsx(xn,{value:"local",children:e("retrievePanel.querySettings.queryModeOptions.local")}),w.jsx(xn,{value:"global",children:e("retrievePanel.querySettings.queryModeOptions.global")}),w.jsx(xn,{value:"hybrid",children:e("retrievePanel.querySettings.queryModeOptions.hybrid")}),w.jsx(xn,{value:"mix",children:e("retrievePanel.querySettings.queryModeOptions.mix")})]})})]})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.responseFormat"),tooltip:e("retrievePanel.querySettings.responseFormatTooltip"),side:"left"}),w.jsxs(xf,{value:t.response_type,onValueChange:o=>n("response_type",o),children:[w.jsx(Au,{className:"hover:bg-primary/5 h-9 cursor-pointer focus:ring-0 focus:ring-offset-0 focus:outline-0 active:right-0",children:w.jsx(kf,{})}),w.jsx(Ru,{children:w.jsxs(iN,{children:[w.jsx(xn,{value:"Multiple Paragraphs",children:e("retrievePanel.querySettings.responseFormatOptions.multipleParagraphs")}),w.jsx(xn,{value:"Single Paragraph",children:e("retrievePanel.querySettings.responseFormatOptions.singleParagraph")}),w.jsx(xn,{value:"Bullet Points",children:e("retrievePanel.querySettings.responseFormatOptions.bulletPoints")})]})})]})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.topK"),tooltip:e("retrievePanel.querySettings.topKTooltip"),side:"left"}),w.jsx(ws,{id:"top_k",stepper:1,value:t.top_k,onValueChange:o=>n("top_k",o),min:1,placeholder:e("retrievePanel.querySettings.topKPlaceholder")})]}),w.jsxs(w.Fragment,{children:[w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.maxTokensTextUnit"),tooltip:e("retrievePanel.querySettings.maxTokensTextUnitTooltip"),side:"left"}),w.jsx(ws,{id:"max_token_for_text_unit",stepper:500,value:t.max_token_for_text_unit,onValueChange:o=>n("max_token_for_text_unit",o),min:1,placeholder:e("retrievePanel.querySettings.maxTokensTextUnit")})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{text:e("retrievePanel.querySettings.maxTokensGlobalContext"),tooltip:e("retrievePanel.querySettings.maxTokensGlobalContextTooltip"),side:"left"}),w.jsx(ws,{id:"max_token_for_global_context",stepper:500,value:t.max_token_for_global_context,onValueChange:o=>n("max_token_for_global_context",o),min:1,placeholder:e("retrievePanel.querySettings.maxTokensGlobalContext")})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.maxTokensLocalContext"),tooltip:e("retrievePanel.querySettings.maxTokensLocalContextTooltip"),side:"left"}),w.jsx(ws,{id:"max_token_for_local_context",stepper:500,value:t.max_token_for_local_context,onValueChange:o=>n("max_token_for_local_context",o),min:1,placeholder:e("retrievePanel.querySettings.maxTokensLocalContext")})]})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.historyTurns"),tooltip:e("retrievePanel.querySettings.historyTurnsTooltip"),side:"left"}),w.jsx(ws,{className:"!border-input",id:"history_turns",stepper:1,type:"text",value:t.history_turns,onValueChange:o=>n("history_turns",o),min:0,placeholder:e("retrievePanel.querySettings.historyTurnsPlaceholder")})]}),w.jsxs(w.Fragment,{children:[w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.hlKeywords"),tooltip:e("retrievePanel.querySettings.hlKeywordsTooltip"),side:"left"}),w.jsx($a,{id:"hl_keywords",type:"text",value:(r=t.hl_keywords)==null?void 0:r.join(", "),onChange:o=>{const s=o.target.value.split(",").map(l=>l.trim()).filter(l=>l!=="");n("hl_keywords",s)},placeholder:e("retrievePanel.querySettings.hlkeywordsPlaceHolder")})]}),w.jsxs(w.Fragment,{children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.llKeywords"),tooltip:e("retrievePanel.querySettings.llKeywordsTooltip"),side:"left"}),w.jsx($a,{id:"ll_keywords",type:"text",value:(a=t.ll_keywords)==null?void 0:a.join(", "),onChange:o=>{const s=o.target.value.split(",").map(l=>l.trim()).filter(l=>l!=="");n("ll_keywords",s)},placeholder:e("retrievePanel.querySettings.hlkeywordsPlaceHolder")})]})]}),w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.onlyNeedContext"),tooltip:e("retrievePanel.querySettings.onlyNeedContextTooltip"),side:"left"}),w.jsx("div",{className:"grow"}),w.jsx(mu,{className:"mr-1 cursor-pointer",id:"only_need_context",checked:t.only_need_context,onCheckedChange:o=>n("only_need_context",o)})]}),w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.onlyNeedPrompt"),tooltip:e("retrievePanel.querySettings.onlyNeedPromptTooltip"),side:"left"}),w.jsx("div",{className:"grow"}),w.jsx(mu,{className:"mr-1 cursor-pointer",id:"only_need_prompt",checked:t.only_need_prompt,onCheckedChange:o=>n("only_need_prompt",o)})]}),w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(Un,{className:"ml-1",text:e("retrievePanel.querySettings.streamResponse"),tooltip:e("retrievePanel.querySettings.streamResponseTooltip"),side:"left"}),w.jsx("div",{className:"grow"}),w.jsx(mu,{className:"mr-1 cursor-pointer",id:"stream",checked:t.stream,onCheckedChange:o=>n("stream",o)})]})]})]})})})]})}function hse(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const mse=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bse=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yse={};function nD(e,t){return(yse.jsx?bse:mse).test(e)}const vse=/[ \t\n\f\r]/g;function Sse(e){return typeof e=="object"?e.type==="text"?rD(e.value):!1:rD(e)}function rD(e){return e.replace(vse,"")===""}class ac{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ac.prototype.property={};ac.prototype.normal={};ac.prototype.space=null;function TG(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new ac(n,r,t)}function c0(e){return e.toLowerCase()}class Ar{constructor(t,n){this.property=t,this.attribute=n}}Ar.prototype.space=null;Ar.prototype.boolean=!1;Ar.prototype.booleanish=!1;Ar.prototype.overloadedBoolean=!1;Ar.prototype.number=!1;Ar.prototype.commaSeparated=!1;Ar.prototype.spaceSeparated=!1;Ar.prototype.commaOrSpaceSeparated=!1;Ar.prototype.mustUseProperty=!1;Ar.prototype.defined=!1;let Ese=0;const rt=Ai(),Qt=Ai(),AG=Ai(),Oe=Ai(),Mt=Ai(),Ns=Ai(),Jn=Ai();function Ai(){return 2**++Ese}const d0=Object.freeze(Object.defineProperty({__proto__:null,boolean:rt,booleanish:Qt,commaOrSpaceSeparated:Jn,commaSeparated:Ns,number:Oe,overloadedBoolean:AG,spaceSeparated:Mt},Symbol.toStringTag,{value:"Module"})),cb=Object.keys(d0);class $T extends Ar{constructor(t,n,r,a){let o=-1;if(super(t,n),aD(this,"space",a),typeof r=="number")for(;++o<cb.length;){const s=cb[o];aD(this,cb[o],(r&d0[s])===d0[s])}}}$T.prototype.defined=!0;function aD(e,t,n){n&&(e[t]=n)}const wse={}.hasOwnProperty;function nl(e){const t={},n={};let r;for(r in e.properties)if(wse.call(e.properties,r)){const a=e.properties[r],o=new $T(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[c0(r)]=r,n[c0(o.attribute)]=r}return new ac(t,n,e.space)}const RG=nl({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),CG=nl({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function _G(e,t){return t in e?e[t]:t}function NG(e,t){return _G(e,t.toLowerCase())}const OG=nl({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:NG,properties:{xmlns:null,xmlnsXLink:null}}),DG=nl({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Qt,ariaAutoComplete:null,ariaBusy:Qt,ariaChecked:Qt,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:Mt,ariaCurrent:null,ariaDescribedBy:Mt,ariaDetails:null,ariaDisabled:Qt,ariaDropEffect:Mt,ariaErrorMessage:null,ariaExpanded:Qt,ariaFlowTo:Mt,ariaGrabbed:Qt,ariaHasPopup:null,ariaHidden:Qt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Mt,ariaLevel:Oe,ariaLive:null,ariaModal:Qt,ariaMultiLine:Qt,ariaMultiSelectable:Qt,ariaOrientation:null,ariaOwns:Mt,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:Qt,ariaReadOnly:Qt,ariaRelevant:null,ariaRequired:Qt,ariaRoleDescription:Mt,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:Qt,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null}}),xse=nl({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:NG,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ns,acceptCharset:Mt,accessKey:Mt,action:null,allow:null,allowFullScreen:rt,allowPaymentRequest:rt,allowUserMedia:rt,alt:null,as:null,async:rt,autoCapitalize:null,autoComplete:Mt,autoFocus:rt,autoPlay:rt,blocking:Mt,capture:null,charSet:null,checked:rt,cite:null,className:Mt,cols:Oe,colSpan:null,content:null,contentEditable:Qt,controls:rt,controlsList:Mt,coords:Oe|Ns,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rt,defer:rt,dir:null,dirName:null,disabled:rt,download:AG,draggable:Qt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rt,formTarget:null,headers:Mt,height:Oe,hidden:rt,high:Oe,href:null,hrefLang:null,htmlFor:Mt,httpEquiv:Mt,id:null,imageSizes:null,imageSrcSet:null,inert:rt,inputMode:null,integrity:null,is:null,isMap:rt,itemId:null,itemProp:Mt,itemRef:Mt,itemScope:rt,itemType:Mt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rt,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:rt,muted:rt,name:null,nonce:null,noModule:rt,noValidate:rt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:rt,optimum:Oe,pattern:null,ping:Mt,placeholder:null,playsInline:rt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rt,referrerPolicy:null,rel:Mt,required:rt,reversed:rt,rows:Oe,rowSpan:Oe,sandbox:Mt,scope:null,scoped:rt,seamless:rt,selected:rt,shadowRootClonable:rt,shadowRootDelegatesFocus:rt,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:Qt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:rt,useMap:null,value:Qt,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Mt,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:rt,declare:rt,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:rt,noHref:rt,noShade:rt,noWrap:rt,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:Qt,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:rt,disableRemotePlayback:rt,prefix:null,property:null,results:Oe,security:null,unselectable:null}}),kse=nl({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:_G,properties:{about:Jn,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:Mt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:rt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ns,g2:Ns,glyphName:Ns,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Jn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Mt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Jn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Jn,rev:Jn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Jn,requiredFeatures:Jn,requiredFonts:Jn,requiredFormats:Jn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Jn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Jn,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Jn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Tse=/^data[-\w.:]+$/i,oD=/-[a-z]/g,Ase=/[A-Z]/g;function Rse(e,t){const n=c0(t);let r=t,a=Ar;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Tse.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(oD,_se);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!oD.test(o)){let s=o.replace(Ase,Cse);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=$T}return new a(r,t)}function Cse(e){return"-"+e.toLowerCase()}function _se(e){return e.charAt(1).toUpperCase()}const Nse={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Ose=TG([CG,RG,OG,DG,xse],"html"),qT=TG([CG,RG,OG,DG,kse],"svg");function Dse(e){return e.join(" ").trim()}var hs={},db,iD;function Ise(){if(iD)return db;iD=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
|
||
`,d="/",p="*",g="",m="comment",b="declaration";db=function(S,k){if(typeof S!="string")throw new TypeError("First argument must be a string");if(!S)return[];k=k||{};var R=1,x=1;function A(U){var W=U.match(t);W&&(R+=W.length);var Z=U.lastIndexOf(c);x=~Z?U.length-Z:x+U.length}function N(){var U={line:R,column:x};return function(W){return W.position=new O(U),P(),W}}function O(U){this.start=U,this.end={line:R,column:x},this.source=k.source}O.prototype.content=S;function C(U){var W=new Error(k.source+":"+R+":"+x+": "+U);if(W.reason=U,W.filename=k.source,W.line=R,W.column=x,W.source=S,!k.silent)throw W}function _(U){var W=U.exec(S);if(W){var Z=W[0];return A(Z),S=S.slice(Z.length),W}}function P(){_(n)}function I(U){var W;for(U=U||[];W=L();)W!==!1&&U.push(W);return U}function L(){var U=N();if(!(d!=S.charAt(0)||p!=S.charAt(1))){for(var W=2;g!=S.charAt(W)&&(p!=S.charAt(W)||d!=S.charAt(W+1));)++W;if(W+=2,g===S.charAt(W-1))return C("End of comment missing");var Z=S.slice(2,W-2);return x+=2,A(Z),S=S.slice(W),x+=2,U({type:m,comment:Z})}}function H(){var U=N(),W=_(r);if(W){if(L(),!_(a))return C("property missing ':'");var Z=_(o),j=U({type:b,property:y(W[0].replace(e,g)),value:Z?y(Z[0].replace(e,g)):g});return _(s),j}}function $(){var U=[];I(U);for(var W;W=H();)W!==!1&&(U.push(W),I(U));return U}return P(),$()};function y(S){return S?S.replace(l,g):g}return db}var sD;function Lse(){if(sD)return hs;sD=1;var e=hs&&hs.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=n;var t=e(Ise());function n(r,a){var o=null;if(!r||typeof r!="string")return o;var s=(0,t.default)(r),l=typeof a=="function";return s.forEach(function(c){if(c.type==="declaration"){var d=c.property,p=c.value;l?a(d,p,c):p&&(o=o||{},o[d]=p)}}),o}return hs}var Mse=Lse();const lD=cn(Mse),Pse=lD.default||lD,IG=LG("end"),VT=LG("start");function LG(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Fse(e){const t=VT(e),n=IG(e);if(t&&n)return{start:t,end:n}}function bu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?uD(e.position):"start"in e||"end"in e?uD(e):"line"in e||"column"in e?f0(e):""}function f0(e){return cD(e&&e.line)+":"+cD(e&&e.column)}function uD(e){return f0(e&&e.start)+"-"+f0(e&&e.end)}function cD(e){return e&&typeof e=="number"?e:1}class Cn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?a=t:!o.cause&&t&&(s=!0,a=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?o.ruleId=r:(o.source=r.slice(0,c),o.ruleId=r.slice(c+1))}if(!o.place&&o.ancestors&&o.ancestors){const c=o.ancestors[o.ancestors.length-1];c&&(o.place=c.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=l?l.line:void 0,this.name=bu(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Cn.prototype.file="";Cn.prototype.name="";Cn.prototype.reason="";Cn.prototype.message="";Cn.prototype.stack="";Cn.prototype.column=void 0;Cn.prototype.line=void 0;Cn.prototype.ancestors=void 0;Cn.prototype.cause=void 0;Cn.prototype.fatal=void 0;Cn.prototype.place=void 0;Cn.prototype.ruleId=void 0;Cn.prototype.source=void 0;const WT={}.hasOwnProperty,zse=new Map,Bse=/[A-Z]/g,Use=/-([a-z])/g,jse=new Set(["table","tbody","thead","tfoot","tr"]),Gse=new Set(["td","th"]),MG="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function PG(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Xse(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Kse(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?qT:Ose,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=FG(a,e,void 0);return o&&typeof o!="string"?o:a.create(e,a.Fragment,{children:o||void 0},void 0)}function FG(e,t,n){if(t.type==="element")return Hse(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return $se(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Vse(e,t,n);if(t.type==="mdxjsEsm")return qse(e,t);if(t.type==="root")return Wse(e,t,n);if(t.type==="text")return Yse(e,t)}function Hse(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=qT,e.schema=a),e.ancestors.push(t);const o=BG(e,t.tagName,!1),s=Zse(e,t);let l=KT(e,t);return jse.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!Sse(c):!0})),zG(e,s,o,t),YT(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function $se(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Fu(e,t.position)}function qse(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Fu(e,t.position)}function Vse(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=qT,e.schema=a),e.ancestors.push(t);const o=t.name===null?e.Fragment:BG(e,t.name,!0),s=Qse(e,t),l=KT(e,t);return zG(e,s,o,t),YT(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function Wse(e,t,n){const r={};return YT(r,KT(e,t)),e.create(t,e.Fragment,r,n)}function Yse(e,t){return t.value}function zG(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function YT(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Kse(e,t,n){return r;function r(a,o,s,l){const d=Array.isArray(s.children)?n:t;return l?d(o,s,l):d(o,s)}}function Xse(e,t){return n;function n(r,a,o,s){const l=Array.isArray(o.children),c=VT(r);return t(a,o,s,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function Zse(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&WT.call(t.properties,a)){const o=Jse(e,a,t.properties[a]);if(o){const[s,l]=o;e.tableCellAlignToStyle&&s==="align"&&typeof l=="string"&&Gse.has(t.tagName)?r=l:n[s]=l}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Qse(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const s=o.expression;s.type;const l=s.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else Fu(e,t.position);else{const a=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,o=e.evaluater.evaluateExpression(l.expression)}else Fu(e,t.position);else o=r.value===null?!0:r.value;n[a]=o}return n}function KT(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:zse;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const c=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(c){const d=a.get(c)||0;s=c+"-"+d,a.set(c,d+1)}}const l=FG(e,o,s);l!==void 0&&n.push(l)}return n}function Jse(e,t,n){const r=Rse(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?hse(n):Dse(n)),r.property==="style"){let a=typeof n=="object"?n:ele(e,String(n));return e.stylePropertyNameCase==="css"&&(a=tle(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?Nse[r.property]||r.property:r.attribute,n]}}function ele(e,t){const n={};try{Pse(t,r)}catch(a){if(!e.ignoreInvalidStyle){const o=a,s=new Cn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=MG+"#cannot-parse-style-attribute",s}}return n;function r(a,o){let s=a;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(Use,rle)),n[s]=o}}function BG(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let o=-1,s;for(;++o<a.length;){const l=nD(a[o])?{type:"Identifier",name:a[o]}:{type:"Literal",value:a[o]};s=s?{type:"MemberExpression",object:s,property:l,computed:!!(o&&l.type==="Literal"),optional:!1}:l}r=s}else r=nD(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return WT.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);Fu(e)}function Fu(e,t){const n=new Cn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=MG+"#cannot-handle-mdx-estrees-without-createevaluater",n}function tle(e){const t={};let n;for(n in e)WT.call(e,n)&&(t[nle(n)]=e[n]);return t}function nle(e){let t=e.replace(Bse,ale);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function rle(e,t){return t.toUpperCase()}function ale(e){return"-"+e.toLowerCase()}const fb={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ole={};function XT(e,t){const n=ole,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return UG(e,r,a)}function UG(e,t,n){if(ile(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return dD(e.children,t,n)}return Array.isArray(e)?dD(e,t,n):""}function dD(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=UG(e[a],t,n);return r.join("")}function ile(e){return!!(e&&typeof e=="object")}const fD=document.createElement("i");function ZT(e){const t="&"+e+";";fD.innerHTML=t;const n=fD.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function rr(e,t,n,r){const a=e.length;let o=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function vr(e,t){return e.length>0?(rr(e,e.length,0,t),e):t}const pD={}.hasOwnProperty;function jG(e){const t={};let n=-1;for(;++n<e.length;)sle(t,e[n]);return t}function sle(e,t){let n;for(n in t){const a=(pD.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let s;if(o)for(s in o){pD.call(a,s)||(a[s]=[]);const l=o[s];lle(a[s],Array.isArray(l)?l:l?[l]:[])}}}function lle(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);rr(e,0,0,r)}function GG(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"<22>":String.fromCodePoint(n)}function zr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Dn=Mo(/[A-Za-z]/),Tn=Mo(/[\dA-Za-z]/),ule=Mo(/[#-'*+\--9=?A-Z^-~]/);function Ff(e){return e!==null&&(e<32||e===127)}const p0=Mo(/\d/),cle=Mo(/[\dA-Fa-f]/),dle=Mo(/[!-/:-@[-`{-~]/);function Ve(e){return e!==null&&e<-2}function Dt(e){return e!==null&&(e<0||e===32)}function dt(e){return e===-2||e===-1||e===32}const Np=Mo(new RegExp("\\p{P}|\\p{S}","u")),Ei=Mo(/\s/);function Mo(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function rl(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(o===37&&Tn(e.charCodeAt(n+1))&&Tn(e.charCodeAt(n+2)))a=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const l=e.charCodeAt(n+1);o<56320&&l>56319&&l<57344?(s=String.fromCharCode(o,l),a=1):s="<22>"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+a+1,s=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function ut(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(c){return dt(c)?(e.enter(n),l(c)):t(c)}function l(c){return dt(c)&&o++<a?(e.consume(c),l):(e.exit(n),t(c))}}const fle={tokenize:ple};function ple(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ut(e,t,"linePrefix")}function a(l){return e.enter("paragraph"),o(l)}function o(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,s(l)}function s(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Ve(l)?(e.consume(l),e.exit("chunkText"),o):(e.consume(l),s)}}const gle={tokenize:hle},gD={tokenize:mle};function hle(e){const t=this,n=[];let r=0,a,o,s;return l;function l(A){if(r<n.length){const N=n[r];return t.containerState=N[1],e.attempt(N[0].continuation,c,d)(A)}return d(A)}function c(A){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&x();const N=t.events.length;let O=N,C;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){C=t.events[O][1].end;break}R(r);let _=N;for(;_<t.events.length;)t.events[_][1].end={...C},_++;return rr(t.events,O+1,0,t.events.slice(N)),t.events.length=_,d(A)}return l(A)}function d(A){if(r===n.length){if(!a)return m(A);if(a.currentConstruct&&a.currentConstruct.concrete)return y(A);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(gD,p,g)(A)}function p(A){return a&&x(),R(r),m(A)}function g(A){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,y(A)}function m(A){return t.containerState={},e.attempt(gD,b,y)(A)}function b(A){return r++,n.push([t.currentConstruct,t.containerState]),m(A)}function y(A){if(A===null){a&&x(),R(0),e.consume(A);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:o}),S(A)}function S(A){if(A===null){k(e.exit("chunkFlow"),!0),R(0),e.consume(A);return}return Ve(A)?(e.consume(A),k(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(A),S)}function k(A,N){const O=t.sliceStream(A);if(N&&O.push(null),A.previous=o,o&&(o.next=A),o=A,a.defineSkip(A.start),a.write(O),t.parser.lazy[A.start.line]){let C=a.events.length;for(;C--;)if(a.events[C][1].start.offset<s&&(!a.events[C][1].end||a.events[C][1].end.offset>s))return;const _=t.events.length;let P=_,I,L;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(I){L=t.events[P][1].end;break}I=!0}for(R(r),C=_;C<t.events.length;)t.events[C][1].end={...L},C++;rr(t.events,P+1,0,t.events.slice(_)),t.events.length=C}}function R(A){let N=n.length;for(;N-- >A;){const O=n[N];t.containerState=O[1],O[0].exit.call(t,e)}n.length=A}function x(){a.write([null]),o=void 0,a=void 0,t.containerState._closeFlow=void 0}}function mle(e,t,n){return ut(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Bs(e){if(e===null||Dt(e)||Ei(e))return 1;if(Np(e))return 2}function Op(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const o=e[a].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const g0={name:"attention",resolveAll:ble,tokenize:yle};function ble(e,t){let n=-1,r,a,o,s,l,c,d,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const g={...e[r][1].end},m={...e[n][1].start};hD(g,-c),hD(m,c),s={type:c>1?"strongSequence":"emphasisSequence",start:g,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},o={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[r][1].end={...s.start},e[n][1].start={...l.end},d=[],e[r][1].end.offset-e[r][1].start.offset&&(d=vr(d,[["enter",e[r][1],t],["exit",e[r][1],t]])),d=vr(d,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",o,t]]),d=vr(d,Op(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),d=vr(d,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,d=vr(d,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,rr(e,r-1,n-r+3,d),n=r+d.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function yle(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=Bs(r);let o;return s;function s(c){return o=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===o)return e.consume(c),l;const d=e.exit("attentionSequence"),p=Bs(c),g=!p||p===2&&a||n.includes(c),m=!a||a===2&&p||n.includes(r);return d._open=!!(o===42?g:g&&(a||!m)),d._close=!!(o===42?m:m&&(p||!g)),t(c)}}function hD(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const vle={name:"autolink",tokenize:Sle};function Sle(e,t,n){let r=0;return a;function a(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(b){return Dn(b)?(e.consume(b),s):b===64?n(b):d(b)}function s(b){return b===43||b===45||b===46||Tn(b)?(r=1,l(b)):d(b)}function l(b){return b===58?(e.consume(b),r=0,c):(b===43||b===45||b===46||Tn(b))&&r++<32?(e.consume(b),l):(r=0,d(b))}function c(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||Ff(b)?n(b):(e.consume(b),c)}function d(b){return b===64?(e.consume(b),p):ule(b)?(e.consume(b),d):n(b)}function p(b){return Tn(b)?g(b):n(b)}function g(b){return b===46?(e.consume(b),r=0,p):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):m(b)}function m(b){if((b===45||Tn(b))&&r++<63){const y=b===45?m:g;return e.consume(b),y}return n(b)}}const oc={partial:!0,tokenize:Ele};function Ele(e,t,n){return r;function r(o){return dt(o)?ut(e,a,"linePrefix")(o):a(o)}function a(o){return o===null||Ve(o)?t(o):n(o)}}const HG={continuation:{tokenize:xle},exit:kle,name:"blockQuote",tokenize:wle};function wle(e,t,n){const r=this;return a;function a(s){if(s===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return dt(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function xle(e,t,n){const r=this;return a;function a(s){return dt(s)?ut(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(HG,t,n)(s)}}function kle(e){e.exit("blockQuote")}const $G={name:"characterEscape",tokenize:Tle};function Tle(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),a}function a(o){return dle(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const qG={name:"characterReference",tokenize:Ale};function Ale(e,t,n){const r=this;let a=0,o,s;return l;function l(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),c}function c(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),o=31,s=Tn,p(g))}function d(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=cle,p):(e.enter("characterReferenceValue"),o=7,s=p0,p(g))}function p(g){if(g===59&&a){const m=e.exit("characterReferenceValue");return s===Tn&&!ZT(r.sliceSerialize(m))?n(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(g)&&a++<o?(e.consume(g),p):n(g)}}const mD={partial:!0,tokenize:Cle},bD={concrete:!0,name:"codeFenced",tokenize:Rle};function Rle(e,t,n){const r=this,a={partial:!0,tokenize:O};let o=0,s=0,l;return c;function c(C){return d(C)}function d(C){const _=r.events[r.events.length-1];return o=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,l=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(C)}function p(C){return C===l?(s++,e.consume(C),p):s<3?n(C):(e.exit("codeFencedFenceSequence"),dt(C)?ut(e,g,"whitespace")(C):g(C))}function g(C){return C===null||Ve(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(mD,S,N)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===null||Ve(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(C)):dt(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ut(e,b,"whitespace")(C)):C===96&&C===l?n(C):(e.consume(C),m)}function b(C){return C===null||Ve(C)?g(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(C))}function y(C){return C===null||Ve(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(C)):C===96&&C===l?n(C):(e.consume(C),y)}function S(C){return e.attempt(a,N,k)(C)}function k(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),R}function R(C){return o>0&&dt(C)?ut(e,x,"linePrefix",o+1)(C):x(C)}function x(C){return C===null||Ve(C)?e.check(mD,S,N)(C):(e.enter("codeFlowValue"),A(C))}function A(C){return C===null||Ve(C)?(e.exit("codeFlowValue"),x(C)):(e.consume(C),A)}function N(C){return e.exit("codeFenced"),t(C)}function O(C,_,P){let I=0;return L;function L(Z){return C.enter("lineEnding"),C.consume(Z),C.exit("lineEnding"),H}function H(Z){return C.enter("codeFencedFence"),dt(Z)?ut(C,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):$(Z)}function $(Z){return Z===l?(C.enter("codeFencedFenceSequence"),U(Z)):P(Z)}function U(Z){return Z===l?(I++,C.consume(Z),U):I>=s?(C.exit("codeFencedFenceSequence"),dt(Z)?ut(C,W,"whitespace")(Z):W(Z)):P(Z)}function W(Z){return Z===null||Ve(Z)?(C.exit("codeFencedFence"),_(Z)):P(Z)}}}function Cle(e,t,n){const r=this;return a;function a(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const pb={name:"codeIndented",tokenize:Nle},_le={partial:!0,tokenize:Ole};function Nle(e,t,n){const r=this;return a;function a(d){return e.enter("codeIndented"),ut(e,o,"linePrefix",5)(d)}function o(d){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?s(d):n(d)}function s(d){return d===null?c(d):Ve(d)?e.attempt(_le,s,c)(d):(e.enter("codeFlowValue"),l(d))}function l(d){return d===null||Ve(d)?(e.exit("codeFlowValue"),s(d)):(e.consume(d),l)}function c(d){return e.exit("codeIndented"),t(d)}}function Ole(e,t,n){const r=this;return a;function a(s){return r.parser.lazy[r.now().line]?n(s):Ve(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):ut(e,o,"linePrefix",5)(s)}function o(s){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):Ve(s)?a(s):n(s)}}const Dle={name:"codeText",previous:Lle,resolve:Ile,tokenize:Mle};function Ile(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function Lle(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Mle(e,t,n){let r=0,a,o;return s;function s(g){return e.enter("codeText"),e.enter("codeTextSequence"),l(g)}function l(g){return g===96?(e.consume(g),r++,l):(e.exit("codeTextSequence"),c(g))}function c(g){return g===null?n(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),c):g===96?(o=e.enter("codeTextSequence"),a=0,p(g)):Ve(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),c):(e.enter("codeTextData"),d(g))}function d(g){return g===null||g===32||g===96||Ve(g)?(e.exit("codeTextData"),c(g)):(e.consume(g),d)}function p(g){return g===96?(e.consume(g),a++,p):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(o.type="codeTextData",d(g))}}class Ple{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&cu(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),cu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),cu(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);cu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);cu(this.left,n.reverse())}}}function cu(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function VG(e){const t={};let n=-1,r,a,o,s,l,c,d;const p=new Ple(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,o=0,o<c.length&&c[o][1].type==="lineEndingBlank"&&(o+=2),o<c.length&&c[o][1].type==="content"))for(;++o<c.length&&c[o][1].type!=="content";)c[o][1].type==="chunkText"&&(c[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Fle(p,n)),n=t[n],d=!0);else if(r[1]._container){for(o=n,a=void 0;o--;)if(s=p.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(p.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=o);else if(s[1].type!=="linePrefix")break;a&&(r[1].end={...p.get(a)[1].start},l=p.slice(a,n),l.unshift(r),p.splice(a,n-a+1,l))}}return rr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!d}function Fle(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),l=s.events,c=[],d={};let p,g,m=-1,b=n,y=0,S=0;const k=[S];for(;b;){for(;e.get(++a)[1]!==b;);o.push(a),b._tokenizer||(p=r.sliceStream(b),b.next||p.push(null),g&&s.defineSkip(b.start),b._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(p),b._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),g=b,b=b.next}for(b=n;++m<l.length;)l[m][0]==="exit"&&l[m-1][0]==="enter"&&l[m][1].type===l[m-1][1].type&&l[m][1].start.line!==l[m][1].end.line&&(S=m+1,k.push(S),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(s.events=[],b?(b._tokenizer=void 0,b.previous=void 0):k.pop(),m=k.length;m--;){const R=l.slice(k[m],k[m+1]),x=o.pop();c.push([x,x+R.length-1]),e.splice(x,2,R)}for(c.reverse(),m=-1;++m<c.length;)d[y+c[m][0]]=y+c[m][1],y+=c[m][1]-c[m][0]-1;return d}const zle={resolve:Ule,tokenize:jle},Ble={partial:!0,tokenize:Gle};function Ule(e){return VG(e),e}function jle(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(l)}function a(l){return l===null?o(l):Ve(l)?e.check(Ble,s,o)(l):(e.consume(l),a)}function o(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function s(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function Gle(e,t,n){const r=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ut(e,o,"linePrefix")}function o(s){if(s===null||Ve(s))return n(s);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function WG(e,t,n,r,a,o,s,l,c){const d=c||Number.POSITIVE_INFINITY;let p=0;return g;function g(R){return R===60?(e.enter(r),e.enter(a),e.enter(o),e.consume(R),e.exit(o),m):R===null||R===32||R===41||Ff(R)?n(R):(e.enter(r),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),S(R))}function m(R){return R===62?(e.enter(o),e.consume(R),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),b(R))}function b(R){return R===62?(e.exit("chunkString"),e.exit(l),m(R)):R===null||R===60||Ve(R)?n(R):(e.consume(R),R===92?y:b)}function y(R){return R===60||R===62||R===92?(e.consume(R),b):b(R)}function S(R){return!p&&(R===null||R===41||Dt(R))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(r),t(R)):p<d&&R===40?(e.consume(R),p++,S):R===41?(e.consume(R),p--,S):R===null||R===32||R===40||Ff(R)?n(R):(e.consume(R),R===92?k:S)}function k(R){return R===40||R===41||R===92?(e.consume(R),S):S(R)}}function YG(e,t,n,r,a,o){const s=this;let l=0,c;return d;function d(b){return e.enter(r),e.enter(a),e.consume(b),e.exit(a),e.enter(o),p}function p(b){return l>999||b===null||b===91||b===93&&!c||b===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(b):b===93?(e.exit(o),e.enter(a),e.consume(b),e.exit(a),e.exit(r),t):Ve(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||b===91||b===93||Ve(b)||l++>999?(e.exit("chunkString"),p(b)):(e.consume(b),c||(c=!dt(b)),b===92?m:g)}function m(b){return b===91||b===92||b===93?(e.consume(b),l++,g):g(b)}}function KG(e,t,n,r,a,o){let s;return l;function l(m){return m===34||m===39||m===40?(e.enter(r),e.enter(a),e.consume(m),e.exit(a),s=m===40?41:m,c):n(m)}function c(m){return m===s?(e.enter(a),e.consume(m),e.exit(a),e.exit(r),t):(e.enter(o),d(m))}function d(m){return m===s?(e.exit(o),c(s)):m===null?n(m):Ve(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ut(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===s||m===null||Ve(m)?(e.exit("chunkString"),d(m)):(e.consume(m),m===92?g:p)}function g(m){return m===s||m===92?(e.consume(m),p):p(m)}}function yu(e,t){let n;return r;function r(a){return Ve(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):dt(a)?ut(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const Hle={name:"definition",tokenize:qle},$le={partial:!0,tokenize:Vle};function qle(e,t,n){const r=this;let a;return o;function o(b){return e.enter("definition"),s(b)}function s(b){return YG.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function l(b){return a=zr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),c):n(b)}function c(b){return Dt(b)?yu(e,d)(b):d(b)}function d(b){return WG(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function p(b){return e.attempt($le,g,g)(b)}function g(b){return dt(b)?ut(e,m,"whitespace")(b):m(b)}function m(b){return b===null||Ve(b)?(e.exit("definition"),r.parser.defined.push(a),t(b)):n(b)}}function Vle(e,t,n){return r;function r(l){return Dt(l)?yu(e,a)(l):n(l)}function a(l){return KG(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function o(l){return dt(l)?ut(e,s,"whitespace")(l):s(l)}function s(l){return l===null||Ve(l)?t(l):n(l)}}const Wle={name:"hardBreakEscape",tokenize:Yle};function Yle(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),a}function a(o){return Ve(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Kle={name:"headingAtx",resolve:Xle,tokenize:Zle};function Xle(e,t){let n=e.length-2,r=3,a,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},rr(e,r,n-r+1,[["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t]])),e}function Zle(e,t,n){let r=0;return a;function a(p){return e.enter("atxHeading"),o(p)}function o(p){return e.enter("atxHeadingSequence"),s(p)}function s(p){return p===35&&r++<6?(e.consume(p),s):p===null||Dt(p)?(e.exit("atxHeadingSequence"),l(p)):n(p)}function l(p){return p===35?(e.enter("atxHeadingSequence"),c(p)):p===null||Ve(p)?(e.exit("atxHeading"),t(p)):dt(p)?ut(e,l,"whitespace")(p):(e.enter("atxHeadingText"),d(p))}function c(p){return p===35?(e.consume(p),c):(e.exit("atxHeadingSequence"),l(p))}function d(p){return p===null||p===35||Dt(p)?(e.exit("atxHeadingText"),l(p)):(e.consume(p),d)}}const Qle=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],yD=["pre","script","style","textarea"],Jle={concrete:!0,name:"htmlFlow",resolveTo:nue,tokenize:rue},eue={partial:!0,tokenize:oue},tue={partial:!0,tokenize:aue};function nue(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function rue(e,t,n){const r=this;let a,o,s,l,c;return d;function d(M){return p(M)}function p(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),g}function g(M){return M===33?(e.consume(M),m):M===47?(e.consume(M),o=!0,S):M===63?(e.consume(M),a=3,r.interrupt?t:D):Dn(M)?(e.consume(M),s=String.fromCharCode(M),k):n(M)}function m(M){return M===45?(e.consume(M),a=2,b):M===91?(e.consume(M),a=5,l=0,y):Dn(M)?(e.consume(M),a=4,r.interrupt?t:D):n(M)}function b(M){return M===45?(e.consume(M),r.interrupt?t:D):n(M)}function y(M){const K="CDATA[";return M===K.charCodeAt(l++)?(e.consume(M),l===K.length?r.interrupt?t:$:y):n(M)}function S(M){return Dn(M)?(e.consume(M),s=String.fromCharCode(M),k):n(M)}function k(M){if(M===null||M===47||M===62||Dt(M)){const K=M===47,ee=s.toLowerCase();return!K&&!o&&yD.includes(ee)?(a=1,r.interrupt?t(M):$(M)):Qle.includes(s.toLowerCase())?(a=6,K?(e.consume(M),R):r.interrupt?t(M):$(M)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(M):o?x(M):A(M))}return M===45||Tn(M)?(e.consume(M),s+=String.fromCharCode(M),k):n(M)}function R(M){return M===62?(e.consume(M),r.interrupt?t:$):n(M)}function x(M){return dt(M)?(e.consume(M),x):L(M)}function A(M){return M===47?(e.consume(M),L):M===58||M===95||Dn(M)?(e.consume(M),N):dt(M)?(e.consume(M),A):L(M)}function N(M){return M===45||M===46||M===58||M===95||Tn(M)?(e.consume(M),N):O(M)}function O(M){return M===61?(e.consume(M),C):dt(M)?(e.consume(M),O):A(M)}function C(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),c=M,_):dt(M)?(e.consume(M),C):P(M)}function _(M){return M===c?(e.consume(M),c=null,I):M===null||Ve(M)?n(M):(e.consume(M),_)}function P(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||Dt(M)?O(M):(e.consume(M),P)}function I(M){return M===47||M===62||dt(M)?A(M):n(M)}function L(M){return M===62?(e.consume(M),H):n(M)}function H(M){return M===null||Ve(M)?$(M):dt(M)?(e.consume(M),H):n(M)}function $(M){return M===45&&a===2?(e.consume(M),j):M===60&&a===1?(e.consume(M),G):M===62&&a===4?(e.consume(M),V):M===63&&a===3?(e.consume(M),D):M===93&&a===5?(e.consume(M),Y):Ve(M)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(eue,B,U)(M)):M===null||Ve(M)?(e.exit("htmlFlowData"),U(M)):(e.consume(M),$)}function U(M){return e.check(tue,W,B)(M)}function W(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),Z}function Z(M){return M===null||Ve(M)?U(M):(e.enter("htmlFlowData"),$(M))}function j(M){return M===45?(e.consume(M),D):$(M)}function G(M){return M===47?(e.consume(M),s="",z):$(M)}function z(M){if(M===62){const K=s.toLowerCase();return yD.includes(K)?(e.consume(M),V):$(M)}return Dn(M)&&s.length<8?(e.consume(M),s+=String.fromCharCode(M),z):$(M)}function Y(M){return M===93?(e.consume(M),D):$(M)}function D(M){return M===62?(e.consume(M),V):M===45&&a===2?(e.consume(M),D):$(M)}function V(M){return M===null||Ve(M)?(e.exit("htmlFlowData"),B(M)):(e.consume(M),V)}function B(M){return e.exit("htmlFlow"),t(M)}}function aue(e,t,n){const r=this;return a;function a(s){return Ve(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):n(s)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function oue(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(oc,t,n)}}const iue={name:"htmlText",tokenize:sue};function sue(e,t,n){const r=this;let a,o,s;return l;function l(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),c}function c(D){return D===33?(e.consume(D),d):D===47?(e.consume(D),O):D===63?(e.consume(D),A):Dn(D)?(e.consume(D),P):n(D)}function d(D){return D===45?(e.consume(D),p):D===91?(e.consume(D),o=0,y):Dn(D)?(e.consume(D),x):n(D)}function p(D){return D===45?(e.consume(D),b):n(D)}function g(D){return D===null?n(D):D===45?(e.consume(D),m):Ve(D)?(s=g,G(D)):(e.consume(D),g)}function m(D){return D===45?(e.consume(D),b):g(D)}function b(D){return D===62?j(D):D===45?m(D):g(D)}function y(D){const V="CDATA[";return D===V.charCodeAt(o++)?(e.consume(D),o===V.length?S:y):n(D)}function S(D){return D===null?n(D):D===93?(e.consume(D),k):Ve(D)?(s=S,G(D)):(e.consume(D),S)}function k(D){return D===93?(e.consume(D),R):S(D)}function R(D){return D===62?j(D):D===93?(e.consume(D),R):S(D)}function x(D){return D===null||D===62?j(D):Ve(D)?(s=x,G(D)):(e.consume(D),x)}function A(D){return D===null?n(D):D===63?(e.consume(D),N):Ve(D)?(s=A,G(D)):(e.consume(D),A)}function N(D){return D===62?j(D):A(D)}function O(D){return Dn(D)?(e.consume(D),C):n(D)}function C(D){return D===45||Tn(D)?(e.consume(D),C):_(D)}function _(D){return Ve(D)?(s=_,G(D)):dt(D)?(e.consume(D),_):j(D)}function P(D){return D===45||Tn(D)?(e.consume(D),P):D===47||D===62||Dt(D)?I(D):n(D)}function I(D){return D===47?(e.consume(D),j):D===58||D===95||Dn(D)?(e.consume(D),L):Ve(D)?(s=I,G(D)):dt(D)?(e.consume(D),I):j(D)}function L(D){return D===45||D===46||D===58||D===95||Tn(D)?(e.consume(D),L):H(D)}function H(D){return D===61?(e.consume(D),$):Ve(D)?(s=H,G(D)):dt(D)?(e.consume(D),H):I(D)}function $(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),a=D,U):Ve(D)?(s=$,G(D)):dt(D)?(e.consume(D),$):(e.consume(D),W)}function U(D){return D===a?(e.consume(D),a=void 0,Z):D===null?n(D):Ve(D)?(s=U,G(D)):(e.consume(D),U)}function W(D){return D===null||D===34||D===39||D===60||D===61||D===96?n(D):D===47||D===62||Dt(D)?I(D):(e.consume(D),W)}function Z(D){return D===47||D===62||Dt(D)?I(D):n(D)}function j(D){return D===62?(e.consume(D),e.exit("htmlTextData"),e.exit("htmlText"),t):n(D)}function G(D){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),z}function z(D){return dt(D)?ut(e,Y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):Y(D)}function Y(D){return e.enter("htmlTextData"),s(D)}}const QT={name:"labelEnd",resolveAll:due,resolveTo:fue,tokenize:pue},lue={tokenize:gue},uue={tokenize:hue},cue={tokenize:mue};function due(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&rr(e,0,e.length,n),e}function fue(e,t){let n=e.length,r=0,a,o,s,l;for(;n--;)if(a=e[n][1],o){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(o=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(s=n);const c={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[o][1].start},end:{...e[s][1].end}},p={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[s-2][1].start}};return l=[["enter",c,t],["enter",d,t]],l=vr(l,e.slice(o+1,o+r+3)),l=vr(l,[["enter",p,t]]),l=vr(l,Op(t.parser.constructs.insideSpan.null,e.slice(o+r+4,s-3),t)),l=vr(l,[["exit",p,t],e[s-2],e[s-1],["exit",d,t]]),l=vr(l,e.slice(s+1)),l=vr(l,[["exit",c,t]]),rr(e,o,e.length,l),e}function pue(e,t,n){const r=this;let a=r.events.length,o,s;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){o=r.events[a][1];break}return l;function l(m){return o?o._inactive?g(m):(s=r.parser.defined.includes(zr(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),c):n(m)}function c(m){return m===40?e.attempt(lue,p,s?p:g)(m):m===91?e.attempt(uue,p,s?d:g)(m):s?p(m):g(m)}function d(m){return e.attempt(cue,p,g)(m)}function p(m){return t(m)}function g(m){return o._balanced=!0,n(m)}}function gue(e,t,n){return r;function r(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),a}function a(g){return Dt(g)?yu(e,o)(g):o(g)}function o(g){return g===41?p(g):WG(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function s(g){return Dt(g)?yu(e,c)(g):p(g)}function l(g){return n(g)}function c(g){return g===34||g===39||g===40?KG(e,d,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function d(g){return Dt(g)?yu(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):n(g)}}function hue(e,t,n){const r=this;return a;function a(l){return YG.call(r,e,o,s,"reference","referenceMarker","referenceString")(l)}function o(l){return r.parser.defined.includes(zr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function s(l){return n(l)}}function mue(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),a}function a(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const bue={name:"labelStartImage",resolveAll:QT.resolveAll,tokenize:yue};function yue(e,t,n){const r=this;return a;function a(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),o}function o(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),s):n(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const vue={name:"labelStartLink",resolveAll:QT.resolveAll,tokenize:Sue};function Sue(e,t,n){const r=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const gb={name:"lineEnding",tokenize:Eue};function Eue(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ut(e,t,"linePrefix")}}const cf={name:"thematicBreak",tokenize:wue};function wue(e,t,n){let r=0,a;return o;function o(d){return e.enter("thematicBreak"),s(d)}function s(d){return a=d,l(d)}function l(d){return d===a?(e.enter("thematicBreakSequence"),c(d)):r>=3&&(d===null||Ve(d))?(e.exit("thematicBreak"),t(d)):n(d)}function c(d){return d===a?(e.consume(d),r++,c):(e.exit("thematicBreakSequence"),dt(d)?ut(e,l,"whitespace")(d):l(d))}}const Bn={continuation:{tokenize:Aue},exit:Cue,name:"list",tokenize:Tue},xue={partial:!0,tokenize:_ue},kue={partial:!0,tokenize:Rue};function Tue(e,t,n){const r=this,a=r.events[r.events.length-1];let o=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return l;function l(b){const y=r.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||b===r.containerState.marker:p0(b)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(cf,n,d)(b):d(b);if(!r.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(b)}return n(b)}function c(b){return p0(b)&&++s<10?(e.consume(b),c):(!r.interrupt||s<2)&&(r.containerState.marker?b===r.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),d(b)):n(b)}function d(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||b,e.check(oc,r.interrupt?n:p,e.attempt(xue,m,g))}function p(b){return r.containerState.initialBlankLine=!0,o++,m(b)}function g(b){return dt(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),m):n(b)}function m(b){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function Aue(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(oc,a,o);function a(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ut(e,t,"listItemIndent",r.containerState.size+1)(l)}function o(l){return r.containerState.furtherBlankLines||!dt(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(kue,t,s)(l))}function s(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,ut(e,e.attempt(Bn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Rue(e,t,n){const r=this;return ut(e,a,"listItemIndent",r.containerState.size+1);function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Cue(e){e.exit(this.containerState.type)}function _ue(e,t,n){const r=this;return ut(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(o){const s=r.events[r.events.length-1];return!dt(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const vD={name:"setextUnderline",resolveTo:Nue,tokenize:Oue};function Nue(e,t){let n=e.length,r,a,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const s={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",o?(e.splice(a,0,["enter",s,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Oue(e,t,n){const r=this;let a;return o;function o(d){let p=r.events.length,g;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){g=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||g)?(e.enter("setextHeadingLine"),a=d,s(d)):n(d)}function s(d){return e.enter("setextHeadingLineSequence"),l(d)}function l(d){return d===a?(e.consume(d),l):(e.exit("setextHeadingLineSequence"),dt(d)?ut(e,c,"lineSuffix")(d):c(d))}function c(d){return d===null||Ve(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}const Due={tokenize:Iue};function Iue(e){const t=this,n=e.attempt(oc,r,e.attempt(this.parser.constructs.flowInitial,a,ut(e,e.attempt(this.parser.constructs.flow,a,e.attempt(zle,a)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Lue={resolveAll:ZG()},Mue=XG("string"),Pue=XG("text");function XG(e){return{resolveAll:ZG(e==="text"?Fue:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],o=n.attempt(a,s,l);return s;function s(p){return d(p)?o(p):l(p)}function l(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),c}function c(p){return d(p)?(n.exit("data"),o(p)):(n.consume(p),c)}function d(p){if(p===null)return!0;const g=a[p];let m=-1;if(g)for(;++m<g.length;){const b=g[m];if(!b.previous||b.previous.call(r,r.previous))return!0}return!1}}}function ZG(e){return t;function t(n,r){let a=-1,o;for(;++a<=n.length;)o===void 0?n[a]&&n[a][1].type==="data"&&(o=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==o+2&&(n[o][1].end=n[a-1][1].end,n.splice(o+2,a-o-2),a=o+2),o=void 0);return e?e(n,r):n}}function Fue(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let o=a.length,s=-1,l=0,c;for(;o--;){const d=a[o];if(typeof d=="string"){for(s=d.length;d.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(d===-2)c=!0,l++;else if(d!==-1){o++;break}}if(l){const d={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:r.start._bufferIndex+s,_index:r.start._index+o,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...d.start},r.start.offset===r.end.offset?Object.assign(r,d):(e.splice(n,0,["enter",d,t],["exit",d,t]),n+=2)}n++}return e}const zue={42:Bn,43:Bn,45:Bn,48:Bn,49:Bn,50:Bn,51:Bn,52:Bn,53:Bn,54:Bn,55:Bn,56:Bn,57:Bn,62:HG},Bue={91:Hle},Uue={[-2]:pb,[-1]:pb,32:pb},jue={35:Kle,42:cf,45:[vD,cf],60:Jle,61:vD,95:cf,96:bD,126:bD},Gue={38:qG,92:$G},Hue={[-5]:gb,[-4]:gb,[-3]:gb,33:bue,38:qG,42:g0,60:[vle,iue],91:vue,92:[Wle,$G],93:QT,95:g0,96:Dle},$ue={null:[g0,Lue]},que={null:[42,95]},Vue={null:[]},Wue=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:que,contentInitial:Bue,disable:Vue,document:zue,flow:jue,flowInitial:Uue,insideSpan:$ue,string:Gue,text:Hue},Symbol.toStringTag,{value:"Module"}));function Yue(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},o=[];let s=[],l=[];const c={attempt:_(O),check:_(C),consume:x,enter:A,exit:N,interrupt:_(C,{interrupt:!0})},d={code:null,containerState:{},defineSkip:S,events:[],now:y,parser:e,previous:null,sliceSerialize:m,sliceStream:b,write:g};let p=t.tokenize.call(d,c);return t.resolveAll&&o.push(t),d;function g(H){return s=vr(s,H),k(),s[s.length-1]!==null?[]:(P(t,0),d.events=Op(o,d.events,d),d.events)}function m(H,$){return Xue(b(H),$)}function b(H){return Kue(s,H)}function y(){const{_bufferIndex:H,_index:$,line:U,column:W,offset:Z}=r;return{_bufferIndex:H,_index:$,line:U,column:W,offset:Z}}function S(H){a[H.line]=H.column,L()}function k(){let H;for(;r._index<s.length;){const $=s[r._index];if(typeof $=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<$.length;)R($.charCodeAt(r._bufferIndex));else R($)}}function R(H){p=p(H)}function x(H){Ve(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,L()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),d.previous=H}function A(H,$){const U=$||{};return U.type=H,U.start=y(),d.events.push(["enter",U,d]),l.push(U),U}function N(H){const $=l.pop();return $.end=y(),d.events.push(["exit",$,d]),$}function O(H,$){P(H,$.from)}function C(H,$){$.restore()}function _(H,$){return U;function U(W,Z,j){let G,z,Y,D;return Array.isArray(W)?B(W):"tokenize"in W?B([W]):V(W);function V(Q){return J;function J(ae){const ke=ae!==null&&Q[ae],ie=ae!==null&&Q.null,Se=[...Array.isArray(ke)?ke:ke?[ke]:[],...Array.isArray(ie)?ie:ie?[ie]:[]];return B(Se)(ae)}}function B(Q){return G=Q,z=0,Q.length===0?j:M(Q[z])}function M(Q){return J;function J(ae){return D=I(),Y=Q,Q.partial||(d.currentConstruct=Q),Q.name&&d.parser.constructs.disable.null.includes(Q.name)?ee():Q.tokenize.call($?Object.assign(Object.create(d),$):d,c,K,ee)(ae)}}function K(Q){return H(Y,D),Z}function ee(Q){return D.restore(),++z<G.length?M(G[z]):j}}}function P(H,$){H.resolveAll&&!o.includes(H)&&o.push(H),H.resolve&&rr(d.events,$,d.events.length-$,H.resolve(d.events.slice($),d)),H.resolveTo&&(d.events=H.resolveTo(d.events,d))}function I(){const H=y(),$=d.previous,U=d.currentConstruct,W=d.events.length,Z=Array.from(l);return{from:W,restore:j};function j(){r=H,d.previous=$,d.currentConstruct=U,d.events.length=W,l=Z,L()}}function L(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Kue(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;let s;if(n===a)s=[e[n].slice(r,o)];else{if(s=e.slice(n,a),r>-1){const l=s[0];typeof l=="string"?s[0]=l.slice(r):s.shift()}o>0&&s.push(e[a].slice(0,o))}return s}function Xue(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const o=e[n];let s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
|
||
`;break}case-3:{s=`\r
|
||
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(o)}a=o===-2,r.push(s)}return r.join("")}function Zue(e){const r={constructs:jG([Wue,...(e||{}).extensions||[]]),content:a(fle),defined:[],document:a(gle),flow:a(Due),lazy:{},string:a(Mue),text:a(Pue)};return r;function a(o){return s;function s(l){return Yue(r,o,l)}}}function Que(e){for(;!VG(e););return e}const SD=/[\0\t\n\r]/g;function Jue(){let e=1,t="",n=!0,r;return a;function a(o,s,l){const c=[];let d,p,g,m,b;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),g=0,t="",n&&(o.charCodeAt(0)===65279&&g++,n=void 0);g<o.length;){if(SD.lastIndex=g,d=SD.exec(o),m=d&&d.index!==void 0?d.index:o.length,b=o.charCodeAt(m),!d){t=o.slice(g);break}if(b===10&&g===m&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),g<m&&(c.push(o.slice(g,m)),e+=m-g),b){case 0:{c.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,c.push(-2);e++<p;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}g=m+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const ece=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tce(e){return e.replace(ece,nce)}function nce(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),o=a===120||a===88;return GG(n.slice(o?2:1),o?16:10)}return ZT(n)||e}const QG={}.hasOwnProperty;function rce(e,t,n){return typeof t!="string"&&(n=t,t=void 0),ace(n)(Que(Zue(n).document().write(Jue()(e,t,!0))))}function ace(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(me),autolinkProtocol:I,autolinkEmail:I,atxHeading:o(Ee),blockQuote:o(ie),characterEscape:I,characterReference:I,codeFenced:o(Se),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(Se,s),codeText:o(ve,s),codeTextData:I,data:I,codeFlowValue:I,definition:o(Ie),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Ce),hardBreakEscape:o(te),hardBreakTrailing:o(te),htmlFlow:o(fe,s),htmlFlowData:I,htmlText:o(fe,s),htmlTextData:I,image:o(Te),label:s,link:o(me),listItem:o(le),listItemValue:m,listOrdered:o(we,g),listUnordered:o(we),paragraph:o(ze),reference:M,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(Ee),strong:o(Be),thematicBreak:o(Ne)},exit:{atxHeading:c(),atxHeadingSequence:O,autolink:c(),autolinkEmail:ke,autolinkProtocol:ae,blockQuote:c(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ee,characterReferenceMarkerNumeric:ee,characterReferenceValue:Q,characterReference:J,codeFenced:c(k),codeFencedFence:S,codeFencedFenceInfo:b,codeFencedFenceMeta:y,codeFlowValue:L,codeIndented:c(R),codeText:c(Z),codeTextData:L,data:L,definition:c(),definitionDestinationString:N,definitionLabelString:x,definitionTitleString:A,emphasis:c(),hardBreakEscape:c($),hardBreakTrailing:c($),htmlFlow:c(U),htmlFlowData:L,htmlText:c(W),htmlTextData:L,image:c(G),label:Y,labelText:z,lineEnding:H,link:c(j),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:K,resourceDestinationString:D,resourceTitleString:V,resource:B,setextHeading:c(P),setextHeadingLineSequence:_,setextHeadingText:C,strong:c(),thematicBreak:c()}};JG(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ne){let ce={type:"root",children:[]};const _e={stack:[ce],tokenStack:[],config:t,enter:l,exit:d,buffer:s,resume:p,data:n},Fe=[];let We=-1;for(;++We<ne.length;)if(ne[We][1].type==="listOrdered"||ne[We][1].type==="listUnordered")if(ne[We][0]==="enter")Fe.push(We);else{const yt=Fe.pop();We=a(ne,yt,We)}for(We=-1;++We<ne.length;){const yt=t[ne[We][0]];QG.call(yt,ne[We][1].type)&&yt[ne[We][1].type].call(Object.assign({sliceSerialize:ne[We][2].sliceSerialize},_e),ne[We][1])}if(_e.tokenStack.length>0){const yt=_e.tokenStack[_e.tokenStack.length-1];(yt[1]||ED).call(_e,void 0,yt[0])}for(ce.position={start:wo(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:wo(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)ce=t.transforms[We](ce)||ce;return ce}function a(ne,ce,_e){let Fe=ce-1,We=-1,yt=!1,kt,ht,et,Tt;for(;++Fe<=_e;){const ot=ne[Fe];switch(ot[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ot[0]==="enter"?We++:We--,Tt=void 0;break}case"lineEndingBlank":{ot[0]==="enter"&&(kt&&!Tt&&!We&&!et&&(et=Fe),Tt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Tt=void 0}if(!We&&ot[0]==="enter"&&ot[1].type==="listItemPrefix"||We===-1&&ot[0]==="exit"&&(ot[1].type==="listUnordered"||ot[1].type==="listOrdered")){if(kt){let St=Fe;for(ht=void 0;St--;){const Ht=ne[St];if(Ht[1].type==="lineEnding"||Ht[1].type==="lineEndingBlank"){if(Ht[0]==="exit")continue;ht&&(ne[ht][1].type="lineEndingBlank",yt=!0),Ht[1].type="lineEnding",ht=St}else if(!(Ht[1].type==="linePrefix"||Ht[1].type==="blockQuotePrefix"||Ht[1].type==="blockQuotePrefixWhitespace"||Ht[1].type==="blockQuoteMarker"||Ht[1].type==="listItemIndent"))break}et&&(!ht||et<ht)&&(kt._spread=!0),kt.end=Object.assign({},ht?ne[ht][1].start:ot[1].end),ne.splice(ht||Fe,0,["exit",kt,ot[2]]),Fe++,_e++}if(ot[1].type==="listItemPrefix"){const St={type:"listItem",_spread:!1,start:Object.assign({},ot[1].start),end:void 0};kt=St,ne.splice(Fe,0,["enter",St,ot[2]]),Fe++,_e++,et=void 0,Tt=!0}}}return ne[ce][1]._spread=yt,_e}function o(ne,ce){return _e;function _e(Fe){l.call(this,ne(Fe),Fe),ce&&ce.call(this,Fe)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(ne,ce,_e){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ce,_e||void 0]),ne.position={start:wo(ce.start),end:void 0}}function c(ne){return ce;function ce(_e){ne&&ne.call(this,_e),d.call(this,_e)}}function d(ne,ce){const _e=this.stack.pop(),Fe=this.tokenStack.pop();if(Fe)Fe[0].type!==ne.type&&(ce?ce.call(this,ne,Fe[0]):(Fe[1]||ED).call(this,ne,Fe[0]));else throw new Error("Cannot close `"+ne.type+"` ("+bu({start:ne.start,end:ne.end})+"): it’s not open");_e.position.end=wo(ne.end)}function p(){return XT(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function m(ne){if(this.data.expectingFirstListItemValue){const ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function b(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=ne}function y(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=ne}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function R(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/(\r?\n|\r)$/g,"")}function x(ne){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.label=ce,_e.identifier=zr(this.sliceSerialize(ne)).toLowerCase()}function A(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function N(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function O(ne){const ce=this.stack[this.stack.length-1];if(!ce.depth){const _e=this.sliceSerialize(ne).length;ce.depth=_e}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function _(ne){const ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function I(ne){const _e=this.stack[this.stack.length-1].children;let Fe=_e[_e.length-1];(!Fe||Fe.type!=="text")&&(Fe=he(),Fe.position={start:wo(ne.start),end:void 0},_e.push(Fe)),this.stack.push(Fe)}function L(ne){const ce=this.stack.pop();ce.value+=this.sliceSerialize(ne),ce.position.end=wo(ne.end)}function H(ne){const ce=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _e=ce.children[ce.children.length-1];_e.position.end=wo(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ce.type)&&(I.call(this,ne),L.call(this,ne))}function $(){this.data.atHardBreak=!0}function U(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function W(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function Z(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function j(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ce,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function G(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ce,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function z(ne){const ce=this.sliceSerialize(ne),_e=this.stack[this.stack.length-2];_e.label=tce(ce),_e.identifier=zr(ce).toLowerCase()}function Y(){const ne=this.stack[this.stack.length-1],ce=this.resume(),_e=this.stack[this.stack.length-1];if(this.data.inReference=!0,_e.type==="link"){const Fe=ne.children;_e.children=Fe}else _e.alt=ce}function D(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function V(){const ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function B(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function K(ne){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.label=ce,_e.identifier=zr(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function ee(ne){this.data.characterReferenceType=ne.type}function Q(ne){const ce=this.sliceSerialize(ne),_e=this.data.characterReferenceType;let Fe;_e?(Fe=GG(ce,_e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Fe=ZT(ce);const We=this.stack[this.stack.length-1];We.value+=Fe}function J(ne){const ce=this.stack.pop();ce.position.end=wo(ne.end)}function ae(ne){L.call(this,ne);const ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize(ne)}function ke(ne){L.call(this,ne);const ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize(ne)}function ie(){return{type:"blockquote",children:[]}}function Se(){return{type:"code",lang:null,meta:null,value:""}}function ve(){return{type:"inlineCode",value:""}}function Ie(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ce(){return{type:"emphasis",children:[]}}function Ee(){return{type:"heading",depth:0,children:[]}}function te(){return{type:"break"}}function fe(){return{type:"html",value:""}}function Te(){return{type:"image",title:null,url:"",alt:null}}function me(){return{type:"link",title:null,url:"",children:[]}}function we(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function le(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function ze(){return{type:"paragraph",children:[]}}function Be(){return{type:"strong",children:[]}}function he(){return{type:"text",value:""}}function Ne(){return{type:"thematicBreak"}}}function wo(e){return{line:e.line,column:e.column,offset:e.offset}}function JG(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?JG(e,r):oce(e,r)}}function oce(e,t){let n;for(n in t)if(QG.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ED(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+bu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+bu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+bu({start:t.start,end:t.end})+") is still open")}function ice(e){const t=this;t.parser=n;function n(r){return rce(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function sce(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function lce(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
||
`}]}function uce(e,t){const n=t.value?t.value+`
|
||
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function cce(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dce(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fce(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=rl(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let s,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=o+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,c);const d={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,d),e.applyData(t,d)}function pce(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gce(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function eH(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),o=a[0];o&&o.type==="text"?o.value="["+o.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=r:a.push({type:"text",value:r}),a}function hce(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eH(e,t);const a={src:rl(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const o={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)}function mce(e,t){const n={src:rl(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function bce(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function yce(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eH(e,t);const a={href:rl(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const o={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function vce(e,t){const n={href:rl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Sce(e,t,n){const r=e.all(t),a=n?Ece(n):tH(t),o={},s=[];if(typeof t.checked=="boolean"){const p=r[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},r.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const p=r[l];(a||l!==0||p.type!=="element"||p.tagName!=="p")&&s.push({type:"text",value:`
|
||
`}),p.type==="element"&&p.tagName==="p"&&!a?s.push(...p.children):s.push(p)}const c=r[r.length-1];c&&(a||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
|
||
`});const d={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,d),e.applyData(t,d)}function Ece(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=tH(n[r])}return t}function tH(e){const t=e.spread;return t??e.children.length>1}function wce(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const s=r[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function xce(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kce(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Tce(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ace(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),a.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=VT(t.children[1]),c=IG(t.children[t.children.length-1]);l&&c&&(s.position={start:l,end:c}),a.push(s)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)}function Rce(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,l=s?s.length:t.children.length;let c=-1;const d=[];for(;++c<l;){const g=t.children[c],m={},b=s?s[c]:void 0;b&&(m.align=b);let y={type:"element",tagName:o,properties:m,children:[]};g&&(y.children=e.all(g),e.patch(g,y),y=e.applyData(g,y)),d.push(y)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(d,!0)};return e.patch(t,p),e.applyData(t,p)}function Cce(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const wD=9,xD=32;function _ce(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const o=[];for(;r;)o.push(kD(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(kD(t.slice(a),a>0,!1)),o.join("")}function kD(e,t,n){let r=0,a=e.length;if(t){let o=e.codePointAt(r);for(;o===wD||o===xD;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(a-1);for(;o===wD||o===xD;)a--,o=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function Nce(e,t){const n={type:"text",value:_ce(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Oce(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Dce={blockquote:sce,break:lce,code:uce,delete:cce,emphasis:dce,footnoteReference:fce,heading:pce,html:gce,imageReference:hce,image:mce,inlineCode:bce,linkReference:yce,link:vce,listItem:Sce,list:wce,paragraph:xce,root:kce,strong:Tce,table:Ace,tableCell:Cce,tableRow:Rce,text:Nce,thematicBreak:Oce,toml:Bd,yaml:Bd,definition:Bd,footnoteDefinition:Bd};function Bd(){}const nH=-1,Dp=0,vu=1,zf=2,JT=3,eA=4,tA=5,nA=6,rH=7,aH=8,TD=typeof self=="object"?self:globalThis,Ice=(e,t)=>{const n=(a,o)=>(e.set(o,a),a),r=a=>{if(e.has(a))return e.get(a);const[o,s]=t[a];switch(o){case Dp:case nH:return n(s,a);case vu:{const l=n([],a);for(const c of s)l.push(r(c));return l}case zf:{const l=n({},a);for(const[c,d]of s)l[r(c)]=r(d);return l}case JT:return n(new Date(s),a);case eA:{const{source:l,flags:c}=s;return n(new RegExp(l,c),a)}case tA:{const l=n(new Map,a);for(const[c,d]of s)l.set(r(c),r(d));return l}case nA:{const l=n(new Set,a);for(const c of s)l.add(r(c));return l}case rH:{const{name:l,message:c}=s;return n(new TD[l](c),a)}case aH:return n(BigInt(s),a);case"BigInt":return n(Object(BigInt(s)),a);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:l}=new Uint8Array(s);return n(new DataView(l),s)}}return n(new TD[o](s),a)};return r},AD=e=>Ice(new Map,e)(0),ms="",{toString:Lce}={},{keys:Mce}=Object,du=e=>{const t=typeof e;if(t!=="object"||!e)return[Dp,t];const n=Lce.call(e).slice(8,-1);switch(n){case"Array":return[vu,ms];case"Object":return[zf,ms];case"Date":return[JT,ms];case"RegExp":return[eA,ms];case"Map":return[tA,ms];case"Set":return[nA,ms];case"DataView":return[vu,n]}return n.includes("Array")?[vu,n]:n.includes("Error")?[rH,n]:[zf,n]},Ud=([e,t])=>e===Dp&&(t==="function"||t==="symbol"),Pce=(e,t,n,r)=>{const a=(s,l)=>{const c=r.push(s)-1;return n.set(l,c),c},o=s=>{if(n.has(s))return n.get(s);let[l,c]=du(s);switch(l){case Dp:{let p=s;switch(c){case"bigint":l=aH,p=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);p=null;break;case"undefined":return a([nH],s)}return a([l,p],s)}case vu:{if(c){let m=s;return c==="DataView"?m=new Uint8Array(s.buffer):c==="ArrayBuffer"&&(m=new Uint8Array(s)),a([c,[...m]],s)}const p=[],g=a([l,p],s);for(const m of s)p.push(o(m));return g}case zf:{if(c)switch(c){case"BigInt":return a([c,s.toString()],s);case"Boolean":case"Number":case"String":return a([c,s.valueOf()],s)}if(t&&"toJSON"in s)return o(s.toJSON());const p=[],g=a([l,p],s);for(const m of Mce(s))(e||!Ud(du(s[m])))&&p.push([o(m),o(s[m])]);return g}case JT:return a([l,s.toISOString()],s);case eA:{const{source:p,flags:g}=s;return a([l,{source:p,flags:g}],s)}case tA:{const p=[],g=a([l,p],s);for(const[m,b]of s)(e||!(Ud(du(m))||Ud(du(b))))&&p.push([o(m),o(b)]);return g}case nA:{const p=[],g=a([l,p],s);for(const m of s)(e||!Ud(du(m)))&&p.push(o(m));return g}}const{message:d}=s;return a([l,{name:c,message:d}],s)};return o},RD=(e,{json:t,lossy:n}={})=>{const r=[];return Pce(!(t||n),!!t,new Map,r)(e),r},Bf=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?AD(RD(e,t)):structuredClone(e):(e,t)=>AD(RD(e,t));function Fce(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function zce(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Bce(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Fce,r=e.options.footnoteBackLabel||zce,a=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const d=e.footnoteById.get(e.footnoteOrder[c]);if(!d)continue;const p=e.all(d),g=String(d.identifier).toUpperCase(),m=rl(g.toLowerCase());let b=0;const y=[],S=e.footnoteCounts.get(g);for(;S!==void 0&&++b<=S;){y.length>0&&y.push({type:"text",value:" "});let x=typeof n=="string"?n:n(c,b);typeof x=="string"&&(x={type:"text",value:x}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,b),className:["data-footnote-backref"]},children:Array.isArray(x)?x:[x]})}const k=p[p.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const x=k.children[k.children.length-1];x&&x.type==="text"?x.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...y)}else p.push(...y);const R={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(p,!0)};e.patch(d,R),l.push(R)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Bf(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
|
||
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
|
||
`}]}}const Ip=function(e){if(e==null)return Hce;if(typeof e=="function")return Lp(e);if(typeof e=="object")return Array.isArray(e)?Uce(e):jce(e);if(typeof e=="string")return Gce(e);throw new Error("Expected function, string, or object as test")};function Uce(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ip(e[n]);return Lp(r);function r(...a){let o=-1;for(;++o<t.length;)if(t[o].apply(this,a))return!0;return!1}}function jce(e){const t=e;return Lp(n);function n(r){const a=r;let o;for(o in e)if(a[o]!==t[o])return!1;return!0}}function Gce(e){return Lp(t);function t(n){return n&&n.type===e}}function Lp(e){return t;function t(n,r,a){return!!($ce(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function Hce(){return!0}function $ce(e){return e!==null&&typeof e=="object"&&"type"in e}const oH=[],qce=!0,h0=!1,Vce="skip";function iH(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const o=Ip(a),s=r?-1:1;l(e,void 0,[])();function l(c,d,p){const g=c&&typeof c=="object"?c:{};if(typeof g.type=="string"){const b=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(c.type+(b?"<"+b+">":""))+")"})}return m;function m(){let b=oH,y,S,k;if((!t||o(c,d,p[p.length-1]||void 0))&&(b=Wce(n(c,p)),b[0]===h0))return b;if("children"in c&&c.children){const R=c;if(R.children&&b[0]!==Vce)for(S=(r?R.children.length:-1)+s,k=p.concat(R);S>-1&&S<R.children.length;){const x=R.children[S];if(y=l(x,S,k)(),y[0]===h0)return y;S=typeof y[1]=="number"?y[1]:S+s}}return b}}}function Wce(e){return Array.isArray(e)?e:typeof e=="number"?[qce,e]:e==null?oH:[e]}function rA(e,t,n,r){let a,o,s;typeof t=="function"?(o=void 0,s=t,a=n):(o=t,s=n,a=r),iH(e,o,l,a);function l(c,d){const p=d[d.length-1],g=p?p.children.indexOf(c):void 0;return s(c,g,p)}}const m0={}.hasOwnProperty,Yce={};function Kce(e,t){const n=t||Yce,r=new Map,a=new Map,o=new Map,s={...Dce,...n.handlers},l={all:d,applyData:Zce,definitionById:r,footnoteById:a,footnoteCounts:o,footnoteOrder:[],handlers:s,one:c,options:n,patch:Xce,wrap:Jce};return rA(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?r:a,m=String(p.identifier).toUpperCase();g.has(m)||g.set(m,p)}}),l;function c(p,g){const m=p.type,b=l.handlers[m];if(m0.call(l.handlers,m)&&b)return b(l,p,g);if(l.options.passThrough&&l.options.passThrough.includes(m)){if("children"in p){const{children:S,...k}=p,R=Bf(k);return R.children=l.all(p),R}return Bf(p)}return(l.options.unknownHandler||Qce)(l,p,g)}function d(p){const g=[];if("children"in p){const m=p.children;let b=-1;for(;++b<m.length;){const y=l.one(m[b],p);if(y){if(b&&m[b-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=CD(y.value)),!Array.isArray(y)&&y.type==="element")){const S=y.children[0];S&&S.type==="text"&&(S.value=CD(S.value))}Array.isArray(y)?g.push(...y):g.push(y)}}}return g}}function Xce(e,t){e.position&&(t.position=Fse(e))}function Zce(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&o&&Object.assign(n.properties,Bf(o)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function Qce(e,t){const n=t.data||{},r="value"in t&&!(m0.call(n,"hProperties")||m0.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Jce(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
||
`});++r<e.length;)r&&n.push({type:"text",value:`
|
||
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
||
`}),n}function CD(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _D(e,t){const n=Kce(e,t),r=n.one(e,void 0),a=Bce(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&o.children.push({type:"text",value:`
|
||
`},a),o}function ede(e,t){return e&&"run"in e?async function(n,r){const a=_D(n,{file:r,...t});await e.run(a,r)}:function(n,r){return _D(n,{file:r,...e||t})}}function ND(e){if(e)throw e}var hb,OD;function tde(){if(OD)return hb;OD=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(d){return typeof Array.isArray=="function"?Array.isArray(d):t.call(d)==="[object Array]"},o=function(d){if(!d||t.call(d)!=="[object Object]")return!1;var p=e.call(d,"constructor"),g=d.constructor&&d.constructor.prototype&&e.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!p&&!g)return!1;var m;for(m in d);return typeof m>"u"||e.call(d,m)},s=function(d,p){n&&p.name==="__proto__"?n(d,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):d[p.name]=p.newValue},l=function(d,p){if(p==="__proto__")if(e.call(d,p)){if(r)return r(d,p).value}else return;return d[p]};return hb=function c(){var d,p,g,m,b,y,S=arguments[0],k=1,R=arguments.length,x=!1;for(typeof S=="boolean"&&(x=S,S=arguments[1]||{},k=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});k<R;++k)if(d=arguments[k],d!=null)for(p in d)g=l(S,p),m=l(d,p),S!==m&&(x&&m&&(o(m)||(b=a(m)))?(b?(b=!1,y=g&&a(g)?g:[]):y=g&&o(g)?g:{},s(S,{name:p,newValue:c(x,y,m)})):typeof m<"u"&&s(S,{name:p,newValue:m}));return S},hb}var nde=tde();const mb=cn(nde);function b0(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function rde(){const e=[],t={run:n,use:r};return t;function n(...a){let o=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);l(null,...a);function l(c,...d){const p=e[++o];let g=-1;if(c){s(c);return}for(;++g<a.length;)(d[g]===null||d[g]===void 0)&&(d[g]=a[g]);a=d,p?ade(p,l)(...d):s(null,...d)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function ade(e,t){let n;return r;function r(...s){const l=e.length>s.length;let c;l&&s.push(a);try{c=e.apply(this,s)}catch(d){const p=d;if(l&&n)throw p;return a(p)}l||(c&&c.then&&typeof c.then=="function"?c.then(o,a):c instanceof Error?a(c):o(c))}function a(s,...l){n||(n=!0,t(s,...l))}function o(s){a(null,s)}}const Jr={basename:ode,dirname:ide,extname:sde,join:lde,sep:"/"};function ode(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ic(e);let n=0,r=-1,a=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(o){n=a+1;break}}else r<0&&(o=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,l=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(o){n=a+1;break}}else s<0&&(o=!0,s=a+1),l>-1&&(e.codePointAt(a)===t.codePointAt(l--)?l<0&&(r=a):(l=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function ide(e){if(ic(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function sde(e){ic(e);let t=e.length,n=-1,r=0,a=-1,o=0,s;for(;t--;){const l=e.codePointAt(t);if(l===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),l===46?a<0?a=t:o!==1&&(o=1):a>-1&&(o=-1)}return a<0||n<0||o===0||o===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function lde(...e){let t=-1,n;for(;++t<e.length;)ic(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":ude(n)}function ude(e){ic(e);const t=e.codePointAt(0)===47;let n=cde(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function cde(e,t){let n="",r=0,a=-1,o=0,s=-1,l,c;for(;++s<=e.length;){if(s<e.length)l=e.codePointAt(s);else{if(l===47)break;l=47}if(l===47){if(!(a===s-1||o===1))if(a!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),a=s,o=0;continue}}else if(n.length>0){n="",r=0,a=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,s):n=e.slice(a+1,s),r=s-a-1;a=s,o=0}else l===46&&o>-1?o++:o=-1}return n}function ic(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const dde={cwd:fde};function fde(){return"/"}function y0(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function pde(e){if(typeof e=="string")e=new URL(e);else if(!y0(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return gde(e)}function gde(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const bb=["history","path","basename","stem","extname","dirname"];class sH{constructor(t){let n;t?y0(t)?n={path:t}:typeof t=="string"||hde(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":dde.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<bb.length;){const o=bb[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let a;for(a in n)bb.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Jr.basename(this.path):void 0}set basename(t){vb(t,"basename"),yb(t,"basename"),this.path=Jr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Jr.dirname(this.path):void 0}set dirname(t){DD(this.basename,"dirname"),this.path=Jr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Jr.extname(this.path):void 0}set extname(t){if(yb(t,"extname"),DD(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Jr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){y0(t)&&(t=pde(t)),vb(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Jr.basename(this.path,this.extname):void 0}set stem(t){vb(t,"stem"),yb(t,"stem"),this.path=Jr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new Cn(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function yb(e,t){if(e&&e.includes(Jr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Jr.sep+"`")}function vb(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function DD(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function hde(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mde=function(e){const r=this.constructor.prototype,a=r[e],o=function(){return a.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},bde={}.hasOwnProperty;class aA extends mde{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=rde()}copy(){const t=new aA;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(mb(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(wb("data",this.frozen),this.namespace[t]=n,this):bde.call(this.namespace,t)&&this.namespace[t]||void 0:t?(wb("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=jd(t),r=this.parser||this.Parser;return Sb("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Sb("process",this.parser||this.Parser),Eb("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(o,s){const l=jd(t),c=r.parse(l);r.run(c,l,function(p,g,m){if(p||!g||!m)return d(p);const b=g,y=r.stringify(b,m);Sde(y)?m.value=y:m.result=y,d(p,m)});function d(p,g){p||!g?s(p):o?o(g):n(void 0,g)}}}processSync(t){let n=!1,r;return this.freeze(),Sb("processSync",this.parser||this.Parser),Eb("processSync",this.compiler||this.Compiler),this.process(t,a),LD("processSync","process",n),r;function a(o,s){n=!0,ND(o),r=s}}run(t,n,r){ID(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,l){const c=jd(n);a.run(t,c,d);function d(p,g,m){const b=g||t;p?l(p):s?s(b):r(void 0,b,m)}}}runSync(t,n){let r=!1,a;return this.run(t,n,o),LD("runSync","run",r),a;function o(s,l){ND(s),a=l,r=!0}}stringify(t,n){this.freeze();const r=jd(n),a=this.compiler||this.Compiler;return Eb("stringify",a),ID(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(wb("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(d){if(typeof d=="function")c(d,[]);else if(typeof d=="object")if(Array.isArray(d)){const[p,...g]=d;c(p,g)}else s(d);else throw new TypeError("Expected usable value, not `"+d+"`")}function s(d){if(!("plugins"in d)&&!("settings"in d))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(d.plugins),d.settings&&(a.settings=mb(!0,a.settings,d.settings))}function l(d){let p=-1;if(d!=null)if(Array.isArray(d))for(;++p<d.length;){const g=d[p];o(g)}else throw new TypeError("Expected a list of plugins, not `"+d+"`")}function c(d,p){let g=-1,m=-1;for(;++g<r.length;)if(r[g][0]===d){m=g;break}if(m===-1)r.push([d,...p]);else if(p.length>0){let[b,...y]=p;const S=r[m][1];b0(S)&&b0(b)&&(b=mb(!0,S,b)),r[m]=[d,b,...y]}}}}const yde=new aA().freeze();function Sb(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Eb(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function wb(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ID(e){if(!b0(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function LD(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function jd(e){return vde(e)?e:new sH(e)}function vde(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Sde(e){return typeof e=="string"||Ede(e)}function Ede(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const wde="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",MD=[],PD={allowDangerousHtml:!0},xde=/^(https?|ircs?|mailto|xmpp)$/i,kde=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Tde(e){const t=Ade(e),n=Rde(e);return Cde(t.runSync(t.parse(n),n),e)}function Ade(e){const t=e.rehypePlugins||MD,n=e.remarkPlugins||MD,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...PD}:PD;return yde().use(ice).use(n).use(ede,r).use(t)}function Rde(e){const t=e.children||"",n=new sH;return typeof t=="string"&&(n.value=t),n}function Cde(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,o=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||_de;for(const p of kde)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+wde+p.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),rA(e,d),PG(e,{Fragment:w.Fragment,components:a,ignoreInvalidStyle:!0,jsx:w.jsx,jsxs:w.jsxs,passKeys:!0,passNode:!0});function d(p,g,m){if(p.type==="raw"&&m&&typeof g=="number")return s?m.children.splice(g,1):m.children[g]={type:"text",value:p.value},g;if(p.type==="element"){let b;for(b in fb)if(Object.hasOwn(fb,b)&&Object.hasOwn(p.properties,b)){const y=p.properties[b],S=fb[b];(S===null||S.includes(p.tagName))&&(p.properties[b]=c(String(y||""),b,p))}}if(p.type==="element"){let b=n?!n.includes(p.tagName):o?o.includes(p.tagName):!1;if(!b&&r&&typeof g=="number"&&(b=!r(p,g,m)),b&&m&&typeof g=="number")return l&&p.children?m.children.splice(g,1,...p.children):m.children.splice(g,1),g}}}function _de(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||xde.test(e.slice(0,t))?e:""}function FD(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function Nde(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Ode(e,t,n){const a=Ip((n||{}).ignore||[]),o=Dde(t);let s=-1;for(;++s<o.length;)iH(e,"text",l);function l(d,p){let g=-1,m;for(;++g<p.length;){const b=p[g],y=m?m.children:void 0;if(a(b,y?y.indexOf(b):void 0,m))return;m=b}if(m)return c(d,p)}function c(d,p){const g=p[p.length-1],m=o[s][0],b=o[s][1];let y=0;const k=g.children.indexOf(d);let R=!1,x=[];m.lastIndex=0;let A=m.exec(d.value);for(;A;){const N=A.index,O={index:A.index,input:A.input,stack:[...p,d]};let C=b(...A,O);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?m.lastIndex=N+1:(y!==N&&x.push({type:"text",value:d.value.slice(y,N)}),Array.isArray(C)?x.push(...C):C&&x.push(C),y=N+A[0].length,R=!0),!m.global)break;A=m.exec(d.value)}return R?(y<d.value.length&&x.push({type:"text",value:d.value.slice(y)}),g.children.splice(k,1,...x)):x=[d],k+x.length}}function Dde(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([Ide(a[0]),Lde(a[1])])}return t}function Ide(e){return typeof e=="string"?new RegExp(Nde(e),"g"):e}function Lde(e){return typeof e=="function"?e:function(){return e}}const xb="phrasing",kb=["autolink","link","image","label"];function Mde(){return{transforms:[Gde],enter:{literalAutolink:Fde,literalAutolinkEmail:Tb,literalAutolinkHttp:Tb,literalAutolinkWww:Tb},exit:{literalAutolink:jde,literalAutolinkEmail:Ude,literalAutolinkHttp:zde,literalAutolinkWww:Bde}}}function Pde(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:xb,notInConstruct:kb},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:xb,notInConstruct:kb},{character:":",before:"[ps]",after:"\\/",inConstruct:xb,notInConstruct:kb}]}}function Fde(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Tb(e){this.config.enter.autolinkProtocol.call(this,e)}function zde(e){this.config.exit.autolinkProtocol.call(this,e)}function Bde(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ude(e){this.config.exit.autolinkEmail.call(this,e)}function jde(e){this.exit(e)}function Gde(e){Ode(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Hde],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),$de]],{ignore:["link","linkReference"]})}function Hde(e,t,n,r,a){let o="";if(!lH(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!qde(n)))return!1;const s=Vde(n+r);if(!s[0])return!1;const l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function $de(e,t,n,r){return!lH(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function qde(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Vde(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=FD(e,"(");let o=FD(e,")");for(;r!==-1&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function lH(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ei(n)||Np(n))&&(!t||n!==47)}uH.peek=tfe;function Wde(){this.buffer()}function Yde(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Kde(){this.buffer()}function Xde(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Zde(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=zr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Qde(e){this.exit(e)}function Jde(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=zr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function efe(e){this.exit(e)}function tfe(){return"["}function uH(e,t,n,r){const a=n.createTracker(r);let o=a.move("[^");const s=n.enter("footnoteReference"),l=n.enter("reference");return o+=a.move(n.safe(n.associationId(e),{after:"]",before:o})),l(),s(),o+=a.move("]"),o}function nfe(){return{enter:{gfmFootnoteCallString:Wde,gfmFootnoteCall:Yde,gfmFootnoteDefinitionLabelString:Kde,gfmFootnoteDefinition:Xde},exit:{gfmFootnoteCallString:Zde,gfmFootnoteCall:Qde,gfmFootnoteDefinitionLabelString:Jde,gfmFootnoteDefinition:efe}}}function rfe(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:uH},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,o,s){const l=o.createTracker(s);let c=l.move("[^");const d=o.enter("footnoteDefinition"),p=o.enter("label");return c+=l.move(o.safe(o.associationId(r),{before:c,after:"]"})),p(),c+=l.move("]:"),r.children&&r.children.length>0&&(l.shift(4),c+=l.move((t?`
|
||
`:" ")+o.indentLines(o.containerFlow(r,l.current()),t?cH:afe))),d(),c}}function afe(e,t,n){return t===0?e:cH(e,t,n)}function cH(e,t,n){return(n?"":" ")+e}const ofe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];dH.peek=cfe;function ife(){return{canContainEols:["delete"],enter:{strikethrough:lfe},exit:{strikethrough:ufe}}}function sfe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ofe}],handlers:{delete:dH}}}function lfe(e){this.enter({type:"delete",children:[]},e)}function ufe(e){this.exit(e)}function dH(e,t,n,r){const a=n.createTracker(r),o=n.enter("strikethrough");let s=a.move("~~");return s+=n.containerPhrasing(e,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),o(),s}function cfe(){return"~"}function dfe(e){return e.length}function ffe(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||dfe,o=[],s=[],l=[],c=[];let d=0,p=-1;for(;++p<e.length;){const S=[],k=[];let R=-1;for(e[p].length>d&&(d=e[p].length);++R<e[p].length;){const x=pfe(e[p][R]);if(n.alignDelimiters!==!1){const A=a(x);k[R]=A,(c[R]===void 0||A>c[R])&&(c[R]=A)}S.push(x)}s[p]=S,l[p]=k}let g=-1;if(typeof r=="object"&&"length"in r)for(;++g<d;)o[g]=zD(r[g]);else{const S=zD(r);for(;++g<d;)o[g]=S}g=-1;const m=[],b=[];for(;++g<d;){const S=o[g];let k="",R="";S===99?(k=":",R=":"):S===108?k=":":S===114&&(R=":");let x=n.alignDelimiters===!1?1:Math.max(1,c[g]-k.length-R.length);const A=k+"-".repeat(x)+R;n.alignDelimiters!==!1&&(x=k.length+x+R.length,x>c[g]&&(c[g]=x),b[g]=x),m[g]=A}s.splice(1,0,m),l.splice(1,0,b),p=-1;const y=[];for(;++p<s.length;){const S=s[p],k=l[p];g=-1;const R=[];for(;++g<d;){const x=S[g]||"";let A="",N="";if(n.alignDelimiters!==!1){const O=c[g]-(k[g]||0),C=o[g];C===114?A=" ".repeat(O):C===99?O%2?(A=" ".repeat(O/2+.5),N=" ".repeat(O/2-.5)):(A=" ".repeat(O/2),N=A):N=" ".repeat(O)}n.delimiterStart!==!1&&!g&&R.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&x==="")&&(n.delimiterStart!==!1||g)&&R.push(" "),n.alignDelimiters!==!1&&R.push(A),R.push(x),n.alignDelimiters!==!1&&R.push(N),n.padding!==!1&&R.push(" "),(n.delimiterEnd!==!1||g!==d-1)&&R.push("|")}y.push(n.delimiterEnd===!1?R.join("").replace(/ +$/,""):R.join(""))}return y.join(`
|
||
`)}function pfe(e){return e==null?"":String(e)}function zD(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function gfe(e,t,n,r){const a=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const s=n.indentLines(n.containerFlow(e,o.current()),hfe);return a(),s}function hfe(e,t,n){return">"+(n?"":" ")+e}function mfe(e,t){return BD(e,t.inConstruct,!0)&&!BD(e,t.notInConstruct,!1)}function BD(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function UD(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
|
||
`&&mfe(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
||
`}function fH(e,t){const n=String(e);let r=n.indexOf(t),a=r,o=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++o>s&&(s=o):o=1,a=r+t.length,r=n.indexOf(t,a);return s}function bfe(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function yfe(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function vfe(e,t,n,r){const a=yfe(n),o=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(bfe(e,n)){const g=n.enter("codeIndented"),m=n.indentLines(o,Sfe);return g(),m}const l=n.createTracker(r),c=a.repeat(Math.max(fH(o,a)+1,3)),d=n.enter("codeFenced");let p=l.move(c);if(e.lang){const g=n.enter(`codeFencedLang${s}`);p+=l.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...l.current()})),g()}if(e.lang&&e.meta){const g=n.enter(`codeFencedMeta${s}`);p+=l.move(" "),p+=l.move(n.safe(e.meta,{before:p,after:`
|
||
`,encode:["`"],...l.current()})),g()}return p+=l.move(`
|
||
`),o&&(p+=l.move(o+`
|
||
`)),p+=l.move(c),d(),p}function Sfe(e,t,n){return(n?"":" ")+e}function oA(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Efe(e,t,n,r){const a=oA(n),o=a==='"'?"Quote":"Apostrophe",s=n.enter("definition");let l=n.enter("label");const c=n.createTracker(r);let d=c.move("[");return d+=c.move(n.safe(n.associationId(e),{before:d,after:"]",...c.current()})),d+=c.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),d+=c.move("<"),d+=c.move(n.safe(e.url,{before:d,after:">",...c.current()})),d+=c.move(">")):(l=n.enter("destinationRaw"),d+=c.move(n.safe(e.url,{before:d,after:e.title?" ":`
|
||
`,...c.current()}))),l(),e.title&&(l=n.enter(`title${o}`),d+=c.move(" "+a),d+=c.move(n.safe(e.title,{before:d,after:a,...c.current()})),d+=c.move(a),l()),s(),d}function wfe(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function zu(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Uf(e,t,n){const r=Bs(e),a=Bs(t);return r===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}pH.peek=xfe;function pH(e,t,n,r){const a=wfe(n),o=n.enter("emphasis"),s=n.createTracker(r),l=s.move(a);let c=s.move(n.containerPhrasing(e,{after:a,before:l,...s.current()}));const d=c.charCodeAt(0),p=Uf(r.before.charCodeAt(r.before.length-1),d,a);p.inside&&(c=zu(d)+c.slice(1));const g=c.charCodeAt(c.length-1),m=Uf(r.after.charCodeAt(0),g,a);m.inside&&(c=c.slice(0,-1)+zu(g));const b=s.move(a);return o(),n.attentionEncodeSurroundingInfo={after:m.outside,before:p.outside},l+c+b}function xfe(e,t,n){return n.options.emphasis||"*"}function kfe(e,t){let n=!1;return rA(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,h0}),!!((!e.depth||e.depth<3)&&XT(e)&&(t.options.setext||n))}function Tfe(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(kfe(e,n)){const p=n.enter("headingSetext"),g=n.enter("phrasing"),m=n.containerPhrasing(e,{...o.current(),before:`
|
||
`,after:`
|
||
`});return g(),p(),m+`
|
||
`+(a===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
||
`))+1))}const s="#".repeat(a),l=n.enter("headingAtx"),c=n.enter("phrasing");o.move(s+" ");let d=n.containerPhrasing(e,{before:"# ",after:`
|
||
`,...o.current()});return/^[\t ]/.test(d)&&(d=zu(d.charCodeAt(0))+d.slice(1)),d=d?s+" "+d:s,n.options.closeAtx&&(d+=" "+s),c(),l(),d}gH.peek=Afe;function gH(e){return e.value||""}function Afe(){return"<"}hH.peek=Rfe;function hH(e,t,n,r){const a=oA(n),o=a==='"'?"Quote":"Apostrophe",s=n.enter("image");let l=n.enter("label");const c=n.createTracker(r);let d=c.move("![");return d+=c.move(n.safe(e.alt,{before:d,after:"]",...c.current()})),d+=c.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),d+=c.move("<"),d+=c.move(n.safe(e.url,{before:d,after:">",...c.current()})),d+=c.move(">")):(l=n.enter("destinationRaw"),d+=c.move(n.safe(e.url,{before:d,after:e.title?" ":")",...c.current()}))),l(),e.title&&(l=n.enter(`title${o}`),d+=c.move(" "+a),d+=c.move(n.safe(e.title,{before:d,after:a,...c.current()})),d+=c.move(a),l()),d+=c.move(")"),s(),d}function Rfe(){return"!"}mH.peek=Cfe;function mH(e,t,n,r){const a=e.referenceType,o=n.enter("imageReference");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");const d=n.safe(e.alt,{before:c,after:"]",...l.current()});c+=l.move(d+"]["),s();const p=n.stack;n.stack=[],s=n.enter("reference");const g=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return s(),n.stack=p,o(),a==="full"||!d||d!==g?c+=l.move(g+"]"):a==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function Cfe(){return"!"}bH.peek=_fe;function bH(e,t,n){let r=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const s=n.unsafe[o],l=n.compilePattern(s);let c;if(s.atBreak)for(;c=l.exec(r);){let d=c.index;r.charCodeAt(d)===10&&r.charCodeAt(d-1)===13&&d--,r=r.slice(0,d)+" "+r.slice(c.index+1)}}return a+r+a}function _fe(){return"`"}function yH(e,t){const n=XT(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}vH.peek=Nfe;function vH(e,t,n,r){const a=oA(n),o=a==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let l,c;if(yH(e,n)){const p=n.stack;n.stack=[],l=n.enter("autolink");let g=s.move("<");return g+=s.move(n.containerPhrasing(e,{before:g,after:">",...s.current()})),g+=s.move(">"),l(),n.stack=p,g}l=n.enter("link"),c=n.enter("label");let d=s.move("[");return d+=s.move(n.containerPhrasing(e,{before:d,after:"](",...s.current()})),d+=s.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),d+=s.move("<"),d+=s.move(n.safe(e.url,{before:d,after:">",...s.current()})),d+=s.move(">")):(c=n.enter("destinationRaw"),d+=s.move(n.safe(e.url,{before:d,after:e.title?" ":")",...s.current()}))),c(),e.title&&(c=n.enter(`title${o}`),d+=s.move(" "+a),d+=s.move(n.safe(e.title,{before:d,after:a,...s.current()})),d+=s.move(a),c()),d+=s.move(")"),l(),d}function Nfe(e,t,n){return yH(e,n)?"<":"["}SH.peek=Ofe;function SH(e,t,n,r){const a=e.referenceType,o=n.enter("linkReference");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");const d=n.containerPhrasing(e,{before:c,after:"]",...l.current()});c+=l.move(d+"]["),s();const p=n.stack;n.stack=[],s=n.enter("reference");const g=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return s(),n.stack=p,o(),a==="full"||!d||d!==g?c+=l.move(g+"]"):a==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function Ofe(){return"["}function iA(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Dfe(e){const t=iA(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Ife(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function EH(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Lfe(e,t,n,r){const a=n.enter("list"),o=n.bulletCurrent;let s=e.ordered?Ife(n):iA(n);const l=e.ordered?s==="."?")":".":Dfe(n);let c=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),EH(n)===s&&p){let g=-1;for(;++g<e.children.length;){const m=e.children[g];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(s=l),n.bulletCurrent=s;const d=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=o,a(),d}function Mfe(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Pfe(e,t,n,r){const a=Mfe(n);let o=n.bulletCurrent||iA(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let s=o.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const l=n.createTracker(r);l.move(o+" ".repeat(s-o.length)),l.shift(s);const c=n.enter("listItem"),d=n.indentLines(n.containerFlow(e,l.current()),p);return c(),d;function p(g,m,b){return m?(b?"":" ".repeat(s))+g:(b?o:o+" ".repeat(s-o.length))+g}}function Ffe(e,t,n,r){const a=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),a(),s}const zfe=Ip(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Bfe(e,t,n,r){return(e.children.some(function(s){return zfe(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Ufe(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}wH.peek=jfe;function wH(e,t,n,r){const a=Ufe(n),o=n.enter("strong"),s=n.createTracker(r),l=s.move(a+a);let c=s.move(n.containerPhrasing(e,{after:a,before:l,...s.current()}));const d=c.charCodeAt(0),p=Uf(r.before.charCodeAt(r.before.length-1),d,a);p.inside&&(c=zu(d)+c.slice(1));const g=c.charCodeAt(c.length-1),m=Uf(r.after.charCodeAt(0),g,a);m.inside&&(c=c.slice(0,-1)+zu(g));const b=s.move(a+a);return o(),n.attentionEncodeSurroundingInfo={after:m.outside,before:p.outside},l+c+b}function jfe(e,t,n){return n.options.strong||"*"}function Gfe(e,t,n,r){return n.safe(e.value,r)}function Hfe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function $fe(e,t,n){const r=(EH(n)+(n.options.ruleSpaces?" ":"")).repeat(Hfe(n));return n.options.ruleSpaces?r.slice(0,-1):r}const xH={blockquote:gfe,break:UD,code:vfe,definition:Efe,emphasis:pH,hardBreak:UD,heading:Tfe,html:gH,image:hH,imageReference:mH,inlineCode:bH,link:vH,linkReference:SH,list:Lfe,listItem:Pfe,paragraph:Ffe,root:Bfe,strong:wH,text:Gfe,thematicBreak:$fe};function qfe(){return{enter:{table:Vfe,tableData:jD,tableHeader:jD,tableRow:Yfe},exit:{codeText:Kfe,table:Wfe,tableData:Ab,tableHeader:Ab,tableRow:Ab}}}function Vfe(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Wfe(e){this.exit(e),this.data.inTable=void 0}function Yfe(e){this.enter({type:"tableRow",children:[]},e)}function Ab(e){this.exit(e)}function jD(e){this.enter({type:"tableCell",children:[]},e)}function Kfe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Xfe));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Xfe(e,t){return t==="|"?t:e}function Zfe(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
||
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:s,tableCell:c,tableRow:l}};function s(b,y,S,k){return d(p(b,S,k),b.align)}function l(b,y,S,k){const R=g(b,S,k),x=d([R]);return x.slice(0,x.indexOf(`
|
||
`))}function c(b,y,S,k){const R=S.enter("tableCell"),x=S.enter("phrasing"),A=S.containerPhrasing(b,{...k,before:o,after:o});return x(),R(),A}function d(b,y){return ffe(b,{align:y,alignDelimiters:r,padding:n,stringLength:a})}function p(b,y,S){const k=b.children;let R=-1;const x=[],A=y.enter("table");for(;++R<k.length;)x[R]=g(k[R],y,S);return A(),x}function g(b,y,S){const k=b.children;let R=-1;const x=[],A=y.enter("tableRow");for(;++R<k.length;)x[R]=c(k[R],b,y,S);return A(),x}function m(b,y,S){let k=xH.inlineCode(b,y,S);return S.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Qfe(){return{exit:{taskListCheckValueChecked:GD,taskListCheckValueUnchecked:GD,paragraph:epe}}}function Jfe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tpe}}}function GD(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function epe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let o=-1,s;for(;++o<a.length;){const l=a[o];if(l.type==="paragraph"){s=l;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function tpe(e,t,n,r){const a=e.children[0],o=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);o&&l.move(s);let c=xH.listItem(e,t,n,{...r,...l.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),c;function d(p){return p+s}}function npe(){return[Mde(),nfe(),ife(),qfe(),Qfe()]}function rpe(e){return{extensions:[Pde(),rfe(e),sfe(),Zfe(e),Jfe()]}}const ape={tokenize:cpe,partial:!0},kH={tokenize:dpe,partial:!0},TH={tokenize:fpe,partial:!0},AH={tokenize:ppe,partial:!0},ope={tokenize:gpe,partial:!0},RH={name:"wwwAutolink",tokenize:lpe,previous:_H},CH={name:"protocolAutolink",tokenize:upe,previous:NH},Ya={name:"emailAutolink",tokenize:spe,previous:OH},da={};function ipe(){return{text:da}}let si=48;for(;si<123;)da[si]=Ya,si++,si===58?si=65:si===91&&(si=97);da[43]=Ya;da[45]=Ya;da[46]=Ya;da[95]=Ya;da[72]=[Ya,CH];da[104]=[Ya,CH];da[87]=[Ya,RH];da[119]=[Ya,RH];function spe(e,t,n){const r=this;let a,o;return s;function s(g){return!v0(g)||!OH.call(r,r.previous)||sA(r.events)?n(g):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(g))}function l(g){return v0(g)?(e.consume(g),l):g===64?(e.consume(g),c):n(g)}function c(g){return g===46?e.check(ope,p,d)(g):g===45||g===95||Tn(g)?(o=!0,e.consume(g),c):p(g)}function d(g){return e.consume(g),a=!0,c}function p(g){return o&&a&&Dn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(g)):n(g)}}function lpe(e,t,n){const r=this;return a;function a(s){return s!==87&&s!==119||!_H.call(r,r.previous)||sA(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ape,e.attempt(kH,e.attempt(TH,o),n),n)(s))}function o(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function upe(e,t,n){const r=this;let a="",o=!1;return s;function s(g){return(g===72||g===104)&&NH.call(r,r.previous)&&!sA(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(g),e.consume(g),l):n(g)}function l(g){if(Dn(g)&&a.length<5)return a+=String.fromCodePoint(g),e.consume(g),l;if(g===58){const m=a.toLowerCase();if(m==="http"||m==="https")return e.consume(g),c}return n(g)}function c(g){return g===47?(e.consume(g),o?d:(o=!0,c)):n(g)}function d(g){return g===null||Ff(g)||Dt(g)||Ei(g)||Np(g)?n(g):e.attempt(kH,e.attempt(TH,p),n)(g)}function p(g){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(g)}}function cpe(e,t,n){let r=0;return a;function a(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),a):s===46&&r===3?(e.consume(s),o):n(s)}function o(s){return s===null?n(s):t(s)}}function dpe(e,t,n){let r,a,o;return s;function s(d){return d===46||d===95?e.check(AH,c,l)(d):d===null||Dt(d)||Ei(d)||d!==45&&Np(d)?c(d):(o=!0,e.consume(d),s)}function l(d){return d===95?r=!0:(a=r,r=void 0),e.consume(d),s}function c(d){return a||r||!o?n(d):t(d)}}function fpe(e,t){let n=0,r=0;return a;function a(s){return s===40?(n++,e.consume(s),a):s===41&&r<n?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(AH,t,o)(s):s===null||Dt(s)||Ei(s)?t(s):(e.consume(s),a)}function o(s){return s===41&&r++,e.consume(s),a}}function ppe(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),o):l===93?(e.consume(l),a):l===60||l===null||Dt(l)||Ei(l)?t(l):n(l)}function a(l){return l===null||l===40||l===91||Dt(l)||Ei(l)?t(l):r(l)}function o(l){return Dn(l)?s(l):n(l)}function s(l){return l===59?(e.consume(l),r):Dn(l)?(e.consume(l),s):n(l)}}function gpe(e,t,n){return r;function r(o){return e.consume(o),a}function a(o){return Tn(o)?n(o):t(o)}}function _H(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Dt(e)}function NH(e){return!Dn(e)}function OH(e){return!(e===47||v0(e))}function v0(e){return e===43||e===45||e===46||e===95||Tn(e)}function sA(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const hpe={tokenize:xpe,partial:!0};function mpe(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Spe,continuation:{tokenize:Epe},exit:wpe}},text:{91:{name:"gfmFootnoteCall",tokenize:vpe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:bpe,resolveTo:ype}}}}function bpe(e,t,n){const r=this;let a=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;a--;){const c=r.events[a][1];if(c.type==="labelImage"){s=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!s||!s._balanced)return n(c);const d=zr(r.sliceSerialize({start:s.end,end:r.now()}));return d.codePointAt(0)!==94||!o.includes(d.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function ype(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function vpe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,s;return l;function l(g){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),c}function c(g){return g!==94?n(g):(e.enter("gfmFootnoteCallMarker"),e.consume(g),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(g){if(o>999||g===93&&!s||g===null||g===91||Dt(g))return n(g);if(g===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return a.includes(zr(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(g)}return Dt(g)||(s=!0),o++,e.consume(g),g===92?p:d}function p(g){return g===91||g===92||g===93?(e.consume(g),o++,d):d(g)}}function Spe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s=0,l;return c;function c(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(y)}function p(y){if(s>999||y===93&&!l||y===null||y===91||Dt(y))return n(y);if(y===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return o=zr(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Dt(y)||(l=!0),s++,e.consume(y),y===92?g:p}function g(y){return y===91||y===92||y===93?(e.consume(y),s++,p):p(y)}function m(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),a.includes(o)||a.push(o),ut(e,b,"gfmFootnoteDefinitionWhitespace")):n(y)}function b(y){return t(y)}}function Epe(e,t,n){return e.check(oc,t,e.attempt(hpe,t,n))}function wpe(e){e.exit("gfmFootnoteDefinition")}function xpe(e,t,n){const r=this;return ut(e,a,"gfmFootnoteDefinitionIndent",5);function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(o):n(o)}}function kpe(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(s,l){let c=-1;for(;++c<s.length;)if(s[c][0]==="enter"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._close){let d=c;for(;d--;)if(s[d][0]==="exit"&&s[d][1].type==="strikethroughSequenceTemporary"&&s[d][1]._open&&s[c][1].end.offset-s[c][1].start.offset===s[d][1].end.offset-s[d][1].start.offset){s[c][1].type="strikethroughSequence",s[d][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},s[d][1].start),end:Object.assign({},s[c][1].end)},g={type:"strikethroughText",start:Object.assign({},s[d][1].end),end:Object.assign({},s[c][1].start)},m=[["enter",p,l],["enter",s[d][1],l],["exit",s[d][1],l],["enter",g,l]],b=l.parser.constructs.insideSpan.null;b&&rr(m,m.length,0,Op(b,s.slice(d+1,c),l)),rr(m,m.length,0,[["exit",g,l],["enter",s[c][1],l],["exit",s[c][1],l],["exit",p,l]]),rr(s,d-1,c-d+3,m),c=d+m.length-2;break}}for(c=-1;++c<s.length;)s[c][1].type==="strikethroughSequenceTemporary"&&(s[c][1].type="data");return s}function o(s,l,c){const d=this.previous,p=this.events;let g=0;return m;function m(y){return d===126&&p[p.length-1][1].type!=="characterEscape"?c(y):(s.enter("strikethroughSequenceTemporary"),b(y))}function b(y){const S=Bs(d);if(y===126)return g>1?c(y):(s.consume(y),g++,b);if(g<2&&!n)return c(y);const k=s.exit("strikethroughSequenceTemporary"),R=Bs(y);return k._open=!R||R===2&&!!S,k._close=!S||S===2&&!!R,l(y)}}}class Tpe{constructor(){this.map=[]}add(t,n,r){Ape(this,t,n,r)}consume(t){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const o of a)t.push(o);a=r.pop()}this.map.length=0}}function Ape(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function Rpe(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Cpe(){return{flow:{null:{name:"table",tokenize:_pe,resolveAll:Npe}}}}function _pe(e,t,n){const r=this;let a=0,o=0,s;return l;function l(L){let H=r.events.length-1;for(;H>-1;){const W=r.events[H][1].type;if(W==="lineEnding"||W==="linePrefix")H--;else break}const $=H>-1?r.events[H][1].type:null,U=$==="tableHead"||$==="tableRow"?C:c;return U===C&&r.parser.lazy[r.now().line]?n(L):U(L)}function c(L){return e.enter("tableHead"),e.enter("tableRow"),d(L)}function d(L){return L===124||(s=!0,o+=1),p(L)}function p(L){return L===null?n(L):Ve(L)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),b):n(L):dt(L)?ut(e,p,"whitespace")(L):(o+=1,s&&(s=!1,a+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),s=!0,p):(e.enter("data"),g(L)))}function g(L){return L===null||L===124||Dt(L)?(e.exit("data"),p(L)):(e.consume(L),L===92?m:g)}function m(L){return L===92||L===124?(e.consume(L),g):g(L)}function b(L){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(L):(e.enter("tableDelimiterRow"),s=!1,dt(L)?ut(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):y(L))}function y(L){return L===45||L===58?k(L):L===124?(s=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),S):O(L)}function S(L){return dt(L)?ut(e,k,"whitespace")(L):k(L)}function k(L){return L===58?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),R):L===45?(o+=1,R(L)):L===null||Ve(L)?N(L):O(L)}function R(L){return L===45?(e.enter("tableDelimiterFiller"),x(L)):O(L)}function x(L){return L===45?(e.consume(L),x):L===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),A):(e.exit("tableDelimiterFiller"),A(L))}function A(L){return dt(L)?ut(e,N,"whitespace")(L):N(L)}function N(L){return L===124?y(L):L===null||Ve(L)?!s||a!==o?O(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):O(L)}function O(L){return n(L)}function C(L){return e.enter("tableRow"),_(L)}function _(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),_):L===null||Ve(L)?(e.exit("tableRow"),t(L)):dt(L)?ut(e,_,"whitespace")(L):(e.enter("data"),P(L))}function P(L){return L===null||L===124||Dt(L)?(e.exit("data"),_(L)):(e.consume(L),L===92?I:P)}function I(L){return L===92||L===124?(e.consume(L),P):P(L)}}function Npe(e,t){let n=-1,r=!0,a=0,o=[0,0,0,0],s=[0,0,0,0],l=!1,c=0,d,p,g;const m=new Tpe;for(;++n<e.length;){const b=e[n],y=b[1];b[0]==="enter"?y.type==="tableHead"?(l=!1,c!==0&&(HD(m,t,c,d,p),p=void 0,c=0),d={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(n,0,[["enter",d,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,g=void 0,o=[0,0,0,0],s=[0,n+1,0,0],l&&(l=!1,p={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(n,0,[["enter",p,t]])),a=y.type==="tableDelimiterRow"?2:p?3:1):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],g=Gd(m,t,o,a,void 0,g),o=[0,0,0,0]),s[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],g=Gd(m,t,o,a,void 0,g)),o=s,s=[o[1],n,0,0])):y.type==="tableHead"?(l=!0,c=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(c=n,o[1]!==0?(s[0]=s[1],g=Gd(m,t,o,a,n,g)):s[1]!==0&&(g=Gd(m,t,s,a,n,g)),a=0):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(s[3]=n)}for(c!==0&&HD(m,t,c,d,p),m.consume(t.events),n=-1;++n<t.events.length;){const b=t.events[n];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=Rpe(t.events,n))}return e}function Gd(e,t,n,r,a,o){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(o.end=Object.assign({},xs(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const c=xs(t.events,n[1]);if(o={type:s,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const d=xs(t.events,n[2]),p=xs(t.events,n[3]),g={type:l,start:Object.assign({},d),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",g,t]]),r!==2){const m=t.events[n[2]],b=t.events[n[3]];if(m[1].end=Object.assign({},b[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,S=n[3]-n[2]-1;e.add(y,S,[])}}e.add(n[3]+1,0,[["exit",g,t]])}return a!==void 0&&(o.end=Object.assign({},xs(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function HD(e,t,n,r,a){const o=[],s=xs(t.events,n);a&&(a.end=Object.assign({},s),o.push(["exit",a,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function xs(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Ope={name:"tasklistCheck",tokenize:Ipe};function Dpe(){return{text:{91:Ope}}}function Ipe(e,t,n){const r=this;return a;function a(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),o)}function o(c){return Dt(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),s):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),s):n(c)}function s(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Ve(c)?t(c):dt(c)?e.check({tokenize:Lpe},t,n)(c):n(c)}}function Lpe(e,t,n){return ut(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function Mpe(e){return jG([ipe(),mpe(),kpe(e),Cpe(),Dpe()])}const Ppe={};function Fpe(e){const t=this,n=e||Ppe,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(Mpe(n)),o.push(npe()),s.push(rpe(n))}function zpe(e){const t=this;t.compiler=n;function n(r,a){return PG(r,{filePath:a.path,...e})}}function Bpe(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:l,mathText:s,mathTextData:l}};function e(c){const d={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[d]}},c)}function t(){this.buffer()}function n(){const c=this.resume(),d=this.stack[this.stack.length-1];d.type,d.meta=c}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(c){const d=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(c),p.value=d;const g=p.data.hChildren[0];g.type,g.tagName,g.children.push({type:"text",value:d}),this.data.mathFlowInside=void 0}function o(c){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},c),this.buffer()}function s(c){const d=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(c),p.value=d,p.data.hChildren.push({type:"text",value:d})}function l(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Upe(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
||
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,s,l,c){const d=o.value||"",p=l.createTracker(c),g="$".repeat(Math.max(fH(d,"$")+1,2)),m=l.enter("mathFlow");let b=p.move(g);if(o.meta){const y=l.enter("mathFlowMeta");b+=p.move(l.safe(o.meta,{after:`
|
||
`,before:b,encode:["$"],...p.current()})),y()}return b+=p.move(`
|
||
`),d&&(b+=p.move(d+`
|
||
`)),b+=p.move(g),m(),b}function r(o,s,l){let c=o.value||"",d=1;for(t||d++;new RegExp("(^|[^$])"+"\\$".repeat(d)+"([^$]|$)").test(c);)d++;const p="$".repeat(d);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let g=-1;for(;++g<l.unsafe.length;){const m=l.unsafe[g];if(!m.atBreak)continue;const b=l.compilePattern(m);let y;for(;y=b.exec(c);){let S=y.index;c.codePointAt(S)===10&&c.codePointAt(S-1)===13&&S--,c=c.slice(0,S)+" "+c.slice(y.index+1)}}return p+c+p}function a(){return"$"}}const jpe={tokenize:Gpe,concrete:!0,name:"mathFlow"},$D={tokenize:Hpe,partial:!0};function Gpe(e,t,n){const r=this,a=r.events[r.events.length-1],o=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return l;function l(x){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(x)}function c(x){return x===36?(e.consume(x),s++,c):s<2?n(x):(e.exit("mathFlowFenceSequence"),ut(e,d,"whitespace")(x))}function d(x){return x===null||Ve(x)?g(x):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===null||Ve(x)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),g(x)):x===36?n(x):(e.consume(x),p)}function g(x){return e.exit("mathFlowFence"),r.interrupt?t(x):e.attempt($D,m,k)(x)}function m(x){return e.attempt({tokenize:R,partial:!0},k,b)(x)}function b(x){return(o?ut(e,y,"linePrefix",o+1):y)(x)}function y(x){return x===null?k(x):Ve(x)?e.attempt($D,m,k)(x):(e.enter("mathFlowValue"),S(x))}function S(x){return x===null||Ve(x)?(e.exit("mathFlowValue"),y(x)):(e.consume(x),S)}function k(x){return e.exit("mathFlow"),t(x)}function R(x,A,N){let O=0;return ut(x,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(I){return x.enter("mathFlowFence"),x.enter("mathFlowFenceSequence"),_(I)}function _(I){return I===36?(O++,x.consume(I),_):O<s?N(I):(x.exit("mathFlowFenceSequence"),ut(x,P,"whitespace")(I))}function P(I){return I===null||Ve(I)?(x.exit("mathFlowFence"),A(I)):N(I)}}}function Hpe(e,t,n){const r=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function $pe(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:qpe,previous:Vpe,name:"mathText"};function r(a,o,s){let l=0,c,d;return p;function p(S){return a.enter("mathText"),a.enter("mathTextSequence"),g(S)}function g(S){return S===36?(a.consume(S),l++,g):l<2&&!n?s(S):(a.exit("mathTextSequence"),m(S))}function m(S){return S===null?s(S):S===36?(d=a.enter("mathTextSequence"),c=0,y(S)):S===32?(a.enter("space"),a.consume(S),a.exit("space"),m):Ve(S)?(a.enter("lineEnding"),a.consume(S),a.exit("lineEnding"),m):(a.enter("mathTextData"),b(S))}function b(S){return S===null||S===32||S===36||Ve(S)?(a.exit("mathTextData"),m(S)):(a.consume(S),b)}function y(S){return S===36?(a.consume(S),c++,y):c===l?(a.exit("mathTextSequence"),a.exit("mathText"),o(S)):(d.type="mathTextData",b(S))}}}function qpe(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function Vpe(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Wpe(e){return{flow:{36:jpe},text:{36:$pe(e)}}}const Ype={};function Kpe(e){const t=this,n=e||Ype,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(Wpe(n)),o.push(Bpe()),s.push(Upe(n))}function qD(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 ks(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qD(Object(n),!0).forEach(function(r){P5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xpe(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(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 Rb={};function Zpe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Rb[t]||(Rb[t]=Xpe(e)),Rb[t]}function Qpe(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=Zpe(r);return a.reduce(function(o,s){return ks(ks({},o),n[s])},t)}function VD(e){return e.join(" ")}function Jpe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,o){return DH({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function DH(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,o=e.useInlineStyles,s=e.key,l=t.properties,c=t.type,d=t.tagName,p=t.value;if(c==="text")return p;if(d){var g=Jpe(n,o),m;if(!o)m=ks(ks({},l),{},{className:VD(l.className)});else{var b=Object.keys(n).reduce(function(R,x){return x.split(".").forEach(function(A){R.includes(A)||R.push(A)}),R},[]),y=l.className&&l.className.includes("token")?["token"]:[],S=l.className&&y.concat(l.className.filter(function(R){return!b.includes(R)}));m=ks(ks({},l),{},{className:VD(S)||void 0,style:Qpe(l.className,Object.assign({},l.style,a),n)})}var k=g(t.children);return ye.createElement(d,Jk({key:s},m),k)}}const ege=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var tge=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function WD(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 Ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?WD(Object(n),!0).forEach(function(r){P5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var nge=/\n/g;function rge(e){return e.match(nge)}function age(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map(function(a,o){var s=o+n;return ye.createElement("span",{key:"line-".concat(o),className:"react-syntax-highlighter-line-number",style:typeof r=="function"?r(s):r},"".concat(s,`
|
||
`))})}function oge(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,a=r===void 0?{float:"left",paddingRight:"10px"}:r,o=e.numberStyle,s=o===void 0?{}:o,l=e.startingLineNumber;return ye.createElement("code",{style:Object.assign({},n,a)},age({lines:t.replace(/\n$/,"").split(`
|
||
`),style:s,startingLineNumber:l}))}function ige(e){return"".concat(e.toString().length,".25em")}function IH(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function LH(e,t,n){var r={display:"inline-block",minWidth:ige(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,o=Ao(Ao({},r),a);return o}function df(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,s=e.lineProps,l=s===void 0?{}:s,c=e.className,d=c===void 0?[]:c,p=e.showLineNumbers,g=e.wrapLongLines,m=e.wrapLines,b=m===void 0?!1:m,y=b?Ao({},typeof l=="function"?l(n):l):{};if(y.className=y.className?[].concat(t0(y.className.trim().split(/\s+/)),t0(d)):d,n&&o){var S=LH(r,n,a);t.unshift(IH(n,S))}return g&p&&(y.style=Ao({display:"flex"},y.style)),{type:"element",tagName:"span",properties:y,children:t}}function MH(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r<e.length;r++){var a=e[r];if(a.type==="text")n.push(df({children:[a],className:t0(new Set(t))}));else if(a.children){var o=t.concat(a.properties.className);MH(a.children,o).forEach(function(s){return n.push(s)})}}return n}function sge(e,t,n,r,a,o,s,l,c){var d,p=MH(e.value),g=[],m=-1,b=0;function y(O,C){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return df({children:O,lineNumber:C,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:_,showLineNumbers:r,wrapLongLines:c,wrapLines:t})}function S(O,C){if(r&&C&&a){var _=LH(l,C,s);O.unshift(IH(C,_))}return O}function k(O,C){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||_.length>0?y(O,C,_):S(O,C)}for(var R=function(){var C=p[b],_=C.children[0].value,P=rge(_);if(P){var I=_.split(`
|
||
`);I.forEach(function(L,H){var $=r&&g.length+o,U={type:"text",value:"".concat(L,`
|
||
`)};if(H===0){var W=p.slice(m+1,b).concat(df({children:[U],className:C.properties.className})),Z=k(W,$);g.push(Z)}else if(H===I.length-1){var j=p[b+1]&&p[b+1].children&&p[b+1].children[0],G={type:"text",value:"".concat(L)};if(j){var z=df({children:[G],className:C.properties.className});p.splice(b+1,0,z)}else{var Y=[G],D=k(Y,$,C.properties.className);g.push(D)}}else{var V=[U],B=k(V,$,C.properties.className);g.push(B)}}),m=b}b++};b<p.length;)R();if(m!==p.length-1){var x=p.slice(m+1,p.length);if(x&&x.length){var A=r&&g.length+o,N=k(x,A);g.push(N)}}return t?g:(d=[]).concat.apply(d,g)}function lge(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(a,o){return DH({node:a,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(o)})})}function PH(e){return e&&typeof e.highlightAuto<"u"}function uge(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(PH(t)){var o=ege(t,n);return n==="text"?{value:a,language:"text"}:o?t.highlight(n,r):t.highlightAuto(r)}try{return n&&n!=="text"?{value:t.highlight(r,n)}:{value:a}}catch{return{value:a}}}function cge(e,t){return function(r){var a=r.language,o=r.children,s=r.style,l=s===void 0?t:s,c=r.customStyle,d=c===void 0?{}:c,p=r.codeTagProps,g=p===void 0?{className:a?"language-".concat(a):void 0,style:Ao(Ao({},l['code[class*="language-"]']),l['code[class*="language-'.concat(a,'"]')])}:p,m=r.useInlineStyles,b=m===void 0?!0:m,y=r.showLineNumbers,S=y===void 0?!1:y,k=r.showInlineLineNumbers,R=k===void 0?!0:k,x=r.startingLineNumber,A=x===void 0?1:x,N=r.lineNumberContainerStyle,O=r.lineNumberStyle,C=O===void 0?{}:O,_=r.wrapLines,P=r.wrapLongLines,I=P===void 0?!1:P,L=r.lineProps,H=L===void 0?{}:L,$=r.renderer,U=r.PreTag,W=U===void 0?"pre":U,Z=r.CodeTag,j=Z===void 0?"code":Z,G=r.code,z=G===void 0?(Array.isArray(o)?o[0]:o)||"":G,Y=r.astGenerator,D=xae(r,tge);Y=Y||e;var V=S?ye.createElement(oge,{containerStyle:N,codeStyle:g.style||{},numberStyle:C,startingLineNumber:A,codeString:z}):null,B=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},M=PH(Y)?"hljs":"prismjs",K=b?Object.assign({},D,{style:Object.assign({},B,d)}):Object.assign({},D,{className:D.className?"".concat(M," ").concat(D.className):M,style:Object.assign({},d)});if(I?g.style=Ao({whiteSpace:"pre-wrap"},g.style):g.style=Ao({whiteSpace:"pre"},g.style),!Y)return ye.createElement(W,K,V,ye.createElement(j,g,z));(_===void 0&&$||I)&&(_=!0),$=$||lge;var ee=[{type:"text",value:z}],Q=uge({astGenerator:Y,language:a,code:z,defaultCodeValue:ee});Q.language===null&&(Q.value=ee);var J=Q.value.length;J===1&&Q.value[0].type==="text"&&(J=Q.value[0].value.split(`
|
||
`).length);var ae=J+A,ke=sge(Q,_,H,S,R,A,ae,C,I);return ye.createElement(W,K,ye.createElement(j,g,!R&&V,$({rows:ke,stylesheet:l,useInlineStyles:b})))}}const dge=["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 Cb,YD;function fge(){if(YD)return Cb;YD=1,Cb=t;var e=Object.prototype.hasOwnProperty;function t(){for(var n={},r=0;r<arguments.length;r++){var a=arguments[r];for(var o in a)e.call(a,o)&&(n[o]=a[o])}return n}return Cb}var _b,KD;function FH(){if(KD)return _b;KD=1,_b=t;var e=t.prototype;e.space=null,e.normal={},e.property={};function t(n,r,a){this.property=n,this.normal=r,a&&(this.space=a)}return _b}var Nb,XD;function pge(){if(XD)return Nb;XD=1;var e=fge(),t=FH();Nb=n;function n(r){for(var a=r.length,o=[],s=[],l=-1,c,d;++l<a;)c=r[l],o.push(c.property),s.push(c.normal),d=c.space;return new t(e.apply(null,o),e.apply(null,s),d)}return Nb}var Ob,ZD;function lA(){if(ZD)return Ob;ZD=1,Ob=e;function e(t){return t.toLowerCase()}return Ob}var Db,QD;function zH(){if(QD)return Db;QD=1,Db=t;var e=t.prototype;e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1;function t(n,r){this.property=n,this.attribute=r}return Db}var Ia={},JD;function uA(){if(JD)return Ia;JD=1;var e=0;Ia.boolean=t(),Ia.booleanish=t(),Ia.overloadedBoolean=t(),Ia.number=t(),Ia.spaceSeparated=t(),Ia.commaSeparated=t(),Ia.commaOrSpaceSeparated=t();function t(){return Math.pow(2,++e)}return Ia}var Ib,eI;function BH(){if(eI)return Ib;eI=1;var e=zH(),t=uA();Ib=a,a.prototype=new e,a.prototype.defined=!0;var n=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],r=n.length;function a(s,l,c,d){var p=-1,g;for(o(this,"space",d),e.call(this,s,l);++p<r;)g=n[p],o(this,g,(c&t[g])===t[g])}function o(s,l,c){c&&(s[l]=c)}return Ib}var Lb,tI;function sc(){if(tI)return Lb;tI=1;var e=lA(),t=FH(),n=BH();Lb=r;function r(a){var o=a.space,s=a.mustUseProperty||[],l=a.attributes||{},c=a.properties,d=a.transform,p={},g={},m,b;for(m in c)b=new n(m,d(l,m),c[m],o),s.indexOf(m)!==-1&&(b.mustUseProperty=!0),p[m]=b,g[e(m)]=m,g[e(b.attribute)]=m;return new t(p,g,o)}return Lb}var Mb,nI;function gge(){if(nI)return Mb;nI=1;var e=sc();Mb=e({space:"xlink",transform:t,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function t(n,r){return"xlink:"+r.slice(5).toLowerCase()}return Mb}var Pb,rI;function hge(){if(rI)return Pb;rI=1;var e=sc();Pb=e({space:"xml",transform:t,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function t(n,r){return"xml:"+r.slice(3).toLowerCase()}return Pb}var Fb,aI;function mge(){if(aI)return Fb;aI=1,Fb=e;function e(t,n){return n in t?t[n]:n}return Fb}var zb,oI;function UH(){if(oI)return zb;oI=1;var e=mge();zb=t;function t(n,r){return e(n,r.toLowerCase())}return zb}var Bb,iI;function bge(){if(iI)return Bb;iI=1;var e=sc(),t=UH();return Bb=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}}),Bb}var Ub,sI;function yge(){if(sI)return Ub;sI=1;var e=uA(),t=sc(),n=e.booleanish,r=e.number,a=e.spaceSeparated;Ub=t({transform:o,properties:{ariaActiveDescendant:null,ariaAtomic:n,ariaAutoComplete:null,ariaBusy:n,ariaChecked:n,ariaColCount:r,ariaColIndex:r,ariaColSpan:r,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:n,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:n,ariaFlowTo:a,ariaGrabbed:n,ariaHasPopup:null,ariaHidden:n,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:r,ariaLive:null,ariaModal:n,ariaMultiLine:n,ariaMultiSelectable:n,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:r,ariaPressed:n,ariaReadOnly:n,ariaRelevant:null,ariaRequired:n,ariaRoleDescription:a,ariaRowCount:r,ariaRowIndex:r,ariaRowSpan:r,ariaSelected:n,ariaSetSize:r,ariaSort:null,ariaValueMax:r,ariaValueMin:r,ariaValueNow:r,ariaValueText:null,role:null}});function o(s,l){return l==="role"?l:"aria-"+l.slice(4).toLowerCase()}return Ub}var jb,lI;function vge(){if(lI)return jb;lI=1;var e=uA(),t=sc(),n=UH(),r=e.boolean,a=e.overloadedBoolean,o=e.booleanish,s=e.number,l=e.spaceSeparated,c=e.commaSeparated;return jb=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c,acceptCharset:l,accessKey:l,action:null,allow:null,allowFullScreen:r,allowPaymentRequest:r,allowUserMedia:r,alt:null,as:null,async:r,autoCapitalize:null,autoComplete:l,autoFocus:r,autoPlay:r,capture:r,charSet:null,checked:r,cite:null,className:l,cols:s,colSpan:null,content:null,contentEditable:o,controls:r,controlsList:l,coords:s|c,crossOrigin:null,data:null,dateTime:null,decoding:null,default:r,defer:r,dir:null,dirName:null,disabled:r,download:a,draggable:o,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:r,formTarget:null,headers:l,height:s,hidden:r,high:s,href:null,hrefLang:null,htmlFor:l,httpEquiv:l,id:null,imageSizes:null,imageSrcSet:c,inputMode:null,integrity:null,is:null,isMap:r,itemId:null,itemProp:l,itemRef:l,itemScope:r,itemType:l,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:r,low:s,manifest:null,max:null,maxLength:s,media:null,method:null,min:null,minLength:s,multiple:r,muted:r,name:null,nonce:null,noModule:r,noValidate:r,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:r,optimum:s,pattern:null,ping:l,placeholder:null,playsInline:r,poster:null,preload:null,readOnly:r,referrerPolicy:null,rel:l,required:r,reversed:r,rows:s,rowSpan:s,sandbox:l,scope:null,scoped:r,seamless:r,selected:r,shape:null,size:s,sizes:null,slot:null,span:s,spellCheck:o,src:null,srcDoc:null,srcLang:null,srcSet:c,start:s,step:null,style:null,tabIndex:s,target:null,title:null,translate:null,type:null,typeMustMatch:r,useMap:null,value:o,width:s,wrap:null,align:null,aLink:null,archive:l,axis:null,background:null,bgColor:null,border:s,borderColor:null,bottomMargin:s,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:r,declare:r,event:null,face:null,frame:null,frameBorder:null,hSpace:s,leftMargin:s,link:null,longDesc:null,lowSrc:null,marginHeight:s,marginWidth:s,noResize:r,noHref:r,noShade:r,noWrap:r,object:null,profile:null,prompt:null,rev:null,rightMargin:s,rules:null,scheme:null,scrolling:o,standby:null,summary:null,text:null,topMargin:s,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:r,disableRemotePlayback:r,prefix:null,property:null,results:s,security:null,unselectable:null}}),jb}var Gb,uI;function Sge(){if(uI)return Gb;uI=1;var e=pge(),t=gge(),n=hge(),r=bge(),a=yge(),o=vge();return Gb=e([n,t,r,a,o]),Gb}var Hb,cI;function Ege(){if(cI)return Hb;cI=1;var e=lA(),t=BH(),n=zH(),r="data";Hb=l;var a=/^data[-\w.:]+$/i,o=/-[a-z]/g,s=/[A-Z]/g;function l(m,b){var y=e(b),S=b,k=n;return y in m.normal?m.property[m.normal[y]]:(y.length>4&&y.slice(0,4)===r&&a.test(b)&&(b.charAt(4)==="-"?S=c(b):b=d(b),k=t),new k(S,b))}function c(m){var b=m.slice(5).replace(o,g);return r+b.charAt(0).toUpperCase()+b.slice(1)}function d(m){var b=m.slice(4);return o.test(b)?m:(b=b.replace(s,p),b.charAt(0)!=="-"&&(b="-"+b),r+b)}function p(m){return"-"+m.toLowerCase()}function g(m){return m.charAt(1).toUpperCase()}return Hb}var $b,dI;function wge(){if(dI)return $b;dI=1,$b=t;var e=/[#.]/g;function t(n,r){for(var a=n||"",o=r||"div",s={},l=0,c,d,p;l<a.length;)e.lastIndex=l,p=e.exec(a),c=a.slice(l,p?p.index:a.length),c&&(d?d==="#"?s.id=c:s.className?s.className.push(c):s.className=[c]:o=c,l+=c.length),p&&(d=p[0],l++);return{type:"element",tagName:o,properties:s,children:[]}}return $b}var Hd={},fI;function xge(){if(fI)return Hd;fI=1,Hd.parse=r,Hd.stringify=a;var e="",t=" ",n=/[ \t\n\r\f]+/g;function r(o){var s=String(o||e).trim();return s===e?[]:s.split(n)}function a(o){return o.join(t).trim()}return Hd}var $d={},pI;function kge(){if(pI)return $d;pI=1,$d.parse=r,$d.stringify=a;var e=",",t=" ",n="";function r(o){for(var s=[],l=String(o||n),c=l.indexOf(e),d=0,p=!1,g;!p;)c===-1&&(c=l.length,p=!0),g=l.slice(d,c).trim(),(g||!p)&&s.push(g),d=c+1,c=l.indexOf(e,d);return s}function a(o,s){var l=s||{},c=l.padLeft===!1?n:t,d=l.padRight?t:n;return o[o.length-1]===n&&(o=o.concat(n)),o.join(d+e+c).trim()}return $d}var qb,gI;function Tge(){if(gI)return qb;gI=1;var e=Ege(),t=lA(),n=wge(),r=xge().parse,a=kge().parse;qb=s;var o={}.hasOwnProperty;function s(y,S,k){var R=k?b(k):null;return x;function x(N,O){var C=n(N,S),_=Array.prototype.slice.call(arguments,2),P=C.tagName.toLowerCase(),I;if(C.tagName=R&&o.call(R,P)?R[P]:P,O&&l(O,C)&&(_.unshift(O),O=null),O)for(I in O)A(C.properties,I,O[I]);return d(C.children,_),C.tagName==="template"&&(C.content={type:"root",children:C.children},C.children=[]),C}function A(N,O,C){var _,P,I;C==null||C!==C||(_=e(y,O),P=_.property,I=C,typeof I=="string"&&(_.spaceSeparated?I=r(I):_.commaSeparated?I=a(I):_.commaOrSpaceSeparated&&(I=r(a(I).join(" ")))),P==="style"&&typeof C!="string"&&(I=m(I)),P==="className"&&N.className&&(I=N.className.concat(I)),N[P]=p(_,P,I))}}function l(y,S){return typeof y=="string"||"length"in y||c(S.tagName,y)}function c(y,S){var k=S.type;return y==="input"||!k||typeof k!="string"?!1:typeof S.children=="object"&&"length"in S.children?!0:(k=k.toLowerCase(),y==="button"?k!=="menu"&&k!=="submit"&&k!=="reset"&&k!=="button":"value"in S)}function d(y,S){var k,R;if(typeof S=="string"||typeof S=="number"){y.push({type:"text",value:String(S)});return}if(typeof S=="object"&&"length"in S){for(k=-1,R=S.length;++k<R;)d(y,S[k]);return}if(typeof S!="object"||!("type"in S))throw new Error("Expected node, nodes, or string, got `"+S+"`");y.push(S)}function p(y,S,k){var R,x,A;if(typeof k!="object"||!("length"in k))return g(y,S,k);for(x=k.length,R=-1,A=[];++R<x;)A[R]=g(y,S,k[R]);return A}function g(y,S,k){var R=k;return y.number||y.positiveNumber?!isNaN(R)&&R!==""&&(R=Number(R)):(y.boolean||y.overloadedBoolean)&&typeof R=="string"&&(R===""||t(k)===t(S))&&(R=!0),R}function m(y){var S=[],k;for(k in y)S.push([k,y[k]].join(": "));return S.join("; ")}function b(y){for(var S=y.length,k=-1,R={},x;++k<S;)x=y[k],R[x.toLowerCase()]=x;return R}return qb}var Vb,hI;function Age(){if(hI)return Vb;hI=1;var e=Sge(),t=Tge(),n=t(e,"div");return n.displayName="html",Vb=n,Vb}var Wb,mI;function Rge(){return mI||(mI=1,Wb=Age()),Wb}const Cge="Æ",_ge="&",Nge="Á",Oge="Â",Dge="À",Ige="Å",Lge="Ã",Mge="Ä",Pge="©",Fge="Ç",zge="Ð",Bge="É",Uge="Ê",jge="È",Gge="Ë",Hge=">",$ge="Í",qge="Î",Vge="Ì",Wge="Ï",Yge="<",Kge="Ñ",Xge="Ó",Zge="Ô",Qge="Ò",Jge="Ø",ehe="Õ",the="Ö",nhe='"',rhe="®",ahe="Þ",ohe="Ú",ihe="Û",she="Ù",lhe="Ü",uhe="Ý",che="á",dhe="â",fhe="´",phe="æ",ghe="à",hhe="&",mhe="å",bhe="ã",yhe="ä",vhe="¦",She="ç",Ehe="¸",whe="¢",xhe="©",khe="¤",The="°",Ahe="÷",Rhe="é",Che="ê",_he="è",Nhe="ð",Ohe="ë",Dhe="½",Ihe="¼",Lhe="¾",Mhe=">",Phe="í",Fhe="î",zhe="¡",Bhe="ì",Uhe="¿",jhe="ï",Ghe="«",Hhe="<",$he="¯",qhe="µ",Vhe="·",Whe=" ",Yhe="¬",Khe="ñ",Xhe="ó",Zhe="ô",Qhe="ò",Jhe="ª",eme="º",tme="ø",nme="õ",rme="ö",ame="¶",ome="±",ime="£",sme='"',lme="»",ume="®",cme="§",dme="",fme="¹",pme="²",gme="³",hme="ß",mme="þ",bme="×",yme="ú",vme="û",Sme="ù",Eme="¨",wme="ü",xme="ý",kme="¥",Tme="ÿ",Ame={AElig:Cge,AMP:_ge,Aacute:Nge,Acirc:Oge,Agrave:Dge,Aring:Ige,Atilde:Lge,Auml:Mge,COPY:Pge,Ccedil:Fge,ETH:zge,Eacute:Bge,Ecirc:Uge,Egrave:jge,Euml:Gge,GT:Hge,Iacute:$ge,Icirc:qge,Igrave:Vge,Iuml:Wge,LT:Yge,Ntilde:Kge,Oacute:Xge,Ocirc:Zge,Ograve:Qge,Oslash:Jge,Otilde:ehe,Ouml:the,QUOT:nhe,REG:rhe,THORN:ahe,Uacute:ohe,Ucirc:ihe,Ugrave:she,Uuml:lhe,Yacute:uhe,aacute:che,acirc:dhe,acute:fhe,aelig:phe,agrave:ghe,amp:hhe,aring:mhe,atilde:bhe,auml:yhe,brvbar:vhe,ccedil:She,cedil:Ehe,cent:whe,copy:xhe,curren:khe,deg:The,divide:Ahe,eacute:Rhe,ecirc:Che,egrave:_he,eth:Nhe,euml:Ohe,frac12:Dhe,frac14:Ihe,frac34:Lhe,gt:Mhe,iacute:Phe,icirc:Fhe,iexcl:zhe,igrave:Bhe,iquest:Uhe,iuml:jhe,laquo:Ghe,lt:Hhe,macr:$he,micro:qhe,middot:Vhe,nbsp:Whe,not:Yhe,ntilde:Khe,oacute:Xhe,ocirc:Zhe,ograve:Qhe,ordf:Jhe,ordm:eme,oslash:tme,otilde:nme,ouml:rme,para:ame,plusmn:ome,pound:ime,quot:sme,raquo:lme,reg:ume,sect:cme,shy:dme,sup1:fme,sup2:pme,sup3:gme,szlig:hme,thorn:mme,times:bme,uacute:yme,ucirc:vme,ugrave:Sme,uml:Eme,uuml:wme,yacute:xme,yen:kme,yuml:Tme},Rme={0:"<22>",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var Yb,bI;function jH(){if(bI)return Yb;bI=1,Yb=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=48&&n<=57}return Yb}var Kb,yI;function Cme(){if(yI)return Kb;yI=1,Kb=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}return Kb}var Xb,vI;function _me(){if(vI)return Xb;vI=1,Xb=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=122||n>=65&&n<=90}return Xb}var Zb,SI;function Nme(){if(SI)return Zb;SI=1;var e=_me(),t=jH();Zb=n;function n(r){return e(r)||t(r)}return Zb}var Qb,EI;function Ome(){if(EI)return Qb;EI=1;var e,t=59;Qb=n;function n(r){var a="&"+r+";",o;return e=e||document.createElement("i"),e.innerHTML=a,o=e.textContent,o.charCodeAt(o.length-1)===t&&r!=="semi"||o===a?!1:o}return Qb}var Jb,wI;function Dme(){if(wI)return Jb;wI=1;var e=Ame,t=Rme,n=jH(),r=Cme(),a=Nme(),o=Ome();Jb=Y;var s={}.hasOwnProperty,l=String.fromCharCode,c=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,g=10,m=12,b=32,y=38,S=59,k=60,R=61,x=35,A=88,N=120,O=65533,C="named",_="hexadecimal",P="decimal",I={};I[_]=16,I[P]=10;var L={};L[C]=a,L[P]=n,L[_]=r;var H=1,$=2,U=3,W=4,Z=5,j=6,G=7,z={};z[H]="Named character references must be terminated by a semicolon",z[$]="Numeric character references must be terminated by a semicolon",z[U]="Named character references cannot be empty",z[W]="Numeric character references cannot be empty",z[Z]="Named character references must be known",z[j]="Numeric character references cannot be disallowed",z[G]="Numeric character references cannot be outside the permissible Unicode range";function Y(M,K){var ee={},Q,J;K||(K={});for(J in d)Q=K[J],ee[J]=Q??d[J];return(ee.position.indent||ee.position.start)&&(ee.indent=ee.position.indent||[],ee.position=ee.position.start),D(M,ee)}function D(M,K){var ee=K.additional,Q=K.nonTerminated,J=K.text,ae=K.reference,ke=K.warning,ie=K.textContext,Se=K.referenceContext,ve=K.warningContext,Ie=K.position,Ce=K.indent||[],Ee=M.length,te=0,fe=-1,Te=Ie.column||1,me=Ie.line||1,we="",le=[],ze,Be,he,Ne,ne,ce,_e,Fe,We,yt,kt,ht,et,Tt,ot,St,Ht,pn,zt;for(typeof ee=="string"&&(ee=ee.charCodeAt(0)),St=or(),Fe=ke?$r:c,te--,Ee++;++te<Ee;)if(ne===g&&(Te=Ce[fe]||1),ne=M.charCodeAt(te),ne===y){if(_e=M.charCodeAt(te+1),_e===p||_e===g||_e===m||_e===b||_e===y||_e===k||_e!==_e||ee&&_e===ee){we+=l(ne),Te++;continue}for(et=te+1,ht=et,zt=et,_e===x?(zt=++ht,_e=M.charCodeAt(zt),_e===A||_e===N?(Tt=_,zt=++ht):Tt=P):Tt=C,ze="",kt="",Ne="",ot=L[Tt],zt--;++zt<Ee&&(_e=M.charCodeAt(zt),!!ot(_e));)Ne+=l(_e),Tt===C&&s.call(e,Ne)&&(ze=Ne,kt=e[Ne]);he=M.charCodeAt(zt)===S,he&&(zt++,Be=Tt===C?o(Ne):!1,Be&&(ze=Ne,kt=Be)),pn=1+zt-et,!he&&!Q||(Ne?Tt===C?(he&&!kt?Fe(Z,1):(ze!==Ne&&(zt=ht+ze.length,pn=1+zt-ht,he=!1),he||(We=ze?H:U,K.attribute?(_e=M.charCodeAt(zt),_e===R?(Fe(We,pn),kt=null):a(_e)?kt=null:Fe(We,pn)):Fe(We,pn))),ce=kt):(he||Fe($,pn),ce=parseInt(Ne,I[Tt]),V(ce)?(Fe(G,pn),ce=l(O)):ce in t?(Fe(j,pn),ce=t[ce]):(yt="",B(ce)&&Fe(j,pn),ce>65535&&(ce-=65536,yt+=l(ce>>>10|55296),ce=56320|ce&1023),ce=yt+l(ce))):Tt!==C&&Fe(W,pn)),ce?(Jt(),St=or(),te=zt-1,Te+=zt-et+1,le.push(ce),Ht=or(),Ht.offset++,ae&&ae.call(Se,ce,{start:St,end:Ht},M.slice(et-1,zt)),St=Ht):(Ne=M.slice(et-1,zt),we+=Ne,Te+=Ne.length,te=zt-1)}else ne===10&&(me++,fe++,Te=0),ne===ne?(we+=l(ne),Te++):Jt();return le.join("");function or(){return{line:me,column:Te,offset:te+(Ie.offset||0)}}function $r(fa,Xe){var mt=or();mt.column+=Xe,mt.offset+=Xe,ke.call(ve,z[fa],mt,fa)}function Jt(){we&&(le.push(we),J&&J.call(ie,we,{start:St,end:or()}),we="")}}function V(M){return M>=55296&&M<=57343||M>1114111}function B(M){return M>=1&&M<=8||M===11||M>=13&&M<=31||M>=127&&M<=159||M>=64976&&M<=65007||(M&65535)===65535||(M&65535)===65534}return Jb}var ey={exports:{}},xI;function Ime(){return xI||(xI=1,function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
||
* Prism: Lightweight, robust, elegant syntax highlighting
|
||
*
|
||
* @license MIT <https://opensource.org/licenses/MIT>
|
||
* @author Lea Verou <https://lea.verou.me>
|
||
* @namespace
|
||
* @public
|
||
*/var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,s={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function x(A){return A instanceof c?new c(A.type,x(A.content),A.alias):Array.isArray(A)?A.map(x):A.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(x){return Object.prototype.toString.call(x).slice(8,-1)},objId:function(x){return x.__id||Object.defineProperty(x,"__id",{value:++o}),x.__id},clone:function x(A,N){N=N||{};var O,C;switch(l.util.type(A)){case"Object":if(C=l.util.objId(A),N[C])return N[C];O={},N[C]=O;for(var _ in A)A.hasOwnProperty(_)&&(O[_]=x(A[_],N));return O;case"Array":return C=l.util.objId(A),N[C]?N[C]:(O=[],N[C]=O,A.forEach(function(P,I){O[I]=x(P,N)}),O);default:return A}},getLanguage:function(x){for(;x;){var A=a.exec(x.className);if(A)return A[1].toLowerCase();x=x.parentElement}return"none"},setLanguage:function(x,A){x.className=x.className.replace(RegExp(a,"gi"),""),x.classList.add("language-"+A)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(O){var x=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(O.stack)||[])[1];if(x){var A=document.getElementsByTagName("script");for(var N in A)if(A[N].src==x)return A[N]}return null}},isActive:function(x,A,N){for(var O="no-"+A;x;){var C=x.classList;if(C.contains(A))return!0;if(C.contains(O))return!1;x=x.parentElement}return!!N}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(x,A){var N=l.util.clone(l.languages[x]);for(var O in A)N[O]=A[O];return N},insertBefore:function(x,A,N,O){O=O||l.languages;var C=O[x],_={};for(var P in C)if(C.hasOwnProperty(P)){if(P==A)for(var I in N)N.hasOwnProperty(I)&&(_[I]=N[I]);N.hasOwnProperty(P)||(_[P]=C[P])}var L=O[x];return O[x]=_,l.languages.DFS(l.languages,function(H,$){$===L&&H!=x&&(this[H]=_)}),_},DFS:function x(A,N,O,C){C=C||{};var _=l.util.objId;for(var P in A)if(A.hasOwnProperty(P)){N.call(A,P,A[P],O||P);var I=A[P],L=l.util.type(I);L==="Object"&&!C[_(I)]?(C[_(I)]=!0,x(I,N,null,C)):L==="Array"&&!C[_(I)]&&(C[_(I)]=!0,x(I,N,P,C))}}},plugins:{},highlightAll:function(x,A){l.highlightAllUnder(document,x,A)},highlightAllUnder:function(x,A,N){var O={callback:N,container:x,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",O),O.elements=Array.prototype.slice.apply(O.container.querySelectorAll(O.selector)),l.hooks.run("before-all-elements-highlight",O);for(var C=0,_;_=O.elements[C++];)l.highlightElement(_,A===!0,O.callback)},highlightElement:function(x,A,N){var O=l.util.getLanguage(x),C=l.languages[O];l.util.setLanguage(x,O);var _=x.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(_,O);var P=x.textContent,I={element:x,language:O,grammar:C,code:P};function L($){I.highlightedCode=$,l.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,l.hooks.run("after-highlight",I),l.hooks.run("complete",I),N&&N.call(I.element)}if(l.hooks.run("before-sanity-check",I),_=I.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!I.code){l.hooks.run("complete",I),N&&N.call(I.element);return}if(l.hooks.run("before-highlight",I),!I.grammar){L(l.util.encode(I.code));return}if(A&&r.Worker){var H=new Worker(l.filename);H.onmessage=function($){L($.data)},H.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else L(l.highlight(I.code,I.grammar,I.language))},highlight:function(x,A,N){var O={code:x,grammar:A,language:N};if(l.hooks.run("before-tokenize",O),!O.grammar)throw new Error('The language "'+O.language+'" has no grammar.');return O.tokens=l.tokenize(O.code,O.grammar),l.hooks.run("after-tokenize",O),c.stringify(l.util.encode(O.tokens),O.language)},tokenize:function(x,A){var N=A.rest;if(N){for(var O in N)A[O]=N[O];delete A.rest}var C=new g;return m(C,C.head,x),p(x,C,A,C.head,0),y(C)},hooks:{all:{},add:function(x,A){var N=l.hooks.all;N[x]=N[x]||[],N[x].push(A)},run:function(x,A){var N=l.hooks.all[x];if(!(!N||!N.length))for(var O=0,C;C=N[O++];)C(A)}},Token:c};r.Prism=l;function c(x,A,N,O){this.type=x,this.content=A,this.alias=N,this.length=(O||"").length|0}c.stringify=function x(A,N){if(typeof A=="string")return A;if(Array.isArray(A)){var O="";return A.forEach(function(L){O+=x(L,N)}),O}var C={type:A.type,content:x(A.content,N),tag:"span",classes:["token",A.type],attributes:{},language:N},_=A.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(C.classes,_):C.classes.push(_)),l.hooks.run("wrap",C);var P="";for(var I in C.attributes)P+=" "+I+'="'+(C.attributes[I]||"").replace(/"/g,""")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+P+">"+C.content+"</"+C.tag+">"};function d(x,A,N,O){x.lastIndex=A;var C=x.exec(N);if(C&&O&&C[1]){var _=C[1].length;C.index+=_,C[0]=C[0].slice(_)}return C}function p(x,A,N,O,C,_){for(var P in N)if(!(!N.hasOwnProperty(P)||!N[P])){var I=N[P];I=Array.isArray(I)?I:[I];for(var L=0;L<I.length;++L){if(_&&_.cause==P+","+L)return;var H=I[L],$=H.inside,U=!!H.lookbehind,W=!!H.greedy,Z=H.alias;if(W&&!H.pattern.global){var j=H.pattern.toString().match(/[imsuy]*$/)[0];H.pattern=RegExp(H.pattern.source,j+"g")}for(var G=H.pattern||H,z=O.next,Y=C;z!==A.tail&&!(_&&Y>=_.reach);Y+=z.value.length,z=z.next){var D=z.value;if(A.length>x.length)return;if(!(D instanceof c)){var V=1,B;if(W){if(B=d(G,Y,x,U),!B||B.index>=x.length)break;var Q=B.index,M=B.index+B[0].length,K=Y;for(K+=z.value.length;Q>=K;)z=z.next,K+=z.value.length;if(K-=z.value.length,Y=K,z.value instanceof c)continue;for(var ee=z;ee!==A.tail&&(K<M||typeof ee.value=="string");ee=ee.next)V++,K+=ee.value.length;V--,D=x.slice(Y,K),B.index-=Y}else if(B=d(G,0,D,U),!B)continue;var Q=B.index,J=B[0],ae=D.slice(0,Q),ke=D.slice(Q+J.length),ie=Y+D.length;_&&ie>_.reach&&(_.reach=ie);var Se=z.prev;ae&&(Se=m(A,Se,ae),Y+=ae.length),b(A,Se,V);var ve=new c(P,$?l.tokenize(J,$):J,Z,J);if(z=m(A,Se,ve),ke&&m(A,z,ke),V>1){var Ie={cause:P+","+L,reach:ie};p(x,A,N,z.prev,Y,Ie),_&&Ie.reach>_.reach&&(_.reach=Ie.reach)}}}}}}function g(){var x={value:null,prev:null,next:null},A={value:null,prev:x,next:null};x.next=A,this.head=x,this.tail=A,this.length=0}function m(x,A,N){var O=A.next,C={value:N,prev:A,next:O};return A.next=C,O.prev=C,x.length++,C}function b(x,A,N){for(var O=A.next,C=0;C<N&&O!==x.tail;C++)O=O.next;A.next=O,O.prev=A,x.length-=C}function y(x){for(var A=[],N=x.head.next;N!==x.tail;)A.push(N.value),N=N.next;return A}if(!r.document)return r.addEventListener&&(l.disableWorkerMessageHandler||r.addEventListener("message",function(x){var A=JSON.parse(x.data),N=A.language,O=A.code,C=A.immediateClose;r.postMessage(l.highlight(O,l.languages[N],N)),C&&r.close()},!1)),l;var S=l.util.currentScript();S&&(l.filename=S.src,S.hasAttribute("data-manual")&&(l.manual=!0));function k(){l.manual||l.highlightAll()}if(!l.manual){var R=document.readyState;R==="loading"||R==="interactive"&&S&&S.defer?document.addEventListener("DOMContentLoaded",k):window.requestAnimationFrame?window.requestAnimationFrame(k):window.setTimeout(k,16)}return l}(t);e.exports&&(e.exports=n),typeof ff<"u"&&(ff.Prism=n)}(ey)),ey.exports}var ty,kI;function Lme(){if(kI)return ty;kI=1,ty=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function e(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,a){var o={};o["language-"+a]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[a]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};s["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:s},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\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:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return ty}var ny,TI;function Mme(){if(TI)return ny;TI=1,ny=e,e.displayName="css",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.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\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,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:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var a=n.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return ny}var ry,AI;function Pme(){if(AI)return ry;AI=1,ry=e,e.displayName="clike",e.aliases=[];function e(t){t.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:/[{}[\];(),.:]/}}return ry}var ay,RI;function Fme(){if(RI)return ay;RI=1,ay=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.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}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.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:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript}return ay}var oy,CI;function zme(){if(CI)return oy;CI=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof ff=="object"?ff:{},t=O();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var n=Rge(),r=Dme(),a=Ime(),o=Lme(),s=Mme(),l=Pme(),c=Fme();t();var d={}.hasOwnProperty;function p(){}p.prototype=a;var g=new p;oy=g,g.highlight=y,g.register=m,g.alias=b,g.registered=S,g.listLanguages=k,m(o),m(s),m(l),m(c),g.util.encode=A,g.Token.stringify=R;function m(C){if(typeof C!="function"||!C.displayName)throw new Error("Expected `function` for `grammar`, got `"+C+"`");g.languages[C.displayName]===void 0&&C(g)}function b(C,_){var P=g.languages,I=C,L,H,$,U;_&&(I={},I[C]=_);for(L in I)for(H=I[L],H=typeof H=="string"?[H]:H,$=H.length,U=-1;++U<$;)P[H[U]]=P[L]}function y(C,_){var P=a.highlight,I;if(typeof C!="string")throw new Error("Expected `string` for `value`, got `"+C+"`");if(g.util.type(_)==="Object")I=_,_=null;else{if(typeof _!="string")throw new Error("Expected `string` for `name`, got `"+_+"`");if(d.call(g.languages,_))I=g.languages[_];else throw new Error("Unknown language: `"+_+"` is not registered")}return P.call(this,C,I,_)}function S(C){if(typeof C!="string")throw new Error("Expected `string` for `language`, got `"+C+"`");return d.call(g.languages,C)}function k(){var C=g.languages,_=[],P;for(P in C)d.call(C,P)&&typeof C[P]=="object"&&_.push(P);return _}function R(C,_,P){var I;return typeof C=="string"?{type:"text",value:C}:g.util.type(C)==="Array"?x(C,_):(I={type:C.type,content:g.Token.stringify(C.content,_,P),tag:"span",classes:["token",C.type],attributes:{},language:_,parent:P},C.alias&&(I.classes=I.classes.concat(C.alias)),g.hooks.run("wrap",I),n(I.tag+"."+I.classes.join("."),N(I.attributes),I.content))}function x(C,_){for(var P=[],I=C.length,L=-1,H;++L<I;)H=C[L],H!==""&&H!==null&&H!==void 0&&P.push(H);for(L=-1,I=P.length;++L<I;)H=P[L],P[L]=g.Token.stringify(H,_,P);return P}function A(C){return C}function N(C){var _;for(_ in C)C[_]=r(C[_]);return C}function O(){var C="Prism"in e,_=C?e.Prism:void 0;return P;function P(){C?e.Prism=_:delete e.Prism,C=void 0,_=void 0}}return oy}const Bme={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > 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 iy,_I;function Ume(){if(_I)return iy;_I=1,iy=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 iy}var sy,NI;function jme(){if(NI)return sy;NI=1,sy=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 sy}var ly,OI;function Gme(){if(OI)return ly;OI=1,ly=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 ly}var uy,DI;function Hme(){if(DI)return uy;DI=1,uy=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 uy}var cy,II;function $me(){if(II)return cy;II=1,cy=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 cy}var dy,LI;function qme(){if(LI)return dy;LI=1,dy=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 dy}var fy,MI;function Vme(){if(MI)return fy;MI=1,fy=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 fy}var py,PI;function Wme(){if(PI)return py;PI=1,py=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 py}var gy,FI;function cA(){if(FI)return gy;FI=1,gy=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 gy}var hy,zI;function Yme(){if(zI)return hy;zI=1;var e=cA();hy=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*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return a.source});function s(c){return RegExp(c.replace(/<CLASS-NAME>/g,function(){return o}),"i")}var l={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:s(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:l},{pattern:s(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:l},{pattern:s(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:l}],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 hy}var my,BI;function Kme(){if(BI)return my;BI=1,my=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 my}var by,UI;function Xme(){if(UI)return by;UI=1,by=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 by}var yy,jI;function Zme(){if(jI)return yy;jI=1,yy=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 yy}var vy,GI;function Ri(){if(GI)return vy;GI=1,vy=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 vy}var Sy,HI;function dA(){if(HI)return Sy;HI=1;var e=Ri();Sy=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(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/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+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/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 Sy}var Ey,$I;function Qme(){if($I)return Ey;$I=1;var e=dA();Ey=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 Ey}var wy,qI;function Jme(){if(qI)return wy;qI=1,wy=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 wy}var xy,VI;function ebe(){if(VI)return xy;VI=1,xy=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]*)<?\d*>/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(s){s=s.split(" ");for(var l={},c=0,d=s.length;c<d;c++)l[s[c]]=a[s[c]];return l}r.inside.interpreted.inside.rest=o("macro inline replacement entity"),a["passthrough-block"].inside.rest=o("macro"),a["literal-block"].inside.rest=o("callout"),a.table.inside.rest=o("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),a["other-block"].inside.rest=o("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),a.title.inside.rest=o("macro inline replacement entity"),n.hooks.add("wrap",function(s){s.type==="entity"&&(s.attributes.title=s.content.value.replace(/&/,"&"))}),n.languages.adoc=n.languages.asciidoc})(t)}return xy}var ky,WI;function tbe(){if(WI)return ky;WI=1,ky=e,e.displayName="asm6502",e.aliases=[];function e(t){t.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}return ky}var Ty,YI;function nbe(){if(YI)return Ty;YI=1,Ty=e,e.displayName="asmatmel",e.aliases=[];function e(t){t.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?: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|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|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|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return Ty}var Ay,KI;function Mp(){if(KI)return Ay;KI=1,Ay=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(V,B){return V.replace(/<<(\d+)>>/g,function(M,K){return"(?:"+B[+K]+")"})}function a(V,B,M){return RegExp(r(V,B),"")}function o(V,B){for(var M=0;M<B;M++)V=V.replace(/<<self>>/g,function(){return"(?:"+V+")"});return V.replace(/<<self>>/g,"[^\\s\\S]")}var s={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 l(V){return"\\b(?:"+V.trim().replace(/ /g,"|")+")\\b"}var c=l(s.typeDeclaration),d=RegExp(l(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),p=l(s.typeDeclaration+" "+s.contextual+" "+s.other),g=l(s.type+" "+s.typeDeclaration+" "+s.other),m=o(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),b=o(/\((?:[^()]|<<self>>)*\)/.source,2),y=/@?\b[A-Za-z_]\w*\b/.source,S=r(/<<0>>(?:\s*<<1>>)?/.source,[y,m]),k=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,S]),R=/\[\s*(?:,\s*)*\]/.source,x=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[k,R]),A=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[m,b,R]),N=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[A]),O=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[N,k,R]),C={keyword:d,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,P=/"(?:\\.|[^\\"\r\n])*"/.source,I=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[I]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[P]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[k]),lookbehind:!0,inside:C},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[y,O]),lookbehind:!0,inside:C},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[y]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,S]),lookbehind:!0,inside:C},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[k]),lookbehind:!0,inside:C},{pattern:a(/(\bwhere\s+)<<0>>/.source,[y]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[x]),lookbehind:!0,inside:C},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[O,g,y]),inside:C}],keyword:d,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,[y]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[y]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[b]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[O,k]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[O]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[y,m]),inside:{function:a(/^<<0>>/.source,[y]),generic:{pattern:RegExp(m),alias:"class-name",inside:C}}},"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,S,y,O,d.source,b,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[S,b]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:d,"class-name":{pattern:RegExp(O),greedy:!0,inside:C},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 L=P+"|"+_,H=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[L]),$=o(r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),U=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,W=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[k,$]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[U,W]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[U]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[$]),inside:n.languages.csharp},"class-name":{pattern:RegExp(k),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Z=/:[^}\r\n]+/.source,j=o(r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),G=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[j,Z]),z=o(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[L]),2),Y=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[z,Z]);function D(V,B){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[V]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[B,Z]),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,[G]),lookbehind:!0,greedy:!0,inside:D(G,j)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Y]),lookbehind:!0,greedy:!0,inside:D(Y,z)}],char:{pattern:RegExp(_),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return Ay}var Ry,XI;function rbe(){if(XI)return Ry;XI=1;var e=Mp();Ry=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:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return Ry}var Cy,ZI;function abe(){if(ZI)return Cy;ZI=1,Cy=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 Cy}var _y,QI;function obe(){if(QI)return _y;QI=1,_y=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 _y}var Ny,JI;function ibe(){if(JI)return Ny;JI=1,Ny=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(p,g){return p.replace(/<<(\d+)>>/g,function(m,b){return g[+b]})}function a(p,g,m){return RegExp(r(p,g),m)}var o=/bool|clip|float|int|string|val/.source,s=[/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("|"),l=[/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("|"),d=[s,l,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,[d],"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 Ny}var Oy,eL;function sbe(){if(eL)return Oy;eL=1,Oy=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 Oy}var Dy,tL;function GH(){if(tL)return Dy;tL=1,Dy=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 s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=o.variable[1].inside,c=0;c<s.length;c++)l[s[c]]=n.languages.bash[s[c]];n.languages.shell=n.languages.bash})(t)}return Dy}var Iy,nL;function HH(){if(nL)return Iy;nL=1,Iy=e,e.displayName="basic",e.aliases=[];function e(t){t.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\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 Iy}var Ly,rL;function lbe(){if(rL)return Ly;rL=1,Ly=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=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\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:s,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:s,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:s,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:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return Ly}var My,aL;function ube(){if(aL)return My;aL=1,My=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 My}var Py,oL;function cbe(){if(oL)return Py;oL=1,Py=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 Py}var Fy,iL;function dbe(){if(iL)return Fy;iL=1,Fy=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 Fy}var zy,sL;function fbe(){if(sL)return zy;sL=1;var e=Ri();zy=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 zy}var By,lL;function pbe(){if(lL)return By;lL=1,By=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 By}var Uy,uL;function gbe(){if(uL)return Uy;uL=1,Uy=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 Uy}var jy,cL;function hbe(){if(cL)return jy;cL=1,jy=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 jy}var Gy,dL;function mbe(){if(dL)return Gy;dL=1,Gy=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 Gy}var Hy,fL;function bbe(){if(fL)return Hy;fL=1,Hy=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 Hy}var $y,pL;function ybe(){if(pL)return $y;pL=1,$y=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 $y}var qy,gL;function vbe(){if(gL)return qy;gL=1;var e=dA();qy=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 qy}var Vy,hL;function Sbe(){if(hL)return Vy;hL=1,Vy=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 Vy}var Wy,mL;function Ebe(){if(mL)return Wy;mL=1,Wy=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 Wy}var Yy,bL;function wbe(){if(bL)return Yy;bL=1,Yy=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 Yy}var Ky,yL;function xbe(){if(yL)return Ky;yL=1,Ky=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 Ky}var Xy,vL;function kbe(){if(vL)return Xy;vL=1,Xy=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 Xy}var Zy,SL;function Tbe(){if(SL)return Zy;SL=1,Zy=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 Zy}var Qy,EL;function Abe(){if(EL)return Qy;EL=1,Qy=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,a=0;a<2;a++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/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 Qy}var Jy,wL;function Pp(){if(wL)return Jy;wL=1,Jy=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 Jy}var ev,xL;function Rbe(){if(xL)return ev;xL=1;var e=Pp();ev=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 ev}var tv,kL;function Cbe(){if(kL)return tv;kL=1;var e=Mp();tv=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 s(k,R){for(var x=0;x<R;x++)k=k.replace(/<self>/g,function(){return"(?:"+k+")"});return k.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+o+")").replace(/<comment>/g,"(?:"+a+")")}var l=s(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),c=s(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),d=s(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),p=s(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),g=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,m=/(?!\d)[^\s>\/=$<%]+/.source+g+/\s*\/?>/.source,b=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|"+s(/<\1/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+m+")";r.languages.cshtml=r.languages.extend("markup",{});var y=r.languages.insertBefore("csharp","string",{html:{pattern:RegExp(b),greedy:!0,inside:r.languages.cshtml}},{csharp:r.languages.extend("csharp",{})}),S={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:y};r.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[d,/(?:code|functions)\s*/.source+d,/(?:for|foreach|lock|switch|using|while)\s*/.source+l+/\s*/.source+d,/do\s*/.source+d+/\s*while\s*/.source+l+/(?:\s*;)?/.source,/try\s*/.source+d+/\s*catch\s*/.source+l+/\s*/.source+d+/\s*finally\s*/.source+d,/if\s*/.source+l+/\s*/.source+d+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+l+")?"+/\s*/.source+d+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:S}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:S}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+l+")(?:"+/[?!]?\.\w+\b/.source+"|"+l+"|"+c+"|"+p+l+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:S}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),r.languages.razor=r.languages.cshtml}(n)}return tv}var nv,TL;function _be(){if(TL)return nv;TL=1,nv=e,e.displayName="csp",e.aliases=[];function e(t){(function(n){function r(a){return RegExp(/([ \t])/.source+"(?:"+a+")"+/(?=[\s;]|$)/.source,"i")}n.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:r(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:r(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:r(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:r(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:r(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:r(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:r(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(t)}return nv}var rv,AL;function Nbe(){if(AL)return rv;AL=1,rv=e,e.displayName="cssExtras",e.aliases=[];function e(t){(function(n){var r=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a;n.languages.css.selector={pattern:n.languages.css.selector.pattern,lookbehind:!0,inside:a={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+r.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[r,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,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},s={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:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:s})})(t)}return rv}var av,RL;function Obe(){if(RL)return av;RL=1,av=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return av}var ov,CL;function Dbe(){if(CL)return ov;CL=1,ov=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 ov}var iv,_L;function Ibe(){if(_L)return iv;_L=1,iv=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 iv}var sv,NL;function Lbe(){if(NL)return sv;NL=1,sv=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 sv}var lv,OL;function Mbe(){if(OL)return lv;OL=1,lv=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 lv}var uv,DL;function Pbe(){if(DL)return uv;DL=1,uv=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 uv}var cv,IL;function Fbe(){if(IL)return cv;IL=1,cv=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 cv}var dv,LL;function zbe(){if(LL)return dv;LL=1,dv=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],s=[];/^\w+$/.test(a)||s.push(/\w+/.exec(a)[0]),a==="diff"&&s.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+o+`].*(?:\r
|
||
?|
|
||
|(?![\\s\\S])))+`,"m"),alias:s,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 dv}var fv,ML;function Wn(){if(ML)return fv;ML=1,fv=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,s,l){if(a.language===o){var c=a.tokenStack=[];a.code=a.code.replace(s,function(d){if(typeof l=="function"&&!l(d))return d;for(var p=c.length,g;a.code.indexOf(g=r(o,p))!==-1;)++p;return c[p]=d,g}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=n.languages[o];var s=0,l=Object.keys(a.tokenStack);function c(d){for(var p=0;p<d.length&&!(s>=l.length);p++){var g=d[p];if(typeof g=="string"||g.content&&typeof g.content=="string"){var m=l[s],b=a.tokenStack[m],y=typeof g=="string"?g:g.content,S=r(o,m),k=y.indexOf(S);if(k>-1){++s;var R=y.substring(0,k),x=new n.Token(o,n.tokenize(b,a.grammar),"language-"+o,b),A=y.substring(k+S.length),N=[];R&&N.push.apply(N,c([R])),N.push(x),A&&N.push.apply(N,c([A])),typeof g=="string"?d.splice.apply(d,[p,1].concat(N)):g.content=N}}else g.content&&c(g.content)}return d}c(a.tokens)}}})})(t)}return fv}var pv,PL;function Bbe(){if(PL)return pv;PL=1;var e=Wn();pv=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(s){o.buildPlaceholders(s,"django",a)}),r.hooks.add("after-tokenize",function(s){o.tokenizePlaceholders(s,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(s){o.buildPlaceholders(s,"jinja2",a)}),r.hooks.add("after-tokenize",function(s){o.tokenizePlaceholders(s,"jinja2")})}(n)}return pv}var gv,FL;function Ube(){if(FL)return gv;FL=1,gv=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 gv}var hv,zL;function jbe(){if(zL)return hv;zL=1,hv=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])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return r}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return o}),l={pattern:RegExp(o),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function d(p,g){return p=p.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return a}),RegExp(p,g)}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:d(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:d(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},n.languages.dockerfile=n.languages.docker})(t)}return hv}var mv,BL;function Gbe(){if(BL)return mv;BL=1,mv=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(s,l){return RegExp(s.replace(/<ID>/g,function(){return r}),l)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:o(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:o(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:o(/([\[;, \t\r\n])<ID>(?=[ \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\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return mv}var bv,UL;function Hbe(){if(UL)return bv;UL=1,bv=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 bv}var yv,jL;function $be(){if(jL)return yv;jL=1,yv=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 yv}var vv,GL;function qbe(){if(GL)return vv;GL=1,vv=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 vv}var Sv,HL;function Vbe(){if(HL)return Sv;HL=1;var e=Wn();Sv=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 Sv}var Ev,$L;function Wbe(){if($L)return Ev;$L=1,Ev=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 Ev}var wv,qL;function Ybe(){if(qL)return wv;qL=1,wv=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 wv}var xv,VL;function Kbe(){if(VL)return xv;VL=1;var e=Pp(),t=Wn();xv=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 s=/<%=?(?:[^\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",s)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"erb")})}(r)}return xv}var kv,WL;function Xbe(){if(WL)return kv;WL=1,kv=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 kv}var Tv,YL;function $H(){if(YL)return Tv;YL=1,Tv=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 Tv}var Av,KL;function Zbe(){if(KL)return Av;KL=1;var e=$H(),t=Wn();Av=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 s=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"etlua",s)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"etlua")})}(r)}return Av}var Rv,XL;function Qbe(){if(XL)return Rv;XL=1,Rv=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 Rv}var Cv,ZL;function Jbe(){if(ZL)return Cv;ZL=1,Cv=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}},s=function(p){return(p+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},l=function(p){return new RegExp("(^|\\s)(?:"+p.map(s).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","<wrapper>","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","<PRIVATE",">>>>>>","<<<<<<<","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?","<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","<iota>","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?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","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","<fp-nan>","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(p){o[p].pattern=l(c[p])});var d=["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","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];o.combinators.pattern=l(d),n.languages.factor=o})(t)}return Cv}var _v,QL;function eye(){if(QL)return _v;QL=1,_v=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:/[()<BDO®]/,alias:"bold"}}})(t)}return _v}var Nv,JL;function tye(){if(JL)return Nv;JL=1,Nv=e,e.displayName="firestoreSecurityRules",e.aliases=[];function e(t){t.languages["firestore-security-rules"]=t.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\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 Nv}var Ov,e2;function nye(){if(e2)return Ov;e2=1,Ov=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 Ov}var Dv,t2;function rye(){if(t2)return Dv;t2=1,Dv=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 Dv}var Iv,n2;function aye(){if(n2)return Iv;n2=1,Iv=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|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),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 Iv}var Lv,r2;function oye(){if(r2)return Lv;r2=1;var e=Wn();Lv=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var s={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/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:/[,;.:()[\]{}]/};s.string[1].inside.interpolation.inside.rest=s,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:s}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:s}}}},r.hooks.add("before-tokenize",function(l){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(l,"ftl",c)}),r.hooks.add("after-tokenize",function(l){r.languages["markup-templating"].tokenizePlaceholders(l,"ftl")})}(n)}return Lv}var Mv,a2;function iye(){if(a2)return Mv;a2=1,Mv=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 Mv}var Pv,o2;function sye(){if(o2)return Pv;o2=1,Pv=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 Pv}var Fv,i2;function lye(){if(i2)return Fv;i2=1,Fv=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 Fv}var zv,s2;function uye(){if(s2)return zv;s2=1,zv=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 zv}var Bv,l2;function cye(){if(l2)return Bv;l2=1,Bv=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 Bv}var Uv,u2;function dye(){if(u2)return Uv;u2=1,Uv=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 Uv}var jv,c2;function fye(){if(c2)return jv;c2=1;var e=Ri();jv=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 jv}var Gv,d2;function pye(){if(d2)return Gv;d2=1,Gv=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 Gv}var Hv,f2;function gye(){if(f2)return Hv;f2=1,Hv=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 Hv}var $v,p2;function hye(){if(p2)return $v;p2=1,$v=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 $v}var qv,g2;function mye(){if(g2)return qv;g2=1,qv=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 qv}var Vv,h2;function bye(){if(h2)return Vv;h2=1,Vv=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(R){return typeof R!="string"&&R.type!=="comment"&&R.type!=="scalar"}),o=0;function s(R){return a[o+R]}function l(R,x){x=x||0;for(var A=0;A<R.length;A++){var N=s(A+x);if(!N||N.type!==R[A])return!1}return!0}function c(R,x){for(var A=1,N=o;N<a.length;N++){var O=a[N],C=O.content;if(O.type==="punctuation"&&typeof C=="string"){if(R.test(C))A++;else if(x.test(C)&&(A--,A===0))return N}}return-1}function d(R,x){var A=R.alias;A?Array.isArray(A)||(R.alias=A=[A]):R.alias=A=[],A.push(x)}for(;o<a.length;){var p=a[o++];if(p.type==="keyword"&&p.content==="mutation"){var g=[];if(l(["definition-mutation","punctuation"])&&s(1).content==="("){o+=2;var m=c(/^\($/,/^\)$/);if(m===-1)continue;for(;o<m;o++){var b=s(0);b.type==="variable"&&(d(b,"variable-input"),g.push(b.content))}o=m+1}if(l(["punctuation","property-query"])&&s(0).content==="{"&&(o++,d(s(0),"property-mutation"),g.length>0)){var y=c(/^\{$/,/^\}$/);if(y===-1)continue;for(var S=o;S<y;S++){var k=a[S];k.type==="variable"&&g.indexOf(k.content)>=0&&d(k,"variable-input")}}}}})}return Vv}var Wv,m2;function yye(){if(m2)return Wv;m2=1,Wv=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 Wv}var Yv,b2;function vye(){if(b2)return Yv;b2=1;var e=Pp();Yv=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"],s={},l=0,c=o.length;l<c;l++){var d=o[l];d=typeof d=="string"?{filter:d,language:d}:d,r.languages[d.language]&&(s["filter-"+d.filter]={pattern:RegExp(a.replace("{{filter_name}}",function(){return d.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[d.language,"language-"+d.language],inside:r.languages[d.language]}}})}r.languages.insertBefore("haml","filter",s)}(n)}return Yv}var Kv,y2;function Sye(){if(y2)return Kv;y2=1;var e=Wn();Kv=t,t.displayName="handlebars",t.aliases=["hbs"];function t(n){n.register(e),function(r){r.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,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 Kv}var Xv,v2;function fA(){if(v2)return Xv;v2=1,Xv=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 Xv}var Zv,S2;function Eye(){if(S2)return Zv;S2=1,Zv=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 Zv}var Qv,E2;function wye(){if(E2)return Qv;E2=1,Qv=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 Qv}var Jv,w2;function xye(){if(w2)return Jv;w2=1;var e=Ri();Jv=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 Jv}var eS,x2;function kye(){if(x2)return eS;x2=1,eS=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 eS}var tS,k2;function Tye(){if(k2)return tS;k2=1,tS=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 tS}var nS,T2;function Aye(){if(T2)return nS;T2=1,nS=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 nS}var rS,A2;function Rye(){if(A2)return rS;A2=1,rS=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(g){return RegExp("(^(?:"+g+"):[ ]*(?![ ]))[^]+","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},s={"application/json":!0,"application/xml":!0};function l(g){var m=g.replace(/^[a-z]+\//,""),b="\\w+/(?:[\\w.-]+\\+)+"+m+"(?![+\\w.-])";return"(?:"+g+"|"+b+")"}var c;for(var d in o)if(o[d]){c=c||{};var p=s[d]?l(d):d;c[d.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+p+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[d]}}c&&n.languages.insertBefore("http","header",c)})(t)}return rS}var aS,R2;function Cye(){if(R2)return aS;R2=1,aS=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 aS}var oS,C2;function _ye(){if(C2)return oS;C2=1,oS=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 oS}var iS,_2;function Nye(){if(_2)return iS;_2=1,iS=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(d,p){return p<=0?/[]/.source:d.replace(/<SELF>/g,function(){return r(d,p-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,o={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:a,greedy:!0,inside:{escape:o}},l=r(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return a.source}),8),c={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(l),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(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:o,string:s},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 iS}var sS,N2;function Oye(){if(N2)return sS;N2=1;var e=fA();sS=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 sS}var lS,O2;function Dye(){if(O2)return lS;O2=1,lS=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 lS}var uS,D2;function Iye(){if(D2)return uS;D2=1,uS=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 uS}var cS,I2;function Lye(){if(I2)return cS;I2=1,cS=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 cS}var dS,L2;function Mye(){if(L2)return dS;L2=1,dS=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 dS}var fS,M2;function Pye(){if(M2)return fS;M2=1,fS=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:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}return fS}var pS,P2;function Fye(){if(P2)return pS;P2=1,pS=e,e.displayName="j",e.aliases=[];function e(t){t.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"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 pS}var gS,F2;function pA(){if(F2)return gS;F2=1,gS=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+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return gS}var hS,z2;function Fp(){if(z2)return hS;z2=1,hS=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(s,l){var c="doc-comment",d=n.languages[s];if(d){var p=d[c];if(!p){var g={};g[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},d=n.languages.insertBefore(s,"comment",g),p=d[c]}if(p instanceof RegExp&&(p=d[c]={pattern:p}),Array.isArray(p))for(var m=0,b=p.length;m<b;m++)p[m]instanceof RegExp&&(p[m]={pattern:p[m]}),l(p[m]);else l(p)}}function o(s,l){typeof s=="string"&&(s=[s]),s.forEach(function(c){a(c,function(d){d.inside||(d.inside={}),d.inside.rest=l})})}Object.defineProperty(r,"addSupport",{value:o}),r.addSupport(["java","javascript","php"],r)})(t)}return hS}var mS,B2;function zye(){if(B2)return mS;B2=1;var e=pA(),t=Fp();mS=n,n.displayName="javadoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,s=/#\s*\w+(?:\s*\([^()]*\))?/.source,l=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return s});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+l+")"),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)>(?!<code>)\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 mS}var bS,U2;function Bye(){if(U2)return bS;U2=1,bS=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$.+-]*\/)+(?:<init>)?\([^()]*\)/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$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\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 bS}var yS,j2;function Uye(){if(j2)return yS;j2=1,yS=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 yS}var vS,G2;function jye(){if(G2)return vS;G2=1,vS=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 vS}var SS,H2;function Gye(){if(H2)return SS;H2=1,SS=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:/^\\\(|\)$/}}},s=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=s})(t)}return SS}var ES,$2;function Hye(){if($2)return ES;$2=1,ES=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(d,p){return RegExp(d.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\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*)#?<ID>/.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<a.length;o++){var s=a[o],l=n.languages.javascript[s];n.util.type(l)==="RegExp"&&(l=n.languages.javascript[s]={pattern:l});var c=l.inside||{};l.inside=c,c["maybe-class-name"]=/^[A-Z][\s\S]*/}})(t)}return ES}var wS,q2;function $ye(){if(q2)return wS;q2=1,wS=e,e.displayName="jsTemplates",e.aliases=[];function e(t){(function(n){var r=n.languages.javascript["template-string"],a=r.pattern.source,o=r.inside.interpolation,s=o.inside["interpolation-punctuation"],l=o.pattern.source;function c(S,k){if(n.languages[S])return{pattern:RegExp("((?:"+k+")\\s*)"+a),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:S}}}}n.languages.javascript["template-string"]=[c("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),c("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),c("svg",/\bsvg/.source),c("markdown",/\b(?:markdown|md)/.source),c("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),c("sql",/\bsql/.source),r].filter(Boolean);function d(S,k){return"___"+k.toUpperCase()+"_"+S+"___"}function p(S,k,R){var x={code:S,grammar:k,language:R};return n.hooks.run("before-tokenize",x),x.tokens=n.tokenize(x.code,x.grammar),n.hooks.run("after-tokenize",x),x.tokens}function g(S){var k={};k["interpolation-punctuation"]=s;var R=n.tokenize(S,k);if(R.length===3){var x=[1,1];x.push.apply(x,p(R[1],n.languages.javascript,"javascript")),R.splice.apply(R,x)}return new n.Token("interpolation",R,o.alias,S)}function m(S,k,R){var x=n.tokenize(S,{interpolation:{pattern:RegExp(l),lookbehind:!0}}),A=0,N={},O=x.map(function(I){if(typeof I=="string")return I;for(var L=I.content,H;S.indexOf(H=d(A++,R))!==-1;);return N[H]=L,H}).join(""),C=p(O,k,R),_=Object.keys(N);A=0;function P(I){for(var L=0;L<I.length;L++){if(A>=_.length)return;var H=I[L];if(typeof H=="string"||typeof H.content=="string"){var $=_[A],U=typeof H=="string"?H:H.content,W=U.indexOf($);if(W!==-1){++A;var Z=U.substring(0,W),j=g(N[$]),G=U.substring(W+$.length),z=[];if(Z&&z.push(Z),z.push(j),G){var Y=[G];P(Y),z.push.apply(z,Y)}typeof H=="string"?(I.splice.apply(I,[L,1].concat(z)),L+=z.length-1):H.content=z}}else{var D=H.content;Array.isArray(D)?P(D):P([D])}}}return P(C),new n.Token(R,C,"language-"+R,S)}var b={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(S){if(!(S.language in b))return;function k(R){for(var x=0,A=R.length;x<A;x++){var N=R[x];if(typeof N!="string"){var O=N.content;if(!Array.isArray(O)){typeof O!="string"&&k([O]);continue}if(N.type==="template-string"){var C=O[1];if(O.length===3&&typeof C!="string"&&C.type==="embedded-code"){var _=y(C),P=C.alias,I=Array.isArray(P)?P[0]:P,L=n.languages[I];if(!L)continue;O[1]=m(_,L,I)}}else k(O)}}}k(S.tokens)});function y(S){return typeof S=="string"?S:Array.isArray(S)?S.map(y).join(""):y(S.content)}})(t)}return wS}var xS,V2;function gA(){if(V2)return xS;V2=1,xS=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(n){n.languages.typescript=n.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,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 xS}var kS,W2;function qye(){if(W2)return kS;W2=1;var e=Fp(),t=gA();kS=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.languages.javascript,s=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,l="(@(?:arg|argument|param|property)\\s+(?:"+s+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(l+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(l+/\[(?:(?!\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+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return s})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+s),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 kS}var TS,Y2;function hA(){if(Y2)return TS;Y2=1,TS=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 TS}var AS,K2;function Vye(){if(K2)return AS;K2=1;var e=hA();AS=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 AS}var RS,X2;function Wye(){if(X2)return RS;X2=1;var e=hA();RS=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 RS}var CS,Z2;function Yye(){if(Z2)return CS;Z2=1,CS=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|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(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 CS}var _S,Q2;function qH(){if(Q2)return _S;Q2=1,_S=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function l(p,g){return p=p.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return s}),RegExp(p,g)}s=l(s).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<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:l(/<SPREAD>/.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var c=function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(c).join(""):""},d=function(p){for(var g=[],m=0;m<p.length;m++){var b=p[m],y=!1;if(typeof b!="string"&&(b.type==="tag"&&b.content[0]&&b.content[0].type==="tag"?b.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===c(b.content[0].content[1])&&g.pop():b.content[b.content.length-1].content==="/>"||g.push({tagName:c(b.content[0].content[1]),openedBraces:0}):g.length>0&&b.type==="punctuation"&&b.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&b.type==="punctuation"&&b.content==="}"?g[g.length-1].openedBraces--:y=!0),(y||typeof b=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var S=c(b);m<p.length-1&&(typeof p[m+1]=="string"||p[m+1].type==="plain-text")&&(S+=c(p[m+1]),p.splice(m+1,1)),m>0&&(typeof p[m-1]=="string"||p[m-1].type==="plain-text")&&(S=c(p[m-1])+S,p.splice(m-1,1),m--),p[m]=new n.Token("plain-text",S,null,S)}b.content&&typeof b.content!="string"&&d(b.content)}};n.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||d(p.tokens)})})(t)}return _S}var NS,J2;function Kye(){if(J2)return NS;J2=1,NS=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 NS}var OS,eM;function Xye(){if(eM)return OS;eM=1,OS=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}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\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})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/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 OS}var DS,tM;function Zye(){if(tM)return DS;tM=1,DS=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 DS}var IS,nM;function Qye(){if(nM)return IS;nM=1,IS=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 IS}var LS,rM;function Jye(){if(rM)return LS;rM=1,LS=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,s){return RegExp(o.replace(/<nonId>/g,r),s)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return LS}var MS,aM;function eve(){if(aM)return MS;aM=1,MS=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 MS}var PS,oM;function tve(){if(oM)return PS;oM=1,PS=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 PS}var FS,iM;function zp(){if(iM)return FS;iM=1;var e=Wn();FS=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*\()/],s=/\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,l=/<?=>|\?\?=?|\.{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:s,operator:l,punctuation:c};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},p=[{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:d}},{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:d}}];r.languages.insertBefore("php","variable",{string:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:p,"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:s,operator:l,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(g){if(/<\?/.test(g.code)){var m=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(g,"php",m)}}),r.hooks.add("after-tokenize",function(g){r.languages["markup-templating"].tokenizePlaceholders(g,"php")})}(n)}return FS}var zS,sM;function nve(){if(sM)return zS;sM=1;var e=Wn(),t=zp();zS=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(s){if(s.language==="latte"){var l=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(s,"latte",l),s.grammar=o}}),a.hooks.add("after-tokenize",function(s){a.languages["markup-templating"].tokenizePlaceholders(s,"latte")})}(r)}return zS}var BS,lM;function rve(){if(lM)return BS;lM=1,BS=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 BS}var US,uM;function mA(){if(uM)return US;uM=1,US=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({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\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(s){return"(?:"+a[s].trim()+")"});return a[o]}})(t)}return US}var jS,cM;function ave(){if(cM)return jS;cM=1;var e=mA();jS=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,o=5,s=0;s<o;s++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var l=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/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/};l["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=l,r.languages.ly=l}(n)}return jS}var GS,dM;function ove(){if(dM)return GS;dM=1;var e=Wn();GS=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(s){var l=/^\{%-?\s*(\w+)/.exec(s);if(l){var c=l[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 GS}var HS,fM;function ive(){if(fM)return HS;fM=1,HS=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(S){return RegExp(/(\()/.source+"(?:"+S+")"+/(?=[\s\)])/.source)}function a(S){return RegExp(/([\s([])/.source+"(?:"+S+")"+/(?=[\s)])/.source)}var o=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+o,l="(\\()",c="(?=\\))",d="(?=\\s)",p=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,g={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(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+d),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+d),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(l+"def(?:const|custom|group|var)\\s+"+o),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(o)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+o+/\s+\(/.source+p+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+o),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+o+"(?:\\s+&?"+o+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+o),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},m={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+o+/\s+(?=\S)/.source+p+/\)/.source),inside:g},argument:{pattern:RegExp(/(^|[\s(])/.source+o),lookbehind:!0,alias:"variable"},rest:g},b="\\S+(?:\\s+\\S+)*",y={pattern:RegExp(l+p+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+b),inside:m},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+b),inside:m},keys:{pattern:RegExp("&key\\s+"+b+"(?:\\s+&allow-other-keys)?"),inside:m},argument:{pattern:RegExp(o),alias:"variable"},punctuation:/[()]/}};g.lambda.inside.arguments=y,g.defun.inside.arguments=n.util.clone(y),g.defun.inside.arguments.inside.sublist=y,n.languages.lisp=g,n.languages.elisp=g,n.languages.emacs=g,n.languages["emacs-lisp"]=g})(t)}return HS}var $S,pM;function sve(){if(pM)return $S;pM=1,$S=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 $S}var qS,gM;function lve(){if(gM)return qS;gM=1,qS=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 qS}var VS,hM;function uve(){if(hM)return VS;hM=1,VS=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 VS}var WS,mM;function cve(){if(mM)return WS;mM=1,WS=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 WS}var YS,bM;function dve(){if(bM)return YS;bM=1,YS=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 YS}var KS,yM;function fve(){if(yM)return KS;yM=1,KS=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 KS}var XS,vM;function pve(){if(vM)return XS;vM=1,XS=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(m){return m=m.replace(/<inner>/g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+m+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),l=/\|?[ \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("^"+s+l+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+l+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),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__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\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(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(m){["url","bold","italic","strike","code-snippet"].forEach(function(b){m!==b&&(n.languages.markdown[m].inside.content.inside[b]=n.languages.markdown[b])})}),n.hooks.add("after-tokenize",function(m){if(m.language!=="markdown"&&m.language!=="md")return;function b(y){if(!(!y||typeof y=="string"))for(var S=0,k=y.length;S<k;S++){var R=y[S];if(R.type!=="code"){b(R.content);continue}var x=R.content[1],A=R.content[3];if(x&&A&&x.type==="code-language"&&A.type==="code-block"&&typeof x.content=="string"){var N=x.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");N=(/[a-z][\w-]*/i.exec(N)||[""])[0].toLowerCase();var O="language-"+N;A.alias?typeof A.alias=="string"?A.alias=[A.alias,O]:A.alias.push(O):A.alias=[O]}}}b(m.tokens)}),n.hooks.add("wrap",function(m){if(m.type==="code-block"){for(var b="",y=0,S=m.classes.length;y<S;y++){var k=m.classes[y],R=/language-(.+)/.exec(k);if(R){b=R[1];break}}var x=n.languages[b];if(x)m.content=n.highlight(g(m.content.value),x,b);else if(b&&b!=="none"&&n.plugins.autoloader){var A="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);m.attributes.id=A,n.plugins.autoloader.loadLanguages(b,function(){var N=document.getElementById(A);N&&(N.innerHTML=n.highlight(N.textContent,n.languages[b],b))})}}});var c=RegExp(n.languages.markup.tag.pattern.source,"gi"),d={amp:"&",lt:"<",gt:">",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function g(m){var b=m.replace(c,"");return b=b.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(y,S){if(S=S.toLowerCase(),S[0]==="#"){var k;return S[1]==="x"?k=parseInt(S.slice(2),16):k=Number(S.slice(1)),p(k)}else{var R=d[S];return R||y}}),b}n.languages.md=n.languages.markdown})(t)}return XS}var ZS,SM;function gve(){if(SM)return ZS;SM=1,ZS=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 ZS}var QS,EM;function hve(){if(EM)return QS;EM=1,QS=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 QS}var JS,wM;function mve(){if(wM)return JS;wM=1,JS=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 JS}var eE,xM;function bve(){if(xM)return eE;xM=1,eE=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]|===+|---+|-\.+-)(?![<>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 eE}var tE,kM;function yve(){if(kM)return tE;kM=1,tE=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 tE}var nE,TM;function vve(){if(TM)return nE;TM=1,nE=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(s){return s.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 nE}var rE,AM;function Sve(){if(AM)return rE;AM=1,rE=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 rE}var aE,RM;function Eve(){if(RM)return aE;RM=1,aE=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 aE}var oE,CM;function wve(){if(CM)return oE;CM=1,oE=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 oE}var iE,_M;function xve(){if(_M)return iE;_M=1,iE=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 iE}var sE,NM;function kve(){if(NM)return sE;NM=1,sE=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 sE}var lE,OM;function Tve(){if(OM)return lE;OM=1,lE=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(l){var c=l.tokens;c.forEach(function(d){if(typeof d!="string"&&d.type==="generic-text"){var p=s(d);o(p)||(d.type="bad-line",d.content=p)}})});function o(l){for(var c="[]{}",d=[],p=0;p<l.length;p++){var g=l[p],m=c.indexOf(g);if(m!==-1){if(m%2===0)d.push(m+1);else if(d.pop()!==m)return!1}}return d.length===0}function s(l){return typeof l=="string"?l:Array.isArray(l)?l.map(s).join(""):s(l.content)}})(t)}return lE}var uE,DM;function Ave(){if(DM)return uE;DM=1,uE=e,e.displayName="nasm",e.aliases=[];function e(t){t.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\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)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\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:/[\[\]*+\-\/%<>=&|$!]/}}return uE}var cE,IM;function Rve(){if(IM)return cE;IM=1,cE=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 cE}var dE,LM;function Cve(){if(LM)return dE;LM=1,dE=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 dE}var fE,MM;function _ve(){if(MM)return fE;MM=1,fE=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 fE}var pE,PM;function Nve(){if(PM)return pE;PM=1,pE=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 pE}var gE,FM;function Ove(){if(FM)return gE;FM=1,gE=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 gE}var hE,zM;function Dve(){if(zM)return hE;zM=1,hE=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 hE}var mE,BM;function Ive(){if(BM)return mE;BM=1;var e=Ri();mE=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 mE}var bE,UM;function Lve(){if(UM)return bE;UM=1,bE=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 bE}var yE,jM;function Mve(){if(jM)return yE;jM=1;var e=Ri();yE=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 yE}var vE,GM;function Pve(){if(GM)return vE;GM=1,vE=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 vE}var SE,HM;function Fve(){if(HM)return SE;HM=1,SE=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 SE}var EE,$M;function zve(){if($M)return EE;$M=1,EE=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 EE}var wE,qM;function Bve(){if(qM)return wE;qM=1,wE=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 wE}var xE,VM;function Uve(){if(VM)return xE;VM=1,xE=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 xE}var kE,WM;function jve(){if(WM)return kE;WM=1,kE=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/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+)<type>/.source.replace(/<type>/g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/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:/\(\.|\.\)|[()\[\]:;,.{}]/},s=["comment","keyword","builtin","operator","punctuation"].reduce(function(l,c){return l[c]=o[c],l},{});o["class-name"].forEach(function(l){l.inside=s})})(t)}return kE}var TE,YM;function Gve(){if(YM)return TE;YM=1,TE=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 TE}var AE,KM;function Hve(){if(KM)return AE;KM=1,AE=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 AE}var RE,XM;function $ve(){if(XM)return RE;XM=1,RE=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 RE}var CE,ZM;function qve(){if(ZM)return CE;ZM=1;var e=zp();CE=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 CE}var _E,QM;function Vve(){if(QM)return _E;QM=1;var e=zp(),t=Fp();_E=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 _E}var NE,JM;function Wve(){if(JM)return NE;JM=1;var e=cA();NE=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 NE}var OE,eP;function Yve(){if(eP)return OE;eP=1,OE=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 OE}var DE,tP;function Kve(){if(tP)return DE;tP=1,DE=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 DE}var IE,nP;function Xve(){if(nP)return IE;nP=1,IE=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 IE}var LE,rP;function Zve(){if(rP)return LE;rP=1,LE=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 LE}var ME,aP;function Qve(){if(aP)return ME;aP=1,ME=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"],s=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(?:"+s.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 ME}var PE,oP;function Jve(){if(oP)return PE;oP=1,PE=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 PE}var FE,iP;function eSe(){if(iP)return FE;iP=1,FE=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 FE}var zE,sP;function tSe(){if(sP)return zE;sP=1,zE=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 zE}var BE,lP;function nSe(){if(lP)return BE;lP=1,BE=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 ]*)):<filter_name>(?:(?:\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={},s=0,l=a.length;s<l;s++){var c=a[s];c=typeof c=="string"?{filter:c,language:c}:c,n.languages[c.language]&&(o["filter-"+c.filter]={pattern:RegExp(r.replace("<filter_name>",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 BE}var UE,uP;function rSe(){if(uP)return UE;uP=1,UE=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 UE}var jE,cP;function aSe(){if(cP)return jE;cP=1,jE=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=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(o){var s=o;if(typeof o!="string"&&(s=o.alias,o=o.lang),n.languages[s]){var l={};l["inline-lang-"+s]={pattern:RegExp(a.replace("<lang>",o.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},l["inline-lang-"+s].inside.rest=n.util.clone(n.languages[s]),n.languages.insertBefore("pure","inline-lang",l)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return jE}var GE,dP;function oSe(){if(dP)return GE;dP=1,GE=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 GE}var HE,fP;function iSe(){if(fP)return HE;fP=1;var e=fA();HE=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 HE}var $E,pP;function sSe(){if(pP)return $E;pP=1,$E=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://,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 $E}var qE,gP;function lSe(){if(gP)return qE;gP=1,qE=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 qE}var VE,hP;function uSe(){if(hP)return VE;hP=1,VE=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,o=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return r}).replace(/<comment>/g,function(){return a}),s=0;s<2;s++)o=o.replace(/<expr>/g,function(){return o});o=o.replace(/<expr>/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*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/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;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/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 VE}var WE,mP;function cSe(){if(mP)return WE;mP=1,WE=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 WE}var YE,bP;function dSe(){if(bP)return YE;bP=1,YE=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(y,S){return y.replace(/<<(\d+)>>/g,function(k,R){return"(?:"+S[+R]+")"})}function a(y,S,k){return RegExp(r(y,S),"")}function o(y,S){for(var k=0;k<S;k++)y=y.replace(/<<self>>/g,function(){return"(?:"+y+")"});return y.replace(/<<self>>/g,"[^\\s\\S]")}var s={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 l(y){return"\\b(?:"+y.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(l(s.type+" "+s.other)),d=/\b[A-Za-z_]\w*\b/.source,p=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[d]),g={keyword:c,punctuation:/[<>()?,.:[\]]/},m=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[p]),lookbehind:!0,inside:g},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[p]),lookbehind:!0,inside:g}],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 b=o(r(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[m]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[b]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[b]),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 YE}var KE,yP;function fSe(){if(yP)return KE;yP=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 XE,vP;function pSe(){if(vP)return XE;vP=1;var e=mA();XE=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 XE}var ZE,SP;function gSe(){if(SP)return ZE;SP=1,ZE=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 ZE}var QE,EP;function hSe(){if(EP)return QE;EP=1,QE=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"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+a.source+")",c=RegExp(l+"-"+l),d={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":s,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":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}return QE}var JE,wP;function mSe(){if(wP)return JE;wP=1,JE=e,e.displayName="rego",e.aliases=[];function e(t){t.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return JE}var ew,xP;function bSe(){if(xP)return ew;xP=1,ew=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 ew}var tw,kP;function ySe(){if(kP)return tw;kP=1,tw=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 tw}var nw,TP;function vSe(){if(TP)return nw;TP=1,nw=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 nw}var rw,AP;function SSe(){if(AP)return rw;AP=1,rw=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 rw}var aw,RP;function ESe(){if(RP)return aw;RP=1,aw=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(d,p){var g={};g["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var m in p)g[m]=p[m];return g.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},g.variable=a,g.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return d}),"im"),alias:"section",inside:g}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={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":l,documentation:s,property:c}),keywords:o("Keywords",{"keyword-name":l,documentation:s,property:c}),tasks:o("Tasks",{"task-name":l,documentation:s,property:c}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return aw}var ow,CP;function wSe(){if(CP)return ow;CP=1,ow=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/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 ow}var iw,_P;function xSe(){if(_P)return iw;_P=1,iw=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"},s={pattern:/&[a-z_]\w*/i},l={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},d=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],p={pattern:RegExp(r),greedy:!0},g=/[$%@.(){}\[\];,\\]/,m={pattern:/%?\b\w+(?=\()/,alias:"keyword"},b={function:m,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":o,punctuation:g,string:p},y={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},S={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},k={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"},R={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},x=/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,A={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return x}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return x}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:d,function:m,"arg-value":b["arg-value"],operator:b.operator,argument:b.arg,number:a,"numeric-constant":o,punctuation:g,string:p}},N={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)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":k,"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:g,string:p}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:N,"submit-statement":R,"global-statements":k,number:a,"numeric-constant":o,punctuation:g,string:p}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:N,"submit-statement":R,"global-statements":k,number:a,"numeric-constant":o,punctuation:g,string:p}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:b}},"cas-actions":A,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:b},step:c,keyword:N,function:m,format:y,altformat:S,"global-statements":k,number:a,"numeric-constant":o,punctuation:g,string:p}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,inside:b},"macro-keyword":l,"macro-variable":s,"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":l,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:g}},"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:d,number:a,"numeric-constant":o}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:b},"cas-actions":A,comment:d,function:m,format:y,altformat:S,"numeric-constant":o,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:p,step:c,keyword:N,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:g}})(t)}return iw}var sw,NP;function kSe(){if(NP)return sw;NP=1,sw=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 sw}var lw,OP;function TSe(){if(OP)return lw;OP=1;var e=pA();lw=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 lw}var uw,DP;function ASe(){if(DP)return uw;DP=1,uw=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 uw}var cw,IP;function RSe(){if(IP)return cw;IP=1;var e=GH();cw=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?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/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 cw}var dw,LP;function CSe(){if(LP)return dw;LP=1,dw=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 dw}var fw,MP;function _Se(){if(MP)return fw;MP=1,fw=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 fw}var pw,PP;function NSe(){if(PP)return pw;PP=1;var e=Wn();pw=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+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(s){var l="{literal}",c="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(s,"smarty",o,function(p){return p===c&&(d=!1),d?!1:(p===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"smarty")})}(n)}return pw}var gw,FP;function OSe(){if(FP)return gw;FP=1,gw=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*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/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 gw}var hw,zP;function DSe(){if(zP)return hw;zP=1,hw=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 hw}var mw,BP;function ISe(){if(BP)return mw;BP=1,mw=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 mw}var bw,UP;function LSe(){if(UP)return bw;UP=1;var e=Wn();bw=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(s){var l=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,c="{literal}",d="{/literal}",p=!1;r.languages["markup-templating"].buildPlaceholders(s,"soy",l,function(g){return g===d&&(p=!1),p?!1:(g===c&&(p=!0),!0)})}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"soy")})}(n)}return bw}var yw,jP;function VH(){if(jP)return yw;jP=1,yw=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 yw}var vw,GP;function MSe(){if(GP)return vw;GP=1;var e=VH();vw=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 vw}var Sw,HP;function PSe(){if(HP)return Sw;HP=1,Sw=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 Sw}var Ew,$P;function FSe(){if($P)return Ew;$P=1,Ew=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 Ew}var ww,qP;function zSe(){if(qP)return ww;qP=1,ww=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 ww}var xw,VP;function BSe(){if(VP)return xw;VP=1,xw=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 xw}var kw,WP;function USe(){if(WP)return kw;WP=1,kw=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 kw}var Tw,YP;function jSe(){if(YP)return Tw;YP=1,Tw=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 Tw}var Aw,KP;function GSe(){if(KP)return Aw;KP=1,Aw=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 Aw}var Rw,XP;function bA(){if(XP)return Rw;XP=1,Rw=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(o,s,l){return{pattern:RegExp("<#"+o+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:s,alias:l}}}}function a(o){var s=n.languages[o],l="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("=",s,l),"class-feature":r("\\+",s,l),standard:r("",s,l)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return Rw}var Cw,ZP;function HSe(){if(ZP)return Cw;ZP=1;var e=bA(),t=Mp();Cw=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 Cw}var _w,QP;function WH(){if(QP)return _w;QP=1;var e=HH();_w=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 _w}var Nw,JP;function $Se(){if(JP)return Nw;JP=1;var e=bA(),t=WH();Nw=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 Nw}var Ow,eF;function YH(){if(eF)return Ow;eF=1,Ow=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+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(d,p){p=(p||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return d});return RegExp(g,p)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+s+"|"+l+")"})),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(l),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 Ow}var Dw,tF;function qSe(){if(tF)return Dw;tF=1;var e=YH();Dw=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 Dw}var Iw,nF;function VSe(){if(nF)return Iw;nF=1,Iw=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 Iw}var Lw,rF;function WSe(){if(rF)return Lw;rF=1,Lw=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function o(m,b){return RegExp(m.replace(/<MOD>/g,function(){return"(?:"+r+")"}).replace(/<PAR>/g,function(){return"(?:"+a+")"}),b||"")}var s={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/},l=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*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:o(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:o(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:o(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:o(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:o(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:o(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:o(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:o(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:o(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:o(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:o(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:o(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:o(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:o(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:o(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:o(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:o(/(^")<MOD>+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:o(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:o(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:o(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:s},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=l.phrase.inside,d={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var p=c.inline.inside;p.bold.inside=d,p.italic.inside=d,p.inserted.inside=d,p.deleted.inside=d,p.span.inside=d;var g=c.table.inside;g.inline=d.inline,g.link=d.link,g.image=d.image,g.footnote=d.footnote,g.acronym=d.acronym,g.mark=d.mark})(t)}return Lw}var Mw,aF;function YSe(){if(aF)return Mw;aF=1,Mw=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 Mw}var Pw,oF;function KSe(){if(oF)return Pw;oF=1,Pw=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 Pw}var Fw,iF;function XSe(){if(iF)return Fw;iF=1;var e=qH(),t=gA();Fw=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 s=a.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(r)}return Fw}var zw,sF;function ZSe(){if(sF)return zw;sF=1;var e=Wn();zw=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 zw}var Bw,lF;function QSe(){if(lF)return Bw;lF=1;var e=Wn();Bw=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 Bw}var Uw,uF;function JSe(){if(uF)return Uw;uF=1,Uw=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:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,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 Uw}var jw,cF;function eEe(){if(cF)return jw;cF=1,jw=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 jw}var Gw,dF;function tEe(){if(dF)return Gw;dF=1,Gw=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 Gw}var Hw,fF;function nEe(){if(fF)return Hw;fF=1,Hw=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 Hw}var $w,pF;function rEe(){if(pF)return $w;pF=1,$w=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 $w}var qw,gF;function aEe(){if(gF)return qw;gF=1,qw=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 qw}var Vw,hF;function oEe(){if(hF)return Vw;hF=1,Vw=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 Vw}var Ww,mF;function iEe(){if(mF)return Ww;mF=1,Ww=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 Ww}var Yw,bF;function sEe(){if(bF)return Yw;bF=1,Yw=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 Yw}var Kw,yF;function lEe(){if(yF)return Kw;yF=1,Kw=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 Kw}var Xw,vF;function uEe(){if(vF)return Xw;vF=1,Xw=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 Xw}var Zw,SF;function cEe(){if(SF)return Zw;SF=1,Zw=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 Zw}var Qw,EF;function dEe(){if(EF)return Qw;EF=1,Qw=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 Qw}var Jw,wF;function fEe(){if(wF)return Jw;wF=1,Jw=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 s in n.languages["web-idl"])s!=="class-name"&&(o[s]=n.languages["web-idl"][s]);n.languages.webidl=n.languages["web-idl"]})(t)}return Jw}var ex,xF;function pEe(){if(xF)return ex;xF=1,ex=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 ex}var tx,kF;function gEe(){if(kF)return tx;kF=1,tx=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 tx}var nx,TF;function hEe(){if(TF)return nx;TF=1,nx=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 nx}var rx,AF;function mEe(){if(AF)return rx;AF=1,rx=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 rx}var ax,RF;function bEe(){if(RF)return ax;RF=1,ax=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(l,c){n.languages[l]&&n.languages.insertBefore(l,"comment",{"doc-comment":c})}var a=n.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",o),r("fsharp",o),r("vbnet",s)})(t)}return ax}var ox,CF;function yEe(){if(CF)return ox;CF=1,ox=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 ox}var ix,_F;function vEe(){if(_F)return ix;_F=1,ix=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 s=[],l=0;l<o.length;l++){var c=o[l],d=!1;if(typeof c!="string"&&(c.type==="tag"&&c.content[0]&&c.content[0].type==="tag"?c.content[0].content[0].content==="</"?s.length>0&&s[s.length-1].tagName===r(c.content[0].content[1])&&s.pop():c.content[c.content.length-1].content==="/>"||s.push({tagName:r(c.content[0].content[1]),openedBraces:0}):s.length>0&&c.type==="punctuation"&&c.content==="{"&&(!o[l+1]||o[l+1].type!=="punctuation"||o[l+1].content!=="{")&&(!o[l-1]||o[l-1].type!=="plain-text"||o[l-1].content!=="{")?s[s.length-1].openedBraces++:s.length>0&&s[s.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?s[s.length-1].openedBraces--:c.type!=="comment"&&(d=!0)),(d||typeof c=="string")&&s.length>0&&s[s.length-1].openedBraces===0){var p=r(c);l<o.length-1&&(typeof o[l+1]=="string"||o[l+1].type==="plain-text")&&(p+=r(o[l+1]),o.splice(l+1,1)),l>0&&(typeof o[l-1]=="string"||o[l-1].type==="plain-text")&&(p=r(o[l-1])+p,o.splice(l-1,1),l--),/^\s+$/.test(p)?o[l]=p:o[l]=new n.Token("plain-text",p,null,p)}c.content&&typeof c.content!="string"&&a(c.content)}};n.hooks.add("after-tokenize",function(o){o.language==="xquery"&&a(o.tokens)})})(t)}return ix}var sx,NF;function SEe(){if(NF)return sx;NF=1,sx=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 sx}var lx,OF;function EEe(){if(OF)return lx;OF=1,lx=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(p){return function(){return p}}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",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,r(s)),c=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,r(o)),d="(?!\\s)(?:!?\\s*(?:"+l+"\\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*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,r(d)).replace(/<ALIGN>/g,r(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,r(d)).replace(/<ALIGN>/g,r(s))),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(p){p.inside===null&&(p.inside=n.languages.zig)})})(t)}return lx}var ux,DF;function wEe(){if(DF)return ux;DF=1;var e=zme();return ux=e,e.register(Ume()),e.register(jme()),e.register(Gme()),e.register(Hme()),e.register($me()),e.register(qme()),e.register(Vme()),e.register(Wme()),e.register(Yme()),e.register(Kme()),e.register(Xme()),e.register(Zme()),e.register(Qme()),e.register(Jme()),e.register(ebe()),e.register(tbe()),e.register(nbe()),e.register(rbe()),e.register(abe()),e.register(obe()),e.register(ibe()),e.register(sbe()),e.register(GH()),e.register(HH()),e.register(lbe()),e.register(ube()),e.register(cbe()),e.register(dbe()),e.register(fbe()),e.register(pbe()),e.register(gbe()),e.register(hbe()),e.register(mbe()),e.register(bbe()),e.register(Ri()),e.register(ybe()),e.register(vbe()),e.register(Sbe()),e.register(Ebe()),e.register(wbe()),e.register(xbe()),e.register(kbe()),e.register(Tbe()),e.register(Abe()),e.register(dA()),e.register(Rbe()),e.register(Mp()),e.register(Cbe()),e.register(_be()),e.register(Nbe()),e.register(Obe()),e.register(Dbe()),e.register(Ibe()),e.register(Lbe()),e.register(Mbe()),e.register(Pbe()),e.register(Fbe()),e.register(zbe()),e.register(Bbe()),e.register(Ube()),e.register(jbe()),e.register(Gbe()),e.register(Hbe()),e.register($be()),e.register(qbe()),e.register(Vbe()),e.register(Wbe()),e.register(Ybe()),e.register(Kbe()),e.register(Xbe()),e.register(Zbe()),e.register(Qbe()),e.register(Jbe()),e.register(eye()),e.register(tye()),e.register(nye()),e.register(rye()),e.register(aye()),e.register(oye()),e.register(iye()),e.register(sye()),e.register(lye()),e.register(uye()),e.register(cye()),e.register(dye()),e.register(fye()),e.register(pye()),e.register(gye()),e.register(hye()),e.register(mye()),e.register(bye()),e.register(yye()),e.register(vye()),e.register(Sye()),e.register(fA()),e.register(Eye()),e.register(wye()),e.register(xye()),e.register(kye()),e.register(Tye()),e.register(Aye()),e.register(Rye()),e.register(Cye()),e.register(_ye()),e.register(Nye()),e.register(Oye()),e.register(Dye()),e.register(Iye()),e.register(Lye()),e.register(Mye()),e.register(Pye()),e.register(Fye()),e.register(pA()),e.register(zye()),e.register(Fp()),e.register(Bye()),e.register(Uye()),e.register(jye()),e.register(Gye()),e.register(Hye()),e.register($ye()),e.register(qye()),e.register(hA()),e.register(Vye()),e.register(Wye()),e.register(Yye()),e.register(qH()),e.register(Kye()),e.register(Xye()),e.register(Zye()),e.register(Qye()),e.register(Jye()),e.register(eve()),e.register(tve()),e.register(nve()),e.register(rve()),e.register(ave()),e.register(ove()),e.register(ive()),e.register(sve()),e.register(lve()),e.register(uve()),e.register(cve()),e.register($H()),e.register(dve()),e.register(fve()),e.register(pve()),e.register(Wn()),e.register(gve()),e.register(hve()),e.register(mve()),e.register(bve()),e.register(yve()),e.register(vve()),e.register(Sve()),e.register(Eve()),e.register(wve()),e.register(xve()),e.register(kve()),e.register(Tve()),e.register(Ave()),e.register(Rve()),e.register(Cve()),e.register(_ve()),e.register(Nve()),e.register(Ove()),e.register(Dve()),e.register(Ive()),e.register(Lve()),e.register(Mve()),e.register(Pve()),e.register(Fve()),e.register(zve()),e.register(Bve()),e.register(Uve()),e.register(jve()),e.register(Gve()),e.register(Hve()),e.register($ve()),e.register(qve()),e.register(zp()),e.register(Vve()),e.register(Wve()),e.register(Yve()),e.register(Kve()),e.register(Xve()),e.register(Zve()),e.register(Qve()),e.register(Jve()),e.register(eSe()),e.register(tSe()),e.register(nSe()),e.register(rSe()),e.register(aSe()),e.register(oSe()),e.register(iSe()),e.register(sSe()),e.register(lSe()),e.register(uSe()),e.register(cSe()),e.register(dSe()),e.register(fSe()),e.register(pSe()),e.register(gSe()),e.register(hSe()),e.register(mSe()),e.register(bSe()),e.register(ySe()),e.register(vSe()),e.register(SSe()),e.register(ESe()),e.register(Pp()),e.register(wSe()),e.register(xSe()),e.register(kSe()),e.register(TSe()),e.register(mA()),e.register(ASe()),e.register(RSe()),e.register(CSe()),e.register(_Se()),e.register(NSe()),e.register(OSe()),e.register(DSe()),e.register(ISe()),e.register(LSe()),e.register(MSe()),e.register(PSe()),e.register(FSe()),e.register(cA()),e.register(zSe()),e.register(BSe()),e.register(USe()),e.register(jSe()),e.register(GSe()),e.register(HSe()),e.register(bA()),e.register($Se()),e.register(qSe()),e.register(VSe()),e.register(WSe()),e.register(YSe()),e.register(KSe()),e.register(XSe()),e.register(ZSe()),e.register(VH()),e.register(QSe()),e.register(gA()),e.register(JSe()),e.register(eEe()),e.register(tEe()),e.register(nEe()),e.register(rEe()),e.register(aEe()),e.register(WH()),e.register(oEe()),e.register(iEe()),e.register(sEe()),e.register(lEe()),e.register(uEe()),e.register(cEe()),e.register(dEe()),e.register(fEe()),e.register(pEe()),e.register(gEe()),e.register(hEe()),e.register(mEe()),e.register(bEe()),e.register(yEe()),e.register(vEe()),e.register(YH()),e.register(SEe()),e.register(EEe()),ux}var xEe=wEe();const kEe=cn(xEe);var KH=cge(kEe,Bme);KH.supportedLanguages=dge;var cx={},dx={exports:{}},IF;function TEe(){return IF||(IF=1,function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(dx)),dx.exports}var fx={},LF;function AEe(){return LF||(LF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",maxHeight:"inherit",height:"inherit",padding:"0 1em",display:"block",overflow:"auto"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",margin:".5em 0",overflow:"visible",padding:"1px",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em"},'pre[class*="language-"] > code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}}}(fx)),fx}var px={},MF;function REe(){return MF||(MF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(30, 20%, 25%)",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:".3em solid hsl(30, 20%, 40%)",borderRadius:".5em",boxShadow:"1px 1px .5em black inset"},':not(pre) > code[class*="language-"]':{background:"hsl(30, 20%, 25%)",padding:".15em .2em .05em",borderRadius:".3em",border:".13em solid hsl(30, 20%, 40%)",boxShadow:"1px 1px .3em -.1em black inset",whiteSpace:"normal"},comment:{color:"hsl(30, 20%, 50%)"},prolog:{color:"hsl(30, 20%, 50%)"},doctype:{color:"hsl(30, 20%, 50%)"},cdata:{color:"hsl(30, 20%, 50%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},property:{color:"hsl(350, 40%, 70%)"},tag:{color:"hsl(350, 40%, 70%)"},boolean:{color:"hsl(350, 40%, 70%)"},number:{color:"hsl(350, 40%, 70%)"},constant:{color:"hsl(350, 40%, 70%)"},symbol:{color:"hsl(350, 40%, 70%)"},selector:{color:"hsl(75, 70%, 60%)"},"attr-name":{color:"hsl(75, 70%, 60%)"},string:{color:"hsl(75, 70%, 60%)"},char:{color:"hsl(75, 70%, 60%)"},builtin:{color:"hsl(75, 70%, 60%)"},inserted:{color:"hsl(75, 70%, 60%)"},operator:{color:"hsl(40, 90%, 60%)"},entity:{color:"hsl(40, 90%, 60%)",cursor:"help"},url:{color:"hsl(40, 90%, 60%)"},".language-css .token.string":{color:"hsl(40, 90%, 60%)"},".style .token.string":{color:"hsl(40, 90%, 60%)"},variable:{color:"hsl(40, 90%, 60%)"},atrule:{color:"hsl(350, 40%, 70%)"},"attr-value":{color:"hsl(350, 40%, 70%)"},keyword:{color:"hsl(350, 40%, 70%)"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"}}}(px)),px}var gx={},PF;function CEe(){return PF||(PF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"black",color:"white",boxShadow:"-.3em 0 0 .3em black, .3em 0 0 .3em black"},'pre[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:".4em .8em",margin:".5em 0",overflow:"auto",background:`url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>')`,backgroundSize:"1em 1em"},':not(pre) > code[class*="language-"]':{padding:".2em",borderRadius:".3em",boxShadow:"none",whiteSpace:"normal"},comment:{color:"#aaa"},prolog:{color:"#aaa"},doctype:{color:"#aaa"},cdata:{color:"#aaa"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#0cf"},tag:{color:"#0cf"},boolean:{color:"#0cf"},number:{color:"#0cf"},constant:{color:"#0cf"},symbol:{color:"#0cf"},selector:{color:"yellow"},"attr-name":{color:"yellow"},string:{color:"yellow"},char:{color:"yellow"},builtin:{color:"yellow"},operator:{color:"yellowgreen"},entity:{color:"yellowgreen",cursor:"help"},url:{color:"yellowgreen"},".language-css .token.string":{color:"yellowgreen"},variable:{color:"yellowgreen"},inserted:{color:"yellowgreen"},atrule:{color:"deeppink"},"attr-value":{color:"deeppink"},keyword:{color:"deeppink"},regex:{color:"orange"},important:{color:"orange",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"},"pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"}}}(gx)),gx}var hx={},FF;function _Ee(){return FF||(FF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#272822",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(hx)),hx}var mx={},zF;function NEe(){return zF||(zF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",backgroundColor:"#fdf6e3"},'pre[class*="language-"]::-moz-selection':{background:"#073642"},'pre[class*="language-"] ::-moz-selection':{background:"#073642"},'code[class*="language-"]::-moz-selection':{background:"#073642"},'code[class*="language-"] ::-moz-selection':{background:"#073642"},'pre[class*="language-"]::selection':{background:"#073642"},'pre[class*="language-"] ::selection':{background:"#073642"},'code[class*="language-"]::selection':{background:"#073642"},'code[class*="language-"] ::selection':{background:"#073642"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdf6e3",padding:".1em",borderRadius:".3em"},comment:{color:"#93a1a1"},prolog:{color:"#93a1a1"},doctype:{color:"#93a1a1"},cdata:{color:"#93a1a1"},punctuation:{color:"#586e75"},namespace:{Opacity:".7"},property:{color:"#268bd2"},tag:{color:"#268bd2"},boolean:{color:"#268bd2"},number:{color:"#268bd2"},constant:{color:"#268bd2"},symbol:{color:"#268bd2"},deleted:{color:"#268bd2"},selector:{color:"#2aa198"},"attr-name":{color:"#2aa198"},string:{color:"#2aa198"},char:{color:"#2aa198"},builtin:{color:"#2aa198"},url:{color:"#2aa198"},inserted:{color:"#2aa198"},entity:{color:"#657b83",background:"#eee8d5",cursor:"help"},atrule:{color:"#859900"},"attr-value":{color:"#859900"},keyword:{color:"#859900"},function:{color:"#b58900"},"class-name":{color:"#b58900"},regex:{color:"#cb4b16"},important:{color:"#cb4b16",fontWeight:"bold"},variable:{color:"#cb4b16"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(mx)),mx}var bx={},BF;function OEe(){return BF||(BF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ccc",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},':not(pre) > code[class*="language-"]':{background:"#2d2d2d",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#999"},"block-comment":{color:"#999"},prolog:{color:"#999"},doctype:{color:"#999"},cdata:{color:"#999"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},deleted:{color:"#e2777a"},"function-name":{color:"#6196cc"},boolean:{color:"#f08d49"},number:{color:"#f08d49"},function:{color:"#f08d49"},property:{color:"#f8c555"},"class-name":{color:"#f8c555"},constant:{color:"#f8c555"},symbol:{color:"#f8c555"},selector:{color:"#cc99cd"},important:{color:"#cc99cd",fontWeight:"bold"},atrule:{color:"#cc99cd"},keyword:{color:"#cc99cd"},builtin:{color:"#cc99cd"},string:{color:"#7ec699"},char:{color:"#7ec699"},"attr-value":{color:"#7ec699"},regex:{color:"#7ec699"},variable:{color:"#7ec699"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}}(bx)),bx}var yx={},UF;function DEe(){return UF||(UF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(0, 0%, 8%)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",borderRadius:".5em",border:".3em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .5em black inset",margin:".5em 0",overflow:"auto",padding:"1em"},':not(pre) > code[class*="language-"]':{background:"hsl(0, 0%, 8%)",borderRadius:".3em",border:".13em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .3em -.1em black inset",padding:".15em .2em .05em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"]::selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},comment:{color:"hsl(0, 0%, 47%)"},prolog:{color:"hsl(0, 0%, 47%)"},doctype:{color:"hsl(0, 0%, 47%)"},cdata:{color:"hsl(0, 0%, 47%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},tag:{color:"hsl(14, 58%, 55%)"},boolean:{color:"hsl(14, 58%, 55%)"},number:{color:"hsl(14, 58%, 55%)"},deleted:{color:"hsl(14, 58%, 55%)"},keyword:{color:"hsl(53, 89%, 79%)"},property:{color:"hsl(53, 89%, 79%)"},selector:{color:"hsl(53, 89%, 79%)"},constant:{color:"hsl(53, 89%, 79%)"},symbol:{color:"hsl(53, 89%, 79%)"},builtin:{color:"hsl(53, 89%, 79%)"},"attr-name":{color:"hsl(76, 21%, 52%)"},"attr-value":{color:"hsl(76, 21%, 52%)"},string:{color:"hsl(76, 21%, 52%)"},char:{color:"hsl(76, 21%, 52%)"},operator:{color:"hsl(76, 21%, 52%)"},entity:{color:"hsl(76, 21%, 52%)",cursor:"help"},url:{color:"hsl(76, 21%, 52%)"},".language-css .token.string":{color:"hsl(76, 21%, 52%)"},".style .token.string":{color:"hsl(76, 21%, 52%)"},variable:{color:"hsl(76, 21%, 52%)"},inserted:{color:"hsl(76, 21%, 52%)"},atrule:{color:"hsl(218, 22%, 55%)"},regex:{color:"hsl(42, 75%, 65%)"},important:{color:"hsl(42, 75%, 65%)",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},".language-markup .token.tag":{color:"hsl(33, 33%, 52%)"},".language-markup .token.attr-name":{color:"hsl(33, 33%, 52%)"},".language-markup .token.punctuation":{color:"hsl(33, 33%, 52%)"},"":{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))",borderBottom:"1px dashed hsl(0, 0%, 33%)",borderTop:"1px dashed hsl(0, 0%, 33%)",marginTop:"0.75em",zIndex:"0"},".line-highlight.line-highlight:before":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"}}}(yx)),yx}var vx={},jF;function IEe(){return jF||(jF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > 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"}}}(vx)),vx}var Sx={},GF;function LEe(){return GF||(GF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2b2b2b",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#d4d0ab"},prolog:{color:"#d4d0ab"},doctype:{color:"#d4d0ab"},cdata:{color:"#d4d0ab"},punctuation:{color:"#fefefe"},property:{color:"#ffa07a"},tag:{color:"#ffa07a"},constant:{color:"#ffa07a"},symbol:{color:"#ffa07a"},deleted:{color:"#ffa07a"},boolean:{color:"#00e0e0"},number:{color:"#00e0e0"},selector:{color:"#abe338"},"attr-name":{color:"#abe338"},string:{color:"#abe338"},char:{color:"#abe338"},builtin:{color:"#abe338"},inserted:{color:"#abe338"},operator:{color:"#00e0e0"},entity:{color:"#00e0e0",cursor:"help"},url:{color:"#00e0e0"},".language-css .token.string":{color:"#00e0e0"},".style .token.string":{color:"#00e0e0"},variable:{color:"#00e0e0"},atrule:{color:"#ffd700"},"attr-value":{color:"#ffd700"},function:{color:"#ffd700"},keyword:{color:"#00e0e0"},regex:{color:"#ffd700"},important:{color:"#ffd700",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Sx)),Sx}var Ex={},HF;function MEe(){return HF||(HF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Ex)),Ex}var wx={},$F;function PEe(){return $F||($F=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#898ea4"},prolog:{color:"#898ea4"},doctype:{color:"#898ea4"},cdata:{color:"#898ea4"},punctuation:{color:"#5e6687"},namespace:{Opacity:".7"},operator:{color:"#c76b29"},boolean:{color:"#c76b29"},number:{color:"#c76b29"},property:{color:"#c08b30"},tag:{color:"#3d8fd1"},string:{color:"#22a2c9"},selector:{color:"#6679cc"},"attr-name":{color:"#c76b29"},entity:{color:"#22a2c9",cursor:"help"},url:{color:"#22a2c9"},".language-css .token.string":{color:"#22a2c9"},".style .token.string":{color:"#22a2c9"},"attr-value":{color:"#ac9739"},keyword:{color:"#ac9739"},control:{color:"#ac9739"},directive:{color:"#ac9739"},unit:{color:"#ac9739"},statement:{color:"#22a2c9"},regex:{color:"#22a2c9"},atrule:{color:"#22a2c9"},placeholder:{color:"#3d8fd1"},variable:{color:"#3d8fd1"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #202746",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c94922"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:"0.4em solid #c94922",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#dfe2f1"},".line-numbers .line-numbers-rows > span:before":{color:"#979db4"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))"}}}(wx)),wx}var xx={},qF;function FEe(){return qF||(qF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"none",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"#222",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"15px",margin:"1em 0",overflow:"auto",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},'pre[class*="language-"] code':{float:"left",padding:"0 15px 0 0"},':not(pre) > code[class*="language-"]':{background:"#222",padding:"5px 10px",lineHeight:"1",MozBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px"},comment:{color:"#797979"},prolog:{color:"#797979"},doctype:{color:"#797979"},cdata:{color:"#797979"},selector:{color:"#fff"},operator:{color:"#fff"},punctuation:{color:"#fff"},namespace:{Opacity:".7"},tag:{color:"#ffd893"},boolean:{color:"#ffd893"},atrule:{color:"#B0C975"},"attr-value":{color:"#B0C975"},hex:{color:"#B0C975"},string:{color:"#B0C975"},property:{color:"#c27628"},entity:{color:"#c27628",cursor:"help"},url:{color:"#c27628"},"attr-name":{color:"#c27628"},keyword:{color:"#c27628"},regex:{color:"#9B71C6"},function:{color:"#e5a638"},constant:{color:"#e5a638"},variable:{color:"#fdfba8"},number:{color:"#8799B0"},important:{color:"#E45734"},deliminator:{color:"#E45734"},".line-highlight.line-highlight":{background:"rgba(255, 255, 255, .2)"},".line-highlight.line-highlight:before":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-highlight.line-highlight[data-end]:after":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-numbers .line-numbers-rows > span":{borderRight:"3px #d9d336 solid"}}}(xx)),xx}var kx={},VF;function zEe(){return VF||(VF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#111b27",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#111b27",background:"#e3eaf2",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'code[class*="language-"]::-moz-selection':{background:"#8da1b9"},'code[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"]::selection':{background:"#8da1b9"},'pre[class*="language-"] ::selection':{background:"#8da1b9"},'code[class*="language-"]::selection':{background:"#8da1b9"},'code[class*="language-"] ::selection':{background:"#8da1b9"},':not(pre) > code[class*="language-"]':{background:"#e3eaf2",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#3c526d"},prolog:{color:"#3c526d"},doctype:{color:"#3c526d"},cdata:{color:"#3c526d"},punctuation:{color:"#111b27"},"delimiter.important":{color:"#006d6d",fontWeight:"inherit"},"selector.parent":{color:"#006d6d"},tag:{color:"#006d6d"},"tag.punctuation":{color:"#006d6d"},"attr-name":{color:"#755f00"},boolean:{color:"#755f00"},"boolean.important":{color:"#755f00"},number:{color:"#755f00"},constant:{color:"#755f00"},"selector.attribute":{color:"#755f00"},"class-name":{color:"#005a8e"},key:{color:"#005a8e"},parameter:{color:"#005a8e"},property:{color:"#005a8e"},"property-access":{color:"#005a8e"},variable:{color:"#005a8e"},"attr-value":{color:"#116b00"},inserted:{color:"#116b00"},color:{color:"#116b00"},"selector.value":{color:"#116b00"},string:{color:"#116b00"},"string.url-link":{color:"#116b00"},builtin:{color:"#af00af"},"keyword-array":{color:"#af00af"},package:{color:"#af00af"},regex:{color:"#af00af"},function:{color:"#7c00aa"},"selector.class":{color:"#7c00aa"},"selector.id":{color:"#7c00aa"},"atrule.rule":{color:"#a04900"},combinator:{color:"#a04900"},keyword:{color:"#a04900"},operator:{color:"#a04900"},"pseudo-class":{color:"#a04900"},"pseudo-element":{color:"#a04900"},selector:{color:"#a04900"},unit:{color:"#a04900"},deleted:{color:"#c22f2e"},important:{color:"#c22f2e",fontWeight:"bold"},"keyword-this":{color:"#005a8e",fontWeight:"bold"},this:{color:"#005a8e",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#af00af"},".language-markdown .token.code":{color:"#006d6d"},".language-markdown .token.hr.punctuation":{color:"#005a8e"},".language-markdown .token.url > .token.content":{color:"#116b00"},".language-markdown .token.url-link":{color:"#755f00"},".language-markdown .token.list.punctuation":{color:"#af00af"},".language-markdown .token.table-header":{color:"#111b27"},".language-json .token.operator":{color:"#111b27"},".language-scss .token.variable":{color:"#006d6d"},"token.tab:not(:empty):before":{color:"#3c526d"},"token.cr:before":{color:"#3c526d"},"token.lf:before":{color:"#3c526d"},"token.space:before":{color:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#e3eaf2",background:"#3c526d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #8da1b92f 70%, #8da1b925)"},".line-highlight.line-highlight:before":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#3c526d1f"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #8da1b97a",background:"#d0dae77a"},".line-numbers .line-numbers-rows > span:before":{color:"#3c526dda"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#7c00aa"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},".command-line .command-line-prompt":{borderRight:"1px solid #8da1b97a"},".command-line .command-line-prompt > span:before":{color:"#3c526dda"}}}(kx)),kx}var Tx={},WF;function BEe(){return WF||(WF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}}(Tx)),Tx}var Ax={},YF;function UEe(){return YF||(YF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}}}(Ax)),Ax}var Rx={},KF;function jEe(){return KF||(KF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}}}(Rx)),Rx}var Cx={},XF;function GEe(){return XF||(XF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#282a36",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#282a36",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#6272a4"},prolog:{color:"#6272a4"},doctype:{color:"#6272a4"},cdata:{color:"#6272a4"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#ff79c6"},tag:{color:"#ff79c6"},constant:{color:"#ff79c6"},symbol:{color:"#ff79c6"},deleted:{color:"#ff79c6"},boolean:{color:"#bd93f9"},number:{color:"#bd93f9"},selector:{color:"#50fa7b"},"attr-name":{color:"#50fa7b"},string:{color:"#50fa7b"},char:{color:"#50fa7b"},builtin:{color:"#50fa7b"},inserted:{color:"#50fa7b"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#f1fa8c"},"attr-value":{color:"#f1fa8c"},function:{color:"#f1fa8c"},"class-name":{color:"#f1fa8c"},keyword:{color:"#8be9fd"},regex:{color:"#ffb86c"},important:{color:"#ffb86c",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Cx)),Cx}var _x={},ZF;function HEe(){return ZF||(ZF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6c6783"},prolog:{color:"#6c6783"},doctype:{color:"#6c6783"},cdata:{color:"#6c6783"},punctuation:{color:"#6c6783"},namespace:{Opacity:".7"},tag:{color:"#e09142"},operator:{color:"#e09142"},number:{color:"#e09142"},property:{color:"#9a86fd"},function:{color:"#9a86fd"},"tag-id":{color:"#eeebff"},selector:{color:"#eeebff"},"atrule-id":{color:"#eeebff"},"code.language-javascript":{color:"#c4b9fe"},"attr-name":{color:"#c4b9fe"},"code.language-css":{color:"#ffcc99"},"code.language-scss":{color:"#ffcc99"},boolean:{color:"#ffcc99"},string:{color:"#ffcc99"},entity:{color:"#ffcc99",cursor:"help"},url:{color:"#ffcc99"},".language-css .token.string":{color:"#ffcc99"},".language-scss .token.string":{color:"#ffcc99"},".style .token.string":{color:"#ffcc99"},"attr-value":{color:"#ffcc99"},keyword:{color:"#ffcc99"},control:{color:"#ffcc99"},directive:{color:"#ffcc99"},unit:{color:"#ffcc99"},statement:{color:"#ffcc99"},regex:{color:"#ffcc99"},atrule:{color:"#ffcc99"},placeholder:{color:"#ffcc99"},variable:{color:"#ffcc99"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #eeebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c4b9fe"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #8a75f5",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c2937"},".line-numbers .line-numbers-rows > span:before":{color:"#3c3949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))"}}}(_x)),_x}var Nx={},QF;function $Ee(){return QF||(QF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6a5f58"},prolog:{color:"#6a5f58"},doctype:{color:"#6a5f58"},cdata:{color:"#6a5f58"},punctuation:{color:"#6a5f58"},namespace:{Opacity:".7"},tag:{color:"#bfa05a"},operator:{color:"#bfa05a"},number:{color:"#bfa05a"},property:{color:"#88786d"},function:{color:"#88786d"},"tag-id":{color:"#fff3eb"},selector:{color:"#fff3eb"},"atrule-id":{color:"#fff3eb"},"code.language-javascript":{color:"#a48774"},"attr-name":{color:"#a48774"},"code.language-css":{color:"#fcc440"},"code.language-scss":{color:"#fcc440"},boolean:{color:"#fcc440"},string:{color:"#fcc440"},entity:{color:"#fcc440",cursor:"help"},url:{color:"#fcc440"},".language-css .token.string":{color:"#fcc440"},".language-scss .token.string":{color:"#fcc440"},".style .token.string":{color:"#fcc440"},"attr-value":{color:"#fcc440"},keyword:{color:"#fcc440"},control:{color:"#fcc440"},directive:{color:"#fcc440"},unit:{color:"#fcc440"},statement:{color:"#fcc440"},regex:{color:"#fcc440"},atrule:{color:"#fcc440"},placeholder:{color:"#fcc440"},variable:{color:"#fcc440"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #fff3eb",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#a48774"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #816d5f",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#35302b"},".line-numbers .line-numbers-rows > span:before":{color:"#46403d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))"}}}(Nx)),Nx}var Ox={},JF;function qEe(){return JF||(JF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#535f53"},prolog:{color:"#535f53"},doctype:{color:"#535f53"},cdata:{color:"#535f53"},punctuation:{color:"#535f53"},namespace:{Opacity:".7"},tag:{color:"#a2b34d"},operator:{color:"#a2b34d"},number:{color:"#a2b34d"},property:{color:"#687d68"},function:{color:"#687d68"},"tag-id":{color:"#f0fff0"},selector:{color:"#f0fff0"},"atrule-id":{color:"#f0fff0"},"code.language-javascript":{color:"#b3d6b3"},"attr-name":{color:"#b3d6b3"},"code.language-css":{color:"#e5fb79"},"code.language-scss":{color:"#e5fb79"},boolean:{color:"#e5fb79"},string:{color:"#e5fb79"},entity:{color:"#e5fb79",cursor:"help"},url:{color:"#e5fb79"},".language-css .token.string":{color:"#e5fb79"},".language-scss .token.string":{color:"#e5fb79"},".style .token.string":{color:"#e5fb79"},"attr-value":{color:"#e5fb79"},keyword:{color:"#e5fb79"},control:{color:"#e5fb79"},directive:{color:"#e5fb79"},unit:{color:"#e5fb79"},statement:{color:"#e5fb79"},regex:{color:"#e5fb79"},atrule:{color:"#e5fb79"},placeholder:{color:"#e5fb79"},variable:{color:"#e5fb79"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #f0fff0",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#b3d6b3"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #5c705c",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c302c"},".line-numbers .line-numbers-rows > span:before":{color:"#3b423b"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))"}}}(Ox)),Ox}var Dx={},ez;function VEe(){return ez||(ez=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}}}(Dx)),Dx}var Ix={},tz;function WEe(){return tz||(tz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#4a5f78"},prolog:{color:"#4a5f78"},doctype:{color:"#4a5f78"},cdata:{color:"#4a5f78"},punctuation:{color:"#4a5f78"},namespace:{Opacity:".7"},tag:{color:"#0aa370"},operator:{color:"#0aa370"},number:{color:"#0aa370"},property:{color:"#57718e"},function:{color:"#57718e"},"tag-id":{color:"#ebf4ff"},selector:{color:"#ebf4ff"},"atrule-id":{color:"#ebf4ff"},"code.language-javascript":{color:"#7eb6f6"},"attr-name":{color:"#7eb6f6"},"code.language-css":{color:"#47ebb4"},"code.language-scss":{color:"#47ebb4"},boolean:{color:"#47ebb4"},string:{color:"#47ebb4"},entity:{color:"#47ebb4",cursor:"help"},url:{color:"#47ebb4"},".language-css .token.string":{color:"#47ebb4"},".language-scss .token.string":{color:"#47ebb4"},".style .token.string":{color:"#47ebb4"},"attr-value":{color:"#47ebb4"},keyword:{color:"#47ebb4"},control:{color:"#47ebb4"},directive:{color:"#47ebb4"},unit:{color:"#47ebb4"},statement:{color:"#47ebb4"},regex:{color:"#47ebb4"},atrule:{color:"#47ebb4"},placeholder:{color:"#47ebb4"},variable:{color:"#47ebb4"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebf4ff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#7eb6f6"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #34659d",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#1f2932"},".line-numbers .line-numbers-rows > span:before":{color:"#2c3847"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))"}}}(Ix)),Ix}var Lx={},nz;function YEe(){return nz||(nz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#5b5b76"},prolog:{color:"#5b5b76"},doctype:{color:"#5b5b76"},cdata:{color:"#5b5b76"},punctuation:{color:"#5b5b76"},namespace:{Opacity:".7"},tag:{color:"#dd672c"},operator:{color:"#dd672c"},number:{color:"#dd672c"},property:{color:"#767693"},function:{color:"#767693"},"tag-id":{color:"#ebebff"},selector:{color:"#ebebff"},"atrule-id":{color:"#ebebff"},"code.language-javascript":{color:"#aaaaca"},"attr-name":{color:"#aaaaca"},"code.language-css":{color:"#fe8c52"},"code.language-scss":{color:"#fe8c52"},boolean:{color:"#fe8c52"},string:{color:"#fe8c52"},entity:{color:"#fe8c52",cursor:"help"},url:{color:"#fe8c52"},".language-css .token.string":{color:"#fe8c52"},".language-scss .token.string":{color:"#fe8c52"},".style .token.string":{color:"#fe8c52"},"attr-value":{color:"#fe8c52"},keyword:{color:"#fe8c52"},control:{color:"#fe8c52"},directive:{color:"#fe8c52"},unit:{color:"#fe8c52"},statement:{color:"#fe8c52"},regex:{color:"#fe8c52"},atrule:{color:"#fe8c52"},placeholder:{color:"#fe8c52"},variable:{color:"#fe8c52"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#aaaaca"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #7676f4",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#262631"},".line-numbers .line-numbers-rows > span:before":{color:"#393949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))"}}}(Lx)),Lx}var Mx={},rz;function KEe(){return rz||(rz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"]::selection':{background:"#b3d4fc"},'pre[class*="language-"] ::selection':{background:"#b3d4fc"},'code[class*="language-"]::selection':{background:"#b3d4fc"},'code[class*="language-"] ::selection':{background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#999988",fontStyle:"italic"},prolog:{color:"#999988",fontStyle:"italic"},doctype:{color:"#999988",fontStyle:"italic"},cdata:{color:"#999988",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#e3116c"},"attr-value":{color:"#e3116c"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},entity:{color:"#36acaa"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},property:{color:"#36acaa"},regex:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#00a4db"},keyword:{color:"#00a4db"},"attr-name":{color:"#00a4db"},".language-autohotkey .token.selector":{color:"#00a4db"},function:{color:"#9a050f",fontWeight:"bold"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},tag:{color:"#00009f"},selector:{color:"#00009f"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Mx)),Mx}var Px={},az;function XEe(){return az||(az=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#1d2021"},'pre[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},':not(pre) > code[class*="language-"]':{background:"#1d2021",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#a89984"},prolog:{color:"#a89984"},cdata:{color:"#a89984"},delimiter:{color:"#fb4934"},boolean:{color:"#fb4934"},keyword:{color:"#fb4934"},selector:{color:"#fb4934"},important:{color:"#fb4934"},atrule:{color:"#fb4934"},operator:{color:"#a89984"},punctuation:{color:"#a89984"},"attr-name":{color:"#a89984"},tag:{color:"#fabd2f"},"tag.punctuation":{color:"#fabd2f"},doctype:{color:"#fabd2f"},builtin:{color:"#fabd2f"},entity:{color:"#d3869b"},number:{color:"#d3869b"},symbol:{color:"#d3869b"},property:{color:"#fb4934"},constant:{color:"#fb4934"},variable:{color:"#fb4934"},string:{color:"#b8bb26"},char:{color:"#b8bb26"},"attr-value":{color:"#a89984"},"attr-value.punctuation":{color:"#a89984"},url:{color:"#b8bb26",textDecoration:"underline"},function:{color:"#fabd2f"},regex:{background:"#b8bb26"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#a89984"},deleted:{background:"#fb4934"}}}(Px)),Px}var Fx={},oz;function ZEe(){return oz||(oz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#f9f5d7"},'pre[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},':not(pre) > code[class*="language-"]':{background:"#f9f5d7",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#7c6f64"},prolog:{color:"#7c6f64"},cdata:{color:"#7c6f64"},delimiter:{color:"#9d0006"},boolean:{color:"#9d0006"},keyword:{color:"#9d0006"},selector:{color:"#9d0006"},important:{color:"#9d0006"},atrule:{color:"#9d0006"},operator:{color:"#7c6f64"},punctuation:{color:"#7c6f64"},"attr-name":{color:"#7c6f64"},tag:{color:"#b57614"},"tag.punctuation":{color:"#b57614"},doctype:{color:"#b57614"},builtin:{color:"#b57614"},entity:{color:"#8f3f71"},number:{color:"#8f3f71"},symbol:{color:"#8f3f71"},property:{color:"#9d0006"},constant:{color:"#9d0006"},variable:{color:"#9d0006"},string:{color:"#797403"},char:{color:"#797403"},"attr-value":{color:"#7c6f64"},"attr-value.punctuation":{color:"#7c6f64"},url:{color:"#797403",textDecoration:"underline"},function:{color:"#b57614"},regex:{background:"#797403"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#7c6f64"},deleted:{background:"#9d0006"}}}(Fx)),Fx}var zx={},iz;function QEe(){return iz||(iz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},"pre[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",border:"1px solid #2a4555",borderRadius:"5px",padding:"1.5em 1em",margin:"1em 0",overflow:"auto"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},":not(pre) > code[class*='language-']":{color:"#f0f6f6",background:"#2a4555",padding:"0.2em 0.3em",borderRadius:"0.2em",boxDecorationBreak:"clone"},comment:{color:"#446e69"},prolog:{color:"#446e69"},doctype:{color:"#446e69"},cdata:{color:"#446e69"},punctuation:{color:"#d6b007"},property:{color:"#d6e7ff"},tag:{color:"#d6e7ff"},boolean:{color:"#d6e7ff"},number:{color:"#d6e7ff"},constant:{color:"#d6e7ff"},symbol:{color:"#d6e7ff"},deleted:{color:"#d6e7ff"},selector:{color:"#e60067"},"attr-name":{color:"#e60067"},builtin:{color:"#e60067"},inserted:{color:"#e60067"},string:{color:"#49c6ec"},char:{color:"#49c6ec"},operator:{color:"#ec8e01",background:"transparent"},entity:{color:"#ec8e01",background:"transparent"},url:{color:"#ec8e01",background:"transparent"},".language-css .token.string":{color:"#ec8e01",background:"transparent"},".style .token.string":{color:"#ec8e01",background:"transparent"},atrule:{color:"#0fe468"},"attr-value":{color:"#0fe468"},keyword:{color:"#0fe468"},function:{color:"#78f3e9"},"class-name":{color:"#78f3e9"},regex:{color:"#d6e7ff"},important:{color:"#d6e7ff"},variable:{color:"#d6e7ff"}}}(zx)),zx}var Bx={},sz;function JEe(){return sz||(sz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8"},'pre[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#797379"},prolog:{color:"#797379"},doctype:{color:"#797379"},cdata:{color:"#797379"},punctuation:{color:"#b9b5b8"},".namespace":{Opacity:".7"},null:{color:"#fd8b19"},operator:{color:"#fd8b19"},boolean:{color:"#fd8b19"},number:{color:"#fd8b19"},property:{color:"#fdcc59"},tag:{color:"#1290bf"},string:{color:"#149b93"},selector:{color:"#c85e7c"},"attr-name":{color:"#fd8b19"},entity:{color:"#149b93",cursor:"help"},url:{color:"#149b93"},".language-css .token.string":{color:"#149b93"},".style .token.string":{color:"#149b93"},"attr-value":{color:"#8fc13e"},keyword:{color:"#8fc13e"},control:{color:"#8fc13e"},directive:{color:"#8fc13e"},unit:{color:"#8fc13e"},statement:{color:"#149b93"},regex:{color:"#149b93"},atrule:{color:"#149b93"},placeholder:{color:"#1290bf"},variable:{color:"#1290bf"},important:{color:"#dd464c",fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid red",OutlineOffset:".4em"}}}(Bx)),Bx}var Ux={},lz;function ewe(){return lz||(lz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#263E52",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#263E52",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#5c98cd"},prolog:{color:"#5c98cd"},doctype:{color:"#5c98cd"},cdata:{color:"#5c98cd"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#F05E5D"},tag:{color:"#F05E5D"},constant:{color:"#F05E5D"},symbol:{color:"#F05E5D"},deleted:{color:"#F05E5D"},boolean:{color:"#BC94F9"},number:{color:"#BC94F9"},selector:{color:"#FCFCD6"},"attr-name":{color:"#FCFCD6"},string:{color:"#FCFCD6"},char:{color:"#FCFCD6"},builtin:{color:"#FCFCD6"},inserted:{color:"#FCFCD6"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#66D8EF"},"attr-value":{color:"#66D8EF"},function:{color:"#66D8EF"},"class-name":{color:"#66D8EF"},keyword:{color:"#6EB26E"},regex:{color:"#F05E5D"},important:{color:"#F05E5D",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Ux)),Ux}var jx={},uz;function twe(){return uz||(uz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}}}(jx)),jx}var Gx={},cz;function nwe(){return cz||(cz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#f76d47"},".language-sass > code":{color:"#f76d47"},".language-scss > code":{color:"#f76d47"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#7c4dff"},"attr-name":{color:"#39adb5"},"attr-value":{color:"#f6a434"},attribute:{color:"#f6a434"},boolean:{color:"#7c4dff"},builtin:{color:"#39adb5"},cdata:{color:"#39adb5"},char:{color:"#39adb5"},class:{color:"#39adb5"},"class-name":{color:"#6182b8"},comment:{color:"#aabfc9"},constant:{color:"#7c4dff"},deleted:{color:"#e53935"},doctype:{color:"#aabfc9"},entity:{color:"#e53935"},function:{color:"#7c4dff"},hexcode:{color:"#f76d47"},id:{color:"#7c4dff",fontWeight:"bold"},important:{color:"#7c4dff",fontWeight:"bold"},inserted:{color:"#39adb5"},keyword:{color:"#7c4dff"},number:{color:"#f76d47"},operator:{color:"#39adb5"},prolog:{color:"#aabfc9"},property:{color:"#39adb5"},"pseudo-class":{color:"#f6a434"},"pseudo-element":{color:"#f6a434"},punctuation:{color:"#39adb5"},regex:{color:"#6182b8"},selector:{color:"#e53935"},string:{color:"#f6a434"},symbol:{color:"#7c4dff"},tag:{color:"#e53935"},unit:{color:"#f76d47"},url:{color:"#e53935"},variable:{color:"#e53935"}}}(Gx)),Gx}var Hx={},dz;function rwe(){return dz||(dz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#c3e88d"},attribute:{color:"#c3e88d"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},color:{color:"#f2ff00"},comment:{color:"#546e7a"},constant:{color:"#c792ea"},deleted:{color:"#f07178"},doctype:{color:"#546e7a"},entity:{color:"#f07178"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea",fontStyle:"italic"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#546e7a"},property:{color:"#80cbc4"},"pseudo-class":{color:"#c3e88d"},"pseudo-element":{color:"#c3e88d"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#f07178"},string:{color:"#c3e88d"},symbol:{color:"#c792ea"},tag:{color:"#f07178"},unit:{color:"#f07178"},url:{color:"#fd9170"},variable:{color:"#f07178"}}}(Hx)),Hx}var $x={},fz;function awe(){return fz||(fz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#d6deeb",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#011627"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},':not(pre) > code[class*="language-"]':{color:"white",background:"#011627",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(130, 170, 255)"},function:{color:"rgb(130, 170, 255)"},builtin:{color:"rgb(130, 170, 255)"},char:{color:"rgb(130, 170, 255)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}($x)),$x}var qx={},pz;function owe(){return pz||(pz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(qx)),qx}var Vx={},gz;function iwe(){return gz||(gz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'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%)"}}}(Vx)),Vx}var Wx={},hz;function swe(){return hz||(hz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'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%)"}}}(Wx)),Wx}var Yx={},mz;function lwe(){return mz||(mz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#dccf8f",textShadow:"0"},'pre[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#DCCF8F",textShadow:"0",borderRadius:"5px",border:"1px solid #000",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"12px",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{borderRadius:"5px",border:"1px solid #000",color:"#DCCF8F",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"2px 6px"},namespace:{Opacity:".7"},comment:{color:"#586e75",fontStyle:"italic"},prolog:{color:"#586e75",fontStyle:"italic"},doctype:{color:"#586e75",fontStyle:"italic"},cdata:{color:"#586e75",fontStyle:"italic"},number:{color:"#b89859"},string:{color:"#468966"},char:{color:"#468966"},builtin:{color:"#468966"},inserted:{color:"#468966"},"attr-name":{color:"#b89859"},operator:{color:"#dccf8f"},entity:{color:"#dccf8f",cursor:"help"},url:{color:"#dccf8f"},".language-css .token.string":{color:"#dccf8f"},".style .token.string":{color:"#dccf8f"},selector:{color:"#859900"},regex:{color:"#859900"},atrule:{color:"#cb4b16"},keyword:{color:"#cb4b16"},"attr-value":{color:"#468966"},function:{color:"#b58900"},variable:{color:"#b58900"},placeholder:{color:"#b58900"},property:{color:"#b89859"},tag:{color:"#ffb03b"},boolean:{color:"#b89859"},constant:{color:"#b89859"},symbol:{color:"#b89859"},important:{color:"#dc322f"},statement:{color:"#dc322f"},deleted:{color:"#dc322f"},punctuation:{color:"#dccf8f"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Yx)),Yx}var Kx={},bz;function uwe(){return bz||(bz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245"},"pre[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245",padding:"2em",margin:"0.5em 0",overflow:"auto",background:"#1e1e3f"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},":not(pre) > code[class*='language-']":{background:"#1e1e3f",padding:"0.1em",borderRadius:"0.3em"},"":{fontWeight:"400"},comment:{color:"#b362ff"},prolog:{color:"#b362ff"},cdata:{color:"#b362ff"},delimiter:{color:"#ff9d00"},keyword:{color:"#ff9d00"},selector:{color:"#ff9d00"},important:{color:"#ff9d00"},atrule:{color:"#ff9d00"},operator:{color:"rgb(255, 180, 84)",background:"none"},"attr-name":{color:"rgb(255, 180, 84)"},punctuation:{color:"#ffffff"},boolean:{color:"rgb(255, 98, 140)"},tag:{color:"rgb(255, 157, 0)"},"tag.punctuation":{color:"rgb(255, 157, 0)"},doctype:{color:"rgb(255, 157, 0)"},builtin:{color:"rgb(255, 157, 0)"},entity:{color:"#6897bb",background:"none"},symbol:{color:"#6897bb"},number:{color:"#ff628c"},property:{color:"#ff628c"},constant:{color:"#ff628c"},variable:{color:"#ff628c"},string:{color:"#a5ff90"},char:{color:"#a5ff90"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline",background:"none"},function:{color:"rgb(250, 208, 0)"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#00ff00"},deleted:{background:"#ff000d"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"},"class-name":{color:"#fb94ff"},".language-css .token.string":{background:"none"},".style .token.string":{background:"none"},".line-highlight.line-highlight":{marginTop:"36px",background:"linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)"},".line-highlight.line-highlight:before":{content:"''"},".line-highlight.line-highlight[data-end]:after":{content:"''"}}}(Kx)),Kx}var Xx={},yz;function cwe(){return yz||(yz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#002b36"},':not(pre) > code[class*="language-"]':{background:"#002b36",padding:".1em",borderRadius:".3em"},comment:{color:"#586e75"},prolog:{color:"#586e75"},doctype:{color:"#586e75"},cdata:{color:"#586e75"},punctuation:{color:"#93a1a1"},".namespace":{Opacity:".7"},property:{color:"#268bd2"},keyword:{color:"#268bd2"},tag:{color:"#268bd2"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#b58900"},constant:{color:"#b58900"},symbol:{color:"#dc322f"},deleted:{color:"#dc322f"},number:{color:"#859900"},selector:{color:"#859900"},"attr-name":{color:"#859900"},string:{color:"#859900"},char:{color:"#859900"},builtin:{color:"#859900"},inserted:{color:"#859900"},variable:{color:"#268bd2"},operator:{color:"#EDEDED"},function:{color:"#268bd2"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"}}}(Xx)),Xx}var Zx={},vz;function dwe(){return vz||(vz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)"},':not(pre) > code[class*="language-"]':{backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8e8e8e"},"block-comment":{color:"#8e8e8e"},prolog:{color:"#8e8e8e"},doctype:{color:"#8e8e8e"},cdata:{color:"#8e8e8e"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},number:{color:"#e2777a"},unit:{color:"#e2777a"},hexcode:{color:"#e2777a"},deleted:{color:"#e2777a"},property:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},selector:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},"function-name":{color:"#6196cc"},boolean:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"selector.id":{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},function:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"class-name":{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"},constant:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},symbol:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},important:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575",fontWeight:"bold"},atrule:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},keyword:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},"selector.class":{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},builtin:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},string:{color:"#f87c32"},char:{color:"#f87c32"},"attr-value":{color:"#f87c32"},regex:{color:"#f87c32"},variable:{color:"#f87c32"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}}(Zx)),Zx}var Qx={},Sz;function fwe(){return Sz||(Sz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}}}(Qx)),Qx}var Jx={},Ez;function pwe(){return Ez||(Ez=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}}(Jx)),Jx}var ek={},wz;function gwe(){return wz||(wz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none"},'pre[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none",background:"#2a2a2a",padding:"15px",borderRadius:"4px",border:"1px solid #e1e1e8",overflow:"auto",position:"relative"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{background:"#2a2a2a",padding:"0.15em 0.2em 0.05em",borderRadius:".3em",border:"0.13em solid #7a6652",boxShadow:"1px 1px 0.3em -0.1em #000 inset"},'pre[class*="language-"] code':{whiteSpace:"pre",display:"block"},namespace:{Opacity:".7"},comment:{color:"#6f705e"},prolog:{color:"#6f705e"},doctype:{color:"#6f705e"},cdata:{color:"#6f705e"},operator:{color:"#a77afe"},boolean:{color:"#a77afe"},number:{color:"#a77afe"},"attr-name":{color:"#e6d06c"},string:{color:"#e6d06c"},entity:{color:"#e6d06c",cursor:"help"},url:{color:"#e6d06c"},".language-css .token.string":{color:"#e6d06c"},".style .token.string":{color:"#e6d06c"},selector:{color:"#a6e22d"},inserted:{color:"#a6e22d"},atrule:{color:"#ef3b7d"},"attr-value":{color:"#ef3b7d"},keyword:{color:"#ef3b7d"},important:{color:"#ef3b7d",fontWeight:"bold"},deleted:{color:"#ef3b7d"},regex:{color:"#76d9e6"},statement:{color:"#76d9e6",fontWeight:"bold"},placeholder:{color:"#fff"},variable:{color:"#fff"},bold:{fontWeight:"bold"},punctuation:{color:"#bebec5"},italic:{fontStyle:"italic"},"code.language-markup":{color:"#f9f9f9"},"code.language-markup .token.tag":{color:"#ef3b7d"},"code.language-markup .token.attr-name":{color:"#a6e22d"},"code.language-markup .token.attr-value":{color:"#e6d06c"},"code.language-markup .token.style":{color:"#76d9e6"},"code.language-markup .token.script":{color:"#76d9e6"},"code.language-markup .token.script .token.keyword":{color:"#76d9e6"},".line-highlight.line-highlight":{padding:"0",background:"rgba(255, 255, 255, 0.08)"},".line-highlight.line-highlight:before":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"},".line-highlight.line-highlight[data-end]:after":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"}}}(ek)),ek}var tk={},xz;function hwe(){return xz||(xz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#22da17",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"5px 0"},'pre[class*="language-"]':{color:"white",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"0.5em 0",background:"#0a143c",padding:"1em",overflow:"auto"},'pre[class*="language-"] *':{fontFamily:"monospace"},':not(pre) > code[class*="language-"]':{color:"white",background:"#0a143c",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(34 183 199)"},function:{color:"rgb(34 183 199)"},builtin:{color:"rgb(34 183 199)"},char:{color:"rgb(34 183 199)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(tk)),tk}var kz;function mwe(){return kz||(kz=1,function(e){var t=TEe();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"a11yDark",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"atomDark",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"base16AteliersulphurpoolLight",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"cb",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"coldarkCold",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"coldarkDark",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"coy",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"coyWithoutShadows",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"darcula",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"dark",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"dracula",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"duotoneDark",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"duotoneEarth",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"duotoneForest",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"duotoneLight",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"duotoneSea",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"duotoneSpace",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"funky",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"ghcolors",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"gruvboxDark",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"gruvboxLight",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"holiTheme",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"hopscotch",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"lucario",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"materialDark",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"materialLight",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"materialOceanic",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"nightOwl",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"nord",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"okaidia",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"oneDark",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"oneLight",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"pojoaque",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"prism",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"shadesOfPurple",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"solarizedDarkAtom",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"solarizedlight",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"synthwave84",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"tomorrow",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"twilight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"vs",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"vscDarkPlus",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"xonokai",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"zTouch",{enumerable:!0,get:function(){return ke.default}});var n=t(AEe()),r=t(REe()),a=t(CEe()),o=t(_Ee()),s=t(NEe()),l=t(OEe()),c=t(DEe()),d=t(IEe()),p=t(LEe()),g=t(MEe()),m=t(PEe()),b=t(FEe()),y=t(zEe()),S=t(BEe()),k=t(UEe()),R=t(jEe()),x=t(GEe()),A=t(HEe()),N=t($Ee()),O=t(qEe()),C=t(VEe()),_=t(WEe()),P=t(YEe()),I=t(KEe()),L=t(XEe()),H=t(ZEe()),$=t(QEe()),U=t(JEe()),W=t(ewe()),Z=t(twe()),j=t(nwe()),G=t(rwe()),z=t(awe()),Y=t(owe()),D=t(iwe()),V=t(swe()),B=t(lwe()),M=t(uwe()),K=t(cwe()),ee=t(dwe()),Q=t(fwe()),J=t(pwe()),ae=t(gwe()),ke=t(hwe())}(cx)),cx}var Tz=mwe();const bwe=({message:e})=>{const{t}=Ft(),n=E.useCallback(async()=>{if(e.content)try{await navigator.clipboard.writeText(e.content)}catch(r){console.error(t("chat.copyError"),r)}},[e]);return w.jsxs("div",{className:`max-w-[80%] rounded-lg px-4 py-2 ${e.role==="user"?"bg-primary text-primary-foreground":e.isError?"bg-red-100 text-red-600 dark:bg-red-950 dark:text-red-400":"bg-muted"}`,children:[w.jsxs("pre",{className:"relative break-words whitespace-pre-wrap",children:[w.jsx(Tde,{className:"dark:prose-invert max-w-none text-base text-sm",remarkPlugins:[Fpe,Kpe],rehypePlugins:[zpe],skipHtml:!1,components:{code:vwe},children:e.content}),e.role==="assistant"&&e.content.length>0&&w.jsx(xt,{onClick:n,className:"absolute right-0 bottom-0 size-6 rounded-md opacity-20 transition-opacity hover:opacity-100",tooltip:t("retrievePanel.chatMessage.copyTooltip"),variant:"default",size:"icon",children:w.jsx(CW,{})})]}),e.content.length===0&&w.jsx($W,{className:"animate-spin duration-2000"})]})},ywe=e=>!(e.children||[]).filter(n=>n.type==="text").map(n=>n.value).join("").includes(`
|
||
`),vwe=({className:e,children:t,node:n,...r})=>{const{theme:a}=E5(),o=e==null?void 0:e.match(/language-(\w+)/),s=o?o[1]:void 0;return(n?ywe(n):!1)?w.jsx("code",{className:Pe(e,"mx-1 rounded-xs bg-black/10 px-1 dark:bg-gray-100/20"),...r,children:t}):w.jsx(KH,{style:a==="dark"?Tz.oneDark:Tz.oneLight,PreTag:"div",language:s,...r,children:String(t).replace(/\n$/,"")})};function Swe(){const{t:e}=Ft(),[t,n]=E.useState(()=>Le.getState().retrievalHistory||[]),[r,a]=E.useState(""),[o,s]=E.useState(!1),l=E.useRef(null),c=E.useCallback(()=>{var m;(m=l.current)==null||m.scrollIntoView({behavior:"smooth"})},[]),d=E.useCallback(async m=>{if(m.preventDefault(),!r.trim()||o)return;const b={content:r,role:"user"},y={content:"",role:"assistant"},S=[...t];n([...S,b,y]),a(""),s(!0);const k=(A,N)=>{y.content+=A,n(O=>{const C=[...O],_=C[C.length-1];return _.role==="assistant"&&(_.content=y.content,_.isError=N),C})},R=Le.getState(),x={...R.querySettings,query:b.content,conversation_history:S.filter(A=>A.isError!==!0).map(A=>({role:A.role,content:A.content}))};try{if(R.querySettings.stream){let A="";await IV(x,k,N=>{A+=N}),A&&(y.content&&(A=y.content+`
|
||
`+A),k(A,!0))}else{const A=await DV(x);k(A.response)}}catch(A){k(`${e("retrievePanel.retrieval.error")}
|
||
${Sr(A)}`,!0)}finally{s(!1),Le.getState().setRetrievalHistory([...S,b,y])}},[r,o,t,n,e]),p=PT(t,100);E.useEffect(()=>c(),[p,c]);const g=E.useCallback(()=>{n([]),Le.getState().setRetrievalHistory([])},[n]);return w.jsxs("div",{className:"flex size-full gap-2 px-2 pb-12 overflow-hidden",children:[w.jsxs("div",{className:"flex grow flex-col gap-4",children:[w.jsx("div",{className:"relative grow",children:w.jsx("div",{className:"bg-primary-foreground/60 absolute inset-0 flex flex-col overflow-auto rounded-lg border p-2",children:w.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-2",children:[t.length===0?w.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center text-lg",children:e("retrievePanel.retrieval.startPrompt")}):t.map((m,b)=>w.jsx("div",{className:`flex ${m.role==="user"?"justify-end":"justify-start"}`,children:w.jsx(bwe,{message:m})},b)),w.jsx("div",{ref:l,className:"pb-1"})]})})}),w.jsxs("form",{onSubmit:d,className:"flex shrink-0 items-center gap-2",children:[w.jsxs(xt,{type:"button",variant:"outline",onClick:g,disabled:o,size:"sm",children:[w.jsx(eU,{}),e("retrievePanel.retrieval.clear")]}),w.jsx($a,{className:"flex-1",value:r,onChange:m=>a(m.target.value),placeholder:e("retrievePanel.retrieval.placeholder"),disabled:o}),w.jsxs(xt,{type:"submit",variant:"default",disabled:o,size:"sm",children:[w.jsx(pY,{}),e("retrievePanel.retrieval.send")]})]})]}),w.jsx(gse,{})]})}const Ewe=()=>{const e=E.useContext(WB);if(!e)throw new Error("useTabVisibility must be used within a TabVisibilityProvider");return e};function wwe(){const{t:e}=Ft(),{isTabVisible:t}=Ewe(),n=t("api"),[r,a]=E.useState(!1);return E.useEffect(()=>{r||a(!0)},[r]),w.jsx("div",{className:`size-full ${n?"":"hidden"}`,children:r?w.jsx("iframe",{src:UB+"/docs",className:"size-full w-full h-full",style:{width:"100%",height:"100%",border:"none"}},"api-docs-iframe"):w.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background",children:w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"}),w.jsx("p",{children:e("apiSite.loading")})]})})})}function xwe(){const e=Hn.use.message(),t=Le.use.enableHealthCheck(),n=Le.use.currentTab(),[r,a]=E.useState(!1);E.useEffect(()=>{Hn.getState().check();const s=setInterval(async()=>{await Hn.getState().check()},bV*1e3);return()=>clearInterval(s)},[t]);const o=E.useCallback(s=>Le.getState().setCurrentTab(s),[]);return E.useEffect(()=>{if(e&&(e.includes(GB)||e.includes(HB))){a(!0);return}a(!1)},[e,a]),w.jsx(VB,{children:w.jsx(hW,{children:w.jsxs("main",{className:"flex h-screen w-screen overflow-hidden",children:[w.jsxs(eJ,{defaultValue:n,className:"!m-0 flex grow flex-col !p-0 overflow-hidden",onValueChange:o,children:[w.jsx(nJ,{}),w.jsxs("div",{className:"relative grow",children:[w.jsx(gu,{value:"documents",className:"absolute top-0 right-0 bottom-0 left-0 overflow-auto",children:w.jsx(Hie,{})}),w.jsx(gu,{value:"knowledge-graph",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:w.jsx(poe,{})}),w.jsx(gu,{value:"retrieval",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:w.jsx(Swe,{})}),w.jsx(gu,{value:"api",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:w.jsx(wwe,{})})]})]}),t&&w.jsx(uQ,{}),e!==null&&!r&&w.jsx(xY,{}),r&&w.jsx(LZ,{})]})})})}const kwe=()=>{const e=Wf(),{login:t,isAuthenticated:n}=na(),{t:r}=Ft(),[a,o]=E.useState(!1),[s,l]=E.useState(""),[c,d]=E.useState(""),[p,g]=E.useState(!0);if(E.useEffect(()=>{console.log("LoginPage mounted")},[]),E.useEffect(()=>{let b=!0;return(async()=>{try{if(n){e("/");return}const S=await D0();if(!b)return;if(!S.auth_configured&&S.access_token){t(S.access_token,!0,S.core_version,S.api_version),S.message&&Pt.info(S.message),e("/");return}}catch(S){console.error("Failed to check auth configuration:",S)}finally{b&&g(!1)}})(),()=>{b=!1}},[n,t,e]),p)return null;const m=async b=>{if(b.preventDefault(),!s||!c){Pt.error(r("login.errorEmptyFields"));return}try{o(!0);const y=await PV(s,c),S=y.auth_mode==="disabled";t(y.access_token,S,y.core_version,y.api_version),S?Pt.info(y.message||r("login.authDisabled","Authentication is disabled. Using guest access.")):Pt.success(r("login.successMessage")),e("/")}catch(y){console.error("Login failed...",y),Pt.error(r("login.errorInvalidCredentials")),na.getState().logout(),localStorage.removeItem("LIGHTRAG-API-TOKEN")}finally{o(!1)}};return w.jsxs("div",{className:"flex h-screen w-screen items-center justify-center bg-gradient-to-br from-emerald-50 to-teal-100 dark:from-gray-900 dark:to-gray-800",children:[w.jsx("div",{className:"absolute top-4 right-4 flex items-center gap-2",children:w.jsx(Mj,{className:"bg-white/30 dark:bg-gray-800/30 backdrop-blur-sm rounded-md"})}),w.jsxs(Ps,{className:"w-full max-w-[480px] shadow-lg mx-4",children:[w.jsx(Ou,{className:"flex items-center justify-center space-y-2 pb-8 pt-6",children:w.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx("img",{src:"logo.png",alt:"LightRAG Logo",className:"h-12 w-12"}),w.jsx(aU,{className:"size-10 text-emerald-400","aria-hidden":"true"})]}),w.jsxs("div",{className:"text-center space-y-2",children:[w.jsx("h1",{className:"text-3xl font-bold tracking-tight",children:"LightRAG"}),w.jsx("p",{className:"text-muted-foreground text-sm",children:r("login.description")})]})]})}),w.jsx(Iu,{className:"px-8 pb-8",children:w.jsxs("form",{onSubmit:m,className:"space-y-6",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("label",{htmlFor:"username",className:"text-sm font-medium w-16 shrink-0",children:r("login.username")}),w.jsx($a,{id:"username",placeholder:r("login.usernamePlaceholder"),value:s,onChange:b=>l(b.target.value),required:!0,className:"h-11 flex-1"})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("label",{htmlFor:"password",className:"text-sm font-medium w-16 shrink-0",children:r("login.password")}),w.jsx($a,{id:"password",type:"password",placeholder:r("login.passwordPlaceholder"),value:c,onChange:b=>d(b.target.value),required:!0,className:"h-11 flex-1"})]}),w.jsx(xt,{type:"submit",className:"w-full h-11 text-base font-medium mt-2",disabled:a,children:r(a?"login.loggingIn":"login.loginButton")})]})})]})]})},Twe=({children:e})=>{const{isAuthenticated:t}=na(),[n,r]=E.useState(!0),a=Wf();return E.useEffect(()=>{xu.setNavigate(a)},[a]),E.useEffect(()=>{let o=!0;return(async()=>{try{if(t){o&&r(!1);return}const l=await D0();if(!o)return;!l.auth_configured&&l.access_token&&(na.getState().login(l.access_token,!0,l.core_version,l.api_version),l.message&&Pt.info(l.message))}catch(l){console.error("Failed to check auth status:",l)}finally{o&&r(!1)}})(),()=>{o=!1}},[t]),E.useEffect(()=>{!n&&!t&&(window.location.hash.slice(1)==="/login"||(console.log("Not authenticated, redirecting to login"),xu.navigateToLogin()))},[n,t]),n||!t&&window.location.hash.slice(1)==="/login"||!t?null:w.jsx(w.Fragment,{children:e})},Awe=()=>{const[e,t]=E.useState(!0),{isAuthenticated:n}=na(),r=Wf();return E.useEffect(()=>{xu.setNavigate(r)},[r]),E.useEffect(()=>{let a=!0;return(async()=>{try{const s=localStorage.getItem("LIGHTRAG-API-TOKEN");if(s&&n){a&&t(!1);return}const l=await D0();if(!a)return;!l.auth_configured&&l.access_token?(na.getState().login(l.access_token,!0,l.core_version,l.api_version),l.message&&Pt.info(l.message)):s||na.getState().logout()}catch(s){console.error("Auth initialization error:",s),a&&!n&&na.getState().logout()}finally{a&&t(!1)}})(),()=>{a=!1}},[n]),e?null:w.jsxs(d9,{children:[w.jsx(ak,{path:"/login",element:w.jsx(kwe,{})}),w.jsx(ak,{path:"/*",element:w.jsx(Twe,{children:w.jsx(xwe,{})})})]})},Rwe=()=>w.jsx(VB,{children:w.jsxs(L9,{children:[w.jsx(Awe,{}),w.jsx(fW,{position:"bottom-center"})]})}),tt=e=>typeof e=="string",fu=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Az=e=>e==null?"":""+e,Cwe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},_we=/###/g,Rz=e=>e&&e.indexOf("###")>-1?e.replace(_we,"."):e,Cz=e=>!e||tt(e),Su=(e,t,n)=>{const r=tt(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(Cz(e))return{};const o=Rz(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return Cz(e)?{}:{obj:e,k:Rz(r[a])}},_z=(e,t,n)=>{const{obj:r,k:a}=Su(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],s=t.slice(0,t.length-1),l=Su(e,s,Object);for(;l.obj===void 0&&s.length;)o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),l=Su(e,s,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${o}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${o}`]=n},Nwe=(e,t,n,r)=>{const{obj:a,k:o}=Su(e,t,Object);a[o]=a[o]||[],a[o].push(n)},jf=(e,t)=>{const{obj:n,k:r}=Su(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Owe=(e,t,n)=>{const r=jf(e,n);return r!==void 0?r:jf(t,n)},XH=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?tt(e[r])||e[r]instanceof String||tt(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):XH(e[r],t[r],n):e[r]=t[r]);return e},bs=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Dwe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Iwe=e=>tt(e)?e.replace(/[&<>"'\/]/g,t=>Dwe[t]):e;class Lwe{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 Mwe=[" ",",","?","!",";"],Pwe=new Lwe(20),Fwe=(e,t,n)=>{t=t||"",n=n||"";const r=Mwe.filter(s=>t.indexOf(s)<0&&n.indexOf(s)<0);if(r.length===0)return!0;const a=Pwe.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!a.test(e);if(!o){const s=e.indexOf(n);s>0&&!a.test(e.substring(0,s))&&(o=!0)}return o},S0=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let s,l="";for(let c=o;c<r.length;++c)if(c!==o&&(l+=n),l+=r[c],s=a[l],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&c<r.length-1)continue;o+=c-o+1;break}a=s}return a},Gf=e=>e==null?void 0:e.replace("_","-"),zwe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,r;(r=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||r.call(n,console,t)}};class Hf{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||zwe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(tt(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Hf(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Hf(this.logger,t)}}var ra=new Hf;class Bp{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(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<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(s=>{let[l,c]=s;for(let d=0;d<c;d++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(s=>{let[l,c]=s;for(let d=0;d<c;d++)l.apply(l,[t,...r])})}}class Nz extends Bp{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){var d,p;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,s=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):tt(r)&&o?l.push(...r.split(o)):l.push(r)));const c=jf(this.data,l);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),c||!s||!tt(r)?c:S0((p=(d=this.data)==null?void 0:d[t])==null?void 0:p[n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(s?r.split(s):r)),t.indexOf(".")>-1&&(l=t.split("."),a=n,n=l[1]),this.addNamespaces(n),_z(this.data,l,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)(tt(r[o])||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 s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),a=r,r=n,n=l[1]),this.addNamespaces(n);let c=jf(this.data,l)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?XH(c,r,o):c={...c,...r},_z(this.data,l,c),s.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.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 ZH={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{var s;t=((s=this.processors[o])==null?void 0:s.process(t,n,r,a))??t}),t}};const Oz={},Dz=e=>!tt(e)&&typeof e!="boolean"&&typeof e!="number";class $f extends Bp{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Cwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ra.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==null?void 0: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 s=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Fwe(t,r,a);if(s&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:tt(o)?[o]:o};const d=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(d[0])>-1)&&(o=d.shift()),t=d.join(a)}return{key:t,namespaces:tt(o)?[o]: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:s,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],d=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((d==null?void 0:d.toLowerCase())==="cimode"){if(p){const H=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${H}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${H}${s}`}return a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:s}const g=this.resolve(t,n);let m=g==null?void 0:g.res;const b=(g==null?void 0:g.usedKey)||s,y=(g==null?void 0:g.exactUsedKey)||s,S=["[object Number]","[object Function]","[object RegExp]"],k=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,R=!this.i18nFormat||this.i18nFormat.handleAsObject,x=n.count!==void 0&&!tt(n.count),A=$f.hasDefaultValue(n),N=x?this.pluralResolver.getSuffix(d,n.count,n):"",O=n.ordinal&&x?this.pluralResolver.getSuffix(d,n.count,{ordinal:!1}):"",C=x&&!n.ordinal&&n.count===0,_=C&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${N}`]||n[`defaultValue${O}`]||n.defaultValue;let P=m;R&&!m&&A&&(P=_);const I=Dz(P),L=Object.prototype.toString.apply(P);if(R&&P&&I&&S.indexOf(L)<0&&!(tt(k)&&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 H=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,P,{...n,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(g.res=H,g.usedParams=this.getUsedParamsDetails(n),g):H}if(o){const H=Array.isArray(P),$=H?[]:{},U=H?y:b;for(const W in P)if(Object.prototype.hasOwnProperty.call(P,W)){const Z=`${U}${o}${W}`;A&&!m?$[W]=this.translate(Z,{...n,defaultValue:Dz(_)?_[W]:void 0,joinArrays:!1,ns:l}):$[W]=this.translate(Z,{...n,joinArrays:!1,ns:l}),$[W]===Z&&($[W]=P[W])}m=$}}else if(R&&tt(k)&&Array.isArray(m))m=m.join(k),m&&(m=this.extendTranslation(m,t,n,r));else{let H=!1,$=!1;!this.isValidLookup(m)&&A&&(H=!0,m=_),this.isValidLookup(m)||($=!0,m=s);const W=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&$?void 0:m,Z=A&&_!==m&&this.options.updateMissing;if($||H||Z){if(this.logger.log(Z?"updateKey":"missingKey",d,c,s,Z?_:m),o){const Y=this.resolve(s,{...n,keySeparator:!1});Y&&Y.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 j=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(let Y=0;Y<G.length;Y++)j.push(G[Y]);else this.options.saveMissingTo==="all"?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);const z=(Y,D,V)=>{var M;const B=A&&V!==m?V:W;this.options.missingKeyHandler?this.options.missingKeyHandler(Y,c,D,B,Z,n):(M=this.backendConnector)!=null&&M.saveMissing&&this.backendConnector.saveMissing(Y,c,D,B,Z,n),this.emit("missingKey",Y,c,D,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&x?j.forEach(Y=>{const D=this.pluralResolver.getSuffixes(Y,n);C&&n[`defaultValue${this.options.pluralSeparator}zero`]&&D.indexOf(`${this.options.pluralSeparator}zero`)<0&&D.push(`${this.options.pluralSeparator}zero`),D.forEach(V=>{z([Y],s+V,n[`defaultValue${V}`]||_)})}):z(j,s,_))}m=this.extendTranslation(m,t,n,g,r),$&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${s}`),($||H)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${s}`:s,H?m:void 0))}return a?(g.res=m,g.usedParams=this.getUsedParamsDetails(n),g):m}extendTranslation(t,n,r,a,o){var d,p;var s=this;if((d=this.i18nFormat)!=null&&d.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 g=tt(t)&&(((p=r==null?void 0:r.interpolation)==null?void 0:p.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let m;if(g){const y=t.match(this.interpolator.nestingRegexp);m=y&&y.length}let b=r.replace&&!tt(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(b={...this.options.interpolation.defaultVariables,...b}),t=this.interpolator.interpolate(t,b,r.lng||this.language||a.usedLng,r),g){const y=t.match(this.interpolator.nestingRegexp),S=y&&y.length;m<S&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var y=arguments.length,S=new Array(y),k=0;k<y;k++)S[k]=arguments[k];return(o==null?void 0:o[0])===S[0]&&!r.context?(s.logger.warn(`It seems you are nesting recursively key: ${S[0]} in key: ${n[0]}`),null):s.translate(...S,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,c=tt(l)?[l]:l;return t!=null&&(c!=null&&c.length)&&r.applyPostProcessor!==!1&&(t=ZH.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,s,l;return tt(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const d=this.extractFromKey(c,n),p=d.key;a=p;let g=d.namespaces;this.options.fallbackNS&&(g=g.concat(this.options.fallbackNS));const m=n.count!==void 0&&!tt(n.count),b=m&&!n.ordinal&&n.count===0,y=n.context!==void 0&&(tt(n.context)||typeof n.context=="number")&&n.context!=="",S=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);g.forEach(k=>{var R,x;this.isValidLookup(r)||(l=k,!Oz[`${S[0]}-${k}`]&&((R=this.utils)!=null&&R.hasLoadedNamespace)&&!((x=this.utils)!=null&&x.hasLoadedNamespace(l))&&(Oz[`${S[0]}-${k}`]=!0,this.logger.warn(`key "${a}" for languages "${S.join(", ")}" won't get resolved as namespace "${l}" 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!!!")),S.forEach(A=>{var C;if(this.isValidLookup(r))return;s=A;const N=[p];if((C=this.i18nFormat)!=null&&C.addLookupKeys)this.i18nFormat.addLookupKeys(N,p,A,k,n);else{let _;m&&(_=this.pluralResolver.getSuffix(A,n.count,n));const P=`${this.options.pluralSeparator}zero`,I=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(N.push(p+_),n.ordinal&&_.indexOf(I)===0&&N.push(p+_.replace(I,this.options.pluralSeparator)),b&&N.push(p+P)),y){const L=`${p}${this.options.contextSeparator}${n.context}`;N.push(L),m&&(N.push(L+_),n.ordinal&&_.indexOf(I)===0&&N.push(L+_.replace(I,this.options.pluralSeparator)),b&&N.push(L+P))}}let O;for(;O=N.pop();)this.isValidLookup(r)||(o=O,r=this.getResource(A,k,O,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:s,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){var o;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(o=this.i18nFormat)!=null&&o.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&&!tt(t.replace);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}}class Iz{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ra.create("languageUtils")}getScriptPartFromCode(t){if(t=Gf(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=Gf(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(tt(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}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)),tt(t)&&(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=s=>{s&&(this.isSupportedCode(s)?a.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return tt(t)&&(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))):tt(t)&&o(this.formatLanguageCode(t)),r.forEach(s=>{a.indexOf(s)<0&&o(this.formatLanguageCode(s))}),a}}const Lz={zero:0,one:1,two:2,few:3,many:4,other:5},Mz={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Bwe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ra.create("pluralResolver"),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]:{};const r=Gf(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];let s;try{s=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Mz;if(!t.match(/-|_/))return Mz;const c=this.languageUtils.getLanguagePartFromCode(t);s=this.getRule(c,n)}return this.pluralRulesCache[o]=s,s}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.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]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,o)=>Lz[a]-Lz[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const Pz=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=Owe(e,t,n);return!o&&a&&tt(n)&&(o=S0(e,n,r),o===void 0&&(o=S0(t,n,r))),o},nk=e=>e.replace(/\$/g,"$$$$");class Uwe{constructor(){var n;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ra.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(r=>r),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:s,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:p,unescapePrefix:g,nestingPrefix:m,nestingPrefixEscaped:b,nestingSuffix:y,nestingSuffixEscaped:S,nestingOptionsSeparator:k,maxReplaces:R,alwaysFormat:x}=t.interpolation;this.escape=n!==void 0?n:Iwe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?bs(o):s||"{{",this.suffix=l?bs(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":g||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=m?bs(m):b||bs("$t("),this.nestingSuffix=y?bs(y):S||bs(")"),this.nestingOptionsSeparator=k||",",this.maxReplaces=R||1e3,this.alwaysFormat=x!==void 0?x:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>(n==null?void 0: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){var b;let o,s,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=y=>{if(y.indexOf(this.formatSeparator)<0){const x=Pz(n,c,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,r,{...a,...n,interpolationkey:y}):x}const S=y.split(this.formatSeparator),k=S.shift().trim(),R=S.join(this.formatSeparator).trim();return this.format(Pz(n,c,k,this.options.keySeparator,this.options.ignoreJSONStructure),R,r,{...a,...n,interpolationkey:k})};this.resetRegExp();const p=(a==null?void 0:a.missingInterpolationHandler)||this.options.missingInterpolationHandler,g=((b=a==null?void 0:a.interpolation)==null?void 0:b.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>nk(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?nk(this.escape(y)):nk(y)}].forEach(y=>{for(l=0;o=y.regex.exec(t);){const S=o[1].trim();if(s=d(S),s===void 0)if(typeof p=="function"){const R=p(t,o,a);s=tt(R)?R:""}else if(a&&Object.prototype.hasOwnProperty.call(a,S))s="";else if(g){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${S} for interpolating ${t}`),s="";else!tt(s)&&!this.useRawValueToEscape&&(s=Az(s));const k=y.safeValue(s);if(t=t.replace(o[0],k),g?(y.regex.lastIndex+=s.length,y.regex.lastIndex-=o[0].length):y.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,s;const l=(c,d)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const g=c.split(new RegExp(`${p}[ ]*{`));let m=`{${g[1]}`;c=g[0],m=this.interpolate(m,s);const b=m.match(/'/g),y=m.match(/"/g);(((b==null?void 0:b.length)??0)%2===0&&!y||y.length%2!==0)&&(m=m.replace(/'/g,'"'));try{s=JSON.parse(m),d&&(s={...d,...s})}catch(S){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,S),`${c}${p}${m}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];s={...r},s=s.replace&&!tt(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let d=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const p=a[1].split(this.formatSeparator).map(g=>g.trim());a[1]=p.shift(),c=p,d=!0}if(o=n(l.call(this,a[1].trim(),s),s),o&&a[0]===t&&!tt(o))return o;tt(o)||(o=Az(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),d&&(o=c.reduce((p,g)=>this.format(p,g,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const jwe=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(s=>{if(s){const[l,...c]=s.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();n[p]||(n[p]=d),d==="false"&&(n[p]=!1),d==="true"&&(n[p]=!0),isNaN(d)||(n[p]=parseInt(d,10))}})}return{formatName:t,formatOptions:n}},ys=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 s=r+JSON.stringify(o);let l=t[s];return l||(l=e(Gf(r),a),t[s]=l),l(n)}};class Gwe{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ra.create("formatter"),this.options=t,this.formats={number:ys((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:ys((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:ys((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:ys((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:ys((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=ys(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(l=>l.indexOf(")")>-1)){const l=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,l)].join(this.formatSeparator)}return o.reduce((l,c)=>{var g;const{formatName:d,formatOptions:p}=jwe(c);if(this.formats[d]){let m=l;try{const b=((g=a==null?void 0:a.formatParams)==null?void 0:g[a.interpolationkey])||{},y=b.locale||b.lng||a.locale||a.lng||r;m=this.formats[d](l,y,{...p,...a,...b})}catch(b){this.logger.warn(b)}return m}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const Hwe=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class $we extends Bp{constructor(t,n,r){var o,s;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=ra.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=[],(s=(o=this.backend)==null?void 0:o.init)==null||s.call(o,r,a.backend,a)}queueLoad(t,n,r,a){const o={},s={},l={},c={};return t.forEach(d=>{let p=!0;n.forEach(g=>{const m=`${d}|${g}`;!r.reload&&this.store.hasResourceBundle(d,g)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?s[m]===void 0&&(s[m]=!0):(this.state[m]=1,p=!1,s[m]===void 0&&(s[m]=!0),o[m]===void 0&&(o[m]=!0),c[g]===void 0&&(c[g]=!0)))}),p||(l[d]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],s=a[1];n&&this.emit("failedLoading",o,s,n),!n&&r&&this.store.addResourceBundle(o,s,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const l={};this.queue.forEach(c=>{Nwe(c.loaded,[o],s),Hwe(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const p=c.loaded[d];p.length&&p.forEach(g=>{l[d][g]===void 0&&(l[d][g]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),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,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:s});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const g=this.waitingReads.shift();this.read(g.lng,g.ns,g.fcName,g.tried,g.wait,g.callback)}if(d&&p&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,o*2,s)},o);return}s(d,p)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const d=c(t,n);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,n,l)}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();tt(t)&&(t=this.languageUtils.toResolveHierarchy(t)),tt(n)&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}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,(s,l)=>{s&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,s),!s&&l&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,l),this.loaded(t,s,l)})}saveMissing(t,n,r,a,o){var c,d,p,g,m;let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace&&!((g=(p=this.services)==null?void 0:p.utils)!=null&&g.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((m=this.backend)!=null&&m.create){const b={...s,isUpdate:o},y=this.backend.create.bind(this.backend);if(y.length<6)try{let S;y.length===5?S=y(t,n,r,a,b):S=y(t,n,r,a),S&&typeof S.then=="function"?S.then(k=>l(null,k)).catch(l):l(null,S)}catch(S){l(S)}else y(t,n,r,a,l,b)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Fz=()=>({debug:!1,initAsync:!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]),tt(e[1])&&(t.defaultValue=e[1]),tt(e[2])&&(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}}),zz=e=>{var t,n;return tt(e.ns)&&(e.ns=[e.ns]),tt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),tt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((n=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:n.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},qd=()=>{},qwe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Bu extends Bp{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=zz(t),this.services={},this.logger=ra,this.modules={external:[]},qwe(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)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==null&&n.ns&&(tt(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Fz();this.options={...a,...this.options,...zz(n)},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=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?ra.init(o(this.modules.logger),this.options):ra.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=Gwe;const g=new Iz(this.options);this.store=new Nz(this.options.resources,this.options);const m=this.services;m.logger=ra,m.resourceStore=this.store,m.languageUtils=g,m.pluralResolver=new Bwe(g,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(p),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new Uwe(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new $we(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(b){for(var y=arguments.length,S=new Array(y>1?y-1:0),k=1;k<y;k++)S[k-1]=arguments[k];t.emit(b,...S)}),this.modules.languageDetector&&(m.languageDetector=o(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=o(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new $f(this.services,this.options),this.translator.on("*",function(b){for(var y=arguments.length,S=new Array(y>1?y-1:0),k=1;k<y;k++)S[k-1]=arguments[k];t.emit(b,...S)}),this.modules.external.forEach(b=>{b.init&&b.init(this)})}if(this.format=this.options.interpolation.format,r||(r=qd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[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(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const c=fu(),d=()=>{const p=(g,m)=>{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(m),r(g,m)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?d():setTimeout(d,0),c}loadResources(t){var o,s;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qd;const a=tt(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((a==null?void 0:a.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const l=[],c=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(g=>{g!=="cimode"&&l.indexOf(g)<0&&l.push(g)})};a?c(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(s=(o=this.options.preload)==null?void 0:o.forEach)==null||s.call(o,d=>c(d)),this.services.backendConnector.load(l,this.options.ns,d=>{!d&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(d)})}else r(null)}reloadResources(t,n,r){const a=fu();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=qd),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"&&ZH.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<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=fu();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},s=(c,d)=>{d?(o(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},l=c=>{var p,g;!t&&!c&&this.services.languageDetector&&(c=[]);const d=tt(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);d&&(this.language||o(d),this.translator.language||this.translator.changeLanguage(d),(g=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||g.call(p,d)),this.loadResources(d,m=>{s(m,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,n,r){var a=this;const o=function(s,l){let c;if(typeof l!="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),g=2;g<d;g++)p[g-2]=arguments[g];c=a.options.overloadTranslationOptionHandler([s,l].concat(p))}else c={...l};c.lng=c.lng||o.lng,c.lngs=c.lngs||o.lngs,c.ns=c.ns||o.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||r||o.keyPrefix);const m=a.options.keySeparator||".";let b;return c.keyPrefix&&Array.isArray(s)?b=s.map(y=>`${c.keyPrefix}${m}${y}`):b=c.keyPrefix?`${c.keyPrefix}${m}${s}`:s,a.t(b,c)};return tt(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.translate(...n)}exists(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.exists(...n)}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 s=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===0||d===2};if(n.precheck){const l=n.precheck(this,s);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,t)&&(!a||s(o,t)))}loadNamespaces(t,n){const r=fu();return this.options.ns?(tt(t)&&(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=fu();tt(t)&&(t=[t]);const a=this.options.preload||[],o=t.filter(s=>a.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return o.length?(this.options.preload=a.concat(o),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}dir(t){var a,o;if(t||(t=this.resolvedLanguage||(((a=this.languages)==null?void 0:a.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=((o=this.services)==null?void 0:o.languageUtils)||new Iz(Fz());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 Bu(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qd;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new Bu(a);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(l=>{o[l]=this[l]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const l=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},Object.keys(c[d]).reduce((p,g)=>(p[g]={...c[d][g]},p),{})),{});o.store=new Nz(l,a),o.services.resourceStore=o.store}return o.translator=new $f(o.services,a),o.translator.on("*",function(l){for(var c=arguments.length,d=new Array(c>1?c-1:0),p=1;p<c;p++)d[p-1]=arguments[p];o.emit(l,...d)}),o.init(a,n),o.translator.options=a,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const rn=Bu.createInstance();rn.createInstance=Bu.createInstance;rn.createInstance;rn.dir;rn.init;rn.loadResources;rn.reloadResources;rn.use;rn.changeLanguage;rn.getFixedT;rn.t;rn.exists;rn.setDefaultNamespace;rn.hasLoadedNamespace;rn.loadNamespaces;rn.loadLanguages;const Vwe=Object.freeze(Object.defineProperty({__proto__:null,default:rn},Symbol.toStringTag,{value:"Module"})),Wwe={language:"Language",theme:"Theme",light:"Light",dark:"Dark",system:"System"},Ywe={documents:"Documents",knowledgeGraph:"Knowledge Graph",retrieval:"Retrieval",api:"API",projectRepository:"Project Repository",logout:"Logout",themeToggle:{switchToLight:"Switch to light theme",switchToDark:"Switch to dark theme"}},Kwe={description:"Please enter your account and password to log in to the system",username:"Username",usernamePlaceholder:"Please input a username",password:"Password",passwordPlaceholder:"Please input a password",loginButton:"Login",loggingIn:"Logging in...",successMessage:"Login succeeded",errorEmptyFields:"Please enter your username and password",errorInvalidCredentials:"Login failed, please check username and password",authDisabled:"Authentication is disabled. Using login free mode.",guestMode:"Login Free"},Xwe={clearDocuments:{button:"Clear",tooltip:"Clear documents",title:"Clear Documents",confirm:"Do you really want to clear all documents?",confirmButton:"YES",success:"Documents cleared successfully",failed:`Clear Documents Failed:
|
||
{{message}}`,error:`Clear Documents Failed:
|
||
{{error}}`},uploadDocuments:{button:"Upload",tooltip:"Upload documents",title:"Upload Documents",description:"Drag and drop your documents here or click to browse.",uploading:"Uploading {{name}}: {{percent}}%",success:`Upload Success:
|
||
{{name}} uploaded successfully`,failed:`Upload Failed:
|
||
{{name}}
|
||
{{message}}`,error:`Upload Failed:
|
||
{{name}}
|
||
{{error}}`,generalError:`Upload Failed
|
||
{{error}}`,fileTypes:"Supported types: TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"},documentManager:{title:"Document Management",scanButton:"Scan",scanTooltip:"Scan documents",uploadedTitle:"Uploaded Documents",uploadedDescription:"List of uploaded documents and their statuses.",emptyTitle:"No Documents",emptyDescription:"There are no uploaded documents yet.",columns:{id:"ID",summary:"Summary",status:"Status",length:"Length",chunks:"Chunks",created:"Created",updated:"Updated",metadata:"Metadata"},status:{completed:"Completed",processing:"Processing",pending:"Pending",failed:"Failed"},errors:{loadFailed:`Failed to load documents
|
||
{{error}}`,scanFailed:`Failed to scan documents
|
||
{{error}}`,scanProgressFailed:`Failed to get scan progress
|
||
{{error}}`}}},Zwe={sideBar:{settings:{settings:"Settings",healthCheck:"Health Check",showPropertyPanel:"Show Property Panel",showSearchBar:"Show Search Bar",showNodeLabel:"Show Node Label",nodeDraggable:"Node Draggable",showEdgeLabel:"Show Edge Label",hideUnselectedEdges:"Hide Unselected Edges",edgeEvents:"Edge Events",maxQueryDepth:"Max Query Depth",minDegree:"Minimum Degree",maxLayoutIterations:"Max Layout Iterations",depth:"Depth",degree:"Degree",apiKey:"API Key",enterYourAPIkey:"Enter your API key",save:"Save",refreshLayout:"Refresh Layout"},zoomControl:{zoomIn:"Zoom In",zoomOut:"Zoom Out",resetZoom:"Reset Zoom",rotateCamera:"Clockwise Rotate",rotateCameraCounterClockwise:"Counter-Clockwise Rotate"},layoutsControl:{startAnimation:"Continue layout animation",stopAnimation:"Stop layout animation",layoutGraph:"Layout Graph",layouts:{Circular:"Circular",Circlepack:"Circlepack",Random:"Random",Noverlaps:"Noverlaps","Force Directed":"Force Directed","Force Atlas":"Force Atlas"}},fullScreenControl:{fullScreen:"Full Screen",windowed:"Windowed"}},statusIndicator:{connected:"Connected",disconnected:"Disconnected"},statusCard:{unavailable:"Status information unavailable",storageInfo:"Storage Info",workingDirectory:"Working Directory",inputDirectory:"Input Directory",llmConfig:"LLM Configuration",llmBinding:"LLM Binding",llmBindingHost:"LLM Binding Host",llmModel:"LLM Model",maxTokens:"Max Tokens",embeddingConfig:"Embedding Configuration",embeddingBinding:"Embedding Binding",embeddingBindingHost:"Embedding Binding Host",embeddingModel:"Embedding Model",storageConfig:"Storage Configuration",kvStorage:"KV Storage",docStatusStorage:"Doc Status Storage",graphStorage:"Graph Storage",vectorStorage:"Vector Storage"},propertiesView:{node:{title:"Node",id:"ID",labels:"Labels",degree:"Degree",properties:"Properties",relationships:"Relations(within subgraph)",expandNode:"Expand Node",pruneNode:"Prune Node",deleteAllNodesError:"Refuse to delete all nodes in the graph",nodesRemoved:"{{count}} nodes removed, including orphan nodes",noNewNodes:"No expandable nodes found",propertyNames:{description:"Description",entity_id:"Name",entity_type:"Type",source_id:"SrcID",Neighbour:"Neigh"}},edge:{title:"Relationship",id:"ID",type:"Type",source:"Source",target:"Target",properties:"Properties"}},search:{placeholder:"Search nodes...",message:"And {count} others"},graphLabels:{selectTooltip:"Select query label",noLabels:"No labels found",label:"Label",placeholder:"Search labels...",andOthers:"And {count} others",refreshTooltip:"Reload graph data"},emptyGraph:"Graph Is Empty"},Qwe={chatMessage:{copyTooltip:"Copy to clipboard",copyError:"Failed to copy text to clipboard"},retrieval:{startPrompt:"Start a retrieval by typing your query below",clear:"Clear",send:"Send",placeholder:"Type your query...",error:"Error: Failed to get response"},querySettings:{parametersTitle:"Parameters",parametersDescription:"Configure your query parameters",queryMode:"Query Mode",queryModeTooltip:`Select the retrieval strategy:
|
||
• Naive: Basic search without advanced techniques
|
||
• Local: Context-dependent information retrieval
|
||
• Global: Utilizes global knowledge base
|
||
• Hybrid: Combines local and global retrieval
|
||
• Mix: Integrates knowledge graph with vector retrieval`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix"},responseFormat:"Response Format",responseFormatTooltip:`Defines the response format. Examples:
|
||
• Multiple Paragraphs
|
||
• Single Paragraph
|
||
• Bullet Points`,responseFormatOptions:{multipleParagraphs:"Multiple Paragraphs",singleParagraph:"Single Paragraph",bulletPoints:"Bullet Points"},topK:"Top K Results",topKTooltip:"Number of top items to retrieve. Represents entities in 'local' mode and relationships in 'global' mode",topKPlaceholder:"Number of results",maxTokensTextUnit:"Max Tokens for Text Unit",maxTokensTextUnitTooltip:"Maximum number of tokens allowed for each retrieved text chunk",maxTokensGlobalContext:"Max Tokens for Global Context",maxTokensGlobalContextTooltip:"Maximum number of tokens allocated for relationship descriptions in global retrieval",maxTokensLocalContext:"Max Tokens for Local Context",maxTokensLocalContextTooltip:"Maximum number of tokens allocated for entity descriptions in local retrieval",historyTurns:"History Turns",historyTurnsTooltip:"Number of complete conversation turns (user-assistant pairs) to consider in the response context",historyTurnsPlaceholder:"Number of history turns",hlKeywords:"High-Level Keywords",hlKeywordsTooltip:"List of high-level keywords to prioritize in retrieval. Separate with commas",hlkeywordsPlaceHolder:"Enter keywords",llKeywords:"Low-Level Keywords",llKeywordsTooltip:"List of low-level keywords to refine retrieval focus. Separate with commas",onlyNeedContext:"Only Need Context",onlyNeedContextTooltip:"If True, only returns the retrieved context without generating a response",onlyNeedPrompt:"Only Need Prompt",onlyNeedPromptTooltip:"If True, only returns the generated prompt without producing a response",streamResponse:"Stream Response",streamResponseTooltip:"If True, enables streaming output for real-time responses"}},Jwe={loading:"Loading API Documentation..."},exe={settings:Wwe,header:Ywe,login:Kwe,documentPanel:Xwe,graphPanel:Zwe,retrievePanel:Qwe,apiSite:Jwe},txe={language:"语言",theme:"主题",light:"浅色",dark:"深色",system:"系统"},nxe={documents:"文档",knowledgeGraph:"知识图谱",retrieval:"检索",api:"API",projectRepository:"项目仓库",logout:"退出登录",themeToggle:{switchToLight:"切换到浅色主题",switchToDark:"切换到深色主题"}},rxe={description:"请输入您的账号和密码登录系统",username:"用户名",usernamePlaceholder:"请输入用户名",password:"密码",passwordPlaceholder:"请输入密码",loginButton:"登录",loggingIn:"登录中...",successMessage:"登录成功",errorEmptyFields:"请输入您的用户名和密码",errorInvalidCredentials:"登录失败,请检查用户名和密码",authDisabled:"认证已禁用,使用无需登陆模式。",guestMode:"无需登陆"},axe={clearDocuments:{button:"清空",tooltip:"清空文档",title:"清空文档",confirm:"确定要清空所有文档吗?",confirmButton:"确定",success:"文档清空成功",failed:`清空文档失败:
|
||
{{message}}`,error:`清空文档失败:
|
||
{{error}}`},uploadDocuments:{button:"上传",tooltip:"上传文档",title:"上传文档",description:"拖拽文件到此处或点击浏览",uploading:"正在上传 {{name}}:{{percent}}%",success:`上传成功:
|
||
{{name}} 上传完成`,failed:`上传失败:
|
||
{{name}}
|
||
{{message}}`,error:`上传失败:
|
||
{{name}}
|
||
{{error}}`,generalError:`上传失败
|
||
{{error}}`,fileTypes:"支持的文件类型:TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"},documentManager:{title:"文档管理",scanButton:"扫描",scanTooltip:"扫描文档",uploadedTitle:"已上传文档",uploadedDescription:"已上传文档列表及其状态",emptyTitle:"无文档",emptyDescription:"还没有上传任何文档",columns:{id:"ID",summary:"摘要",status:"状态",length:"长度",chunks:"分块",created:"创建时间",updated:"更新时间",metadata:"元数据"},status:{completed:"已完成",processing:"处理中",pending:"等待中",failed:"失败"},errors:{loadFailed:`加载文档失败
|
||
{{error}}`,scanFailed:`扫描文档失败
|
||
{{error}}`,scanProgressFailed:`获取扫描进度失败
|
||
{{error}}`}}},oxe={sideBar:{settings:{settings:"设置",healthCheck:"健康检查",showPropertyPanel:"显示属性面板",showSearchBar:"显示搜索栏",showNodeLabel:"显示节点标签",nodeDraggable:"节点可拖动",showEdgeLabel:"显示边标签",hideUnselectedEdges:"隐藏未选中的边",edgeEvents:"边事件",maxQueryDepth:"最大查询深度",minDegree:"最小邻边数",maxLayoutIterations:"最大布局迭代次数",depth:"深度",degree:"邻边",apiKey:"API密钥",enterYourAPIkey:"输入您的API密钥",save:"保存",refreshLayout:"刷新布局"},zoomControl:{zoomIn:"放大",zoomOut:"缩小",resetZoom:"重置缩放",rotateCamera:"顺时针旋转图形",rotateCameraCounterClockwise:"逆时针旋转图形"},layoutsControl:{startAnimation:"继续布局动画",stopAnimation:"停止布局动画",layoutGraph:"图布局",layouts:{Circular:"环形",Circlepack:"圆形打包",Random:"随机",Noverlaps:"无重叠","Force Directed":"力导向","Force Atlas":"力地图"}},fullScreenControl:{fullScreen:"全屏",windowed:"窗口"}},statusIndicator:{connected:"已连接",disconnected:"未连接"},statusCard:{unavailable:"状态信息不可用",storageInfo:"存储信息",workingDirectory:"工作目录",inputDirectory:"输入目录",llmConfig:"LLM配置",llmBinding:"LLM绑定",llmBindingHost:"LLM绑定主机",llmModel:"LLM模型",maxTokens:"最大令牌数",embeddingConfig:"嵌入配置",embeddingBinding:"嵌入绑定",embeddingBindingHost:"嵌入绑定主机",embeddingModel:"嵌入模型",storageConfig:"存储配置",kvStorage:"KV存储",docStatusStorage:"文档状态存储",graphStorage:"图存储",vectorStorage:"向量存储"},propertiesView:{node:{title:"节点",id:"ID",labels:"标签",degree:"度数",properties:"属性",relationships:"关系(子图内)",expandNode:"扩展节点",pruneNode:"修剪节点",deleteAllNodesError:"拒绝删除图中的所有节点",nodesRemoved:"已删除 {{count}} 个节点,包括孤立节点",noNewNodes:"没有发现可以扩展的节点",propertyNames:{description:"描述",entity_id:"名称",entity_type:"类型",source_id:"信源ID",Neighbour:"邻接"}},edge:{title:"关系",id:"ID",type:"类型",source:"源节点",target:"目标节点",properties:"属性"}},search:{placeholder:"搜索节点...",message:"还有 {count} 个"},graphLabels:{selectTooltip:"选择查询标签",noLabels:"未找到标签",label:"标签",placeholder:"搜索标签...",andOthers:"还有 {count} 个",refreshTooltip:"重新加载图形数据"},emptyGraph:"图谱数据为空"},ixe={chatMessage:{copyTooltip:"复制到剪贴板",copyError:"复制文本到剪贴板失败"},retrieval:{startPrompt:"输入查询开始检索",clear:"清空",send:"发送",placeholder:"输入查询...",error:"错误:获取响应失败"},querySettings:{parametersTitle:"参数",parametersDescription:"配置查询参数",queryMode:"查询模式",queryModeTooltip:`选择检索策略:
|
||
• Naive:基础搜索,无高级技术
|
||
• Local:上下文相关信息检索
|
||
• Global:利用全局知识库
|
||
• Hybrid:结合本地和全局检索
|
||
• Mix:整合知识图谱和向量检索`,queryModeOptions:{naive:"朴素",local:"本地",global:"全局",hybrid:"混合",mix:"混合"},responseFormat:"响应格式",responseFormatTooltip:`定义响应格式。例如:
|
||
• 多段落
|
||
• 单段落
|
||
• 要点`,responseFormatOptions:{multipleParagraphs:"多段落",singleParagraph:"单段落",bulletPoints:"要点"},topK:"Top K结果",topKTooltip:"检索的顶部项目数。在'local'模式下表示实体,在'global'模式下表示关系",topKPlaceholder:"结果数量",maxTokensTextUnit:"文本单元最大令牌数",maxTokensTextUnitTooltip:"每个检索文本块允许的最大令牌数",maxTokensGlobalContext:"全局上下文最大令牌数",maxTokensGlobalContextTooltip:"全局检索中关系描述的最大令牌数",maxTokensLocalContext:"本地上下文最大令牌数",maxTokensLocalContextTooltip:"本地检索中实体描述的最大令牌数",historyTurns:"历史轮次",historyTurnsTooltip:"响应上下文中考虑的完整对话轮次(用户-助手对)数量",historyTurnsPlaceholder:"历史轮次数",hlKeywords:"高级关键词",hlKeywordsTooltip:"检索中优先考虑的高级关键词列表。用逗号分隔",hlkeywordsPlaceHolder:"输入关键词",llKeywords:"低级关键词",llKeywordsTooltip:"用于细化检索重点的低级关键词列表。用逗号分隔",onlyNeedContext:"仅需上下文",onlyNeedContextTooltip:"如果为True,仅返回检索到的上下文而不生成响应",onlyNeedPrompt:"仅需提示",onlyNeedPromptTooltip:"如果为True,仅返回生成的提示而不产生响应",streamResponse:"流式响应",streamResponseTooltip:"如果为True,启用实时流式输出响应"}},sxe={loading:"正在加载 API 文档..."},lxe={settings:txe,header:nxe,login:rxe,documentPanel:axe,graphPanel:oxe,retrievePanel:ixe,apiSite:sxe},uxe={language:"Langue",theme:"Thème",light:"Clair",dark:"Sombre",system:"Système"},cxe={documents:"Documents",knowledgeGraph:"Graphe de connaissances",retrieval:"Récupération",api:"API",projectRepository:"Référentiel du projet",logout:"Déconnexion",themeToggle:{switchToLight:"Passer au thème clair",switchToDark:"Passer au thème sombre"}},dxe={description:"Veuillez entrer votre compte et mot de passe pour vous connecter au système",username:"Nom d'utilisateur",usernamePlaceholder:"Veuillez saisir un nom d'utilisateur",password:"Mot de passe",passwordPlaceholder:"Veuillez saisir un mot de passe",loginButton:"Connexion",loggingIn:"Connexion en cours...",successMessage:"Connexion réussie",errorEmptyFields:"Veuillez saisir votre nom d'utilisateur et mot de passe",errorInvalidCredentials:"Échec de la connexion, veuillez vérifier le nom d'utilisateur et le mot de passe",authDisabled:"L'authentification est désactivée. Utilisation du mode sans connexion.",guestMode:"Mode sans connexion"},fxe={clearDocuments:{button:"Effacer",tooltip:"Effacer les documents",title:"Effacer les documents",confirm:"Voulez-vous vraiment effacer tous les documents ?",confirmButton:"OUI",success:"Documents effacés avec succès",failed:`Échec de l'effacement des documents :
|
||
{{message}}`,error:`Échec de l'effacement des documents :
|
||
{{error}}`},uploadDocuments:{button:"Télécharger",tooltip:"Télécharger des documents",title:"Télécharger des documents",description:"Glissez-déposez vos documents ici ou cliquez pour parcourir.",uploading:"Téléchargement de {{name}} : {{percent}}%",success:`Succès du téléchargement :
|
||
{{name}} téléchargé avec succès`,failed:`Échec du téléchargement :
|
||
{{name}}
|
||
{{message}}`,error:`Échec du téléchargement :
|
||
{{name}}
|
||
{{error}}`,generalError:`Échec du téléchargement
|
||
{{error}}`,fileTypes:"Types pris en charge : TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"},documentManager:{title:"Gestion des documents",scanButton:"Scanner",scanTooltip:"Scanner les documents",uploadedTitle:"Documents téléchargés",uploadedDescription:"Liste des documents téléchargés et leurs statuts.",emptyTitle:"Aucun document",emptyDescription:"Il n'y a pas encore de documents téléchargés.",columns:{id:"ID",summary:"Résumé",status:"Statut",length:"Longueur",chunks:"Fragments",created:"Créé",updated:"Mis à jour",metadata:"Métadonnées"},status:{completed:"Terminé",processing:"En traitement",pending:"En attente",failed:"Échoué"},errors:{loadFailed:`Échec du chargement des documents
|
||
{{error}}`,scanFailed:`Échec de la numérisation des documents
|
||
{{error}}`,scanProgressFailed:`Échec de l'obtention de la progression de la numérisation
|
||
{{error}}`}}},pxe={sideBar:{settings:{settings:"Paramètres",healthCheck:"Vérification de l'état",showPropertyPanel:"Afficher le panneau des propriétés",showSearchBar:"Afficher la barre de recherche",showNodeLabel:"Afficher l'étiquette du nœud",nodeDraggable:"Nœud déplaçable",showEdgeLabel:"Afficher l'étiquette de l'arête",hideUnselectedEdges:"Masquer les arêtes non sélectionnées",edgeEvents:"Événements des arêtes",maxQueryDepth:"Profondeur maximale de la requête",minDegree:"Degré minimum",maxLayoutIterations:"Itérations maximales de mise en page",depth:"Profondeur",degree:"Degré",apiKey:"Clé API",enterYourAPIkey:"Entrez votre clé API",save:"Sauvegarder",refreshLayout:"Actualiser la mise en page"},zoomControl:{zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetZoom:"Réinitialiser le zoom",rotateCamera:"Rotation horaire",rotateCameraCounterClockwise:"Rotation antihoraire"},layoutsControl:{startAnimation:"Démarrer l'animation de mise en page",stopAnimation:"Arrêter l'animation de mise en page",layoutGraph:"Mettre en page le graphe",layouts:{Circular:"Circulaire",Circlepack:"Paquet circulaire",Random:"Aléatoire",Noverlaps:"Sans chevauchement","Force Directed":"Dirigé par la force","Force Atlas":"Atlas de force"}},fullScreenControl:{fullScreen:"Plein écran",windowed:"Fenêtré"}},statusIndicator:{connected:"Connecté",disconnected:"Déconnecté"},statusCard:{unavailable:"Informations sur l'état indisponibles",storageInfo:"Informations de stockage",workingDirectory:"Répertoire de travail",inputDirectory:"Répertoire d'entrée",llmConfig:"Configuration du modèle de langage",llmBinding:"Liaison du modèle de langage",llmBindingHost:"Hôte de liaison du modèle de langage",llmModel:"Modèle de langage",maxTokens:"Nombre maximum de jetons",embeddingConfig:"Configuration d'incorporation",embeddingBinding:"Liaison d'incorporation",embeddingBindingHost:"Hôte de liaison d'incorporation",embeddingModel:"Modèle d'incorporation",storageConfig:"Configuration de stockage",kvStorage:"Stockage clé-valeur",docStatusStorage:"Stockage de l'état des documents",graphStorage:"Stockage du graphe",vectorStorage:"Stockage vectoriel"},propertiesView:{node:{title:"Nœud",id:"ID",labels:"Étiquettes",degree:"Degré",properties:"Propriétés",relationships:"Relations(dans le sous-graphe)",expandNode:"Développer le nœud",pruneNode:"Élaguer le nœud",deleteAllNodesError:"Refus de supprimer tous les nœuds du graphe",nodesRemoved:"{{count}} nœuds supprimés, y compris les nœuds orphelins",noNewNodes:"Aucun nœud développable trouvé",propertyNames:{description:"Description",entity_id:"Nom",entity_type:"Type",source_id:"ID source",Neighbour:"Voisin"}},edge:{title:"Relation",id:"ID",type:"Type",source:"Source",target:"Cible",properties:"Propriétés"}},search:{placeholder:"Rechercher des nœuds...",message:"Et {{count}} autres"},graphLabels:{selectTooltip:"Sélectionner l'étiquette de la requête",noLabels:"Aucune étiquette trouvée",label:"Étiquette",placeholder:"Rechercher des étiquettes...",andOthers:"Et {{count}} autres",refreshTooltip:"Recharger les données du graphe"},emptyGraph:"Le graphe est vide"},gxe={chatMessage:{copyTooltip:"Copier dans le presse-papiers",copyError:"Échec de la copie du texte dans le presse-papiers"},retrieval:{startPrompt:"Démarrez une récupération en tapant votre requête ci-dessous",clear:"Effacer",send:"Envoyer",placeholder:"Tapez votre requête...",error:"Erreur : Échec de l'obtention de la réponse"},querySettings:{parametersTitle:"Paramètres",parametersDescription:"Configurez vos paramètres de requête",queryMode:"Mode de requête",queryModeTooltip:`Sélectionnez la stratégie de récupération :
|
||
• Naïf : Recherche de base sans techniques avancées
|
||
• Local : Récupération d'informations dépendante du contexte
|
||
• Global : Utilise une base de connaissances globale
|
||
• Hybride : Combine récupération locale et globale
|
||
• Mixte : Intègre le graphe de connaissances avec la récupération vectorielle`,queryModeOptions:{naive:"Naïf",local:"Local",global:"Global",hybrid:"Hybride",mix:"Mixte"},responseFormat:"Format de réponse",responseFormatTooltip:`Définit le format de la réponse. Exemples :
|
||
• Plusieurs paragraphes
|
||
• Paragraphe unique
|
||
• Points à puces`,responseFormatOptions:{multipleParagraphs:"Plusieurs paragraphes",singleParagraph:"Paragraphe unique",bulletPoints:"Points à puces"},topK:"Top K résultats",topKTooltip:"Nombre d'éléments supérieurs à récupérer. Représente les entités en mode 'local' et les relations en mode 'global'",topKPlaceholder:"Nombre de résultats",maxTokensTextUnit:"Nombre maximum de jetons pour l'unité de texte",maxTokensTextUnitTooltip:"Nombre maximum de jetons autorisés pour chaque fragment de texte récupéré",maxTokensGlobalContext:"Nombre maximum de jetons pour le contexte global",maxTokensGlobalContextTooltip:"Nombre maximum de jetons alloués pour les descriptions des relations dans la récupération globale",maxTokensLocalContext:"Nombre maximum de jetons pour le contexte local",maxTokensLocalContextTooltip:"Nombre maximum de jetons alloués pour les descriptions des entités dans la récupération locale",historyTurns:"Tours d'historique",historyTurnsTooltip:"Nombre de tours complets de conversation (paires utilisateur-assistant) à prendre en compte dans le contexte de la réponse",historyTurnsPlaceholder:"Nombre de tours d'historique",hlKeywords:"Mots-clés de haut niveau",hlKeywordsTooltip:"Liste de mots-clés de haut niveau à prioriser dans la récupération. Séparez par des virgules",hlkeywordsPlaceHolder:"Entrez les mots-clés",llKeywords:"Mots-clés de bas niveau",llKeywordsTooltip:"Liste de mots-clés de bas niveau pour affiner la focalisation de la récupération. Séparez par des virgules",onlyNeedContext:"Besoin uniquement du contexte",onlyNeedContextTooltip:"Si vrai, ne renvoie que le contexte récupéré sans générer de réponse",onlyNeedPrompt:"Besoin uniquement de l'invite",onlyNeedPromptTooltip:"Si vrai, ne renvoie que l'invite générée sans produire de réponse",streamResponse:"Réponse en flux",streamResponseTooltip:"Si vrai, active la sortie en flux pour des réponses en temps réel"}},hxe={loading:"Chargement de la documentation de l'API..."},mxe={settings:uxe,header:cxe,login:dxe,documentPanel:fxe,graphPanel:pxe,retrievePanel:gxe,apiSite:hxe},bxe={language:"اللغة",theme:"السمة",light:"فاتح",dark:"داكن",system:"النظام"},yxe={documents:"المستندات",knowledgeGraph:"شبكة المعرفة",retrieval:"الاسترجاع",api:"واجهة برمجة التطبيقات",projectRepository:"مستودع المشروع",logout:"تسجيل الخروج",themeToggle:{switchToLight:"التحويل إلى السمة الفاتحة",switchToDark:"التحويل إلى السمة الداكنة"}},vxe={description:"الرجاء إدخال حسابك وكلمة المرور لتسجيل الدخول إلى النظام",username:"اسم المستخدم",usernamePlaceholder:"الرجاء إدخال اسم المستخدم",password:"كلمة المرور",passwordPlaceholder:"الرجاء إدخال كلمة المرور",loginButton:"تسجيل الدخول",loggingIn:"جاري تسجيل الدخول...",successMessage:"تم تسجيل الدخول بنجاح",errorEmptyFields:"الرجاء إدخال اسم المستخدم وكلمة المرور",errorInvalidCredentials:"فشل تسجيل الدخول، يرجى التحقق من اسم المستخدم وكلمة المرور",authDisabled:"تم تعطيل المصادقة. استخدام وضع بدون تسجيل دخول.",guestMode:"وضع بدون تسجيل دخول"},Sxe={clearDocuments:{button:"مسح",tooltip:"مسح المستندات",title:"مسح المستندات",confirm:"هل تريد حقًا مسح جميع المستندات؟",confirmButton:"نعم",success:"تم مسح المستندات بنجاح",failed:`فشل مسح المستندات:
|
||
{{message}}`,error:`فشل مسح المستندات:
|
||
{{error}}`},uploadDocuments:{button:"رفع",tooltip:"رفع المستندات",title:"رفع المستندات",description:"اسحب وأفلت مستنداتك هنا أو انقر للتصفح.",uploading:"جارٍ الرفع {{name}}: {{percent}}%",success:`نجاح الرفع:
|
||
تم رفع {{name}} بنجاح`,failed:`فشل الرفع:
|
||
{{name}}
|
||
{{message}}`,error:`فشل الرفع:
|
||
{{name}}
|
||
{{error}}`,generalError:`فشل الرفع
|
||
{{error}}`,fileTypes:"الأنواع المدعومة: TXT، MD، DOCX، PDF، PPTX، RTF، ODT، EPUB، HTML، HTM، TEX، JSON، XML، YAML، YML، CSV، LOG، CONF، INI، PROPERTIES، SQL، BAT، SH، C، CPP، PY، JAVA، JS، TS، SWIFT، GO، RB، PHP، CSS، SCSS، LESS"},documentManager:{title:"إدارة المستندات",scanButton:"مسح ضوئي",scanTooltip:"مسح المستندات ضوئيًا",uploadedTitle:"المستندات المرفوعة",uploadedDescription:"قائمة المستندات المرفوعة وحالاتها.",emptyTitle:"لا توجد مستندات",emptyDescription:"لا توجد مستندات مرفوعة بعد.",columns:{id:"المعرف",summary:"الملخص",status:"الحالة",length:"الطول",chunks:"الأجزاء",created:"تم الإنشاء",updated:"تم التحديث",metadata:"البيانات الوصفية"},status:{completed:"مكتمل",processing:"قيد المعالجة",pending:"معلق",failed:"فشل"},errors:{loadFailed:`فشل تحميل المستندات
|
||
{{error}}`,scanFailed:`فشل المسح الضوئي للمستندات
|
||
{{error}}`,scanProgressFailed:`فشل الحصول على تقدم المسح الضوئي
|
||
{{error}}`}}},Exe={sideBar:{settings:{settings:"الإعدادات",healthCheck:"فحص الحالة",showPropertyPanel:"إظهار لوحة الخصائص",showSearchBar:"إظهار شريط البحث",showNodeLabel:"إظهار تسمية العقدة",nodeDraggable:"العقدة قابلة للسحب",showEdgeLabel:"إظهار تسمية الحافة",hideUnselectedEdges:"إخفاء الحواف غير المحددة",edgeEvents:"أحداث الحافة",maxQueryDepth:"أقصى عمق للاستعلام",minDegree:"الدرجة الدنيا",maxLayoutIterations:"أقصى تكرارات التخطيط",depth:"العمق",degree:"الدرجة",apiKey:"مفتاح واجهة برمجة التطبيقات",enterYourAPIkey:"أدخل مفتاح واجهة برمجة التطبيقات الخاص بك",save:"حفظ",refreshLayout:"تحديث التخطيط"},zoomControl:{zoomIn:"تكبير",zoomOut:"تصغير",resetZoom:"إعادة تعيين التكبير",rotateCamera:"تدوير في اتجاه عقارب الساعة",rotateCameraCounterClockwise:"تدوير عكس اتجاه عقارب الساعة"},layoutsControl:{startAnimation:"بدء حركة التخطيط",stopAnimation:"إيقاف حركة التخطيط",layoutGraph:"تخطيط الرسم البياني",layouts:{Circular:"دائري",Circlepack:"حزمة دائرية",Random:"عشوائي",Noverlaps:"بدون تداخل","Force Directed":"موجه بالقوة","Force Atlas":"أطلس القوة"}},fullScreenControl:{fullScreen:"شاشة كاملة",windowed:"نوافذ"}},statusIndicator:{connected:"متصل",disconnected:"غير متصل"},statusCard:{unavailable:"معلومات الحالة غير متوفرة",storageInfo:"معلومات التخزين",workingDirectory:"دليل العمل",inputDirectory:"دليل الإدخال",llmConfig:"تكوين نموذج اللغة الكبير",llmBinding:"ربط نموذج اللغة الكبير",llmBindingHost:"مضيف ربط نموذج اللغة الكبير",llmModel:"نموذج اللغة الكبير",maxTokens:"أقصى عدد من الرموز",embeddingConfig:"تكوين التضمين",embeddingBinding:"ربط التضمين",embeddingBindingHost:"مضيف ربط التضمين",embeddingModel:"نموذج التضمين",storageConfig:"تكوين التخزين",kvStorage:"تخزين المفتاح-القيمة",docStatusStorage:"تخزين حالة المستند",graphStorage:"تخزين الرسم البياني",vectorStorage:"تخزين المتجهات"},propertiesView:{node:{title:"عقدة",id:"المعرف",labels:"التسميات",degree:"الدرجة",properties:"الخصائص",relationships:"العلاقات (داخل الرسم الفرعي)",expandNode:"توسيع العقدة",pruneNode:"تقليم العقدة",deleteAllNodesError:"رفض حذف جميع العقد في الرسم البياني",nodesRemoved:"تم إزالة {{count}} عقدة، بما في ذلك العقد اليتيمة",noNewNodes:"لم يتم العثور على عقد قابلة للتوسيع",propertyNames:{description:"الوصف",entity_id:"الاسم",entity_type:"النوع",source_id:"معرف المصدر",Neighbour:"الجار"}},edge:{title:"علاقة",id:"المعرف",type:"النوع",source:"المصدر",target:"الهدف",properties:"الخصائص"}},search:{placeholder:"ابحث في العقد...",message:"و {{count}} آخرون"},graphLabels:{selectTooltip:"حدد تسمية الاستعلام",noLabels:"لم يتم العثور على تسميات",label:"التسمية",placeholder:"ابحث في التسميات...",andOthers:"و {{count}} آخرون",refreshTooltip:"إعادة تحميل بيانات الرسم البياني"},emptyGraph:"الرسم البياني فارغ"},wxe={chatMessage:{copyTooltip:"نسخ إلى الحافظة",copyError:"فشل نسخ النص إلى الحافظة"},retrieval:{startPrompt:"ابدأ الاسترجاع بكتابة استفسارك أدناه",clear:"مسح",send:"إرسال",placeholder:"اكتب استفسارك...",error:"خطأ: فشل الحصول على الرد"},querySettings:{parametersTitle:"المعلمات",parametersDescription:"تكوين معلمات الاستعلام الخاص بك",queryMode:"وضع الاستعلام",queryModeTooltip:`حدد استراتيجية الاسترجاع:
|
||
• ساذج: بحث أساسي بدون تقنيات متقدمة
|
||
• محلي: استرجاع معلومات يعتمد على السياق
|
||
• عالمي: يستخدم قاعدة المعرفة العالمية
|
||
• مختلط: يجمع بين الاسترجاع المحلي والعالمي
|
||
• مزيج: يدمج شبكة المعرفة مع الاسترجاع المتجهي`,queryModeOptions:{naive:"ساذج",local:"محلي",global:"عالمي",hybrid:"مختلط",mix:"مزيج"},responseFormat:"تنسيق الرد",responseFormatTooltip:`يحدد تنسيق الرد. أمثلة:
|
||
• فقرات متعددة
|
||
• فقرة واحدة
|
||
• نقاط نقطية`,responseFormatOptions:{multipleParagraphs:"فقرات متعددة",singleParagraph:"فقرة واحدة",bulletPoints:"نقاط نقطية"},topK:"أعلى K نتائج",topKTooltip:"عدد العناصر العلوية للاسترجاع. يمثل الكيانات في وضع 'محلي' والعلاقات في وضع 'عالمي'",topKPlaceholder:"عدد النتائج",maxTokensTextUnit:"أقصى عدد من الرموز لوحدة النص",maxTokensTextUnitTooltip:"الحد الأقصى لعدد الرموز المسموح به لكل جزء نصي مسترجع",maxTokensGlobalContext:"أقصى عدد من الرموز للسياق العالمي",maxTokensGlobalContextTooltip:"الحد الأقصى لعدد الرموز المخصص لأوصاف العلاقات في الاسترجاع العالمي",maxTokensLocalContext:"أقصى عدد من الرموز للسياق المحلي",maxTokensLocalContextTooltip:"الحد الأقصى لعدد الرموز المخصص لأوصاف الكيانات في الاسترجاع المحلي",historyTurns:"دورات التاريخ",historyTurnsTooltip:"عدد الدورات الكاملة للمحادثة (أزواج المستخدم-المساعد) التي يجب مراعاتها في سياق الرد",historyTurnsPlaceholder:"عدد دورات التاريخ",hlKeywords:"الكلمات المفتاحية عالية المستوى",hlKeywordsTooltip:"قائمة الكلمات المفتاحية عالية المستوى لإعطائها الأولوية في الاسترجاع. افصل بينها بفواصل",hlkeywordsPlaceHolder:"أدخل الكلمات المفتاحية",llKeywords:"الكلمات المفتاحية منخفضة المستوى",llKeywordsTooltip:"قائمة الكلمات المفتاحية منخفضة المستوى لتحسين تركيز الاسترجاع. افصل بينها بفواصل",onlyNeedContext:"تحتاج فقط إلى السياق",onlyNeedContextTooltip:"إذا كان صحيحًا، يتم إرجاع السياق المسترجع فقط دون إنشاء رد",onlyNeedPrompt:"تحتاج فقط إلى المطالبة",onlyNeedPromptTooltip:"إذا كان صحيحًا، يتم إرجاع المطالبة المولدة فقط دون إنتاج رد",streamResponse:"تدفق الرد",streamResponseTooltip:"إذا كان صحيحًا، يتيح إخراج التدفق للردود في الوقت الفعلي"}},xxe={loading:"جارٍ تحميل وثائق واجهة برمجة التطبيقات..."},kxe={settings:bxe,header:yxe,login:vxe,documentPanel:Sxe,graphPanel:Exe,retrievePanel:wxe,apiSite:xxe},Txe=()=>{var e;try{const t=localStorage.getItem("settings-storage");if(t)return((e=JSON.parse(t).state)==null?void 0:e.language)||"en"}catch(t){console.error("Failed to get stored language:",t)}return"en"};rn.use(rQ).init({resources:{en:{translation:exe},zh:{translation:lxe},fr:{translation:mxe},ar:{translation:kxe}},lng:Txe(),fallbackLng:"en",interpolation:{escapeValue:!1}});Le.subscribe(e=>{const t=e.language;rn.language!==t&&rn.changeLanguage(t)});Eq.createRoot(document.getElementById("root")).render(w.jsx(E.StrictMode,{children:w.jsx(Rwe,{})}));
|