PageSourceSearch

https://corethink.ai/assets/main-4qLJ6Cyr.js

js corethink.ai collected 2026-10-02 00:25:11 UTC 2,901,975 bytes, 412 lines download raw bytes

vendor: 8,960 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-C6aXBoGg.js","assets/index-Bc2m4qw3.js","assets/index-Cgi7ixUa.js","assets/index-BdEOTVR1.js","assets/index-BNn6IJs0.js","assets/index-DmBMJT4v.js","assets/index-D9wQeHRi.js","assets/Dashboard-Cm2pnn-W.js","assets/zap-CyEJrSTn.js","assets/BarChart-BWL09euv.js","assets/en-US-lXOxWzFi.js","assets/external-link-BUHH_0S9.js","assets/dollar-sign-DQPZTkGK.js","assets/trending-up-BvlcF_Qi.js","assets/clock-BVNEyofR.js","assets/MarkDownComponents-B0AnN8DF.js","assets/TraeInspiredLanding-ddeaLUn4.js","assets/CTASection-n3Q7Lg5P.js","assets/Landing-D6jXlnkH.js","assets/StaticHtmlPage-CHB2V3Zm.js","assets/WaitlistPage-B1uukUHG.js","assets/CareersPage-BuhZNgb1.js","assets/ProviderLanding-CSD6Y52-.js","assets/Documentation-C4AXzIIi.js","assets/ROICalculatorPage-kPSTQgXw.js","assets/TokenUsageDetailPage-DihNj0kp.js"])))=>i.map(i=>d[i]);
2function Tae(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var To=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var OE={exports:{}},Cm={};var Z7;function Aae(){if(Z7)return Cm;Z7=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,i,s){var a=null;if(s!==void 0&&(a=""+s),i.key!==void 0&&(a=""+i.key),"key"in i){s={};for(var o in i)o!=="key"&&(s[o]=i[o])}else s=i;return i=s.ref,{$$typeof:t,type:r,key:a,ref:i!==void 0?i:null,props:s}}return Cm.Fragment=e,Cm.jsx=n,Cm.jsxs=n,Cm}var Q7;function Rae(){return Q7||(Q7=1,OE.exports=Aae()),OE.exports}var x=Rae();const Nae="modulepreload",Oae=function(t){return"/"+t},J7={},xr=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),o=a?.nonce||a?.getAttribute("nonce");i=l(n.map(c=>{if(c=Oae(c),c in J7)return;J7[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Nae,d||(p.as="script"),p.crossOrigin="",p.href=c,o&&p.setAttribute("nonce",o),document.head.appendChild(p),d)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(a){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a}return i.then(a=>{for(const o of a||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})};var IE={exports:{}},xt={};var e9;function Iae(){if(e9)return xt;e9=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),p=Symbol.iterator;function g(j){return j===null||typeof j!="object"?null:(j=p&&j[p]||j["@@iterator"],typeof j=="function"?j:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,w={};function S(j,X,H){this.props=j,this.context=X,this.refs=w,this.updater=H||b}S.prototype.isReactComponent={},S.prototype.setState=function(j,X){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,X,"setState")},S.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function _(){}_.prototype=S.prototype;function E(j,X,H){this.props=j,this.context=X,this.refs=w,this.updater=H||b}var T=E.prototype=new _;T.constructor=E,y(T,S.prototype),T.isPureReactComponent=!0;var R=Array.isArray;function N(){}var I={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function z(j,X,H){var ae=H.ref;return{$$typeof:t,type:j,key:X,ref:ae!==void 0?ae:null,props:H}}function U(j,X){return z(j.type,X,j.props)}function Z(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function L(j){var X={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(H){return X[H]})}var $=/\/+/g;function D(j,X){return typeof j=="object"&&j!==null&&j.key!=null?L(""+j.key):X.toString(36)}function W(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(N,N):(j.status="pending",j.then(function(X){j.status==="pending"&&(j.status="fulfilled",j.value=X)},function(X){j.status==="pending"&&(j.status="rejected",j.reason=X)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function G(j,X,H,ae,le){var Ee=typeof j;(Ee==="undefined"||Ee==="boolean")&&(j=null);var me=!1;if(j===null)me=!0;else switch(Ee){case"bigint":case"string":case"number":me=!0;break;case"object":switch(j.$$typeof){case t:case e:me=!0;break;case d:return me=j._init,G(me(j._payload),X,H,ae,le)}}if(me)return le=le(j),me=ae===""?"."+D(j,0):ae,R(le)?(H="",me!=null&&(H=me.replace($,"$&/")+"/"),G(le,X,H,"",function(qe){return qe})):le!=null&&(Z(le)&&(le=U(le,H+(le.key==null||j&&j.key===le.key?"":(""+le.key).replace($,"$&/")+"/")+me)),X.push(le)),1;me=0;var ke=ae===""?".":ae+":";if(R(j))for(var Le=0;Le<j.length;Le++)ae=j[Le],Ee=ke+D(ae,Le),me+=G(ae,X,H,Ee,le);else if(Le=g(j),typeof Le=="function")for(j=Le.call(j),Le=0;!(ae=j.next()).done;)ae=ae.value,Ee=ke+D(ae,Le++),me+=G(ae,X,H,Ee,le);else if(Ee==="object"){if(typeof j.then=="function")return G(W(j),X,H,ae,le);throw X=String(j),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return me}function K(j,X,H){if(j==null)return j;var ae=[],le=0;return G(j,ae,"","",function(Ee){return X.call(H,Ee,le++)}),ae}function Y(j){if(j._status===-1){var X=j._result;X=X(),X.then(function(H){(j._status===0||j._status===-1)&&(j._status=1,j._result=H)},function(H){(j._status===0||j._status===-1)&&(j._status=2,j._result=H)}),j._status===-1&&(j._status=0,j._result=X)}if(j._status===1)return j._result.default;throw j._result}var te=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},q={map:K,forEach:function(j,X,H){K(j,function(){X.apply(this,arguments)},H)},count:function(j){var X=0;return K(j,function(){X++}),X},toArray:function(j){return K(j,function(X){return X})||[]},only:function(j){if(!Z(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return xt.Activity=f,xt.Children=q,xt.Component=S,xt.Fragment=n,xt.Profiler=i,xt.PureComponent=E,xt.StrictMode=r,xt.Suspense=l,xt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,xt.__COMPILER_RUNTIME={__proto__:null,c:function(j){return I.H.useMemoCache(j)}},xt.cache=function(j){return function(){return j.apply(null,arguments)}},xt.cacheSignal=function(){return null},xt.cloneElement=function(j,X,H){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var ae=y({},j.props),le=j.key;if(X!=null)for(Ee in X.key!==void 0&&(le=""+X.key),X)!P.call(X,Ee)||Ee==="
2key"||Ee==="__self"||Ee==="__source"||Ee==="ref"&&X.ref===void 0||(ae[Ee]=X[Ee]);var Ee=arguments.length-2;if(Ee===1)ae.children=H;else if(1<Ee){for(var me=Array(Ee),ke=0;ke<Ee;ke++)me[ke]=arguments[ke+2];ae.children=me}return z(j.type,le,ae)},xt.createContext=function(j){return j={$$typeof:a,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:s,_context:j},j},xt.createElement=function(j,X,H){var ae,le={},Ee=null;if(X!=null)for(ae in X.key!==void 0&&(Ee=""+X.key),X)P.call(X,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(le[ae]=X[ae]);var me=arguments.length-2;if(me===1)le.children=H;else if(1<me){for(var ke=Array(me),Le=0;Le<me;Le++)ke[Le]=arguments[Le+2];le.children=ke}if(j&&j.defaultProps)for(ae in me=j.defaultProps,me)le[ae]===void 0&&(le[ae]=me[ae]);return z(j,Ee,le)},xt.createRef=function(){return{current:null}},xt.forwardRef=function(j){return{$$typeof:o,render:j}},xt.isValidElement=Z,xt.lazy=function(j){return{$$typeof:d,_payload:{_status:-1,_result:j},_init:Y}},xt.memo=function(j,X){return{$$typeof:c,type:j,compare:X===void 0?null:X}},xt.startTransition=function(j){var X=I.T,H={};I.T=H;try{var ae=j(),le=I.S;le!==null&&le(H,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(N,te)}catch(Ee){te(Ee)}finally{X!==null&&H.types!==null&&(X.types=H.types),I.T=X}},xt.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},xt.use=function(j){return I.H.use(j)},xt.useActionState=function(j,X,H){return I.H.useActionState(j,X,H)},xt.useCallback=function(j,X){return I.H.useCallback(j,X)},xt.useContext=function(j){return I.H.useContext(j)},xt.useDebugValue=function(){},xt.useDeferredValue=function(j,X){return I.H.useDeferredValue(j,X)},xt.useEffect=function(j,X){return I.H.useEffect(j,X)},xt.useEffectEvent=function(j){return I.H.useEffectEvent(j)},xt.useId=function(){return I.H.useId()},xt.useImperativeHandle=function(j,X,H){return I.H.useImperativeHandle(j,X,H)},xt.useInsertionEffect=function(j,X){return I.H.useInsertionEffect(j,X)},xt.useLayoutEffect=function(j,X){return I.H.useLayoutEffect(j,X)},xt.useMemo=function(j,X){return I.H.useMemo(j,X)},xt.useOptimistic=function(j,X){return I.H.useOptimistic(j,X)},xt.useReducer=function(j,X,H){return I.H.useReducer(j,X,H)},xt.useRef=function(j){return I.H.useRef(j)},xt.useState=function(j){return I.H.useState(j)},xt.useSyncExternalStore=function(j,X,H){return I.H.useSyncExternalStore(j,X,H)},xt.useTransition=function(){return I.H.useTransition()},xt.version="19.2.3",xt}var t9;function qw(){return t9||(t9=1,IE.exports=Iae()),IE.exports}var A=qw();const Pe=sp(A),O4=Tae({__proto__:null,default:Pe},[A]);function tV(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=tV(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function nV(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=tV(t))&&(r&&(r+=" "),r+=e);return r}const Dae=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r<t.length;r++)n[r]=t[r];for(let r=0;r<e.length;r++)n[t.length+r]=e[r];return n},Mae=(t,e)=>({classGroupId:t,validator:e}),rV=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),T1="-",n9=[],Lae="arbitrary..",Bae=t=>{const e=Fae(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Pae(a);const o=a.split(T1),l=o[0]===""&&o.length>1?1:0;return iV(o,l,e)},getConflictingClassGroupIds:(a,o)=>{if(o){const l=r[a],c=n[a];return l?c?Dae(c,l):l:c||n9}return n[a]||n9}}},iV=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const i=t[e],s=n.nextPart.get(i);if(s){const c=iV(t,e+1,s);if(c)return c}const a=n.validators;if(a===null)return;const o=e===0?t.join(T1):t.slice(e).join(T1),l=a.length;for(let c=0;c<l;c++){const d=a[c];if(d.validator(o))return d.classGroupId}},Pae=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?Lae+r:void 0})(),Fae=t=>{const{theme:e,classGroups:n}=t;return zae(n,e)},zae=(t,e)=>{const n=rV();for(const r in t){const i=t[r];I4(i,n,r,e)}return n},I4=(t,e,n,r)=>{const i=t.length;for(let s=0;s<i;s++){const a=t[s];Uae(a,e,n,r)}},Uae=(t,e,n,r)=>{if(typeof t=="string"){jae(t,e,n);return}if(typeof t=="function"){Hae(t,e,n,r);return}$ae(t,e,n,r)},jae=(t,e,n)=>{const r=t===""?e:sV(e,t);r.classGroupId=n},Hae=(t,e,n,r)=>{if(Vae(t)){I4(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(Mae(n,t))},$ae=(t,e,n,r)=>{const i=Object.entries(t),s=i.length;for(let a=0;a<s;a++){const[o,l]=i[a];I4(l,sV(e,o),n,r)}},sV=(t,e)=>{let n=t;const r=e.split(T1),i=r.length;for(let s=0;s<i;s++){const a=r[s];let o=n.nextPart.get(a);o||(o=rV(),n.nextPart.set(a,o)),n=o}return n},Vae=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Gae=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const i=(s,a)=>{n[s]=a,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(s){let a=n[s];if(a!==void 0)return a;
vendor: 6,027 bytes, line 2
2if((a=r[s])!==void 0)return i(s,a),a},set(s,a){s in n?n[s]=a:i(s,a)}}},fC="!",r9=":",qae=[],i9=(t,e,n,r,i)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Wae=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=i=>{const s=[];let a=0,o=0,l=0,c;const d=i.length;for(let y=0;y<d;y++){const w=i[y];if(a===0&&o===0){if(w===r9){s.push(i.slice(l,y)),l=y+1;continue}if(w==="/"){c=y;continue}}w==="["?a++:w==="]"?a--:w==="("?o++:w===")"&&o--}const f=s.length===0?i:i.slice(l);let p=f,g=!1;f.endsWith(fC)?(p=f.slice(0,-1),g=!0):f.startsWith(fC)&&(p=f.slice(1),g=!0);const b=c&&c>l?c-l:void 0;return i9(s,g,p,b)};if(e){const i=e+r9,s=r;r=a=>a.startsWith(i)?s(a.slice(i.length)):i9(qae,!1,a,void 0,!0)}if(n){const i=r;r=s=>n({className:s,parseClassName:i})}return r},Kae=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let i=[];for(let s=0;s<n.length;s++){const a=n[s],o=a[0]==="[",l=e.has(a);o||l?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(a)):i.push(a)}return i.length>0&&(i.sort(),r.push(...i)),r}},Yae=t=>({cache:Gae(t.cacheSize),parseClassName:Wae(t),sortModifiers:Kae(t),...Bae(t)}),Xae=/\s+/,Zae=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s}=e,a=[],o=t.trim().split(Xae);let l="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{isExternal:f,modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:y}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let w=!!y,S=r(w?b.substring(0,y):b);if(!S){if(!w){l=d+(l.length>0?" "+l:l);continue}if(S=r(b),!S){l=d+(l.length>0?" "+l:l);continue}w=!1}const _=p.length===0?"":p.length===1?p[0]:s(p).join(":"),E=g?_+fC:_,T=E+S;if(a.indexOf(T)>-1)continue;a.push(T);const R=i(S,w);for(let N=0;N<R.length;++N){const I=R[N];a.push(E+I)}l=d+(l.length>0?" "+l:l)}return l},Qae=(...t)=>{let e=0,n,r,i="";for(;e<t.length;)(n=t[e++])&&(r=aV(n))&&(i&&(i+=" "),i+=r);return i},aV=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=aV(t[r]))&&(n&&(n+=" "),n+=e);return n},Jae=(t,...e)=>{let n,r,i,s;const a=l=>{const c=e.reduce((d,f)=>f(d),t());return n=Yae(c),r=n.cache.get,i=n.cache.set,s=o,o(l)},o=l=>{const c=r(l);if(c)return c;const d=Zae(l,n);return i(l,d),d};return s=a,(...l)=>s(Qae(...l))},eoe=[],yr=t=>{const e=n=>n[t]||eoe;return e.isThemeGetter=!0,e},oV=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lV=/^\((?:(\w[\w-]*):)?(.+)\)$/i,toe=/^\d+\/\d+$/,noe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,roe=/\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$/,ioe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,soe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aoe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Uh=t=>toe.test(t),Mt=t=>!!t&&!Number.isNaN(Number(t)),_c=t=>!!t&&Number.isInteger(Number(t)),DE=t=>t.endsWith("%")&&Mt(t.slice(0,-1)),bl=t=>noe.test(t),ooe=()=>!0,loe=t=>roe.test(t)&&!ioe.test(t),cV=()=>!1,coe=t=>soe.test(t),uoe=t=>aoe.test(t),doe=t=>!lt(t)&&!ct(t),hoe=t=>ap(t,hV,cV),lt=t=>oV.test(t),Bu=t=>ap(t,fV,loe),ME=t=>ap(t,boe,Mt),s9=t=>ap(t,uV,cV),foe=t=>ap(t,dV,uoe),_y=t=>ap(t,pV,coe),ct=t=>lV.test(t),Tm=t=>op(t,fV),poe=t=>op(t,yoe),a9=t=>op(t,uV),moe=t=>op(t,hV),goe=t=>op(t,dV),xy=t=>op(t,pV,!0),ap=(t,e,n)=>{const r=oV.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},op=(t,e,n=!1)=>{const r=lV.exec(t);return r?r[1]?e(r[1]):n:!1},uV=t=>t==="position"||t==="percentage",dV=t=>t==="image"||t==="url",hV=t=>t==="length"||t==="size"||t==="bg-size",fV=t=>t==="length",boe=t=>t==="number",yoe=t=>t==="family-name",pV=t=>t==="shadow",voe=()=>{const t=yr("color"),e=yr("font"),n=yr("text"),r=yr("font-weight"),i=yr("tracking"),s=yr("leading"),a=yr("breakpoint"),o=yr("container"),l=yr("spacing"),c=yr("radius"),d=yr("shadow"),f=yr("inset-shadow"),p=yr("text-shadow"),g=yr("drop-shadow"),b=yr("blur"),y=yr("perspective"),w=yr("aspect"),S=yr("ease"),_=yr("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...T(),ct,lt],N=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],P=()=>[ct,lt,l],z=()=>[Uh,"full","auto",...P()],U=()=>[_c,"none","subgrid",ct,lt],Z=()=>["auto",{span:["full",_c,ct,lt]},_c,ct,lt],L=()=>[_c,"auto",ct,lt],$=()=>["auto","min","max","fr",ct,lt],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],G=()=>["auto",...P()],K=()=>[Uh,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],Y=()=>[t,ct,lt],te=()=>[...T(),a9,s9,{position:[ct,lt]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],j=()=>["auto","cover","contain",moe,hoe,{size:[ct,lt]}],X=()=>[DE,Tm,Bu],H=()=>["","none","full",c,ct,lt],ae=()=>["",Mt,Tm,Bu],le=()=>["solid","dashed","dotted","double"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[Mt,DE,a9,s9],ke=()=>["","none",b,ct,lt],Le=()=>["none",Mt,ct,lt],qe=()=>["none",Mt,ct,lt],Xe=()=>[Mt,ct,lt],ut=()=>[Uh,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[bl],breakpoint:[bl],color:[ooe],container:[bl],"drop-shadow":[bl],ease:["in","out","in-out"],font:[doe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[bl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[bl],shadow:[bl],spacing:["px",Mt],text:[bl],"text-shadow":[bl],tracking:["tighter","tight","normal","wide","wider","widest"]}
vendor: 12,921 bytes, line 2
2,classGroups:{aspect:[{aspect:["auto","square",Uh,lt,ct,w]}],container:["container"],columns:[{columns:[Mt,lt,ct,o]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"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:R()}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{start:z()}],end:[{end:z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[_c,"auto",ct,lt]}],basis:[{basis:[Uh,"full","auto",o,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Mt,Uh,"auto","initial","none",lt]}],grow:[{grow:["",Mt,ct,lt]}],shrink:[{shrink:["",Mt,ct,lt]}],order:[{order:[_c,"first","last","none",ct,lt]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:Z()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:Z()}],"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":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],w:[{w:[o,"screen",...K()]}],"min-w":[{"min-w":[o,"screen","none",...K()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[a]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",n,Tm,Bu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ct,ME]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",DE,lt]}],"font-family":[{font:[poe,lt,e]}],"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:[i,ct,lt]}],"line-clamp":[{"line-clamp":[Mt,"none",ct,ME]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",ct,lt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ct,lt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Mt,"from-font","auto",ct,Bu]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Mt,"auto",ct,lt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ct,lt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ct,lt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_c,ct,lt],radial:["",ct,lt],conic:[_c,ct,lt]},goe,foe]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ae()}],"border-w-x":[{"border-x":ae()}],"border-w-y":[{"border-y":ae()}],"border-w-s":[{"border-s":ae()}],"border-w-e":[{"border-e":ae()}],"border-w-t":[{"border-t":ae()}],"border-w-r":[{"border-r":ae()}],"border-w-b":[{"border-b":ae()}],"border-w-l":[{"border-l":ae()}],"divide-x":[{"divide-x":ae()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ae()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Mt,ct,lt]}],"outline-w":[{outline:["",Mt,Tm,Bu]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",d,xy,_y]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",f,xy,_y]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Mt,Bu]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":ae()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",p,xy,_y]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Mt,ct,lt]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ee()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Mt]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[ct,lt]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Mt]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ct,lt]}],filter:[{filter:["","none",ct,lt]}],blur:[{blur:ke()}],brightness:[{brightness:[Mt,ct,lt]}],contrast:[{contrast:[Mt,ct,lt]}],"drop-shadow":[{"drop-shadow":["","none",g,xy,_y]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Mt,ct,lt]}],"hue-rotate":[{"hue-rotate":[Mt,ct,lt]}],invert:[{invert:["",Mt,ct,lt]}],saturate:[{saturate:[Mt,ct,lt]}],sepia:[{sepia:["",Mt,ct,lt]}],"backdrop-filter":[{"backdrop-filter":["","none",ct,lt]}],"backdrop-blur":[{"backdrop-blur":ke()}],"backdrop-brightness":[{"backdrop-brightness":[Mt,ct,lt]}],"backdrop-contrast":[{"backdrop-contrast":[Mt,ct,lt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Mt,ct,lt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Mt,ct,lt]}],"backdrop-invert":[{"backdrop-invert":["",Mt,ct,lt]}],"backdrop-opacity":[{"backdrop-opacity":[Mt,ct,lt]}],"backdrop-saturate":[{"backdrop-saturate":[Mt,ct,lt]}],"backdrop-sepia":[{"backdrop-sepia":["",Mt,ct,lt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ct,lt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Mt,"initial",ct,lt]}],ease:[{ease:["linear","initial",S,ct,lt]}],delay:[{delay:[Mt,ct,lt]}],animate:[{animate:["none",_,ct,lt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,ct,lt]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:qe()}],"scale-x":[{"scale-x":qe()}],"scale-y":[{"scale-y":qe()}],"scale-z":[{"scale-z":qe()}],"scale-3d":["scale-3d"],skew:[{skew:Xe()}],"skew-x":[{"skew-x":Xe()}],"skew-y":[{"skew-y":Xe()}],transform:[{transform:[ct,lt,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ut()}],"translate-x":[{"translate-x":ut()}],"translate-y":[{"translate-y":ut()}],"translate-z":[{"translate-z":ut()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}
vendor: 4,619 bytes, line 2
2],"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",ct,lt]}],"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":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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",ct,lt]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Mt,Tm,Bu,ME]}],stroke:[{stroke:["none",...Y()]}],"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-x","border-w-y","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-x","border-color-y","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:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},woe=Jae(voe);function tt(...t){return woe(nV(t))}const lp=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("rounded-xl border bg-card text-card-foreground shadow",t),...e}));
2lp.displayName="Card";const D4=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("flex flex-col space-y-1.5 p-6",t),...e}));D4.displayName="CardHeader";const M4=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("font-semibold leading-none tracking-tight",t),...e}));M4.displayName="CardTitle";const mV=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("text-sm text-muted-foreground",t),...e}));mV.displayName="CardDescription";const p0=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("p-6 pt-0",t),...e}));p0.displayName="CardContent";const Soe=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("flex items-center p-6 pt-0",t),...e}));Soe.displayName="CardFooter";const o9=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,l9=nV,m0=(t,e)=>n=>{var r;if(e?.variants==null)return l9(t,n?.class,n?.className);const{variants:i,defaultVariants:s}=e,a=Object.keys(i).map(c=>{const d=n?.[c],f=s?.[c];if(d===null)return null;const p=o9(d)||o9(f);return i[c][p]}),o=n&&Object.entries(n).reduce((c,d)=>{let[f,p]=d;return p===void 0||(c[f]=p),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:f,className:p,...g}=d;return Object.entries(g).every(b=>{let[y,w]=b;return Array.isArray(w)?w.includes({...s,...o}[y]):{...s,...o}[y]===w})?[...c,f,p]:c},[]);return l9(t,a,l,n?.class,n?.className)},_oe=m0("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Uv({className:t,variant:e,...n}){return x.jsx("div",{className:tt(_oe({variant:e}),t),...n})}const xoe=()=>{const[t,e]=A.useState("ALL"),[n,r]=A.useState(1),i=8,s=[{category:"COMPANY",title:"The CoreThink AI Hackathon",subtitle:"CoreThink AI Hackathon Series is Live",date:"7.24.25",featured:!1},{category:"PRODUCT",title:"CTX",subtitle:"CoreThink's 1st Collaboration",date:"7.18.25",featured:!1},{category:"PRODUCT",title:"nexus + catalyst",subtitle:"CoreThink AI Launches NEXUS and CATALYST: The Fastest Way to Build...",date:"7.15.25",featured:!0},{category:"PRODUCT",title:"CTM2",subtitle:"Introducing CTM2: The Fastest On-Device Foundation Models o...",date:"7.10.25",featured:!1},{category:"COMPANY",title:"CoreThink at ICLR 2026",subtitle:"",date:"6.28.25",featured:!1},{category:"PRODUCT",title:"Introducing CTM7B: Setting New Standards for Efficient Language...",subtitle:"",date:"6.15.25",featured:!1},{category:"COMPANY",title:"We raised $250M to scale world and efficient general...",subtitle:"",date:"6.10.25",featured:!1},{category:"COMPANY",title:"CoreThink AI Product Launch Webcast",subtitle:"",date:"6.05.25",featured:!1},{category:"PRODUCT",title:"CoreThink Foundation Models: Our First Series of Generative AI...",subtitle:"",date:"5.28.25",featured:!1},{category:"COMPANY",title:"CoreThink at ICML 2024",subtitle:"",date:"5.20.25",featured:!1},{category:"COMPANY",title:"CoreThink at ICLR 2024",subtitle:"",date:"5.15.25",featured:!1},{category:"COMPANY",title:"Launch of Collaboration with CoreThink AI to Develop Edge AI...",subtitle:"",date:"5.10.25",featured:!1}],a=["ALL","PRODUCT","COMPANY"],o=s.filter(p=>t==="ALL"||p.category===t),l=Math.ceil(o.length/i),c=o.slice((n-1)*i,n*i),d=p=>{e(p),r(1)},f=p=>{r(p),window.scrollTo({top:100,behavior:"smooth"})};return x.jsxs("div",{className:"bg-white py-8 md:py-12 px-4 md:px-8 mt-20 md:mt-24 min-h-screen relative",children:[x.jsx("div",{className:"absolute top-[-80px] left-0 right-0 h-32 bg-gradient-to-b from-black to-transparent z-20 pointer-events-none"}),x.jsxs("div",{className:"max-w-7xl mx-auto",children:[x.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-8 md:mb-12 tracking-tight font-primary",children:"News"}),x.jsx("div",{className:"flex justify-start items-center mb-6 md:mb-8",children:x.jsx("div",{className:"flex gap-2 items-center",children:a.map(p=>x.jsx(Uv,{variant:t===p?"default":"outline",onClick:()=>d(p),className:`
3                                    text-xs font-medium uppercase tracking-wide px-4 py-2 h-8 rounded-[20px] cursor-pointer transition-all duration-200 font-primary
4                                    ${t===p?"bg-card text-white hover:bg-card shadow-sm":"bg-transparent text-muted-foreground border-border hover:bg-muted hover:border-border"}
5                                `,children:p},p))})}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6",children:c.map((p,g)=>x.jsxs(lp,{className:"h-full bg-white border border-border rounded-xl overflow-hidden cursor-pointer transition-all duration-300 hover:-translate-y-1 hover:shadow-lg hover:border-border",children:[x.jsxs("div",{className:"h-[140px] bg-muted flex items-center justify-center relative overflow-hidden",children:[p.title==="CTX"&&x.jsx("p",{className:"text-3xl font-bold text-foreground tracking-[2px] font-primary",children:"CTX"}),p.title==="nexus + catalyst"&&x.jsxs("div",{className:"text-center",children:[x.jsx("p",{className:"text-2xl font-bold text-foreground font-primary",children:"nexus"}),x.jsxs("div",{className:"flex items-center justify-center gap-2",children:[x.jsx("p",{className:"text-2xl font-bold text-foreground font-primary",children:"catalyst"}),x.jsx("span",{className:"text-xl text-[#999]",children:"+"})]})]}),p.title==="CTM2"&&x.jsx("p",{className:"text-3xl font-bold text-foreground font-primary",children:"CTM2"}),p.title==="CTC"&&x.jsx("p",{className:"text-3xl font-bold text-foreground font-primary",children:"CTC"}),!["CTX","nexus + catalyst","CTM2","CTC"].includes(p.title)&&x.jsx("div",{className:"w-full h-full bg-muted flex items-center justify-center",children:x.jsxs("p",{className:"text-sm text-[#999] text-center px-4 font-primary",children:[p.title.substring(0,20),"..."]})})]}),x.jsxs(p0,{className:"p-4 md:p-5 flex flex-col h-[120px]",children:[x.jsx("p",{className:"text-xs font-medium text-[#999] uppercase tracking-wide mb-2 font-primary",children:p.category}),x.jsx("p",{className:"text-sm font-semibold text-foreground leading-tight mb-auto line-clamp-2 font-primary",children:p.subtitle||p.title}),x.jsx("p",{className:"text-xs text-[#999] mt-2 font-primary",children:p.date})]})]},g))}),l>1&&x.jsx("div",{className:"flex justify-center mt-8 md:mt-12",children:x.jsx("div",{className:"flex gap-2",children:Array.from({length:l},(p,g)=>g+1).map(p=>x.jsx("button",{onClick:()=>f(p),className:`
6                                        px-4 py-2 rounded-lg border font-medium transition-colors font-primary
7                                        ${n===p?"bg-card text-white border-[#1a1a1a]":"bg-white text-muted-foreground border-border hover:bg-muted hover:border-border"}
8                                    `,children:p},p))})})]})]})};var c9="popstate";function Eoe(t={}){function e(r,i){let{pathname:s,search:a,hash:o}=r.location;return pC("",{pathname:s,search:a,hash:o},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:kg(i)}return Coe(e,n,null,t)}function On(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Us(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function koe(){return Math.random().toString(36).substring(2,10)}function u9(t,e){return{usr:t.state,key:t.key,idx:e}}function pC(t,e,n=null,r){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?cp(e):e,state:n,key:e&&e.key||r||koe()}}function kg({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function cp(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Coe(t,e,n,r={}){let{window:i=document.defaultView,v5Compat:s=!1}=r,a=i.history,o="POP",l=null,c=d();c==null&&(c=0,a.replaceState({...a.state,idx:c},""));function d(){return(a.state||{idx:null}).idx}function f(){o="POP";let w=d(),S=w==null?null:w-c;c=w,l&&l({action:o,location:y.location,delta:S})}function p(w,S){o="PUSH";let _=pC(y.location,w,S);c=d()+1;let E=u9(_,c),T=y.createHref(_);try{a.pushState(E,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(T)}s&&l&&l({action:o,location:y.location,delta:1})}function g(w,S){o="REPLACE";let _=pC(y.location,w,S);c=d();let E=u9(_,c),T=y.createHref(_);a.replaceState(E,"",T),s&&l&&l({action:o,location:y.location,delta:0})}function b(w){return Toe(w)}let y={get action(){return o},get location(){return t(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(c9,f),l=w,()=>{i.removeEventListener(c9,f),l=null}},createHref(w){return e(i,w)},createURL:b,encodeLocation(w){let S=b(w);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:p,replace:g,go(w){return a.go(w)}};return y}function Toe(t,e=!1){let n="http://localhost";
8typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),On(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:kg(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function gV(t,e,n="/"){return Aoe(t,e,n,!1)}function Aoe(t,e,n,r){let i=typeof e=="string"?cp(e):e,s=Ll(i.pathname||"/",n);if(s==null)return null;let a=bV(t);Roe(a);let o=null;for(let l=0;o==null&&l<a.length;++l){let c=Uoe(s);o=Foe(a[l],c,r)}return o}function bV(t,e=[],n=[],r="",i=!1){let s=(a,o,l=i,c)=>{let d={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(r)&&l)return;On(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length)}let f=Rl([r,d.relativePath]),p=n.concat(d);a.children&&a.children.length>0&&(On(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),bV(a.children,e,p,f,l)),!(a.path==null&&!a.index)&&e.push({path:f,score:Boe(f,a.index),routesMeta:p})};return t.forEach((a,o)=>{if(a.path===""||!a.path?.includes("?"))s(a,o);else for(let l of yV(a.path))s(a,o,!0,l)}),e}function yV(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let a=yV(r.join("/")),o=[];return o.push(...a.map(l=>l===""?s:[s,l].join("/"))),i&&o.push(...a),o.map(l=>t.startsWith("/")&&l===""?"/":l)}function Roe(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Poe(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Noe=/^:[\w-]+$/,Ooe=3,Ioe=2,Doe=1,Moe=10,Loe=-2,d9=t=>t==="*";function Boe(t,e){let n=t.split("/"),r=n.length;return n.some(d9)&&(r+=Loe),e&&(r+=Ioe),n.filter(i=>!d9(i)).reduce((i,s)=>i+(Noe.test(s)?Ooe:s===""?Doe:Moe),r)}function Poe(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function Foe(t,e,n=!1){let{routesMeta:r}=t,i={},s="/",a=[];for(let o=0;o<r.length;++o){let l=r[o],c=o===r.length-1,d=s==="/"?e:e.slice(s.length)||"/",f=A1({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),p=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=A1({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
8Object.assign(i,f.params),a.push({params:i,pathname:Rl([s,f.pathname]),pathnameBase:Voe(Rl([s,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(s=Rl([s,f.pathnameBase]))}return a}function A1(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=zoe(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let s=i[0],a=s.replace(/(.)\/+$/,"$1"),o=i.slice(1);return{params:r.reduce((c,{paramName:d,isOptional:f},p)=>{if(d==="*"){let b=o[p]||"";a=s.slice(0,s.length-b.length).replace(/(.)\/+$/,"$1")}const g=o[p];return f&&!g?c[d]=void 0:c[d]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:a,pattern:t}}function zoe(t,e=!1,n=!0){Us(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,o,l)=>(r.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function Uoe(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Us(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Ll(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}var vV=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,joe=t=>vV.test(t);function Hoe(t,e="/"){let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?cp(t):t,s;if(n)if(joe(n))s=n;else{if(n.includes("//")){let a=n;n=n.replace(/\/\/+/g,"/"),Us(!1,`Pathnames cannot have embedded double slashes - normalizing ${a} -> ${n}`)}n.startsWith("/")?s=h9(n.substring(1),"/"):s=h9(n,e)}else s=e;return{pathname:s,search:Goe(r),hash:qoe(i)}}function h9(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function LE(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` 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 $oe(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function L4(t){let e=$oe(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function B4(t,e,n,r=!1){let i;typeof t=="string"?i=cp(t):(i={...t},On(!i.pathname||!i.pathname.includes("?"),LE("?","pathname","search",i)),On(!i.pathname||!i.pathname.includes("#"),LE("#","pathname","hash",i)),On(!i.search||!i.search.includes("#"),LE("#","search","hash",i)));let s=t===""||i.pathname==="",a=s?"/":i.pathname,o;if(a==null)o=n;else{let f=e.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}o=f>=0?e[f]:"/"}let l=Hoe(i,o),c=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Rl=t=>t.join("/").replace(/\/\/+/g,"/"),Voe=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Goe=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qoe=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Woe=class{constructor(t,e,n,r=!1){this.status=t,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Koe(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Yoe(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var wV=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function SV(t,e){let n=t;
8if(typeof n!="string"||!vV.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(wV)try{let s=new URL(window.location.href),a=n.startsWith("//")?new URL(s.protocol+n):new URL(n),o=Ll(a.pathname,e);a.origin===s.origin&&o!=null?n=o+a.search+a.hash:i=!0}catch{Us(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _V=["POST","PUT","PATCH","DELETE"];new Set(_V);var Xoe=["GET",..._V];new Set(Xoe);var up=A.createContext(null);up.displayName="DataRouter";var Ww=A.createContext(null);Ww.displayName="DataRouterState";var Zoe=A.createContext(!1),xV=A.createContext({isTransitioning:!1});xV.displayName="ViewTransition";var Qoe=A.createContext(new Map);Qoe.displayName="Fetchers";var Joe=A.createContext(null);Joe.displayName="Await";var js=A.createContext(null);js.displayName="Navigation";var g0=A.createContext(null);g0.displayName="Location";var eo=A.createContext({outlet:null,matches:[],isDataRoute:!1});eo.displayName="Route";var P4=A.createContext(null);P4.displayName="RouteError";var EV="REACT_ROUTER_ERROR",ele="REDIRECT",tle="ROUTE_ERROR_RESPONSE";function nle(t){if(t.startsWith(`${EV}:${ele}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function rle(t){if(t.startsWith(`${EV}:${tle}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Woe(e.status,e.statusText,e.data)}catch{}}function ile(t,{relative:e}={}){On(dp(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=A.useContext(js),{hash:i,pathname:s,search:a}=y0(t,{relative:e}),o=s;return n!=="/"&&(o=s==="/"?n:Rl([n,s])),r.createHref({pathname:o,search:a,hash:i})}function dp(){return A.useContext(g0)!=null}function zi(){return On(dp(),"useLocation() may be used only in the context of a <Router> component."),A.useContext(g0).location}var kV="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function CV(t){A.useContext(js).static||A.useLayoutEffect(t)}function b0(){let{isDataRoute:t}=A.useContext(eo);return t?ble():sle()}function sle(){On(dp(),"useNavigate() may be used only in the context of a <Router> component.");let t=A.useContext(up),{basename:e,navigator:n}=A.useContext(js),{matches:r}=A.useContext(eo),{pathname:i}=zi(),s=JSON.stringify(L4(r)),a=A.useRef(!1);return CV(()=>{a.current=!0}),A.useCallback((l,c={})=>{if(Us(a.current,kV),!a.current)return;if(typeof l=="number"){n.go(l);return}let d=B4(l,JSON.parse(s),i,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Rl([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,s,i,t])}A.createContext(null);function TV(){let{matches:t}=A.useContext(eo),e=t[t.length-1];return e?e.params:{}}function y0(t,{relative:e}={}){let{matches:n}=A.useContext(eo),{pathname:r}=zi(),i=JSON.stringify(L4(n));return A.useMemo(()=>B4(t,JSON.parse(i),r,e==="path"),[t,i,r,e])}function ale(t,e){return AV(t,e)}function AV(t,e,n,r,i){On(dp(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=A.useContext(js),{matches:a}=A.useContext(eo),o=a[a.length-1],l=o?o.params:{},c=o?o.pathname:"/",d=o?o.pathnameBase:"/",f=o&&o.route;{let _=f&&f.path||"";NV(c,!f||_.endsWith("*")||_.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${_}">) 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.
9
10Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let p=zi(),g;if(e){let _=typeof e=="string"?cp(e):e;On(d==="/"||_.pathname?.startsWith(d),`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 "${d}" but pathname "${_.pathname}" was given in the \`location\` prop.`),g=_}else g=p;let b=g.pathname||"/",y=b;if(d!=="/"){let _=d.replace(/^\//,"").split("/");y="/"+b.replace(/^\//,"").split("/").slice(_.length).join("/")}let w=gV(t,{pathname:y});Us(f||w!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Us(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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 S=dle(w&&w.map(_=>Object.assign({},_,{params:Object.assign({},l,_.params),pathname:Rl([d,s.encodeLocation?s.encodeLocation(_.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?d:Rl([d,s.encodeLocation?s.encodeLocation(_.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),a,n,r,i);return e&&S?A.createElement(g0.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},S):S}function ole(){let t=gle(),e=Koe(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=A.createElement(A.Fragment,null,A.createElement("p",null,"💿 Hey developer 👋"),A.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",A.createElement("code",{style:s},"ErrorBoundary")," or"," ",A.createElement("code",{style:s},"errorElement")," prop on your route.")),A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application 
10Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},e),n?A.createElement("pre",{style:i},n):null,a)}var lle=A.createElement(ole,null),RV=class extends A.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const n=rle(t.digest);n&&(t=n)}let e=t!==void 0?A.createElement(eo.Provider,{value:this.props.routeContext},A.createElement(P4.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?A.createElement(cle,{error:t},e):e}};RV.contextType=Zoe;var BE=new WeakMap;function cle({children:t,error:e}){let{basename:n}=A.useContext(js);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=nle(e.digest);if(r){let i=BE.get(e);if(i)throw i;let s=SV(r.location,n);if(wV&&!BE.get(e))if(s.isExternal||r.reloadDocument)window.location.href=s.absoluteURL||s.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:r.replace}));throw BE.set(e,a),a}return A.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s.absoluteURL||s.to}`})}}return t}function ule({routeContext:t,match:e,children:n}){let r=A.useContext(up);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),A.createElement(eo.Provider,{value:t},n)}function dle(t,e=[],n=null,r=null,i=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let s=t,a=n?.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&a?.[f.route.id]!==void 0);On(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,d+1))}let o=!1,l=-1;if(n)for(let d=0;d<s.length;d++){let f=s[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(l=d),f.route.id){let{loaderData:p,errors:g}=n,b=f.route.loader&&!p.hasOwnProperty(f.route.id)&&(!g||g[f.route.id]===void 0);if(f.route.lazy||b){o=!0,l>=0?s=s.slice(0,l+1):s=[s[0]];break}}}let c=n&&r?(d,f)=>{r(d,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:Yoe(n.matches),errorInfo:f})}:void 0;return s.reduceRight((d,f,p)=>{let g,b=!1,y=null,w=null;n&&(g=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||lle,o&&(l<0&&p===0?(NV("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,w=null):l===p&&(b=!0,w=f.route.hydrateFallbackElement||null)));let S=e.concat(s.slice(0,p+1)),_=()=>{let E;return g?E=y:b?E=w:f.route.Component?E=A.createElement(f.route.Component,null):f.route.element?E=f.route.element:E=d,A.createElement(ule,{match:f,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:E})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?A.createElement(RV,{location:n.location,revalidation:n.revalidation,component:y,error:g,children:_(),routeContext:{outlet:null,matches:S,isDataRoute:!0},onError:c}):_()},null)}function F4(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function hle(t){let e=A.useContext(up);return On(e,F4(t)),e}function fle(t){let e=A.useContext(Ww);return On(e,F4(t)),e}function ple(t){let e=A.useContext(eo);return On(e,F4(t)),e}function z4(t){let e=ple(t),n=e.matches[e.matches.length-1];return On(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function mle(){return z4("useRouteId")}function gle(){let t=A.useContext(P4),e=fle("useRouteError"),n=z4("useRouteError");return t!==void 0?t:e.errors?.[n]}function ble(){let{router:t}=hle("useNavigate"),e=z4("useNavigate"),n=A.useRef(!1);return CV(()=>{n.current=!0}),A.useCallback(async(i,s={})=>
10{Us(n.current,kV),n.current&&(typeof i=="number"?await t.navigate(i):await t.navigate(i,{fromRouteId:e,...s}))},[t,e])}var f9={};function NV(t,e,n){!e&&!f9[t]&&(f9[t]=!0,Us(!1,n))}A.memo(yle);function yle({routes:t,future:e,state:n,onError:r}){return AV(t,void 0,n,r,e)}function OV({to:t,replace:e,state:n,relative:r}){On(dp(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=A.useContext(js);Us(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=A.useContext(eo),{pathname:a}=zi(),o=b0(),l=B4(t,L4(s),a,r==="path"),c=JSON.stringify(l);return A.useEffect(()=>{o(JSON.parse(c),{replace:e,state:n,relative:r})},[o,c,r,e,n]),null}function Sr(t){On(!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 vle({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:i,static:s=!1,unstable_useTransitions:a}){On(!dp(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let o=t.replace(/^\/*/,"/"),l=A.useMemo(()=>({basename:o,navigator:i,static:s,unstable_useTransitions:a,future:{}}),[o,i,s,a]);typeof n=="string"&&(n=cp(n));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:g="default"}=n,b=A.useMemo(()=>{let y=Ll(c,o);return y==null?null:{location:{pathname:y,search:d,hash:f,state:p,key:g},navigationType:r}},[o,c,d,f,p,g,r]);return Us(b!=null,`<Router basename="${o}"> is not able to match the URL "${c}${d}${f}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:A.createElement(js.Provider,{value:l},A.createElement(g0.Provider,{children:e,value:b}))}function wle({children:t,location:e}){return ale(mC(t),e)}function mC(t,e=[]){let n=[];return A.Children.forEach(t,(r,i)=>{if(!A.isValidElement(r))return;let s=[...e,i];if(r.type===A.Fragment){n.push.apply(n,mC(r.props.children,s));return}On(r.type===Sr,`[${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>`),On(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,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&&(a.children=mC(r.props.children,s)),n.push(a)}),n}var jv="get",Hv="application/x-www-form-urlencoded";function Kw(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function Sle(t){return Kw(t)&&t.tagName.toLowerCase()==="button"}function _le(t){return Kw(t)&&t.tagName.toLowerCase()==="form"}function xle(t){return Kw(t)&&t.tagName.toLowerCase()==="input"}function Ele(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function kle(t,e){return t.button===0&&(!e||e==="_self")&&!Ele(t)}function gC(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function Cle(t,e){let n=gC(t);return e&&e.forEach((r,i)=>{n.has(i)||e.getAll(i).forEach(s=>{n.append(i,s)})}),n}var Ey=null;function Tle(){if(Ey===null)try{new FormData(document.createElement("form"),0),Ey=!1}catch{Ey=!0}return Ey}var Ale=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function PE(t){return t!=null&&!Ale.has(t)?(Us(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Hv}"`),null):t}function Rle(t,e){let n,r,i,s,a;
10if(_le(t)){let o=t.getAttribute("action");r=o?Ll(o,e):null,n=t.getAttribute("method")||jv,i=PE(t.getAttribute("enctype"))||Hv,s=new FormData(t)}else if(Sle(t)||xle(t)&&(t.type==="submit"||t.type==="image")){let o=t.form;if(o==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=t.getAttribute("formaction")||o.getAttribute("action");if(r=l?Ll(l,e):null,n=t.getAttribute("formmethod")||o.getAttribute("method")||jv,i=PE(t.getAttribute("formenctype"))||PE(o.getAttribute("enctype"))||Hv,s=new FormData(o,t),!Tle()){let{name:c,type:d,value:f}=t;if(d==="image"){let p=c?`${c}.`:"";s.append(`${p}x`,"0"),s.append(`${p}y`,"0")}else c&&s.append(c,f)}}else{if(Kw(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=jv,r=null,i=Hv,a=t}return s&&i==="text/plain"&&(a=s,s=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:s,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function U4(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Nle(t,e,n){let r=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return r.pathname==="/"?r.pathname=`_root.${n}`:e&&Ll(r.pathname,e)==="/"?r.pathname=`${e.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function Ole(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ile(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function Dle(t,e,n){let r=await Promise.all(t.map(async i=>{let s=e.routes[i.route.id];if(s){let a=await Ole(s,n);return a.links?a.links():[]}return[]}));return Ple(r.flat(1).filter(Ile).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function p9(t,e,n,r,i,s){let a=(l,c)=>n[c]?l.route.id!==n[c].route.id:!0,o=(l,c)=>n[c].pathname!==l.pathname||n[c].route.path?.endsWith("*")&&n[c].params["*"]!==l.params["*"];return s==="assets"?e.filter((l,c)=>a(l,c)||o(l,c)):s==="data"?e.filter((l,c)=>{let d=r.routes[l.route.id];if(!d||!d.hasLoader)return!1;if(a(l,c)||o(l,c))return!0;if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function Mle(t,e,{includeHydrateFallback:n}={}){return Lle(t.map(r=>{let i=e.routes[r.route.id];if(!i)return[];let s=[i.module];return i.clientActionModule&&(s=s.concat(i.clientActionModule)),i.clientLoaderModule&&(s=s.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(s=s.concat(i.hydrateFallbackModule)),i.imports&&(s=s.concat(i.imports)),s}).flat(1))}function Lle(t){return[...new Set(t)]}function Ble(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function Ple(t,e){let n=new Set;return new Set(e),t.reduce((r,i)=>{let s=JSON.stringify(Ble(i));return n.has(s)||(n.add(s),r.push({key:s,link:i})),r},[])}function IV(){let t=A.useContext(up);return U4(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function Fle(){let t=A.useContext(Ww);return U4(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var j4=A.createContext(void 0);j4.displayName="FrameworkContext";function DV(){let t=A.useContext(j4);return U4(t,"You must render this element inside a <HydratedRouter> element"),t}function zle(t,e){let n=A.useContext(j4),[r,i]=A.useState(!1),[s,a]=A.useState(!1),{onFocus:o,onBlur:l,onMouseEnter:c,onMouseLeave:d,onTouchStart:f}=e,p=A.useRef(null);A.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let y=S=>
10{S.forEach(_=>{a(_.isIntersecting)})},w=new IntersectionObserver(y,{threshold:.5});return p.current&&w.observe(p.current),()=>{w.disconnect()}}},[t]),A.useEffect(()=>{if(r){let y=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(y)}}},[r]);let g=()=>{i(!0)},b=()=>{i(!1),a(!1)};return n?t!=="intent"?[s,p,{}]:[s,p,{onFocus:Am(o,g),onBlur:Am(l,b),onMouseEnter:Am(c,g),onMouseLeave:Am(d,b),onTouchStart:Am(f,g)}]:[!1,p,{}]}function Am(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function Ule({page:t,...e}){let{router:n}=IV(),r=A.useMemo(()=>gV(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?A.createElement(Hle,{page:t,matches:r,...e}):null}function jle(t){let{manifest:e,routeModules:n}=DV(),[r,i]=A.useState([]);return A.useEffect(()=>{let s=!1;return Dle(t,e,n).then(a=>{s||i(a)}),()=>{s=!0}},[t,e,n]),r}function Hle({page:t,matches:e,...n}){let r=zi(),{manifest:i,routeModules:s}=DV(),{basename:a}=IV(),{loaderData:o,matches:l}=Fle(),c=A.useMemo(()=>p9(t,e,l,i,r,"data"),[t,e,l,i,r]),d=A.useMemo(()=>p9(t,e,l,i,r,"assets"),[t,e,l,i,r]),f=A.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let b=new Set,y=!1;if(e.forEach(S=>{let _=i.routes[S.route.id];!_||!_.hasLoader||(!c.some(E=>E.route.id===S.route.id)&&S.route.id in o&&s[S.route.id]?.shouldRevalidate||_.hasClientLoader?y=!0:b.add(S.route.id))}),b.size===0)return[];let w=Nle(t,a,"data");return y&&b.size>0&&w.searchParams.set("_routes",e.filter(S=>b.has(S.route.id)).map(S=>S.route.id).join(",")),[w.pathname+w.search]},[a,o,r,i,c,e,t,s]),p=A.useMemo(()=>Mle(d,i),[d,i]),g=jle(d);return A.createElement(A.Fragment,null,f.map(b=>A.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...n})),p.map(b=>A.createElement("link",{key:b,rel:"modulepreload",href:b,...n})),g.map(({key:b,link:y})=>A.createElement("link",{key:b,nonce:n.nonce,...y})))}function $le(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var Vle=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Vle&&(window.__reactRouterVersion="7.11.0")}catch{}function Gle({basename:t,children:e,unstable_useTransitions:n,window:r}){let i=A.useRef();i.current==null&&(i.current=Eoe({window:r,v5Compat:!0}));let s=i.current,[a,o]=A.useState({action:s.action,location:s.location}),l=A.useCallback(c=>{n===!1?o(c):A.startTransition(()=>o(c))},[n]);return A.useLayoutEffect(()=>s.listen(l),[s,l]),A.createElement(vle,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:s,unstable_useTransitions:n})}var MV=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tn=A.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:i,reloadDocument:s,replace:a,state:o,target:l,to:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p,...g},b){let{basename:y,unstable_useTransitions:w}=A.useContext(js),S=typeof c=="string"&&MV.test(c),_=SV(c,y);c=_.to;let E=ile(c,{relative:i}),[T,R,N]=zle(r,g),I=Yle(c,{replace:a,state:o,target:l,preventScrollReset:d,relative:i,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:w});function P(U){e&&e(U),U.defaultPrevented||I(U)}let z=A.createElement("a",{...g,...N,href:_.absoluteURL||E,onClick:_.isExternal||s?e:P,ref:$le(b,R),target:l,"data-discover":!S&&n==="render"?"true":void 0});return T&&!S?A.createElement(A.Fragment,null,z,A.createElement(Ule,{page:E})):z});Tn.displayName="Link";var qle=A.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:i=!1,style:s,to:a,viewTransition:o,children:l,...c},d){let f=y0(a,{relative:c.relative}),p=zi(),g=A.useContext(Ww),{navigator:b,basename:y}=A.useContext(js),w=g!=null&&ece(f)&&o===!0,S=b.encodeLocation?b.encodeLocation(f).pathname:f.pathname,_=p.pathname,E=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;n||(_=_.toLowerCase(),E=E?E.toLowerCase():null,S=S.toLowerCase()),E&&y&&(E=Ll(E,y)||E);const T=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let R=_===S||!i&&_.startsWith(S)&&_.charAt(T)==="/",N=E!=null&&(E===S||!i&&E.startsWith(S)&&E.charAt(S.length)==="/"),I={isActive:R,isPending:N,isTransitioning:w},P=R?e:void 0,z;typeof r=="function"?z=r(I):z=[r,R?"active":null,N?"pending":null,w?"transitioning":null].filter(
10Boolean).join(" ");let U=typeof s=="function"?s(I):s;return A.createElement(Tn,{...c,"aria-current":P,className:z,ref:d,style:U,to:a,viewTransition:o},typeof l=="function"?l(I):l)});qle.displayName="NavLink";var Wle=A.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:i,state:s,method:a=jv,action:o,onSubmit:l,relative:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p,...g},b)=>{let{unstable_useTransitions:y}=A.useContext(js),w=Qle(),S=Jle(o,{relative:c}),_=a.toLowerCase()==="get"?"get":"post",E=typeof o=="string"&&MV.test(o),T=R=>{if(l&&l(R),R.defaultPrevented)return;R.preventDefault();let N=R.nativeEvent.submitter,I=N?.getAttribute("formmethod")||a,P=()=>w(N||R.currentTarget,{fetcherKey:e,method:I,navigate:n,replace:i,state:s,relative:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p});y&&n!==!1?A.startTransition(()=>P()):P()};return A.createElement("form",{ref:b,method:_,action:S,onSubmit:r?l:T,...g,"data-discover":!E&&t==="render"?"true":void 0})});Wle.displayName="Form";function Kle(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function LV(t){let e=A.useContext(up);return On(e,Kle(t)),e}function Yle(t,{target:e,replace:n,state:r,preventScrollReset:i,relative:s,viewTransition:a,unstable_defaultShouldRevalidate:o,unstable_useTransitions:l}={}){let c=b0(),d=zi(),f=y0(t,{relative:s});return A.useCallback(p=>{if(kle(p,e)){p.preventDefault();let g=n!==void 0?n:kg(d)===kg(f),b=()=>c(t,{replace:g,state:r,preventScrollReset:i,relative:s,viewTransition:a,unstable_defaultShouldRevalidate:o});l?A.startTransition(()=>b()):b()}},[d,c,f,n,r,e,t,i,s,a,o,l])}function x$e(t){Us(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let e=A.useRef(gC(t)),n=A.useRef(!1),r=zi(),i=A.useMemo(()=>Cle(r.search,n.current?null:e.current),[r.search]),s=b0(),a=A.useCallback((o,l)=>{const c=gC(typeof o=="function"?o(new URLSearchParams(i)):o);n.current=!0,s("?"+c,l)},[s,i]);return[i,a]}var Xle=0,Zle=()=>`__${String(++Xle)}__`;function Qle(){let{router:t}=LV("useSubmit"),{basename:e}=A.useContext(js),n=mle(),r=t.fetch,i=t.navigate;return A.useCallback(async(s,a={})=>{let{action:o,method:l,encType:c,formData:d,body:f}=Rle(s,e);if(a.navigate===!1){let p=a.fetcherKey||Zle();await r(p,n,a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:d,body:f,formMethod:a.method||l,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:d,body:f,formMethod:a.method||l,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,e,n])}function Jle(t,{relative:e}={}){let{basename:n}=A.useContext(js),r=A.useContext(eo);On(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),s={...y0(t||".",{relative:e})},a=zi();if(t==null){s.search=a.search;let o=new URLSearchParams(s.search),l=o.getAll("index");if(l.some(d=>d==="")){o.delete("index"),l.filter(f=>f).forEach(f=>o.append("index",f));let d=o.toString();s.search=d?`?${d}`:""}}return(!t||t===".")&&i.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Rl([n,s.pathname])),kg(s)}function ece(t,{relative:e}={}){let n=A.useContext(xV);On(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=LV("useViewTransitionState"),i=y0(t,{relative:e});if(!n.isTransitioning)return!1;let s=Ll(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Ll(n.nextLocation.pathname,r)||n.nextLocation.pathname;return A1(i.pathname,a)!=null||A1(i.pathname,s)!=null}var FE={exports:{}},si={};var m9;
vendor: 16,465 bytes, line 10
10function tce(){if(m9)return si;m9=1;var t=qw();function e(l){var c="https://react.dev/errors/"+l;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+c+" 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(e(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(l,c,d){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:f==null?null:""+f,children:l,containerInfo:c,implementation:d}}var a=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function o(l,c){if(l==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}return si.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,si.createPortal=function(l,c){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error(e(299));return s(l,c,null,d)},si.flushSync=function(l){var c=a.T,d=r.p;try{if(a.T=null,r.p=2,l)return l()}finally{a.T=c,r.p=d,r.d.f()}},si.preconnect=function(l,c){typeof l=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,r.d.C(l,c))},si.prefetchDNS=function(l){typeof l=="string"&&r.d.D(l)},si.preinit=function(l,c){if(typeof l=="string"&&c&&typeof c.as=="string"){var d=c.as,f=o(d,c.crossOrigin),p=typeof c.integrity=="string"?c.integrity:void 0,g=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;d==="style"?r.d.S(l,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:f,integrity:p,fetchPriority:g}):d==="script"&&r.d.X(l,{crossOrigin:f,integrity:p,fetchPriority:g,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},si.preinitModule=function(l,c){if(typeof l=="string")if(typeof c=="object"&&c!==null){if(c.as==null||c.as==="script"){var d=o(c.as,c.crossOrigin);r.d.M(l,{crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})}}else c==null&&r.d.M(l)},si.preload=function(l,c){if(typeof l=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var d=c.as,f=o(d,c.crossOrigin);r.d.L(l,d,{crossOrigin:f,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},si.preloadModule=function(l,c){if(typeof l=="string")if(c){var d=o(c.as,c.crossOrigin);r.d.m(l,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0})}else r.d.m(l)},si.requestFormReset=function(l){r.d.r(l)},si.unstable_batchedUpdates=function(l,c){return l(c)},si.useFormState=function(l,c,d){return a.H.useFormState(l,c,d)},si.useFormStatus=function(){return a.H.useHostTransitionStatus()},si.version="19.2.3",si}var g9;function BV(){if(g9)return FE.exports;g9=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),FE.exports=tce(),FE.exports}var v0=BV();const PV=sp(v0);var nce={outline:{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"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const FV=(t,e,n,r)=>{const i=A.forwardRef(({color:s="currentColor",size:a=24,stroke:o=2,title:l,className:c,children:d,...f},p)=>A.createElement("svg",{ref:p,...nce[t],width:a,height:a,className:["tabler-icon",`tabler-icon-${e}`,c].join(" "),strokeWidth:o,stroke:s,...f},[l&&A.createElement("title",{key:"svg-title"},l),...r.map(([g,b])=>A.createElement(g,b)),...Array.isArray(d)?d:[d]]));return i.displayName=`${n}`,i};const rce=[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]],ice=FV("outline","brand-github","BrandGithub",rce);const sce=[["path",{d:"M8 11v5",key:"svg-0"}],["path",{d:"M8 8v.01",key:"svg-1"}],["path",{d:"M12 16v-5",key:"svg-2"}],["path",{d:"M16 16v-3a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z",key:"svg-4"}]],ace=FV("outline","brand-linkedin","BrandLinkedin",sce),R1="/assets/corethink-Bh1OL6oM.svg",zV=A.forwardRef(({className:t,type:e,...n},r)=>x.jsx("input",{type:e,className:tt("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r,...n}));zV.displayName="Input";function b9(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function w0(...t){return e=>{let n=!1;const r=t.map(i=>{const s=b9(i,e);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():b9(t[i],null)}}}}function Yt(...t){return A.useCallback(w0(...t),t)}var oce=Symbol.for("react.lazy"),N1=O4[" use ".trim().toString()];function lce(t){return typeof t=="object"&&t!==null&&"then"in t}function UV(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===oce&&"_payload"in t&&lce(t._payload)}function jV(t){const e=uce(t),n=A.forwardRef((r,i)=>{let{children:s,...a}=r;UV(s)&&typeof N1=="function"&&(s=N1(s._payload));const o=A.Children.toArray(s),l=o.find(hce);if(l){const c=l.props.children,d=o.map(f=>f===l?A.Children.count(c)>1?A.Children.only(null):A.isValidElement(c)?c.props.children:null:f);return x.jsx(e,{...a,ref:i,children:A.isValidElement(c)?A.cloneElement(c,void 0,d):null})}return x.jsx(e,{...a,ref:i,children:s})});return n.displayName=`${t}.Slot`,n}var cce=jV("Slot");function uce(t){const e=A.forwardRef((n,r)=>{let{children:i,...s}=n;if(UV(i)&&typeof N1=="function"&&(i=N1(i._payload)),A.isValidElement(i)){const a=pce(i),o=fce(s,i.props);return i.type!==A.Fragment&&(o.ref=r?w0(r,a):a),A.cloneElement(i,o)}return A.Children.count(i)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var dce=Symbol("radix.slottable");function hce(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===dce}function fce(t,e){const n={...e};for(const r in e){const i=t[r],s=e[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...o)=>{const l=s(...o);return i(...o),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...t,...n}}function pce(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const mce=m0("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),oi=A.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...i},s)=>{const a=r?cce:"button";return x.jsx(a,{className:tt(mce({variant:e,size:n,className:t})),ref:s,...i})});oi.displayName="Button";const gce=({darkTheme:t=!0})=>x.jsxs("footer",{className:"relative pt-16 sm:pt-20 md:pt-24 pb-8 sm:pb-10 md:pb-12 overflow-hidden bg-background",children:[x.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-linear-to-r from-transparent via-white/20 to-transparent"}),x.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 md:px-8 relative z-10",children:[x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-8 sm:gap-12 lg:gap-16 xl:gap-20 mb-12 sm:mb-16",children:[x.jsxs("div",{className:"sm:col-span-2 lg:col-span-5 space-y-6 sm:space-y-8",children:[x.jsx(Tn,{to:"/",className:"inline-block",children:x.jsx("img",{src:R1,alt:"CoreThink",className:"h-16 sm:h-18 md:h-20 w-auto brightness-0 invert"})}),x.jsx("p",{className:"text-base sm:text-lg leading-relaxed max-w-md font-primary text-neutral-300",children:"Pioneering the next generation of AI reasoning. Building systems that think, plan, and explain."}),x.jsxs("div",{className:"flex gap-3 sm:gap-4 justify-center sm:justify-start",children:[x.jsx("a",{href:"https://www.linkedin.com/company/corethink-ai",target:"_blank",rel:"noopener noreferrer",className:"p-3 rounded-lg transition-all duration-200 bg-white/5 hover:bg-white/10 text-neutral-400 hover:text-white",children:x.jsx(ace,{className:"w-5 h-5"})}),x.jsx("a",{href:"https://github.com/CoreThink-AI",target:"_blank",rel:"noopener noreferrer",className:"p-3 rounded-lg transition-all duration-200 bg-white/5 hover:bg-white/10 text-neutral-400 hover:text-white",children:x.jsx(ice,{className:"w-5 h-5"})})]})]}),x.jsxs("div",{className:"sm:col-span-2 lg:col-span-4 flex flex-row gap-6 sm:gap-8",children:[x.jsxs("div",{className:"flex-1 space-y-6 sm:space-y-8",children:[x.jsx("h4",{className:"tracking-wide uppercase text-xs sm:text-sm font-secondary text-white font-bold",children:"Product"}),x.jsxs("ul",{className:"space-y-3 sm:space-y-4",children:[x.jsx("li",{children:x.jsx(Tn,{to:"/",state:{scrollTo:"Solution"},className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Features"})}),x.jsx("li",{children:x.jsx(Tn,{to:"/",state:{scrollTo:"Benchmarks"},className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Benchmarks"})}),x.jsx("li",{children:x.jsx(Tn,{to:"/",state:{scrollTo:"Partners"},className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Partners"})})]})]}),x.jsxs("div",{className:"flex-1 space-y-6 sm:space-y-8",children:[x.jsx("h4",{className:"tracking-wide uppercase text-xs sm:text-sm font-secondary text-white font-bold",children:"Company"}),x.jsxs("ul",{className:"space-y-3 sm:space-y-4",children:[x.jsx("li",{children:x.jsx(Tn,{to:"/contact",className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Contact"})}),x.jsx("li",{children:x.jsx(Tn,{to:"/terms",className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Terms of Service"})}),x.jsx("li",{children:x.jsx(Tn,{to:"/privacy",className:"text-sm transition-colors duration-200 font-primary text-neutral-400 hover:text-white",children:"Privacy Policy"})})]})]})]}),x.jsxs("div",{className:"sm:col-span-2 lg:col-span-3 space-y-6 sm:space-y-8",children:[x.jsx("h4",{className:"tracking-wide uppercase text-xs sm:text-sm font-secondary text-white font-bold",children:"Stay Updated"}),x.jsx("p",{className:"text-xs sm:text-sm font-primary text-neutral-300",children:"Get the latest updates on AI reasoning and our research."}),x.jsxs("form",{className:"space-y-3 sm:space-y-4",onSubmit:e=>e.preventDefault(),children:[x.jsx(zV,{type:"email",placeholder:"Enter your email",required:!0,className:"w-full transition-all duration-200 h-10 sm:h-12 bg-white/10 border-white/20 text-white placeholder:text-neutral-400 focus:border-blue-500/50 rounded-lg text-sm sm:text-base"}),x.jsx(oi,{type:"submit",className:"w-full font-medium h-10 sm:h-12 bg-white text-black hover:bg-neutral-200 rounded-lg text-sm sm:text-base",children:"Subscribe"})]})]})]}),x.jsx("div",{className:"shrink-0 h-px w-full my-6 sm:my-8 bg-white/10"}),x.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 sm:gap-6",children:x.jsxs("p",{className:"text-xs sm:text-sm font-primary text-neutral-300 text-center sm:text-left",children:["© ",new Date().getFullYear()," CoreThink AI. All rights reserved."]})})]})]});const bce=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yce=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),y9=t=>{const e=yce(t);return e.charAt(0).toUpperCase()+e.slice(1)},HV=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim(),vce=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var wce={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"};const Sce=A.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:a,...o},l)=>A.createElement("svg",{ref:l,...wce,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:HV("lucide",i),...!s&&!vce(o)&&{"aria-hidden":"true"},...o},[...a.map(([c,d])=>A.createElement(c,d)),...Array.isArray(s)?s:[s]]));const wi=(t,e)=>{const n=A.forwardRef(({className:r,...i},s)=>A.createElement(Sce,{ref:s,iconNode:e,className:HV(`lucide-${bce(y9(t))}`,`lucide-${t}`,r),...i}));return n.displayName=y9(t),n};const _ce=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],H4=wi("arrow-left",_ce);const xce=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],$4=wi("arrow-right",xce);const Ece=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],kce=wi("arrow-up-right",Ece);const Cce=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],V4=wi("check",Cce);const Tce=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],G4=wi("chevron-down",Tce);const Ace=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Rce=wi("chevron-right",Ace);const Nce=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Oce=wi("chevron-up",Nce);const Ice=[["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"}]],Dce=wi("circle-alert",Ice);const Mce=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Lce=wi("circle-check",Mce);const Bce=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Pce=wi("circle",Bce);const Fce=[["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"}]],zce=wi("copy",Fce);const Uce=[["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"}]],jce=wi("github",Uce);const Hce=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],q4=wi("loader-circle",Hce);const $ce=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Vce=wi("menu",$ce);const Gce=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
101.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],$V=wi("sparkles",Gce);const qce=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],W4=wi("x",qce);function Je(t,e,{checkForDefaultPrevented:n=!0}={}){return function(i){if(t?.(i),n===!1||!i.defaultPrevented)return e?.(i)}}function Wce(t,e){const n=A.createContext(e),r=s=>{const{children:a,...o}=s,l=A.useMemo(()=>o,Object.values(o));return x.jsx(n.Provider,{value:l,children:a})};r.displayName=t+"Provider";function i(s){const a=A.useContext(n);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${s}\` must be used within \`${t}\``)}return[r,i]}function $o(t,e=[]){let n=[];function r(s,a){const o=A.createContext(a),l=n.length;n=[...n,a];const c=f=>{const{scope:p,children:g,...b}=f,y=p?.[t]?.[l]||o,w=A.useMemo(()=>b,Object.values(b));return x.jsx(y.Provider,{value:w,children:g})};c.displayName=s+"Provider";function d(f,p){const g=p?.[t]?.[l]||o,b=A.useContext(g);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,d]}const i=()=>{const s=n.map(a=>A.createContext(a));return function(o){const l=o?.[t]||s;return A.useMemo(()=>({[`__scope${t}`]:{...o,[t]:l}}),[o,l])}};return i.scopeName=t,[r,Kce(i,...e)]}function Kce(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const a=r.reduce((o,{useScope:l,scopeName:c})=>{const f=l(s)[`__scope${c}`];return{...o,...f}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}var Tr=globalThis?.document?A.useLayoutEffect:()=>{},Yce=O4[" useId ".trim().toString()]||(()=>{}),Xce=0;function Va(t){const[e,n]=A.useState(Yce());return Tr(()=>{n(r=>r??String(Xce++))},[t]),e?`radix-${e}`:""}var Zce=O4[" useInsertionEffect ".trim().toString()]||Tr;function Kc({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[i,s,a]=Qce({defaultProp:e,onChange:n}),o=t!==void 0,l=o?t:i;{const d=A.useRef(t!==void 0);A.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=o},[o,r])}const c=A.useCallback(d=>{if(o){const f=Jce(d)?d(t):d;f!==t&&a.current?.(f)}else s(d)},[o,t,s,a]);return[l,c]}function Qce({defaultProp:t,onChange:e}){const[n,r]=A.useState(t),i=A.useRef(n),s=A.useRef(e);return Zce(()=>{s.current=e},[e]),A.useEffect(()=>{i.current!==n&&(s.current?.(n),i.current=n)},[n,i]),[n,r,s]}function Jce(t){return typeof t=="function"}function Ff(t){const e=eue(t),n=A.forwardRef((r,i)=>{const{children:s,...a}=r,o=A.Children.toArray(s),l=o.find(nue);if(l){const c=l.props.children,d=o.map(f=>f===l?A.Children.count(c)>1?A.Children.only(null):A.isValidElement(c)?c.props.children:null:f);return x.jsx(e,{...a,ref:i,children:A.isValidElement(c)?A.cloneElement(c,void 0,d):null})}return x.jsx(e,{...a,ref:i,children:s})});return n.displayName=`${t}.Slot`,n}function eue(t){const e=A.forwardRef((n,r)=>{const{children:i,...s}=n;if(A.isValidElement(i)){const a=iue(i),o=rue(s,i.props);return i.type!==A.Fragment&&(o.ref=r?w0(r,a):a),A.cloneElement(i,o)}return A.Children.count(i)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var VV=Symbol("radix.slottable");function tue(t){const e=({children:n})=>x.jsx(x.Fragment,{children:n});return e.displayName=`${t}.Slottable`,e.__radixId=VV,e}function nue(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===VV}function rue(t,e){const n={...e};for(const r in e){const i=t[r],s=e[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...o)=>{const l=s(...o);return i(...o),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}
vendor: 16,003 bytes, lines 10-25
10:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...t,...n}}function iue(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var sue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Et=sue.reduce((t,e)=>{const n=Ff(`Primitive.${e}`),r=A.forwardRef((i,s)=>{const{asChild:a,...o}=i,l=a?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(l,{...o,ref:s})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function GV(t,e){t&&v0.flushSync(()=>t.dispatchEvent(e))}function Ya(t){const e=A.useRef(t);return A.useEffect(()=>{e.current=t}),A.useMemo(()=>(...n)=>e.current?.(...n),[])}function aue(t,e=globalThis?.document){const n=Ya(t);A.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var oue="DismissableLayer",bC="dismissableLayer.update",lue="dismissableLayer.pointerDownOutside",cue="dismissableLayer.focusOutside",v9,qV=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S0=A.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:o,...l}=t,c=A.useContext(qV),[d,f]=A.useState(null),p=d?.ownerDocument??globalThis?.document,[,g]=A.useState({}),b=Yt(e,I=>f(I)),y=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),S=y.indexOf(w),_=d?y.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,T=_>=S,R=hue(I=>{const P=I.target,z=[...c.branches].some(U=>U.contains(P));!T||z||(i?.(I),a?.(I),I.defaultPrevented||o?.())},p),N=fue(I=>{const P=I.target;[...c.branches].some(U=>U.contains(P))||(s?.(I),a?.(I),I.defaultPrevented||o?.())},p);return aue(I=>{_===c.layers.size-1&&(r?.(I),!I.defaultPrevented&&o&&(I.preventDefault(),o()))},p),A.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(v9=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),w9(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=v9)}},[d,p,n,c]),A.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),w9())},[d,c]),A.useEffect(()=>{const I=()=>g({});return document.addEventListener(bC,I),()=>document.removeEventListener(bC,I)},[]),x.jsx(Et.div,{...l,ref:b,style:{pointerEvents:E?T?"auto":"none":void 0,...t.style},onFocusCapture:Je(t.onFocusCapture,N.onFocusCapture),onBlurCapture:Je(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Je(t.onPointerDownCapture,R.onPointerDownCapture)})});S0.displayName=oue;var uue="DismissableLayerBranch",due=A.forwardRef((t,e)=>{const n=A.useContext(qV),r=A.useRef(null),i=Yt(e,r);return A.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),x.jsx(Et.div,{...t,ref:i})});due.displayName=uue;function hue(t,e=globalThis?.document){const n=Ya(t),r=A.useRef(!1),i=A.useRef(()=>{});return A.useEffect(()=>{const s=o=>{if(o.target&&!r.current){let l=function(){WV(lue,n,c,{discrete:!0})};const c={originalEvent:o};o.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=l,e.addEventListener("click",i.current,{once:!0})):l()}else e.removeEventListener("click",i.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",s),e.removeEventListener("click",i.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function fue(t,e=globalThis?.document){const n=Ya(t),r=A.useRef(!1);return A.useEffect(()=>{const i=s=>{s.target&&!r.current&&WV(cue,n,{originalEvent:s},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function w9(){const t=new CustomEvent(bC);document.dispatchEvent(t)}function WV(t,e,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&i.addEventListener(t,e,{once:!0}),r?GV(i,s):i.dispatchEvent(s)}var zE="focusScope.autoFocusOnMount",UE="focusScope.autoFocusOnUnmount",S9={bubbles:!1,cancelable:!0},pue="FocusScope",Yw=A.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=t,[o,l]=A.useState(null),c=Ya(i),d=Ya(s),f=A.useRef(null),p=Yt(e,y=>l(y)),g=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(r){let y=function(E){if(g.paused||!o)return;const T=E.target;o.contains(T)?f.current=T:Rc(f.current,{select:!0})},w=function(E){if(g.paused||!o)return;const T=E.relatedTarget;T!==null&&(o.contains(T)||Rc(f.current,{select:!0}))},S=function(E){if(document.activeElement===document.body)for(const R of E)R.removedNodes.length>0&&Rc(o)};document.addEventListener("focusin",y),document.addEventListener("focusout",w);const _=new MutationObserver(S);return o&&_.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",w),_.disconnect()}}},[r,o,g.paused]),A.useEffect(()=>{if(o){x9.add(g);const y=document.activeElement;if(!o.contains(y)){const S=new CustomEvent(zE,S9);o.addEventListener(zE,c),o.dispatchEvent(S),S.defaultPrevented||(mue(wue(KV(o)),{select:!0}),document.activeElement===y&&Rc(o))}return()=>{o.removeEventListener(zE,c),setTimeout(()=>{const S=new CustomEvent(UE,S9);o.addEventListener(UE,d),o.dispatchEvent(S),S.defaultPrevented||Rc(y??document.body,{select:!0}),o.removeEventListener(UE,d),x9.remove(g)},0)}}},[o,c,d,g]);const b=A.useCallback(y=>{if(!n&&!r||g.paused)return;const w=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,S=document.activeElement;if(w&&S){const _=y.currentTarget,[E,T]=gue(_);E&&T?!y.shiftKey&&S===T?(y.preventDefault(),n&&Rc(E,{select:!0})):y.shiftKey&&S===E&&(y.preventDefault(),n&&Rc(T,{select:!0})):S===_&&y.preventDefault()}},[n,r,g.paused]);return x.jsx(Et.div,{tabIndex:-1,...a,ref:p,onKeyDown:b})});Yw.displayName=pue;function mue(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Rc(r,{select:e}),document.activeElement!==n)return}function gue(t){const e=KV(t),n=_9(e,t),r=_9(e.reverse(),t);return[n,r]}function KV(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function _9(t,e){for(const n of t)if(!bue(n,{upTo:e}))return n}function bue(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function yue(t){return t instanceof HTMLInputElement&&"select"in t}function Rc(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&yue(t)&&e&&t.select()}}var x9=vue();function vue(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=E9(t,e),t.unshift(e)},remove(e){t=E9(t,e),t[0]?.resume()}}}function E9(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function wue(t){return t.filter(e=>e.tagName!=="A")}var Sue="Portal",_0=A.forwardRef((t,e)=>{const{container:n,...r}=t,[i,s]=A.useState(!1);Tr(()=>s(!0),[]);const a=n||i&&globalThis?.document?.body;return a?PV.createPortal(x.jsx(Et.div,{...r,ref:e}),a):null});_0.displayName=Sue;function _ue(t,e){return A.useReducer((n,r)=>e[n][r]??n,t)}var to=t=>{const{present:e,children:n}=t,r=xue(e),i=typeof n=="function"?n({present:r.isPresent}):A.Children.only(n),s=Yt(r.ref,Eue(i));return typeof n=="function"||r.isPresent?A.cloneElement(i,{ref:s}):null};to.displayName="Presence";function xue(t){const[e,n]=A.useState(),r=A.useRef(null),i=A.useRef(t),s=A.useRef("none"),a=t?"mounted":"unmounted",[o,l]=_ue(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const c=ky(r.current);s.current=o==="mounted"?c:"none"},[o]),Tr(()=>{const c=r.current,d=i.current;if(d!==t){const p=s.current,g=ky(c);t?l("MOUNT"):g==="none"||c?.display==="none"?l("UNMOUNT"):l(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,l]),Tr(()=>{if(e){let c;const d=e.ownerDocument.defaultView??window,f=g=>{const y=ky(r.current).includes(CSS.escape(g.animationName));if(g.target===e&&y&&(l("ANIMATION_END"),!i.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",c=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},p=g=>{g.target===e&&(s.current=ky(r.current))};return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(c),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:A.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function ky(t){return t?.animationName||"none"}function Eue(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var jE=0;function K4(){A.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??k9()),document.body.insertAdjacentElement("beforeend",t[1]??k9()),jE++,()=>{jE===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),jE--}},[])}function k9(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var ko=function(){return ko=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},ko.apply(this,arguments)};function YV(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function kue(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}var $v="right-scroll-bar-position",Vv="width-before-scroll-bar",Cue="with-scroll-bars-hidden",Tue="--removed-body-scroll-bar-size";function HE(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Aue(t,e){var n=A.useState(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=e,n.facade}var Rue=typeof window<"u"?A.useLayoutEffect:A.useEffect,C9=new WeakMap;function Nue(t,e){var n=Aue(null,function(r){return t.forEach(function(i){return HE(i,r)})});return Rue(function(){var r=C9.get(n);if(r){var i=new Set(r),s=new Set(t),a=n.current;i.forEach(function(o){s.has(o)||HE(o,null)}),s.forEach(function(o){i.has(o)||HE(o,a)})}C9.set(n,t)},[t]),n}function Oue(t){return t}function Iue(t,e){e===void 0&&(e=Oue);var n=[],r=!1,i={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]:t},useMedium:function(s){var a=e(s,r);return n.push(a),function(){n=n.filter(function(o){return o!==a})}},assignSyncMedium:function(s){for(r=!0;n.length;){var a=n;n=[],a.forEach(s)}n={push:function(o){return s(o)},filter:function(){return n}}},assignMedium:function(s){r=!0;var a=[];if(n.length){var o=n;n=[],o.forEach(s),a=n}var l=function(){var d=a;a=[],d.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(d){a.push(d),c()},filter:function(d){return a=a.filter(d),n}}}};return i}function Due(t){t===void 0&&(t={});var e=Iue(null);return e.options=ko({async:!0,ssr:!1},t),e}var XV=function(t){var e=t.sideCar,n=YV(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return A.createElement(r,ko({},n))};XV.isSideCarExport=!0;function Mue(t,e){return t.useMedium(e),XV}var ZV=Due(),$E=function(){},Xw=A.forwardRef(function(t,e){var n=A.useRef(null),r=A.useState({onScrollCapture:$E,onWheelCapture:$E,onTouchMoveCapture:$E}),i=r[0],s=r[1],a=t.forwardProps,o=t.children,l=t.className,c=t.removeScrollBar,d=t.enabled,f=t.shards,p=t.sideCar,g=t.noRelative,b=t.noIsolation,y=t.inert,w=t.allowPinchZoom,S=t.as,_=S===void 0?"div":S,E=t.gapMode,T=YV(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=p,N=Nue([n,e]),I=ko(ko({},T),i);return A.createElement(A.Fragment,null,d&&A.createElement(R,{sideCar:ZV,removeScrollBar:c,shards:f,noRelative:g,noIsolation:b,inert:y,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:E}),a?A.cloneElement(A.Children.only(o),ko(ko({},I),{ref:N})):A.createElement(_,ko({},I,{className:l,ref:N}),o))});Xw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Xw.classNames={fullWidth:Vv,zeroRight:$v};var Lue=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Bue(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Lue();return e&&t.setAttribute("nonce",e),t}function Pue(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Fue(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var zue=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Bue())&&(Pue(e,n),Fue(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Uue=function(){var t=zue();return function(e,n){A.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},QV=function(){var t=Uue(),e=function(n){var r=n.styles,i=n.dynamic;return t(r,i),null};return e},jue={left:0,top:0,right:0,gap:0},VE=function(t){return parseInt(t||"",10)||0},Hue=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[VE(n),VE(r),VE(i)]},$ue=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return jue;var e=Hue(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},Vue=QV(),Sf="data-scroll-locked",Gue=function(t,e,n,r){var i=t.left,s=t.top,a=t.right,o=t.gap;return n===void 0&&(n="margin"),`
11  .`.concat(Cue,` {
12   overflow: hidden `).concat(r,`;
13   padding-right: `).concat(o,"px ").concat(r,`;
14  }
15  body[`).concat(Sf,`] {
16    overflow: hidden `).concat(r,`;
17    overscroll-behavior: contain;
18    `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
19    padding-left: `.concat(i,`px;
20    padding-top: `).concat(s,`px;
21    padding-right: `).concat(a,`px;
22    margin-left:0;
23    margin-top:0;
24    margin-right: `).concat(o,"px ").concat(r,`;
25    `),n==="padding"&&"padding-right: ".concat(o,"px ").concat(r,";
25")].filter(Boolean).join(""),`
26  }
27  
28  .`).concat($v,` {
29    right: `).concat(o,"px ").concat(r,`;
30  }
31  
32  .`).concat(Vv,` {
33    margin-right: `).concat(o,"px ").concat(r,`;
34  }
35  
36  .`).concat($v," .").concat($v,` {
37    right: 0 `).concat(r,`;
38  }
39  
40  .`).concat(Vv," .").concat(Vv,` {
41    margin-right: 0 `).concat(r,`;
42  }
43  
44  body[`).concat(Sf,`] {
45    `).concat(Tue,": ").concat(o,`px;
46  }
47`)},T9=function(){var t=parseInt(document.body.getAttribute(Sf)||"0",10);return isFinite(t)?t:0},que=function(){A.useEffect(function(){return document.body.setAttribute(Sf,(T9()+1).toString()),function(){var t=T9()-1;t<=0?document.body.removeAttribute(Sf):document.body.setAttribute(Sf,t.toString())}},[])},Wue=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,i=r===void 0?"margin":r;que();var s=A.useMemo(function(){return $ue(i)},[i]);return A.createElement(Vue,{styles:Gue(s,!e,i,n?"":"!important")})},yC=!1;if(typeof window<"u")try{var Cy=Object.defineProperty({},"passive",{get:function(){return yC=!0,!0}});window.addEventListener("test",Cy,Cy),window.removeEventListener("test",Cy,Cy)}catch{yC=!1}var jh=yC?{passive:!1}:!1,Kue=function(t){return t.tagName==="TEXTAREA"},JV=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!Kue(t)&&n[e]==="visible")},Yue=function(t){return JV(t,"overflowY")},Xue=function(t){return JV(t,"overflowX")},A9=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=eG(t,r);if(i){var s=tG(t,r),a=s[1],o=s[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Zue=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Que=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},eG=function(t,e){return t==="v"?Yue(e):Xue(e)},tG=function(t,e){return t==="v"?Zue(e):Que(e)},Jue=function(t,e){return t==="h"&&e==="rtl"?-1:1},ede=function(t,e,n,r,i){var s=Jue(t,window.getComputedStyle(e).direction),a=s*r,o=n.target,l=e.contains(o),c=!1,d=a>0,f=0,p=0;do{if(!o)break;var g=tG(t,o),b=g[0],y=g[1],w=g[2],S=y-w-s*b;(b||S)&&eG(t,o)&&(f+=S,p+=b);var _=o.parentNode;o=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!l&&o!==document.body||l&&(e.contains(o)||e===o));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(c=!0),c},Ty=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},R9=function(t){return[t.deltaX,t.deltaY]},N9=function(t){return t&&"current"in t?t.current:t},tde=function(t,e){return t[0]===e[0]&&t[1]===e[1]},nde=function(t){return`
48  .block-interactivity-`.concat(t,` {pointer-events: none;}
49  .allow-interactivity-`).concat(t,` {pointer-events: all;}
50`)},rde=0,Hh=[];function ide(t){var e=A.useRef([]),n=A.useRef([0,0]),r=A.useRef(),i=A.useState(rde++)[0],s=A.useState(QV)[0],a=A.useRef(t);A.useEffect(function(){a.current=t},[t]),A.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var y=kue([t.lockRef.current],(t.shards||[]).map(N9),!0).filter(Boolean);return y.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var o=A.useCallback(function(y,w){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!a.current.allowPinchZoom;var S=Ty(y),_=n.current,E="deltaX"in y?y.deltaX:_[0]-S[0],T="deltaY"in y?y.deltaY:_[1]-S[1],R,N=y.target,I=Math.abs(E)>Math.abs(T)?"h":"v";if("touches"in y&&I==="h"&&N.type==="range")return!1;var P=window.getSelection(),z=P&&P.anchorNode,U=z?z===N||z.contains(N):!1;if(U)return!1;var Z=A9(I,N);if(!Z)return!0;if(Z?R=I:(R=I==="v"?"h":"v",Z=A9(I,N)),!Z)return!1;if(!r.current&&"changedTouches"in y&&(E||T)&&(r.current=R),!R)return!0;var L=r.current||R;return ede(L,w,y,L==="h"?E:T)},[]),l=A.useCallback(function(y){var w=y;if(!(!Hh.length||Hh[Hh.length-1]!==s)){var S="deltaY"in w?R9(w):Ty(w),_=e.current.filter(function(R){return R.name===w.t
vendor: 6,400 bytes, line 50
50ype&&(R.target===w.target||w.target===R.shadowParent)&&tde(R.delta,S)})[0];if(_&&_.should){w.cancelable&&w.preventDefault();return}if(!_){var E=(a.current.shards||[]).map(N9).filter(Boolean).filter(function(R){return R.contains(w.target)}),T=E.length>0?o(w,E[0]):!a.current.noIsolation;T&&w.cancelable&&w.preventDefault()}}},[]),c=A.useCallback(function(y,w,S,_){var E={name:y,delta:w,target:S,should:_,shadowParent:sde(S)};e.current.push(E),setTimeout(function(){e.current=e.current.filter(function(T){return T!==E})},1)},[]),d=A.useCallback(function(y){n.current=Ty(y),r.current=void 0},[]),f=A.useCallback(function(y){c(y.type,R9(y),y.target,o(y,t.lockRef.current))},[]),p=A.useCallback(function(y){c(y.type,Ty(y),y.target,o(y,t.lockRef.current))},[]);A.useEffect(function(){return Hh.push(s),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,jh),document.addEventListener("touchmove",l,jh),document.addEventListener("touchstart",d,jh),function(){Hh=Hh.filter(function(y){return y!==s}),document.removeEventListener("wheel",l,jh),document.removeEventListener("touchmove",l,jh),document.removeEventListener("touchstart",d,jh)}},[]);var g=t.removeScrollBar,b=t.inert;return A.createElement(A.Fragment,null,b?A.createElement(s,{styles:nde(i)}):null,g?A.createElement(Wue,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function sde(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const ade=Mue(ZV,ide);var Zw=A.forwardRef(function(t,e){return A.createElement(Xw,ko({},t,{ref:e,sideCar:ade}))});Zw.classNames=Xw.classNames;var ode=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},$h=new WeakMap,Ay=new WeakMap,Ry={},GE=0,nG=function(t){return t&&(t.host||nG(t.parentNode))},lde=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=nG(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},cde=function(t,e,n,r){var i=lde(e,Array.isArray(t)?t:[t]);Ry[n]||(Ry[n]=new WeakMap);var s=Ry[n],a=[],o=new Set,l=new Set(i),c=function(f){!f||o.has(f)||(o.add(f),c(f.parentNode))};i.forEach(c);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(o.has(p))d(p);else try{var g=p.getAttribute(r),b=g!==null&&g!=="false",y=($h.get(p)||0)+1,w=(s.get(p)||0)+1;$h.set(p,y),s.set(p,w),a.push(p),y===1&&b&&Ay.set(p,!0),w===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(S){console.error("aria-hidden: cannot operate on ",p,S)}})};return d(e),o.clear(),GE++,function(){a.forEach(function(f){var p=$h.get(f)-1,g=s.get(f)-1;$h.set(f,p),s.set(f,g),p||(Ay.has(f)||f.removeAttribute(r),Ay.delete(f)),g||f.removeAttribute(n)}),GE--,GE||($h=new WeakMap,$h=new WeakMap,Ay=new WeakMap,Ry={})}},Y4=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),i=ode(t);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),cde(r,i,n,"aria-hidden")):function(){return null}},Qw="Dialog",[rG]=$o(Qw),[ude,no]=rG(Qw),iG=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:a=!0}=t,o=A.useRef(null),l=A.useRef(null),[c,d]=Kc({prop:r,defaultProp:i??!1,onChange:s,caller:Qw});return x.jsx(ude,{scope:e,triggerRef:o,contentRef:l,contentId:Va(),titleId:Va(),descriptionId:Va(),open:c,onOpenChange:d,onOpenToggle:A.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};iG.displayName=Qw;var sG="DialogTrigger",aG=A.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=no(sG,n),s=Yt(e,i.triggerRef);return x.jsx(Et.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Q4(i.open),...r,ref:s,onClick:Je(t.onClick,i.onOpenToggle)})});aG.displayName=sG;var X4="DialogPortal",[dde,oG]=rG(X4,{forceMount:void 0}),lG=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:i}=t,s=no(X4,e);return x.jsx(dde,{scope:e,forceMount:n,children:A.Children.map(r,a=>x.jsx(to,{present:n||s.open,children:x.jsx(_0,{asChild:!0,container:i,children:a})}))})};lG.displayName=X4;var O1="DialogOverlay",cG=A.forwardRef((t,e)=>{const n=oG(O1,t.__scopeDialog),{forceMount:r=n.forceMount,...i}=t,s=no(O1,t.__scopeDialog);return s.modal?x.jsx(to,{present:r||s.open,children:x.jsx(fde,{...i,ref:e})}):null});cG.displayName=O1;var hde=Ff("DialogOverlay.RemoveScroll"),fde=A.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=no(O1,n);return x.jsx(Zw,{as:hde,allowPinchZoom:!0,shards:[i.contentRef],children:x.jsx(Et.div,{"data-state":Q4(i.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),_d="DialogContent",uG=A.forwardRef((t,e)=>{const n=oG(_d,t.__scopeDialog),{forceMount:r=n.forceMount,...i}=t,s=no(_d,t.__scopeDialog);return x.jsx(to,{present:r||s.open,children:s.modal?x.jsx(pde,{...i,ref:e}):x.jsx(mde,{...i,ref:e})})});uG.displayName=_d;var pde=A.forwardRef((t,e)=>{const n=no(_d,t.__scopeDialog),r=A.useRef(null),i=Yt(e,n.contentRef,r);return A.useEffect(()=>{const s=r.current;if(s)return Y4(s)},[]),x.jsx(dG,{...t,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(t.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Je(t.onPointerDownOutside,s=>{const a=s.detail.originalEvent,o=a.button===0&&a.ctrlKey===!0;(a.button===2||o)&&s.preventDefault()}),onFocusOutside:Je(t.onFocusOutside,s=>s.preventDefault())})}),mde=A.forwardRef((t,e)=>{const n=no(_d,t.__scopeDialog),r=A.useRef(!1),i=A.useRef(!1);return x.jsx(dG,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const a=s.target;n.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),dG=A.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=t,o=no(_d,n),l=A.useRef(null),c=Yt(e,l);return K4(),x.jsxs(x.Fragment,{children:[x.jsx(Yw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:x.jsx(S0,{role:"dialog",id:o.c
50ontentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":Q4(o.open),...a,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),x.jsxs(x.Fragment,{children:[x.jsx(gde,{titleId:o.titleId}),x.jsx(yde,{contentRef:l,descriptionId:o.descriptionId})]})]})}),Z4="DialogTitle",hG=A.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=no(Z4,n);return x.jsx(Et.h2,{id:i.titleId,...r,ref:e})});hG.displayName=Z4;var fG="DialogDescription",pG=A.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=no(fG,n);return x.jsx(Et.p,{id:i.descriptionId,...r,ref:e})});pG.displayName=fG;var mG="DialogClose",gG=A.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=no(mG,n);return x.jsx(Et.button,{type:"button",...r,ref:e,onClick:Je(t.onClick,()=>i.onOpenChange(!1))})});gG.displayName=mG;function Q4(t){return t?"open":"closed"}var bG="DialogTitleWarning",[E$e,yG]=Wce(bG,{contentName:_d,titleName:Z4,docsSlug:"dialog"}),gde=({titleId:t})=>{const e=yG(bG),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
51
52If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
53
54For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return A.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},bde="DialogDescriptionWarning",yde=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${yG(bde).contentName}}.`;return A.useEffect(()=>{const i=t.current?.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},vG=iG,vde=aG,wG=lG,Jw=cG,eS=uG,tS=hG,nS=pG,SG=gG;const wde=vG,Sde=vde,_de=wG,_G=A.forwardRef(({className:t,...e},n)=>x.jsx(Jw,{className:tt("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:n}));_G.displayName=Jw.displayName;const xde=m0("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),xG=A.forwardRef(({side:t="right",className:e,children:n,...r},i)=>x.jsxs(_de,{children:[x.jsx(_G,{}),x.jsxs(eS,{ref:i,className:tt(xde({side:t}),e),...r,children:[x.jsxs(SG,{className:"absolute right-4 top-4 roun
54ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[x.jsx(W4,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));xG.displayName=eS.displayName;const Ede=({className:t,...e})=>x.jsx("div",{className:tt("flex flex-col space-y-2 text-center sm:text-left",t),...e});Ede.displayName="SheetHeader";const kde=({className:t,...e})=>x.jsx("div",{className:tt("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});kde.displayName="SheetFooter";const Cde=A.forwardRef(({className:t,...e},n)=>x.jsx(tS,{ref:n,className:tt("text-lg font-semibold text-foreground",t),...e}));Cde.displayName=tS.displayName;const Tde=A.forwardRef(({className:t,...e},n)=>x.jsx(nS,{ref:n,className:tt("text-sm text-muted-foreground",t),...e}));Tde.displayName=nS.displayName;const O9={BENCHMARKS:"Benchmarks",SOLUTION:"Solution"},I9=[{label:"FEATURES",sectionId:O9.SOLUTION},{label:"BENCHMARKS",sectionId:O9.BENCHMARKS},{label:"BLOG",href:"/blog"},{label:"SHOWCASE",href:"/showcase"},{label:"DOCS",href:"https://corethink.ai/docs/overview"},{label:"CONTACT",href:"/contact"}],Ade={MD:768},Rde=Ade.MD,qE={HEIGHT:80},We={GPT_OSS_120B:"openai/gpt-oss-120b",GPT_OSS_20B:"openai/gpt-oss-20b",CLAUDE_SONNET_4_5:"anthropic/claude-sonnet-4.5",LLAMA_4_SCOUT_17B:"meta-llama/llama-4-scout-17b-16e-instruct",LLAMA_4_MAVERICK_17B:"meta-llama/llama-4-maverick-17b-128e-instruct",LLAMA_3_3_70B:"meta-llama/llama-3.3-70b-instruct",LLAMA_3_1_70B:"meta-llama/llama-3.1-70b-instruct",LLAMA_3_1_8B:"meta-llama/llama-3.1-8b-instruct",LLAMA_3_1_8B_INSTANT:"llama-3.1-8b-instant",QWEN3_235B:"qwen/qwen3-235b-a22b-2507",QWEN3_235B_CEREBRAS:"qwen/qwen3-235b-a22b-07-25",QWEN3_32B:"qwen/qwen3-32b",QWEN3_32B_CEREBRAS:"qwen/qwen3-32b-04-28",DEEPSEEK_R1:"deepseek/deepseek-r1-0528",DEEPSEEK_CHAT_V3:"deepseek/deepseek-chat-v3-0324",DEEPSEEK_CHAT_V3_1:"deepseek/deepseek-chat-v3.1",DEEPSEEK_R1_DISTILL_70B:"deepseek/deepseek-r1-distill-llama-70b",DEEPSEEK_V3_1_TERMINUS:"deepseek/deepseek-v3.1-terminus",GEMINI_2_5_PRO:"google/gemini-2.5-pro",KIMI_K2:"moonshotai/kimi-k2-thinking"},Nde={[We.GPT_OSS_120B]:{id:We.GPT_OSS_120B,name:"GPT OSS 120B",provider:"CoreThink",parameters:"120B",tags:["instruct","chat"]},[We.LLAMA_4_SCOUT_17B]:{id:We.LLAMA_4_SCOUT_17B,name:"Llama 4 Scout",provider:"Meta",parameters:"17B",tags:["instruct","chat"]},[We.LLAMA_4_MAVERICK_17B]:{id:We.LLAMA_4_MAVERICK_17B,name:"Llama 4 Maverick 17B",provider:"Meta",parameters:"17B",tags:["instruct","chat"]},[We.LLAMA_3_3_70B]:{id:We.LLAMA_3_3_70B,name:"Llama 3.3 70B Instruct",provider:"Meta",parameters:"70B",tags:["instruct","chat"]},[We.LLAMA_3_1_70B]:{id:We.LLAMA_3_1_70B,name:"Llama 3.1 70B Instruct",provider:"Meta",parameters:"70B",tags:["instruct","chat"]},[We.LLAMA_3_1_8B]:{id:We.LLAMA_3_1_8B,name:"Llama 3.1 8B Instruct",provider:"Meta",parameters:"8B",tags:["instruct","chat"]},[We.QWEN3_235B]:{id:We.QWEN3_235B,name:"Qwen3 235B A22B",provider:"Alibaba",parameters:"235B",tags:["text"]},[We.QWEN3_235B_CEREBRAS]:{id:We.QWEN3_235B_CEREBRAS,name:"Qwen 3 235B Instruct",provider:"Alibaba",parameters:"235B",tags:["instruct","reasoning"]},[We.QWEN3_32B]:{id:We.QWEN3_32B,name:"Qwen 3 32B",provider:"Alibaba",parameters:"32B",tags:["instruct","reasoning"]},[We.QWEN3_32B_CEREBRAS]:{id:We.QWEN3_32B_CEREBRAS,name:"Qwen 3 32B",provider:"Alibaba",parameters:"32B",tags:["instruct","reasoning"]},[We.DEEPSEEK_R1]:{id:We.DEEPSEEK_R1,name:"DeepSeek R1",provider:"DeepSeek",parameters:"671B",tags:["reasoning","coding","math"]},[We.DEEPSEEK_CHAT_V3]:{id:We.DEEPSEEK_CHAT_V3,name:"DeepSeek Chat V3",provider:"DeepSeek",parameters:"671B",tags:["chat","reasoning"]},[We.DEEPSEEK_CHAT_V3_1]:{id:We.DEEPSEEK_CHAT_V3_1,name:"DeepSeek Chat V3.1",provider:"DeepSeek",parameters:"671B",tags:["chat","reasoning"]},[We.DEEPSEEK_R1_DISTILL_70B]:{id:We.DEEPSEEK_R1_DISTILL_70B,name:"DeepSeek R1 Distill Llama 70B",provider:"DeepSeek",parameters:"70B",tags:["reasoning","coding"]},[We.DEEPSEEK_V3_1_TERMINUS]:{id:We.DEEPSEEK_V3_1_TERMINUS,name:"DeepSeek V3.1 Terminus",provider:"DeepSeek",parameters:"671B",tags:["chat","reasoning"]}};function Ode(t,e){const n=Nde[t];if(!n)throw new Error(`Unknown model ID: ${t}`);return{...n,...e}}function rS(t,e){return t.map(n=>Ode(n,e?.[n]))}const xd={BASE_URL:"https://api.corethink.ai",TIMEOUT_MS:3e4,NRE_API_BASE:"https://nre-kernel-xfsavzevuq-uc.a.run.app/v1"},EG={TOKEN_EXPIRY_BUFFER_SECONDS:120,TOKEN_REFRESH_CHECK_INTERVAL_MS:6e4,QUERY_STALE_TIME_MS:300*1e3,QUERY_CACHE_TIME_MS:1800*1e3,ORG_QUERY_STALE_TIME_MS:120*1e3},Ny={COPY_FEEDBACK_MS:2e3,SCROLL_RETRY_DELAY_MS:150,MAX_SCROLL_ATTEMPTS:5,ANIMATION:{FAST:.2,DEFAULT:.3,SLOW:.5}},wl={ACCESS_TOKEN:"accessToken",REFRESH_TOKEN:"refreshToken",ORGANIZATION:"organization-storage"},Cg={AUTH:{USER_INFO:"/auth/userInfo",REFRESH:"/auth/refresh",SKIP_ONBOARDING:"/auth/skip-onboarding"},CHAT:{DEFAULT:"/message/chat",TOKEN_REDUCTION:"/message/chat-tokenreduction",CODE_GENERATION:"/v1/code/chat/completions",ANTHROPIC_CODE:"/v1/anthropic/chat/completions",OPENROUTER:"/message/chat-openrouter",DIRECT:"/message/chat-direct",REASONER_RUN:"/reasoner/run",REASONER_TASKS:"/reasoner/tasks"},ORGANIZATION:{BASE:"/organization",BY_ID:t=>`/organization/${t}`,API_KEYS:t=>`/organization/${t}/api-keys`,API_KEY_BY_ID:(t,e)=>`/organization/${t}/api-keys/${e}`,ANTHROPIC_KEY:t=>`/organization/${t}/anthropic-key`,ANTHROPIC_KEY_TEST:t=>`/organization/${t}/anthropic-key/test`,ANTHROPIC_KEY_POLICY:t=>`/organization/${t}/anthropic-key/policy`,DASHBOARD_STATS:"/organization/dashboard/stats"},ANALYTICS:{TOKEN_REDUCTION:"/analytics/token-reduction",COST:"/analytics/cost-analytics",CODE_GENERATION:"/analytics/code-generation",BYOK_ROUTING:"/analytics/byok-routing"},BILLING:{BALANCE:"/billing/balance",TRANSACTIONS:"/billing/transactions",PRICING:"/billing/pricing",CHECKOUT_SESSION:"/billing/checkout-session",PORTAL_SESSION:"/billing/portal-session",SUBSCRIPTION:{PLANS:"/billing/subscription/plans",STATUS:"/billing/subscription/status",CHECKOUT_SESSION:"/billing/subscription/checkout-session",CANCEL:"/billing/subscription/cancel",REACTIVATE:"/billing/subscription/reactivate"}},SURVEY:{KILOCODE_RESULTS:"/survey/kilocode-feedback/results"},BUILDER:{PROJECTS:"/builder/projects",PROJECT:t=>`/builder/projects/${t}`,FORK:t=>`/builder/projects/${t}/fork`,SANDBOX:t=>`/builder/projects/${t}/sandbox`,PREVIEW:t=>`/builder/projects/${t}/preview`,FILES:t=>`/builder/projects/${t}/files`,FILE:(t,e)=>`/builder/projects/${t}/files/${e.split("/").filter(n=>n!==".."&&n!==".").map(encodeURIComponent).join("/")}`,VERSIONS:t=>`/builder/projects/${t}/versions`,ROLLBACK:(t,e)=>`/builder/projects/${t}/rollback/${e}`,ERRORS:t=>`/builder/projects/${t}/errors`,EXECUTE:t=>`/builder/projects/${t}/execute`,GENERATE:t=>`/builder/projects/${t}/generate`,CONVERSATION:t=>`/builder/projects/${t}/conversation`,CONVERSATION_MESSAGES:t=>`/builder/projects/${t}/conversation/messages`,DEPLOY:t=>`/builder/projects/${t}/deploy`,DEPLOYMENTS:t=>`/builder/projects/${t}/deployments`,DEPLOYMENTS_LATEST:t=>`/builder/projects/${t}/deployments/latest`}},k$e={"gpt-5":We.GPT_OSS_120B,"gpt-oss-120b":We.GPT_OSS_120B,v3:We.DEEPSEEK_CHAT_V3,"qwen-coder":We.QWEN3_32B,"llama-3.1-8b":We.LLAMA_3_1_8B_INSTANT,"kimi-k2":We.KIMI_K2,[We.LLAMA_3_1_70B]:We.LLAMA_3_1_70B,[We.G
54EMINI_2_5_PRO]:We.GEMINI_2_5_PRO},C$e={DATA_PREFIX:"data: ",DONE_MARKER:"[DONE]"},Ide={UNAUTHORIZED:401,PAYMENT_REQUIRED:402},T$e={SESSION_EXPIRED:"Session expired. Please log in again.",AUTH_CONTEXT_NOT_SET:"Auth context not set. Call setAuthContext first.",INSUFFICIENT_CREDITS:"Insufficient credits",ORG_ID_REQUIRED:"Organization ID is required",ORG_NAME_REQUIRED:"Organization name is required",API_KEY_NAME_REQUIRED:"API key name is required",API_KEY_ID_REQUIRED:"API key ID is required"},A$e={SUPER_ADMIN_CHEAT_CODE:"corethink",SUPER_ADMIN_STORAGE_KEY:"admin_super_mode"},Vh="https://api.corethink.ai",kG="https://api.corethink.ai",R$e=`${kG}/v1`,I1={NEWSLETTER_SUBSCRIBE:`${Vh}/newsletter/subscribe`,CONTACT_SUBMIT:`${Vh}/contact`,CAREERS_SUBMIT:`${Vh}/careers`,AUTH_GOOGLE:`${Vh}/auth/google/login`,AUTH_GOOGLE_ONE_TAP:`${Vh}/auth/google/one-tap`,AUTH_GITHUB:`${Vh}/auth/github/login`},Dde=({className:t,darkTheme:e=!1,providerMeta:n})=>{const[r,i]=A.useState(!1),[s,a]=A.useState(!1),o=b0(),l=zi(),c=e?"text-foreground":"text-background",d=e?"brightness-0 invert":"";A.useEffect(()=>{const w=()=>{a(window.innerWidth<Rde)};return w(),window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)},[]);const f=A.useRef(""),p=A.useRef(!1);A.useEffect(()=>{if(l.pathname==="/"&&l.hash&&l.hash!==f.current&&!p.current){const w=l.hash.substring(1);f.current=l.hash,p.current=!0,requestAnimationFrame(()=>{setTimeout(()=>{const S=document.getElementById(w);if(S){const _=S.getBoundingClientRect();if(!(_.top>=0&&_.top<=window.innerHeight*.3)){const T=S.offsetTop;window.scrollTo({top:T-qE.HEIGHT,behavior:"smooth"})}}setTimeout(()=>{p.current=!1},1e3)},200)})}},[l.hash]),A.useEffect(()=>{const w=l.state;if(l.pathname==="/"&&w?.scrollTo&&!p.current){const S=w.scrollTo;p.current=!0,o("/",{replace:!0,state:{}});const _=(E=0)=>{const T=document.getElementById(S);if(T){const R=T.getBoundingClientRect(),N=window.pageYOffset||document.documentElement.scrollTop,I=R.top+N,P=Math.max(0,I-qE.HEIGHT);window.scrollTo({top:P,behavior:"smooth"}),setTimeout(()=>{p.current=!1},1e3)}else E<Ny.MAX_SCROLL_ATTEMPTS?setTimeout(()=>_(E+1),Ny.SCROLL_RETRY_DELAY_MS):p.current=!1};setTimeout(()=>_(),100)}},[l.pathname,l.state,o]);const g=()=>{i(!1)},b=()=>{const w=encodeURIComponent(window.location.origin);window.location.href=`${I1.AUTH_GOOGLE}?redirect_origin=${w}`},y=w=>{if(l.pathname==="/"){const S=(_=0)=>{const E=document.getElementById(w);if(E){const T=E.getBoundingClientRect(),R=window.pageYOffset||document.documentElement.scrollTop,N=T.top+R,I=Math.max(0,N-qE.HEIGHT);window.scrollTo({top:I,behavior:"smooth"})}else _<Ny.MAX_SCROLL_ATTEMPTS&&setTimeout(()=>S(_+1),Ny.SCROLL_RETRY_DELAY_MS)};S()}else o("/",{state:{scrollTo:w}});g()};return x.jsx("nav",{className:`fixed top-0 left-0 right-0 z-50 py-2 md:py-4 ${t}`,children:x.jsxs("div",{className:"px-4 md:px-8 flex justify-between items-center",children:[n?x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(Tn,{to:"/",className:"flex items-center",children:x.jsx("img",{src:R1,alt:"CoreThink Logo",className:`${s?"h-[32px]":"h-[60px]"} w-auto drop-shadow-md ${d}`})}),x.jsx("span",{className:"text-neutral-500 text-xl font-light",children:"×"}),x.jsx("a",{href:n.websiteUrl,target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-foreground",children:x.jsx("img",{src:n.logo,alt:`${n.name} Logo`,className:`${s?"h-[20px]":"h-[40px]"} w-auto`})})]}):x.jsx(Tn,{to:"/",className:"flex items-center",children:x.jsx("img",{src:R1,alt:"CoreThink Logo",className:`${s?"h-[42px]":"h-[60px]"} w-auto drop-shadow-md ${d}`})}),!s&&x.jsx("div",{className:"flex items-center gap-2",children:I9.map(w=>w.href?x.jsx(oi,{variant:"ghost",asChild:!0,className:`font-secondary text-sm font-normal tracking-wide px-4 py-2 cursor-pointer hover:bg-transparent ${c}`,children:x.jsx(Tn,{to:w.href,children:w.label})},w.label):x.jsx(oi,{variant:"ghost",onClick:()=>w.sectionId&&y(w.sectionId),className:`font-secondary text-sm font-normal tracking-wide px-4 py-2 cursor-pointer hover:bg-transparent ${c}`,children:w.label},w.label))}),x.jsxs("div",{className:"flex items-center gap-3",children:[!s&&x.jsx(oi,{onClick:b,className:`font-secondary text-sm font-medium rounded-full px-5 h-12 ${e?"bg-foreground text-background hover:bg-foreground
54/90":"bg-background text-foreground hover:bg-background/90"} transition-all duration-200`,children:"Get Started"}),s&&x.jsxs(wde,{open:r,onOpenChange:i,children:[x.jsx(Sde,{asChild:!0,children:x.jsx(oi,{variant:"ghost",size:"icon",className:`${e?"text-foreground hover:text-foreground/80":"text-background/70 hover:text-background"} hover:scale-110 transition-all duration-200`,children:r?x.jsx(W4,{className:"h-6 w-6"}):x.jsx(Vce,{className:"h-6 w-6"})})}),x.jsxs(xG,{side:"right",className:"w-[260px] bg-card/95 backdrop-blur-[20px] pt-16 px-4",children:[x.jsx("nav",{className:"flex flex-col space-y-1",children:I9.map(w=>w.href?x.jsx(oi,{variant:"ghost",asChild:!0,onClick:g,className:"font-secondary uppercase text-sm font-medium justify-start px-4 py-3 hover:bg-surface-white10 text-foreground",children:x.jsx(Tn,{to:w.href,children:w.label})},w.label):x.jsx(oi,{variant:"ghost",onClick:()=>w.sectionId&&y(w.sectionId),className:"font-secondary uppercase text-sm font-medium justify-start px-4 py-3 hover:bg-surface-white10 text-foreground",children:w.label},w.label))}),x.jsx("div",{className:"mt-8 pt-8 border-t border-border-subtle",children:x.jsx(oi,{onClick:()=>{g(),b()},className:"w-full font-secondary text-sm font-medium bg-foreground text-background rounded-full px-5 h-12 hover:bg-foreground
54/90 transition-all duration-200",children:"Get Started"})})]})]})]})]})})},iS=({children:t,darkTheme:e=!0,navbarClassName:n,providerMeta:r})=>x.jsxs("div",{className:"min-h-screen bg-background text-white font-sans selection:bg-blue-500/30",children:[x.jsx(Dde,{className:n,darkTheme:e,providerMeta:r}),t,x.jsx(gce,{darkTheme:e})]}),Mde=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{className:"relative w-full overflow-auto",children:x.jsx("table",{ref:n,className:tt("w-full caption-bottom text-sm",t),...e})}));Mde.displayName="Table";const Lde=A.forwardRef(({className:t,...e},n)=>x.jsx("thead",{ref:n,className:tt("[&_tr]:border-b",t),...e}));Lde.displayName="TableHeader";const Bde=A.forwardRef(({className:t,...e},n)=>x.jsx("tbody",{ref:n,className:tt("[&_tr:last-child]:border-0",t),...e}));Bde.displayName="TableBody";const Pde=A.forwardRef(({className:t,...e},n)=>x.jsx("tfoot",{ref:n,className:tt("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...e}));Pde.displayName="TableFooter";const Fde=A.forwardRef(({className:t,...e},n)=>x.jsx("tr",{ref:n,className:tt("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));Fde.displayName="TableRow";const zde=A.forwardRef(({className:t,...e},n)=>x.jsx("th",{ref:n,className:tt("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));zde.displayName="TableHead";const Ude=A.forwardRef(({className:t,...e},n)=>x.jsx("td",{ref:n,className:tt("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));Ude.displayName="TableCell";const jde=A.forwardRef(({className:t,...e},n)=>x.jsx("caption",{ref:n,className:tt("mt-4 text-sm text-muted-foreground",t),...e}));jde.displayName="TableCaption";const J4=A.createContext({});function sS(t){const e=A.useRef(null);return e.current===null&&(e.current=t()),e.current}const eR=typeof window<"u",tR=eR?A.useLayoutEffect:A.useEffect,aS=A.createContext(null);function nR(t,e){t.indexOf(e)===-1&&t.push(e)}function rR(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Bl=(t,e,n)=>n>e?e:n<t?t:n;let iR=()=>{};const Pl={},CG=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function TG(t){return typeof t=="object"&&t!==null}const AG=t=>/^0[^.\s]+$/u.test(t);function sR(t){let e;return()=>(e===void 0&&(e=t()),e)}const va=t=>t,Hde=(t,e)=>n=>e(t(n)),x0=(...t)=>t.reduce(Hde),Tg=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r};class aR{constructor(){this.subscriptions=[]}add(e){return nR(this.subscriptions,e),()=>rR(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let s=0;s<i;s++){const a=this.subscriptions[s];a&&a(e,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Bo=t=>t*1e3,ha=t=>t/1e3;function RG(t,e){return e?t*(1e3/e):0}const NG=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,$de=1e-7,Vde=12;function Gde(t,e,n,r,i){let s,a,o=0;do a=e+(n-e)/2,s=NG(a,r,i)-t,s>0?n=a:e=a;while(Math.abs(s)>$de&&++o<Vde);return a}function E0(t,e,n,r){if(t===e&&n===r)return va;const i=s=>Gde(s,0,1,t,n);return s=>s===0||s===1?s:NG(i(s),e,r)}const OG=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,IG=t=>e=>1-t(1-e),DG=E0(.33,1.53,.69,.99),oR=IG(DG),MG=OG(oR),LG=t=>(t*=2)<1?.5*oR(t):.5*(2-Math.pow(2,-10*(t-1))),lR=t=>1-Math.sin(Math.acos(t)),BG=IG(lR),PG=OG(lR),qde=E0(.42,0,1,1),Wde=E0(0,0,.58,1),FG=E0(.42,0,.58,1),Kde=t=>Array.isArray(t)&&typeof t[0]!="number",zG=t=>Array.isArray(t)&&typeof t[0]=="number",Yde={linear:va,easeIn:qde,easeInOut:FG,easeOut:Wde,circIn:lR,circInOut:PG,circOut:BG,backIn:oR,backInOut:MG,backOut:DG,anticipate:LG},Xde=t=>typeof t=="string",D9=t=>{if(zG(t)){iR(t.length===4);const[e,n,r,i]=t;return E0(e,n,r,i)}else if(Xde(t))return Yde[t];return t},Oy=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Zde(t,e){let n=new Set,r=new Set,i=!1,s=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(d){a.has(d)&&(c.schedule(d),t()),d(o)}const c={schedule:(d,f=!1,p=!1)=>{const b=p&&i?n:r;return f&&a.add(d),b.has(d)||b.add(d),d},cancel:d=>
vendor: 41,434 bytes, lines 54-62
54{r.delete(d),a.delete(d)},process:d=>{if(o=d,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(l),n.clear(),i=!1,s&&(s=!1,c.process(d))}};return c}const Qde=40;function UG(t,e){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=Oy.reduce((E,T)=>(E[T]=Zde(s),E),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:d,update:f,preRender:p,render:g,postRender:b}=a,y=()=>{const E=Pl.useManualTiming?i.timestamp:performance.now();n=!1,Pl.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(E-i.timestamp,Qde),1)),i.timestamp=E,i.isProcessing=!0,o.process(i),l.process(i),c.process(i),d.process(i),f.process(i),p.process(i),g.process(i),b.process(i),i.isProcessing=!1,n&&e&&(r=!1,t(y))},w=()=>{n=!0,r=!0,i.isProcessing||t(y)};return{schedule:Oy.reduce((E,T)=>{const R=a[T];return E[T]=(N,I=!1,P=!1)=>(n||w(),R.schedule(N,I,P)),E},{}),cancel:E=>{for(let T=0;T<Oy.length;T++)a[Oy[T]].cancel(E)},state:i,steps:a}}const{schedule:Nn,cancel:Yc,state:Kr,steps:WE}=UG(typeof requestAnimationFrame<"u"?requestAnimationFrame:va,!0);let Gv;function Jde(){Gv=void 0}const cs={now:()=>(Gv===void 0&&cs.set(Kr.isProcessing||Pl.useManualTiming?Kr.timestamp:performance.now()),Gv),set:t=>{Gv=t,queueMicrotask(Jde)}},jG=t=>e=>typeof e=="string"&&e.startsWith(t),HG=jG("--"),ehe=jG("var(--"),cR=t=>ehe(t)?the.test(t.split("/*")[0].trim()):!1,the=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,hp={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ag={...hp,transform:t=>Bl(0,1,t)},Iy={...hp,default:1},og=t=>Math.round(t*1e5)/1e5,uR=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nhe(t){return t==null}const rhe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,dR=(t,e)=>n=>!!(typeof n=="string"&&rhe.test(n)&&n.startsWith(t)||e&&!nhe(n)&&Object.prototype.hasOwnProperty.call(n,e)),$G=(t,e,n)=>r=>{if(typeof r!="string")return r;const[i,s,a,o]=r.match(uR);return{[t]:parseFloat(i),[e]:parseFloat(s),[n]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},ihe=t=>Bl(0,255,t),KE={...hp,transform:t=>Math.round(ihe(t))},nd={test:dR("rgb","red"),parse:$G("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+KE.transform(t)+", "+KE.transform(e)+", "+KE.transform(n)+", "+og(Ag.transform(r))+")"};function she(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const vC={test:dR("#"),parse:she,transform:nd.transform},k0=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Nc=k0("deg"),Po=k0("%"),wt=k0("px"),ahe=k0("vh"),ohe=k0("vw"),M9={...Po,parse:t=>Po.parse(t)/100,transform:t=>Po.transform(t*100)},af={test:dR("hsl","hue"),parse:$G("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+Po.transform(og(e))+", "+Po.transform(og(n))+", "+og(Ag.transform(r))+")"},lr={test:t=>nd.test(t)||vC.test(t)||af.test(t),parse:t=>nd.test(t)?nd.parse(t):af.test(t)?af.parse(t):vC.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?nd.transform(t):af.transform(t),getAnimatableNone:t=>{const e=lr.parse(t);return e.alpha=0,lr.transform(e)}},lhe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function che(t){return isNaN(t)&&typeof t=="string"&&(t.match(uR)?.length||0)+(t.match(lhe)?.length||0)>0}const VG="number",GG="color",uhe="var",dhe="var(",L9="${}",hhe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Rg(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const o=e.replace(hhe,l=>(lr.test(l)?(r.color.push(s),i.push(GG),n.push(lr.parse(l))):l.startsWith(dhe)?(r.var.push(s),i.push(uhe),n.push(l)):(r.number.push(s),i.push(VG),n.push(parseFloat(l))),++s,L9)).split(L9);return{values:n,split:o,indexes:r,types:i}}function qG(t){return Rg(t).values}function WG(t){const{split:e,types:n}=Rg(t),r=e.length;return i=>{let s="";for(let a=0;a<r;a++)if(s+=e[a],i[a]!==void 0){const o=n[a];o===VG?s+=og(i[a]):o===GG?s+=lr.transform(i[a]):s+=i[a]}return s}}const fhe=t=>typeof t=="number"?0:lr.test(t)?lr.getAnimatableNone(t):t;function phe(t){const e=qG(t);return WG(t)(e.map(fhe))}const Xc={test:che,parse:qG,createTransformer:WG,getAnimatableNone:phe};function YE(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function mhe({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,s=0,a=0;if(!e)i=s=a=n;else{const o=n<.5?n*(1+e):n+e-n*e,l=2*n-o;i=YE(l,o,t+1/3),s=YE(l,o,t),a=YE(l,o,t-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}function D1(t,e){return n=>n>0?e:t}const zn=(t,e,n)=>t+(e-t)*n,XE=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},ghe=[vC,nd,af],bhe=t=>ghe.find(e=>e.test(t));function B9(t){const e=bhe(t);if(!e)return!1;let n=e.parse(t);return e===af&&(n=mhe(n)),n}const P9=(t,e)=>{const n=B9(t),r=B9(e);if(!n||!r)return D1(t,e);const i={...n};return s=>(i.red=XE(n.red,r.red,s),i.green=XE(n.green,r.green,s),i.blue=XE(n.blue,r.blue,s),i.alpha=zn(n.alpha,r.alpha,s),nd.transform(i))},wC=new Set(["none","hidden"]);function yhe(t,e){return wC.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function vhe(t,e){return n=>zn(t,e,n)}function hR(t){return typeof t=="number"?vhe:typeof t=="string"?cR(t)?D1:lr.test(t)?P9:_he:Array.isArray(t)?KG:typeof t=="object"?lr.test(t)?P9:whe:D1}function KG(t,e){const n=[...t],r=n.length,i=t.map((s,a)=>hR(s)(s,e[a]));return s=>{for(let a=0;a<r;a++)n[a]=i[a](s);return n}}function whe(t,e){const n={...t,...e},r={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(r[i]=hR(t[i])(t[i],e[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function She(t,e){const n=[],r={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const s=e.types[i],a=t.indexes[s][r[s]],o=t.values[a]??0;n[i]=o,r[s]++}return n}const _he=(t,e)=>{const n=Xc.createTransformer(e),r=Rg(t),i=Rg(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?wC.has(t)&&!i.values.length||wC.has(e)&&!r.values.length?yhe(t,e):x0(KG(She(r,i),i.values),n):D1(t,e)};function YG(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?zn(t,e,n):hR(t)(t,e)}const xhe=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>Nn.update(e,n),stop:()=>Yc(e),now:()=>Kr.isProcessing?Kr.timestamp:cs.now()}},XG=(t,e,n=10)=>{let r="";const i=Math.max(Math.round(e/n),2);for(let s=0;s<i;s++)r+=Math.round(t(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},M1=2e4;function fR(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e<M1;)e+=n,r=t.next(e);return e>=M1?1/0:e}function Ehe(t,e=100,n){const r=n({...t,keyframes:[0,e]}),i=Math.min(fR(r),M1);return{type:"keyframes",ease:s=>r.next(i*s).value/e,duration:ha(i)}}const khe=5;function ZG(t,e,n){const r=Math.max(e-khe,0);return RG(n-t(r),e-r)}const Gn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},ZE=.001;function Che({duration:t=Gn.duration,bounce:e=Gn.bounce,velocity:n=Gn.velocity,mass:r=Gn.mass}){let i,s,a=1-e;a=Bl(Gn.minDamping,Gn.maxDamping,a),t=Bl(Gn.minDuration,Gn.maxDuration,ha(t)),a<1?(i=c=>{const d=c*a,f=d*t,p=d-n,g=SC(c,a),b=Math.exp(-f);return ZE-p/g*b},s=c=>{const f=c*a*t,p=f*n+n,g=Math.pow(a,2)*Math.pow(c,2)*t,b=Math.exp(-f),y=SC(Math.pow(c,2),a);return(-i(c)+ZE>0?-1:1)*((p-g)*b)/y}):(i=c=>{const d=Math.exp(-c*t),f=(c-n)*t+1;return-ZE+d*f},s=c=>{const d=Math.exp(-c*t),f=(n-c)*(t*t);return d*f});const o=5/t,l=Ahe(i,s,o);if(t=Bo(t),isNaN(l))return{stiffness:Gn.stiffness,damping:Gn.damping,duration:t};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:t}}}const The=12;function Ahe(t,e,n){let r=n;for(let i=1;i<The;i++)r=r-t(r)/e(r);return r}function SC(t,e){return t*Math.sqrt(1-e*e)}const Rhe=["duration","bounce"],Nhe=["stiffness","damping","mass"];function F9(t,e){return e.some(n=>t[n]!==void 0)}function Ohe(t){let e={velocity:Gn.velocity,stiffness:Gn.stiffness,damping:Gn.damping,mass:Gn.mass,isResolvedFromDuration:!1,...t};if(!F9(t,Nhe)&&F9(t,Rhe))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*Bl(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:Gn.mass,stiffness:i,damping:s}}else{const n=Che(t);e={...e,...n,mass:Gn.mass},e.isResolvedFromDuration=!0}return e}function L1(t=Gn.visualDuration,e=Gn.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:s},{stiffness:l,damping:c,mass:d,duration:f,velocity:p,isResolvedFromDuration:g}=Ohe({...n,velocity:-ha(n.velocity||0)}),b=p||0,y=c/(2*Math.sqrt(l*d)),w=a-s,S=ha(Math.sqrt(l/d)),_=Math.abs(w)<5;r||(r=_?Gn.restSpeed.granular:Gn.restSpeed.default),i||(i=_?Gn.restDelta.granular:Gn.restDelta.default);let E;if(y<1){const R=SC(S,y);E=N=>{const I=Math.exp(-y*S*N);return a-I*((b+y*S*w)/R*Math.sin(R*N)+w*Math.cos(R*N))}}else if(y===1)E=R=>a-Math.exp(-S*R)*(w+(b+S*w)*R);else{const R=S*Math.sqrt(y*y-1);E=N=>{const I=Math.exp(-y*S*N),P=Math.min(R*N,300);return a-I*((b+y*S*w)*Math.sinh(P)+R*w*Math.cosh(P))/R}}const T={calculatedDuration:g&&f||null,next:R=>{const N=E(R);if(g)o.done=R>=f;else{let I=R===0?b:0;y<1&&(I=R===0?Bo(b):ZG(E,R,N));const P=Math.abs(I)<=r,z=Math.abs(a-N)<=i;o.done=P&&z}return o.value=o.done?a:N,o},toString:()=>{const R=Math.min(fR(T),M1),N=XG(I=>T.next(R*I).value,R,30);return R+"ms "+N},toTransition:()=>{}};return T}L1.applyToOptions=t=>{const e=Ehe(t,100,L1);return t.ease=e.ease,t.duration=Bo(e.duration),t.type="keyframes",t};function _C({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:c=.5,restSpeed:d}){const f=t[0],p={done:!1,value:f},g=P=>o!==void 0&&P<o||l!==void 0&&P>l,b=P=>o===void 0?l:l===void 0||Math.abs(o-P)<Math.abs(l-P)?o:l;let y=n*e;const w=f+y,S=a===void 0?w:a(w);S!==w&&(y=S-f);const _=P=>-y*Math.exp(-P/r),E=P=>S+_(P),T=P=>{const z=_(P),U=E(P);p.done=Math.abs(z)<=c,p.value=p.done?S:U};let R,N;const I=P=>{g(p.value)&&(R=P,N=L1({keyframes:[p.value,b(p.value)],velocity:ZG(E,P,p.value),damping:i,stiffness:s,restDelta:c,restSpeed:d}))};return I(0),{calculatedDuration:null,next:P=>{let z=!1;return!N&&R===void 0&&(z=!0,T(P),I(P)),R!==void 0&&P>=R?N.next(P-R):(!z&&T(P),p)}}}function Ihe(t,e,n){const r=[],i=n||Pl.mix||YG,s=t.length-1;for(let a=0;a<s;a++){let o=i(t[a],t[a+1]);if(e){const l=Array.isArray(e)?e[a]||va:e;o=x0(l,o)}r.push(o)}return r}function Dhe(t,e,{clamp:n=!0,ease:r,mixer:i}={}){const s=t.length;if(iR(s===e.length),s===1)return()=>e[0];if(s===2&&e[0]===e[1])return()=>e[1];const a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Ihe(e,r,i),l=o.length,c=d=>{if(a&&d<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(d<t[f+1]);f++);const p=Tg(t[f],t[f+1],d);return o[f](p)};return n?d=>c(Bl(t[0],t[s-1],d)):c}function Mhe(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=Tg(0,e,r);t.push(zn(n,1,i))}}function Lhe(t){const e=[0];return Mhe(e,t.length-1),e}function Bhe(t,e){return t.map(n=>n*e)}function Phe(t,e){return t.map(()=>e||FG).splice(0,t.length-1)}function lg({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=Kde(r)?r.map(D9):D9(r),s={done:!1,value:e[0]},a=Bhe(n&&n.length===e.length?n:Lhe(e),t),o=Dhe(a,e,{ease:Array.isArray(i)?i:Phe(e,i)});return{calculatedDuration:t,next:l=>(s.value=o(l),s.done=l>=t,s)}}const Fhe=t=>t!==null;function pR(t,{repeat:e,repeatType:n="loop"},r,i=1){const s=t.filter(Fhe),o=i<0||e&&n!=="loop"&&e%2===1?0:s.length-1;return!o||r===void 0?s[o]:r}const zhe={decay:_C,inertia:_C,tween:lg,keyframes:lg,spring:L1};function QG(t){typeof t.type=="string"&&(t.type=zhe[t.type])}class mR{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Uhe=t=>t/100;class gR extends mR{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==cs.now()&&this.tick(cs.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;QG(e);const{type:n=lg,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:a=0}=e;let{keyframes:o}=e;const l=n||lg;l!==lg&&typeof o[0]!="number"&&(this.mixKeyframes=x0(Uhe,YG(o[0],o[1])),o=[0,100]);const c=l({...e,keyframes:o});s==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=fR(c));const{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=c}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:d,repeat:f,repeatType:p,repeatDelay:g,type:b,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const S=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?S<0:S>i;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,T=r;if(f){const P=Math.min(this.currentTime,i)/o;let z=Math.floor(P),U=P%1;!U&&P>=1&&(U=1),U===1&&z--,z=Math.min(z,f+1),z%2&&(p==="reverse"?(U=1-U,g&&(U-=g/o)):p==="mirror"&&(T=a)),E=Bl(0,1,U)*o}const R=_?{done:!1,value:d[0]}:T.next(E);s&&(R.value=s(R.value));let{done:N}=R;!_&&l!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return I&&b!==_C&&(R.value=pR(d,this.options,w,this.speed)),y&&y(R.value),I&&this.finish(),R}then(e,n){return this.finished.then(e,n)}get duration(){return ha(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+ha(e)}get time(){return ha(this.currentTime)}set time(e){e=Bo(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(cs.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=ha(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=xhe,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(cs.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function jhe(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const rd=t=>t*180/Math.PI,xC=t=>{const e=rd(Math.atan2(t[1],t[0]));return EC(e)},Hhe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:xC,rotateZ:xC,skewX:t=>rd(Math.atan(t[1])),skewY:t=>rd(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},EC=t=>(t=t%360,t<0&&(t+=360),t),z9=xC,U9=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),j9=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),$he={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:U9,scaleY:j9,scale:t=>(U9(t)+j9(t))/2,rotateX:t=>EC(rd(Math.atan2(t[6],t[5]))),rotateY:t=>EC(rd(Math.atan2(-t[2],t[0]))),rotateZ:z9,rotate:z9,skewX:t=>rd(Math.atan(t[4])),skewY:t=>rd(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function kC(t){return t.includes("scale")?1:0}function CC(t,e){if(!t||t==="none")return kC(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=$he,i=n;else{const o=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Hhe,i=o}if(!i)return kC(e);const s=r[e],a=i[1].split(",").map(Ghe);return typeof s=="function"?s(a):a[s]}const Vhe=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return CC(n,e)};function Ghe(t){return parseFloat(t.trim())}const fp=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pp=new Set(fp),H9=t=>t===hp||t===wt,qhe=new Set(["x","y","z"]),Whe=fp.filter(t=>!qhe.has(t));function Khe(t){const e=[];return Whe.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const pd={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>CC(e,"x"),y:(t,{transform:e})=>CC(e,"y")};pd.translateX=pd.x;pd.translateY=pd.y;const md=new Set;let TC=!1,AC=!1,RC=!1;function JG(){if(AC){const t=Array.from(md).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const i=Khe(r);i.length&&(n.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,a])=>{r.getValue(s)?.set(a)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}AC=!1,TC=!1,md.forEach(t=>t.complete(RC)),md.clear()}function eq(){md.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(AC=!0)})}function Yhe(){RC=!0,eq(),JG(),RC=!1}class bR{constructor(e,n,r,i,s,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(md.add(this),TC||(TC=!0,Nn.read(eq),Nn.resolveKeyframes(JG))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;if(e[0]===null){const s=i?.get(),a=e[e.length-1];if(s!==void 0)e[0]=s;else if(r&&n){const o=r.readValue(n,a);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=a),i&&s===void 0&&i.set(e[0])}jhe(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),md.delete(this)}cancel(){this.state==="scheduled"&&(md.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Xhe=t=>t.startsWith("--");function Zhe(t,e,n){Xhe(e)?t.style.setProperty(e,n):t.style[e]=n}const Qhe=sR(()=>window.ScrollTimeline!==void 0),Jhe={};function efe(t,e){const n=sR(t);return()=>Jhe[e]??n()}const tq=efe(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Km=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,$9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Km([0,.65,.55,1]),circOut:Km([.55,0,1,.45]),backIn:Km([.31,.01,.66,-.59]),backOut:Km([.33,1.53,.69,.99])};function nq(t,e){if(t)return typeof t=="function"?tq()?XG(t,e):"ease-out":zG(t)?Km(t):Array.isArray(t)?t.map(n=>nq(n,e)||$9.easeOut):$9[t]}function tfe(t,e,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},c=void 0){const d={[e]:n};l&&(d.offset=l);const f=nq(o,i);Array.isArray(f)&&(d.easing=f);const p={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"};return c&&(p.pseudoElement=c),t.animate(d,p)}function rq(t){return typeof t=="function"&&"applyToOptions"in t}function nfe({type:t,...e}){return rq(t)&&tq()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class rfe extends mR{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=e,iR(typeof e.type!="string");const c=nfe(e);this.animation=tfe(n,r,i,c,s),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=pR(i,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(d):Zhe(n,r,d),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return ha(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+ha(e)}get time(){return ha(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Bo(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Qhe()?(this.animation.timeline=e,va):n(this)}}const iq={anticipate:LG,backInOut:MG,circInOut:PG};function ife(t){return t in iq}function sfe(t){typeof t.ease=="string"&&ife(t.ease)&&(t.ease=iq[t.ease])}const V9=10;class afe extends rfe{constructor(e){sfe(e),QG(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...a}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const o=new gR({...a,autoplay:!1}),l=Bo(this.finishedTime??this.time);n.setWithVelocity(o.sample(l-V9).value,o.sample(l).value,V9),o.stop()}}const G9=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Xc.test(t)||t==="0")&&!t.startsWith("url("));function ofe(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function lfe(t,e,n,r){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const s=t[t.length-1],a=G9(i,e),o=G9(s,e);return!a||!o?!1:ofe(t)||(n==="spring"||rq(n))&&r}function NC(t){t.duration=0,t.type="keyframes"}const cfe=new Set(["opacity","clipPath","filter","transform"]),ufe=sR(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function dfe(t){const{motionValue:e,name:n,repeatDelay:r,repeatType:i,damping:s,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return ufe()&&n&&cfe.has(n)&&(n!=="transform"||!c)&&!l&&!r&&i!=="mirror"&&s!==0&&a!=="inertia"}const hfe=40;class ffe extends mR{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",keyframes:o,name:l,motionValue:c,element:d,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=cs.now();const p={autoplay:e,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:a,name:l,motionValue:c,element:d,...f},g=d?.KeyframeResolver||bR;this.keyframeResolver=new g(o,(b,y,w)=>this.onKeyframesResolved(b,y,p,!w),l,c,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,r,i){this.keyframeResolver=void 0;const{name:s,type:a,velocity:o,delay:l,isHandoff:c,onUpdate:d}=r;this.resolvedAt=cs.now(),lfe(e,s,a,o)||((Pl.instantAnimations||!l)&&d?.(pR(e,r,n)),e[0]=e[e.length-1],NC(r),r.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hfe?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:e},g=!c&&dfe(p)?new afe({...p,element:p.motionValue.owner.current}):new gR(p);g.finished.then(()=>this.notifyFinished()).catch(va),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Yhe()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const pfe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function mfe(t){const e=pfe.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function sq(t,e,n=1){const[r,i]=mfe(t);if(!r)return;const s=window.getComputedStyle(e).getPropertyValue(r);if(s){const a=s.trim();return CG(a)?parseFloat(a):a}return cR(i)?sq(i,e,n+1):i}function yR(t,e){return t?.[e]??t?.default??t}const aq=new Set(["width","height","top","left","right","bottom",...fp]),gfe={test:t=>t==="auto",parse:t=>t},oq=t=>e=>e.test(t),lq=[hp,wt,Po,Nc,ohe,ahe,gfe],q9=t=>lq.find(oq(t));function bfe(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||AG(t):!0}const yfe=new Set(["brightness","contrast","saturate","opacity"]);function vfe(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(uR)||[];if(!r)return t;const i=n.replace(r,"");let s=yfe.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+i+")"}const wfe=/\b([a-z-]*)\(.*?\)/gu,OC={...Xc,getAnimatableNone:t=>{const e=t.match(wfe);return e?e.map(vfe).join(" "):t}},W9={...hp,transform:Math.round},Sfe={rotate:Nc,rotateX:Nc,rotateY:Nc,rotateZ:Nc,scale:Iy,scaleX:Iy,scaleY:Iy,scaleZ:Iy,skew:Nc,skewX:Nc,skewY:Nc,distance:wt,translateX:wt,translateY:wt,translateZ:wt,x:wt,y:wt,z:wt,perspective:wt,transformPerspective:wt,opacity:Ag,originX:M9,originY:M9,originZ:wt},vR={borderWidth:wt,borderTopWidth:wt,borderRightWidth:wt,borderBottomWidth:wt,borderLeftWidth:wt,borderRadius:wt,radius:wt,borderTopLeftRadius:wt,borderTopRightRadius:wt,borderBottomRightRadius:wt,borderBottomLeftRadius:wt,width:wt,maxWidth:wt,height:wt,maxHeight:wt,top:wt,right:wt,bottom:wt,left:wt,padding:wt,paddingTop:wt,paddingRight:wt,paddingBottom:wt,paddingLeft:wt,margin:wt,marginTop:wt,marginRight:wt,marginBottom:wt,marginLeft:wt,backgroundPositionX:wt,backgroundPositionY:wt,...Sfe,zIndex:W9,fillOpacity:Ag,strokeOpacity:Ag,numOctaves:W9},_fe={...vR,color:lr,backgroundColor:lr,outlineColor:lr,fill:lr,stroke:lr,borderColor:lr,borderTopColor:lr,borderRightColor:lr,borderBottomColor:lr,borderLeftColor:lr,filter:OC,WebkitFilter:OC},cq=t=>_fe[t];function uq(t,e){let n=cq(t);return n!==OC&&(n=Xc),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const xfe=new Set(["auto","none","0"]);function Efe(t,e,n){let r=0,i;for(;r<t.length&&!i;){const s=t[r];typeof s=="string"&&!xfe.has(s)&&Rg(s).values.length&&(i=t[r]),r++}if(i&&n)for(const s of e)t[s]=uq(n,i)}class kfe extends bR{constructor(e,n,r,i,s){super(e,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let c=e[l];if(typeof c=="string"&&(c=c.trim(),cR(c))){const d=sq(c,n.current);d!==void 0&&(e[l]=d),l===e.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!aq.has(r)||e.length!==2)return;const[i,s]=e,a=q9(i),o=q9(s);if(a!==o)if(H9(a)&&H9(o))for(let l=0;l<e.length;l++){const c=e[l];typeof c=="string"&&(e[l]=parseFloat(c))}else pd[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,r=[];for(let i=0;i<e.length;i++)(e[i]===null||bfe(e[i]))&&r.push(i);r.length&&Efe(e,r,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:r}=this;if(!e||!e.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=pd[r](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(r,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,a=r[s];r[s]=pd[n](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([o,l])=>{e.getValue(o).set(l)}),this.resolveNoneKeyframes()}}function Cfe(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const i=n?.[t]??r.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const dq=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function hq(t){return TG(t)&&"offsetHeight"in t}const K9=30,Tfe=t=>!isNaN(parseFloat(t));class Afe{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const i=cs.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=cs.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Tfe(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new aR);const r=this.events[e].add(n);return e==="change"?()=>{r(),Nn.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=cs.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>K9)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,K9);return RG(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zf(t,e){return new Afe(t,e)}const{schedule:wR}=UG(queueMicrotask,!1),Da={x:!1,y:!1};function fq(){return Da.x||Da.y}function Rfe(t){return t==="x"||t==="y"?Da[t]?null:(Da[t]=!0,()=>{Da[t]=!1}):Da.x||Da.y?null:(Da.x=Da.y=!0,()=>{Da.x=Da.y=!1})}function pq(t,e){const n=Cfe(t),r=new AbortController,i={passive:!0,...e,signal:r.signal};return[n,i,()=>r.abort()]}function Y9(t){return!(t.pointerType==="touch"||fq())}function Nfe(t,e,n={}){const[r,i,s]=pq(t,n),a=o=>{if(!Y9(o))return;const{target:l}=o,c=e(l,o);if(typeof c!="function"||!l)return;const d=f=>{Y9(f)&&(c(f),l.removeEventListener("pointerleave",d))};l.addEventListener("pointerleave",d,i)};return r.forEach(o=>{o.addEventListener("pointerenter",a,i)}),s}const mq=(t,e)=>e?t===e?!0:mq(t,e.parentElement):!1,SR=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Ofe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ife(t){return Ofe.has(t.tagName)||t.tabIndex!==-1}const qv=new WeakSet;function X9(t){return e=>{e.key==="Enter"&&t(e)}}function QE(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Dfe=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=X9(()=>{if(qv.has(n))return;QE(n,"down");const i=X9(()=>{QE(n,"up")}),s=()=>QE(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",s,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function Z9(t){return SR(t)&&!fq()}function Mfe(t,e,n={}){const[r,i,s]=pq(t,n),a=o=>{const l=o.currentTarget;if(!Z9(o))return;qv.add(l);const c=e(l,o),d=(g,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),qv.has(l)&&qv.delete(l),Z9(g)&&typeof c=="function"&&c(g,{success:b})},f=g=>{d(g,l===window||l===document||n.useGlobalTarget||mq(l,g.target))},p=g=>{d(g,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",p,i)};return r.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",a,i),hq(o)&&(o.addEventListener("focus",c=>Dfe(c,i)),!Ife(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),s}function gq(t){return TG(t)&&"ownerSVGElement"in t}function Lfe(t){return gq(t)&&t.tagName==="svg"}const hi=t=>!!(t&&t.getVelocity),Bfe=[...lq,lr,Xc],Pfe=t=>Bfe.find(oq(t)),_R=A.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Q9(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ffe(...t){return e=>{let n=!1;const r=t.map(i=>{const s=Q9(i,e);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Q9(t[i],null)}}}}function zfe(...t){return A.useCallback(Ffe(...t),t)}class Ufe extends A.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=hq(r)&&r.offsetWidth||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function jfe({children:t,isPresent:e,anchorX:n,root:r}){const i=A.useId(),s=A.useRef(null),a=A.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=A.useContext(_R),l=zfe(s,t?.ref);return A.useInsertionEffect(()=>{const{width:c,height:d,top:f,left:p,right:g}=a.current;if(e||!s.current||!c||!d)return;const b=n==="left"?`left: ${p}`:`right: ${g}`;s.current.dataset.motionPopId=i;const y=document.createElement("style");o&&(y.nonce=o);const w=r??document.head;return w.appendChild(y),y.sheet&&y.sheet.insertRule(`
55          [data-motion-pop-id="${i}"] {
56            position: absolute !important;
57            width: ${c}px !important;
58            height: ${d}px !important;
59            ${b}px !important;
60            top: ${f}px !important;
61          }
62        `),()=>{w.contains(y)&&w.removeChild(y)}},[e]),x.jsx(Ufe,{isPresent:e,childRef:s,sizeRef:a,children:A.cloneElement(t,{ref:l})})}const Hfe=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:a,anchorX:o,root:l})=>{const c=sS($fe),d=A.useId();let f=!0,p=A.useMemo(()=>(f=!1,{id:d,initial:e,isPresent:n,custom:i,onExitComplete:g=>{c.set(g,!0);for(const b of c.values())if(!b)return;r&&r()},register:g=>(c.set(g,!1),()=>c.delete(g))}),[n,c,r]);return s&&f&&(p={...p}),A.useMemo(()=>{c.forEach((g,b)=>c.set(b,!1))},[n]),A.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),a==="popLayout"&&(t=x.jsx(jfe,{isPresent:n,anchorX:o,root:l,children:t})),x.jsx(aS.Provider,{value:p,children:t})};function $fe(){return new Map}function bq(t=!0){const e=A.useContext(aS);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,s=A.useId();A.useEffect(()=>{if(t)return i(s)},[t]);const a=A.useCallback(()=>t&&r&&r(s),[s,r,t]);return!n&&r?[!1,a]:[!0]}const Dy=t=>t.key||"";function J9(t){const e=[];return A.Children.forEach(t,n=>{A.isValidElement(n)&&e.push(n)}),e}const Vfe=({children:t,custom:e,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:a=!1,anchorX:o="left",root:l})=>{const[c,d]=bq(a),f=A.useMemo(()=>J9(t),[t]),p=a&&!c?[]:f.map(Dy),g=A.useRef(!0),b=A.useRef(f),y=sS(()=>new Map),[w,S]=A.useState(f),[_,E]=A.useState(f);tR(()=>{g.current=!1,b.current=f;for(let N=0;N<_.length;N++){const I=Dy(_[N]);p.includes(I)?y.delete(I):y.get(I)!==!0&&y.set(I,!1)}},[_,p.length,p.join("-")]);const T=[];if(f!==w){let N=[...f];for(let I=0;I<_.length;I++){const P=_[I],z=Dy(P);p.includes(z)||(N.splice(I,0,P),T.push(P))}return s==="wait"&&T.length&&(N=T),E(J9(N)),S(f),null}const{forceRender:R}=A.useContext(J4);return x.jsx(x.Fragment,{children:_.map(N=>{const I=Dy(N),P=a&&!c?!1:f===_||p.includes(I),z=()=>{if(y.has(I))y.set(I,!0);else return;let U=!0;y.forEach(Z=>{Z||(U=!1)}),U&&(R?.(),E(b.current),a&&d?.(),r&&r())};return x.jsx(Hfe,{isPresent:P,initial:!g.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:s,root:l,onExitComplete:P?void 0:z,anchorX:o,children:N},I)})})},yq=A.createContext({strict:!1}),eB={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Uf={};for(const t in eB)Uf[t]={isEnabled:e=>eB[t].some(n=>!!e[n])};function Gfe(t){for(const e in t)Uf[e]={...Uf[e],...t[e]}}const qfe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function B1(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||qfe.has(t)}let vq=t=>!B1(t);function Wfe(t){typeof t=="function"&&(vq=e=>e.startsWith("on")?!B1(e):t(e))}try{Wfe(require("@emotion/is-prop-valid").default)}catch{}function Kfe(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(vq(i)||n===!0&&B1(i)||
vendor: 4,695 bytes, line 62
62!e&&!B1(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}const oS=A.createContext({});function lS(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ng(t){return typeof t=="string"||Array.isArray(t)}const xR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ER=["initial",...xR];function cS(t){return lS(t.animate)||ER.some(e=>Ng(t[e]))}function wq(t){return!!(cS(t)||t.variants)}function Yfe(t,e){if(cS(t)){const{initial:n,animate:r}=t;return{initial:n===!1||Ng(n)?n:void 0,animate:Ng(r)?r:void 0}}return t.inherit!==!1?e:{}}function Xfe(t){const{initial:e,animate:n}=Yfe(t,A.useContext(oS));return A.useMemo(()=>({initial:e,animate:n}),[tB(e),tB(n)])}function tB(t){return Array.isArray(t)?t.join(" "):t}function nB(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Rm={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(wt.test(t))t=parseFloat(t);else return t;const n=nB(t,e.target.x),r=nB(t,e.target.y);return`${n}% ${r}%`}},Zfe={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=Xc.parse(t);if(i.length>5)return r;const s=Xc.createTransformer(t),a=typeof i[0]!="number"?1:0,o=n.x.scale*e.x,l=n.y.scale*e.y;i[0+a]/=o,i[1+a]/=l;const c=zn(o,l,.5);return typeof i[2+a]=="number"&&(i[2+a]/=c),typeof i[3+a]=="number"&&(i[3+a]/=c),s(i)}},IC={borderRadius:{...Rm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Rm,borderTopRightRadius:Rm,borderBottomLeftRadius:Rm,borderBottomRightRadius:Rm,boxShadow:Zfe};function Sq(t,{layout:e,layoutId:n}){return pp.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!IC[t]||t==="opacity")}const Qfe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Jfe=fp.length;function epe(t,e,n){let r="",i=!0;for(let s=0;s<Jfe;s++){const a=fp[s],o=t[a];if(o===void 0)continue;let l=!0;if(typeof o=="number"?l=o===(a.startsWith("scale")?1:0):l=parseFloat(o)===0,!l||n){const c=dq(o,vR[a]);if(!l){i=!1;const d=Qfe[a]||a;r+=`${d}(${c}) `}n&&(e[a]=c)}}return r=r.trim(),n?r=n(e,i?"":r):i&&(r="none"),r}function kR(t,e,n){const{style:r,vars:i,transformOrigin:s}=t;let a=!1,o=!1;for(const l in e){const c=e[l];if(pp.has(l)){a=!0;continue}else if(HG(l)){i[l]=c;continue}else{const d=dq(c,vR[l]);l.startsWith("origin")?(o=!0,s[l]=d):r[l]=d}}if(e.transform||(a||n?r.transform=epe(e,t.transform,n):r.transform&&(r.transform="none")),o){const{originX:l="50%",originY:c="50%",originZ:d=0}=s;r.transformOrigin=`${l} ${c} ${d}`}}const CR=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _q(t,e,n){for(const r in e)!hi(e[r])&&!Sq(r,n)&&(t[r]=e[r])}function tpe({transformTemplate:t},e){return A.useMemo(()=>{const n=CR();return kR(n,e,t),Object.assign({},n.vars,n.style)},[e])}function npe(t,e){const n=t.style||{},r={};return _q(r,n,t),Object.assign(r,tpe(t,e)),r}function rpe(t,e){const n={},r=npe(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}const ipe={offset:"stroke-dashoffset",array:"stroke-dasharray"},spe={offset:"strokeDashoffset",array:"strokeDasharray"};function ape(t,e,n=1,r=0,i=!0){t.pathLength=1;const s=i?ipe:spe;t[s.offset]=wt.transform(-r);const a=wt.transform(e),o=wt.transform(n);t[s.array]=`${a} ${o}`}function xq(t,{attrX:e,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:a=0,...o},l,c,d){if(kR(t,o,c),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:p}=t;f.transform&&(p.transform=f.transform,delete f.transform),(p.transform||f.transformOrigin)&&(p.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),p.transform&&(p.transformBox=d?.transformBox??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&ape(f,i,s,a,!1)}const Eq=()=>({...CR(),attrs:{}}),kq=t=>typeof t=="string"&&t.toLowerCase()==="svg";function ope(t,e,n,r){const i=A.useMemo(()=>{const s=Eq();return xq(s,e,kq(r),t.transformTemplate,t.style),{...s.attrs,style:{...s.style}}},[e]);if(t.style){const s={};_q(s,t.style,t),i.style={...s,...i.style}}return i}const lpe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function TR(t){return typeof t!="string"||t.includes("-")?!1:!!(lpe.indexOf(t)>-1||/[A-Z]/u.test(t))}function cpe(t,e,n,{latestValues:r}
62,i,s=!1){const o=(TR(t)?ope:rpe)(e,r,i,t),l=Kfe(e,typeof t=="string",s),c=t!==A.Fragment?{...l,...o,ref:n}:{},{children:d}=e,f=A.useMemo(()=>hi(d)?d.get():d,[d]);return A.createElement(t,{...c,children:f})}function rB(t){const e=[{},{}];return t?.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function AR(t,e,n,r){if(typeof e=="function"){const[i,s]=rB(r);e=e(n!==void 0?n:t.custom,i,s)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,s]=rB(r);e=e(n!==void 0?n:t.custom,i,s)}return e}function Wv(t){return hi(t)?t.get():t}function upe({scrapeMotionValuesFromProps:t,createRenderState:e},n,r,i){return{latestValues:dpe(n,r,i,t),renderState:e()}}function dpe(t,e,n,r){const i={},s=r(t,{});for(const p in s)i[p]=Wv(s[p]);let{initial:a,animate:o}=t;const l=cS(t),c=wq(t);e&&c&&!l&&t.inherit!==!1&&(a===void 0&&(a=e.initial),o===void 0&&(o=e.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const f=d?o:a;if(f&&typeof f!="boolean"&&!lS(f)){const p=Array.isArray(f)?f:[f];for(let g=0;g<p.length;g++){const b=AR(t,p[g]);if(b){const{transitionEnd:y,transition:w,...S}=b;for(const _ in S){let E=S[_];if(Array.isArray(E)){const T=d?E.length-1:0;E=E[T]}E!==null&&(i[_]=E)}for(const _ in y)i[_]=y[_]}}}return i}const Cq=t=>(e,n)=>{const r=A.useContext(oS),i=A.useContext(aS),s=()=>upe(t,e,r,i);return n?s():sS(s)};function RR(t,e,n){const{style:r}=t,i={};for(const s in r)(hi(r[s])||e.style&&hi(e.style[s])||Sq(s,t)||n?.getValue(s)?.liveStyle!==void 0)&&(i[s]=r[s]);return i}const hpe=Cq({scrapeMotionValuesFromProps:RR,createRenderState:CR});function Tq(t,e,n){const r=RR(t,e,n);for(const i in t)if(hi(t[i])||hi(e[i])){const s=fp.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=t[i]}return r}const fpe=Cq({scrapeMotionValuesFromProps:Tq,createRenderState:Eq}),ppe=Symbol.for("motionComponentSymbol");function of(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function mpe(t,e,n){return A.useCallback(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):of(n)&&(n.current=r))},[e])}const NR=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),gpe="framerAppearId",Aq="data-"+NR(gpe),Rq=A.createContext({});function bpe(t,e,n,r,i){const{visualElement:s}=A.useContext(oS),a=A.useContext(yq),o=A.useContext(aS),l=A.useContext(_R).reducedMotion,c=A.useRef(null);r=r||a.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:s,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:l}));const d=c.current,f=A.useContext(Rq);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&ype(c.current,n,i,f);const p=A.useRef(!1);A.useInsertionEffect(()=>{d&&p.current&&d.update(n,o)});const g=n[Aq],b=A.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return tR(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),b.current&&d.animationState&&d.animationState.animateChanges())}),A.useEffect(()=>{d&&(!b.current&&d.animationState&&d.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),b.current=!1),d.enteringChildren=void 0)}),d}function ype(t,e,n,r){const{layoutId:i,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:c,layoutCrossfade:d}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Nq(t.parent)),t.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!a||o&&of(o),visualElement:t,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c})}function Nq(t){if(t)return t.options.allowProjection!==!1?t.projection:Nq(t.parent)}function JE(t,{forwardMotionProps:e=!1}={},n,r){n&&Gfe(n);const i=TR(t)?fpe:hpe;function s(o,l){let c;const d={...A.useContext(_R),...o,layoutId:vpe(o)},{isStatic:f}=d,p=Xfe(o),g=i(o,f);if(!f&&eR){wpe();const b=Spe(d);c=b.MeasureLayout,p.visualElement=bpe(t,g,d,r,b.ProjectionNode)}return x.jsxs(oS.Provider,{value:p,children:[c&&p.visualElement?x.jsx(c,{visualElement:p.visualElement,...d}):null,cpe(t,o,mpe(g,p.visualElement,l),g,f,e)]})}s.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const a=A.forwardRef(s);return a[ppe]=t,a}function vpe({layoutId:t}){const e=A.useContext(J4).id;return e&&t!==void 0?e+"-"+t:t}function wpe(t,e){A.useContext(yq).strict}function Spe(t){const{drag:e,layout:n}=Uf;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
vendor: 33,609 bytes, line 62
62function _pe(t,e){if(typeof Proxy>"u")return JE;const n=new Map,r=(s,a)=>JE(s,a,t,e),i=(s,a)=>r(s,a);return new Proxy(i,{get:(s,a)=>a==="create"?r:(n.has(a)||n.set(a,JE(a,void 0,t,e)),n.get(a))})}function Oq({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function xpe({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Epe(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function e2(t){return t===void 0||t===1}function DC({scale:t,scaleX:e,scaleY:n}){return!e2(t)||!e2(e)||!e2(n)}function Xu(t){return DC(t)||Iq(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Iq(t){return iB(t.x)||iB(t.y)}function iB(t){return t&&t!=="0%"}function P1(t,e,n){const r=t-n,i=e*r;return n+i}function sB(t,e,n,r,i){return i!==void 0&&(t=P1(t,i,r)),P1(t,n,r)+e}function MC(t,e=0,n=1,r,i){t.min=sB(t.min,e,n,r,i),t.max=sB(t.max,e,n,r,i)}function Dq(t,{x:e,y:n}){MC(t.x,e.translate,e.scale,e.originPoint),MC(t.y,n.translate,n.scale,n.originPoint)}const aB=.999999999999,oB=1.0000000000001;function kpe(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let s,a;for(let o=0;o<i;o++){s=n[o],a=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&cf(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,Dq(t,a)),r&&Xu(s.latestValues)&&cf(t,s.latestValues))}e.x<oB&&e.x>aB&&(e.x=1),e.y<oB&&e.y>aB&&(e.y=1)}function lf(t,e){t.min=t.min+e,t.max=t.max+e}function lB(t,e,n,r,i=.5){const s=zn(t.min,t.max,i);MC(t,e,n,s,r)}function cf(t,e){lB(t.x,e.x,e.scaleX,e.scale,e.originX),lB(t.y,e.y,e.scaleY,e.scale,e.originY)}function Mq(t,e){return Oq(Epe(t.getBoundingClientRect(),e))}function Cpe(t,e,n){const r=Mq(t,n),{scroll:i}=e;return i&&(lf(r.x,i.offset.x),lf(r.y,i.offset.y)),r}const cB=()=>({translate:0,scale:1,origin:0,originPoint:0}),uf=()=>({x:cB(),y:cB()}),uB=()=>({min:0,max:0}),_r=()=>({x:uB(),y:uB()}),LC={current:null},Lq={current:!1};function Tpe(){if(Lq.current=!0,!!eR)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>LC.current=t.matches;t.addEventListener("change",e),e()}else LC.current=!1}const Ape=new WeakMap;function Rpe(t,e,n){for(const r in e){const i=e[r],s=n[r];if(hi(i))t.addValue(r,i);else if(hi(s))t.addValue(r,zf(i,{owner:t}));else if(s!==i)if(t.hasValue(r)){const a=t.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=t.getStaticValue(r);t.addValue(r,zf(a!==void 0?a:i,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const dB=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Npe{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=bR,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=cs.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Nn.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=cS(n),this.isVariantNode=wq(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const g=f[p];l[p]!==void 0&&hi(g)&&g.set(l[p])}}mount(e){this.current=e,Ape.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Lq.current||Tpe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:LC.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Yc(this.notifyUpdate),Yc(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=pp.has(e);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&Nn.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Uf){const n=Uf[e];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const s=this.features[e];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_r()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<dB.length;r++){const i=dB[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,a=e[s];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=Rpe(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=zf(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(CG(r)||AG(r))?r=parseFloat(r):!Pfe(r)&&Xc.test(n)&&(r=uq(e,n)),this.setBaseTarget(e,hi(r)?r.get():r)),hi(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=AR(this.props,n,this.presenceContext?.custom);s&&(r=s[e])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!hi(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new aR),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){wR.render(this.render)}}class Bq extends Npe{constructor(){super(...arguments),this.KeyframeResolver=kfe}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;hi(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Pq(t,{style:e,vars:n},r,i){const s=t.style;let a;for(a in e)s[a]=e[a];i?.applyProjectionStyles(s,r);for(a in n)s.setProperty(a,n[a])}function Ope(t){return window.getComputedStyle(t)}class Ipe extends Bq{constructor(){super(...arguments),this.type="html",this.renderInstance=Pq}readValueFromInstance(e,n){if(pp.has(n))return this.projection?.isProjecting?kC(n):Vhe(e,n);{const r=Ope(e),i=(HG(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Mq(e,n)}build(e,n,r){kR(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return RR(e,n,r)}}const Fq=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Dpe(t,e,n,r){Pq(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(Fq.has(i)?i:NR(i),e.attrs[i])}class Mpe extends Bq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_r}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(pp.has(n)){const r=cq(n);return r&&r.default||0}return n=Fq.has(n)?n:NR(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return Tq(e,n,r)}build(e,n,r){xq(e,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,n,r,i){Dpe(e,n,r,i)}mount(e){this.isSVGTag=kq(e.tagName),super.mount(e)}}const Lpe=(t,e)=>TR(t)?new Mpe(e):new Ipe(e,{allowProjection:t!==A.Fragment});function _f(t,e,n){const r=t.getProps();return AR(r,e,n!==void 0?n:r.custom,t)}const BC=t=>Array.isArray(t);function Bpe(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,zf(n))}function Ppe(t){return BC(t)?t[t.length-1]||0:t}function OR(t,e){const n=_f(t,e);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const a in s){const o=Ppe(s[a]);Bpe(t,a,o)}}function Fpe(t){return!!(hi(t)&&t.add)}function PC(t,e){const n=t.getValue("willChange");if(Fpe(n))return n.add(e);if(!n&&Pl.WillChange){const r=new Pl.WillChange("auto");t.addValue("willChange",r),r.add(e)}}function zq(t){return t.props[Aq]}const zpe=t=>t!==null;function Upe(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(zpe),s=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[s]}const jpe={type:"spring",stiffness:500,damping:25,restSpeed:10},Hpe=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),$pe={type:"keyframes",duration:.8},Vpe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Gpe=(t,{keyframes:e})=>e.length>2?$pe:pp.has(t)?t.startsWith("scale")?Hpe(e[1]):jpe:Vpe;function qpe({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:c,...d}){return!!Object.keys(d).length}const IR=(t,e,n,r={},i,s)=>a=>{const o=yR(r,t)||{},l=o.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Bo(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-c,onUpdate:p=>{e.set(p),o.onUpdate&&o.onUpdate(p)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:s?void 0:i};qpe(o)||Object.assign(d,Gpe(t,d)),d.duration&&(d.duration=Bo(d.duration)),d.repeatDelay&&(d.repeatDelay=Bo(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(NC(d),d.delay===0&&(f=!0)),(Pl.instantAnimations||Pl.skipAnimations)&&(f=!0,NC(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,f&&!s&&e.get()!==void 0){const p=Upe(d.keyframes,o);if(p!==void 0){Nn.update(()=>{d.onUpdate(p),d.onComplete()});return}}return o.isSync?new gR(d):new ffe(d)};function Wpe({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function Uq(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=e;r&&(s=r);const l=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const d in o){const f=t.getValue(d,t.latestValues[d]??null),p=o[d];if(p===void 0||c&&Wpe(c,d))continue;const g={delay:n,...yR(s||{},d)},b=f.get();if(b!==void 0&&!f.isAnimating&&!Array.isArray(p)&&p===b&&!g.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const S=zq(t);if(S){const _=window.MotionHandoffAnimation(S,d,Nn);_!==null&&(g.startTime=_,y=!0)}}PC(t,d),f.start(IR(d,f,p,t.shouldReduceMotion&&aq.has(d)?{type:!1}:g,t,y));const w=f.animation;w&&l.push(w)}return a&&Promise.all(l).then(()=>{Nn.update(()=>{a&&OR(t,a)})}),l}function jq(t,e,n,r=0,i=1){const s=Array.from(t).sort((c,d)=>c.sortNodePosition(d)).indexOf(e),a=t.size,o=(a-1)*r;return typeof n=="function"?n(s,a):i===1?s*r:o-s*r}function FC(t,e,n={}){const r=_f(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Uq(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return Kpe(t,e,l,c,d,f,n)}:()=>Promise.resolve(),{when:o}=i;if(o){const[l,c]=o==="beforeChildren"?[s,a]:[a,s];return l().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function Kpe(t,e,n=0,r=0,i=0,s=1,a){const o=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),o.push(FC(l,e,{...a,delay:n+(typeof r=="function"?0:r)+jq(t.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}function Hq(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(s=>FC(t,s,n));r=Promise.all(i)}else if(typeof e=="string")r=FC(t,e,n);else{const i=typeof e=="function"?_f(t,e,n.custom):e;r=Promise.all(Uq(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}function $q(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}const Ype=ER.length;function Vq(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Vq(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<Ype;n++){const r=ER[n],i=t.props[r];(Ng(i)||i===!1)&&(e[r]=i)}return e}const Xpe=[...xR].reverse(),Zpe=xR.length;function Qpe(t){return e=>Promise.all(e.map(({animation:n,options:r})=>Hq(t,n,r)))}function Jpe(t){let e=Qpe(t),n=hB(),r=!0;const i=l=>(c,d)=>{const f=_f(t,d,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:p,transitionEnd:g,...b}=f;c={...c,...b,...g}}return c};function s(l){e=l(t)}function a(l){const{props:c}=t,d=Vq(t.parent)||{},f=[],p=new Set;let g={},b=1/0;for(let w=0;w<Zpe;w++){const S=Xpe[w],_=n[S],E=c[S]!==void 0?c[S]:d[S],T=Ng(E),R=S===l?_.isActive:null;R===!1&&(b=w);let N=E===d[S]&&E!==c[S]&&T;if(N&&r&&t.manuallyAnimateOnMount&&(N=!1),_.protectedKeys={...g},!_.isActive&&R===null||!E&&!_.prevProp||lS(E)||typeof E=="boolean")continue;const I=eme(_.prevProp,E);let P=I||S===l&&_.isActive&&!N&&T||w>b&&T,z=!1;const U=Array.isArray(E)?E:[E];let Z=U.reduce(i(S),{});R===!1&&(Z={});const{prevResolvedValues:L={}}=_,$={...L,...Z},D=K=>{P=!0,p.has(K)&&(z=!0,p.delete(K)),_.needsAnimating[K]=!0;const Y=t.getValue(K);Y&&(Y.liveStyle=!1)};for(const K in $){const Y=Z[K],te=L[K];if(g.hasOwnProperty(K))continue;let q=!1;BC(Y)&&BC(te)?q=!$q(Y,te):q=Y!==te,q?Y!=null?D(K):p.add(K):Y!==void 0&&p.has(K)?D(K):_.protectedKeys[K]=!0}_.prevProp=E,_.prevResolvedValues=Z,_.isActive&&(g={...g,...Z}),r&&t.blockInitialAnimation&&(P=!1);const W=N&&I;P&&(!W||z)&&f.push(...U.map(K=>{const Y={type:S};if(typeof K=="string"&&r&&!W&&t.manuallyAnimateOnMount&&t.parent){const{parent:te}=t,q=_f(te,K);if(te.enteringChildren&&q){const{delayChildren:j}=q.transition||{};Y.delay=jq(te.enteringChildren,t,j)}}return{animation:K,options:Y}}))}if(p.size){const w={};if(typeof c.initial!="boolean"){const S=_f(t,Array.isArray(c.initial)?c.initial[0]:c.initial);S&&S.transition&&(w.transition=S.transition)}p.forEach(S=>{const _=t.getBaseTarget(S),E=t.getValue(S);E&&(E.liveStyle=!0),w[S]=_??null}),f.push({animation:w})}let y=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(y=!1),r=!1,y?e(f):Promise.resolve()}function o(l,c){if(n[l].isActive===c)return Promise.resolve();t.variantChildren?.forEach(f=>f.animationState?.setActive(l,c)),n[l].isActive=c;const d=a(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:o,setAnimateFunction:s,getState:()=>n,reset:()=>{n=hB()}}}function eme(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!$q(e,t):!1}function Pu(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hB(){return{animate:Pu(!0),whileInView:Pu(),whileHover:Pu(),whileTap:Pu(),whileDrag:Pu(),whileFocus:Pu(),exit:Pu()}}class du{constructor(e){this.isMounted=!1,this.node=e}update(){}}class tme extends du{constructor(e){super(e),e.animationState||(e.animationState=Jpe(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();lS(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nme=0;class rme extends du{constructor(){super(...arguments),this.id=nme++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const ime={animation:{Feature:tme},exit:{Feature:rme}};function Og(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function C0(t){return{point:{x:t.pageX,y:t.pageY}}}const sme=t=>e=>SR(e)&&t(e,C0(e));function cg(t,e,n,r){return Og(t,e,sme(n),r)}const Gq=1e-4,ame=1-Gq,ome=1+Gq,qq=.01,lme=0-qq,cme=0+qq;function Mi(t){return t.max-t.min}function ume(t,e,n){return Math.abs(t-e)<=n}function fB(t,e,n,r=.5){t.origin=r,t.originPoint=zn(e.min,e.max,t.origin),t.scale=Mi(n)/Mi(e),t.translate=zn(n.min,n.max,t.origin)-t.originPoint,(t.scale>=ame&&t.scale<=ome||isNaN(t.scale))&&(t.scale=1),(t.translate>=lme&&t.translate<=cme||isNaN(t.translate))&&(t.translate=0)}function ug(t,e,n,r){fB(t.x,e.x,n.x,r?r.originX:void 0),fB(t.y,e.y,n.y,r?r.originY:void 0)}function pB(t,e,n){t.min=n.min+e.min,t.max=t.min+Mi(e)}function dme(t,e,n){pB(t.x,e.x,n.x),pB(t.y,e.y,n.y)}function mB(t,e,n){t.min=e.min-n.min,t.max=t.min+Mi(e)}function F1(t,e,n){mB(t.x,e.x,n.x),mB(t.y,e.y,n.y)}function aa(t){return[t("x"),t("y")]}const Wq=({current:t})=>t?t.ownerDocument.defaultView:null,gB=(t,e)=>Math.abs(t-e);function hme(t,e){const n=gB(t.x,e.x),r=gB(t.y,e.y);return Math.sqrt(n**2+r**2)}class Kq{constructor(e,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=n2(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,b=hme(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!b)return;const{point:y}=p,{timestamp:w}=Kr;this.history.push({...y,timestamp:w});const{onStart:S,onMove:_}=this.handlers;g||(S&&S(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,p)},this.handlePointerMove=(p,g)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=t2(g,this.transformPagePoint),Nn.update(this.updatePoint,!0)},this.handlePointerUp=(p,g)=>{this.end();const{onEnd:b,onSessionEnd:y,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=n2(p.type==="pointercancel"?this.lastMoveEventInfo:t2(g,this.transformPagePoint),this.history);this.startEvent&&b&&b(p,S),y&&y(p,S)},!SR(e))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=i||window;const o=C0(e),l=t2(o,this.transformPagePoint),{point:c}=l,{timestamp:d}=Kr;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(e,n2(l,this.history)),this.removeListeners=x0(cg(this.contextWindow,"pointermove",this.handlePointerMove),cg(this.contextWindow,"pointerup",this.handlePointerUp),cg(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Yc(this.updatePoint)}}function t2(t,e){return e?{point:e(t.point)}:t}function bB(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n2({point:t},e){return{point:t,delta:bB(t,Yq(e)),offset:bB(t,fme(e)),velocity:pme(e,.1)}}function fme(t){return t[0]}function Yq(t){return t[t.length-1]}function pme(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=Yq(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>Bo(e)));)n--;if(!r)return{x:0,y:0};const s=ha(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const a={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function mme(t,{min:e,max:n},r){return e!==void 0&&t<e?t=r?zn(e,t,r.min):Math.max(t,e):n!==void 0&&t>n&&(t=r?zn(n,t,r.max):Math.min(t,n)),t}function yB(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function gme(t,{top:e,left:n,bottom:r,right:i}){return{x:yB(t.x,n,i),y:yB(t.y,e,r)}}function vB(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function bme(t,e){return{x:vB(t.x,e.x),y:vB(t.y,e.y)}}function yme(t,e){let n=.5;const r=Mi(t),i=Mi(e);return i>r?n=Tg(e.min,e.max-r,t.min):r>i&&(n=Tg(t.min,t.max-i,e.min)),Bl(0,1,n)}function vme(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const zC=.35;function wme(t=zC){return t===!1?t=0:t===!0&&(t=zC),{x:wB(t,"left","right"),y:wB(t,"top","bottom")}}function wB(t,e,n){return{min:SB(t,e),max:SB(t,n)}}function SB(t,e){return typeof t=="number"?t:t[e]||0}const Sme=new WeakMap;class _me{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_r(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{const{dragSnapToOrigin:p}=this.getProps();p?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(C0(f).point)},a=(f,p)=>{const{drag:g,dragPropagation:b,onDragStart:y}=this.getProps();if(g&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Rfe(g),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),aa(S=>{let _=this.getAxisMotionValue(S).get()||0;if(Po.test(_)){const{projection:E}=this.visualElement;if(E&&E.layout){const T=E.layout.layoutBox[S];T&&(_=Mi(T)*(parseFloat(_)/100))}}this.originPoint[S]=_}),y&&Nn.postRender(()=>y(f,p)),PC(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},o=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p;const{dragPropagation:g,dragDirectionLock:b,onDirectionLock:y,onDrag:w}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:S}=p;if(b&&this.currentDirection===null){this.currentDirection=xme(S),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",p.point,S),this.updateAxis("y",p.point,S),this.visualElement.render(),w&&w(f,p)},l=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p,this.stop(f,p),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>aa(f=>this.getAnimationState(f)==="paused"&&this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Kq(e,{onSessionStart:s,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:Wq(this.visualElement)})}stop(e,n){const r=e||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:o}=this.getProps();o&&Nn.postRender(()=>o(r,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!My(e,i,this.currentDirection))return;const s=this.getAxisMotionValue(e);let a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=mme(a,this.constraints[e],this.elastic[e])),s.set(a)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&of(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=gme(r.layoutBox,e):this.constraints=!1,this.elastic=wme(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&aa(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=vme(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!of(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=Cpe(r,i.root,this.visualElement.getTransformPagePoint());let a=bme(i.layout.layoutBox,s);if(n){const o=n(xpe(a));this.hasMutatedConstraints=!!o,o&&(a=Oq(o))}return a}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},c=aa(d=>{if(!My(d,n,this.currentDirection))return;let f=l&&l[d]||{};a&&(f={min:0,max:0});const p=i?200:1e6,g=i?40:1e7,b={type:"inertia",velocity:r?e[d]:0,bounceStiffness:p,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,b)});return Promise.all(c).then(o)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return PC(this.visualElement,e),r.start(IR(e,r,0,n,this.visualElement,!1))}stopAnimation(){aa(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){aa(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){aa(n=>{const{drag:r}=this.getProps();if(!My(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:o}=i.layout.layoutBox[n];s.set(e[n]-zn(a,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!of(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};aa(a=>{const o=this.getAxisMotionValue(a);if(o&&this.constraints!==!1){const l=o.get();i[a]=yme({min:l,max:l},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),aa(a=>{if(!My(a,e,null))return;const o=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];o.set(zn(l,c,i[a]))})}addListeners(){if(!this.visualElement.current)return;Sme.set(this.visualElement,this);const e=this.visualElement.current,n=cg(e,"pointerdown",l=>{const{drag:c,dragListener:d=!0}=this.getProps();c&&d&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();of(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Nn.read(r);const a=Og(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(aa(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())}));return()=>{a(),n(),s(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:a=zC,dragMomentum:o=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:a,dragMomentum:o}}}function My(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function xme(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class Eme extends du{constructor(e){super(e),this.removeGroupControls=va,this.removeListeners=va,this.controls=new _me(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||va}unmount(){this.removeGroupControls(),this.removeListeners()}}const _B=t=>(e,n)=>{t&&Nn.postRender(()=>t(e,n))};class kme extends du{constructor(){super(...arguments),this.removePointerDownListener=va}onPointerDown(e){this.session=new Kq(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Wq(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:_B(e),onStart:_B(n),onMove:r,onEnd:(s,a)=>{delete this.session,i&&Nn.postRender(()=>i(s,a))}}}mount(){this.removePointerDownListener=cg(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Kv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let r2=!1;class Cme extends A.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=e;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),r2&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Kv.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:a}=r;return a&&(a.isPresent=s,r2=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==s?a.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?a.promote():a.relegate()||Nn.postRender(()=>{const o=a.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),wR.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;r2=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Xq(t){const[e,n]=bq(),r=A.useContext(J4);return x.jsx(Cme,{...t,layoutGroup:r,switchLayoutGroup:A.useContext(Rq),isPresent:e,safeToRemove:n})}function Tme(t,e,n){const r=hi(t)?t:zf(t);
vendor: 4,323 bytes, line 62
62return r.start(IR("",r,e,n)),r.animation}const Ame=(t,e)=>t.depth-e.depth;class Rme{constructor(){this.children=[],this.isDirty=!1}add(e){nR(this.children,e),this.isDirty=!0}remove(e){rR(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ame),this.isDirty=!1,this.children.forEach(e)}}function Nme(t,e){const n=cs.now(),r=({timestamp:i})=>{const s=i-n;s>=e&&(Yc(r),t(s-e))};return Nn.setup(r,!0),()=>Yc(r)}const Zq=["TopLeft","TopRight","BottomLeft","BottomRight"],Ome=Zq.length,xB=t=>typeof t=="string"?parseFloat(t):t,EB=t=>typeof t=="number"||wt.test(t);function Ime(t,e,n,r,i,s){i?(t.opacity=zn(0,n.opacity??1,Dme(r)),t.opacityExit=zn(e.opacity??1,0,Mme(r))):s&&(t.opacity=zn(e.opacity??1,n.opacity??1,r));for(let a=0;a<Ome;a++){const o=`border${Zq[a]}Radius`;let l=kB(e,o),c=kB(n,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||EB(l)===EB(c)?(t[o]=Math.max(zn(xB(l),xB(c),r),0),(Po.test(c)||Po.test(l))&&(t[o]+="%")):t[o]=c}(e.rotate||n.rotate)&&(t.rotate=zn(e.rotate||0,n.rotate||0,r))}function kB(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Dme=Qq(0,.5,BG),Mme=Qq(.5,.95,va);function Qq(t,e,n){return r=>r<t?0:r>e?1:n(Tg(t,e,r))}function CB(t,e){t.min=e.min,t.max=e.max}function Ia(t,e){CB(t.x,e.x),CB(t.y,e.y)}function TB(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function AB(t,e,n,r,i){return t-=e,t=P1(t,1/n,r),i!==void 0&&(t=P1(t,1/i,r)),t}function Lme(t,e=0,n=1,r=.5,i,s=t,a=t){if(Po.test(e)&&(e=parseFloat(e),e=zn(a.min,a.max,e/100)-a.min),typeof e!="number")return;let o=zn(s.min,s.max,r);t===s&&(o-=e),t.min=AB(t.min,e,n,o,i),t.max=AB(t.max,e,n,o,i)}function RB(t,e,[n,r,i],s,a){Lme(t,e[n],e[r],e[i],e.scale,s,a)}const Bme=["x","scaleX","originX"],Pme=["y","scaleY","originY"];function NB(t,e,n,r){RB(t.x,e,Bme,n?n.x:void 0,r?r.x:void 0),RB(t.y,e,Pme,n?n.y:void 0,r?r.y:void 0)}function OB(t){return t.translate===0&&t.scale===1}function Jq(t){return OB(t.x)&&OB(t.y)}function IB(t,e){return t.min===e.min&&t.max===e.max}function Fme(t,e){return IB(t.x,e.x)&&IB(t.y,e.y)}function DB(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eW(t,e){return DB(t.x,e.x)&&DB(t.y,e.y)}function MB(t){return Mi(t.x)/Mi(t.y)}function LB(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class zme{constructor(){this.members=[]}add(e){nR(this.members,e),e.scheduleRender()}remove(e){if(rR(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ume(t,e,n){let r="";const i=t.x.translate/e.x,s=t.y.translate/e.y,a=n?.z||0;if((i||s||a)&&(r=`translate3d(${i}px, ${s}px, ${a}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:c,rotate:d,rotateX:f,rotateY:p,skewX:g,skewY:b}=n;c&&(r=`perspective(${c}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),g&&(r+=`skewX(${g}deg) `),b&&(r+=`skewY(${b}deg) `)}const o=t.x.scale*e.x,l=t.y.scale*e.y;return(o!==1||l!==1)&&(r+=`scale(${o}, ${l})`),r||"none"}const i2=["","X","Y","Z"],jme=1e3;let Hme=0;function s2(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function tW(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=zq(e);
vendor: 20,874 bytes, line 62
62if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Nn,!(i||s))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&tW(r)}function nW({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},o=e?.()){this.id=Hme++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Gme),this.nodes.forEach(Yme),this.nodes.forEach(Xme),this.nodes.forEach(qme)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rme)}addEventListener(a,o){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new aR),this.eventHandlers.get(a).add(o)}notifyListeners(a,...o){const l=this.eventHandlers.get(a);l&&l.notify(...o)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=gq(a)&&!Lfe(a),this.instance=a;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),t){let d,f=0;const p=()=>this.root.updateBlockedByResize=!1;Nn.read(()=>{f=window.innerWidth}),t(a,()=>{const g=window.innerWidth;g!==f&&(f=g,this.root.updateBlockedByResize=!0,d&&d(),d=Nme(p,250),Kv.hasAnimatedSinceResize&&(Kv.hasAnimatedSinceResize=!1,this.nodes.forEach(FB)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||c.getDefaultTransition()||tge,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=c.getProps(),S=!this.targetLayout||!eW(this.targetLayout,g),_=!f&&p;if(this.options.layoutRoot||this.resumeFrom||_||f&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...yR(b,"layout"),onPlay:y,onComplete:w};(c.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(d,_)}else f||FB(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Yc(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zme),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&tW(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(BB);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(PB);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Kme),this.nodes.forEach($me),this.nodes.forEach(Vme)):this.nodes.forEach(PB),this.clearAllSnapshots();const o=cs.now();Kr.delta=Bl(0,1e3/60,o-Kr.timestamp),Kr.timestamp=o,Kr.isProcessing=!0,WE.update.process(Kr),WE.preRender.process(Kr),WE.render.process(Kr),Kr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wR.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wme),this.sharedNodes.forEach(Qme)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Nn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Nn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mi(this.snapshot.measuredBox.x)&&!Mi(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=_r(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(o=!1),o&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Jq(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,d=c!==this.prevTransformTemplateValue;a&&this.instance&&(o||Xu(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return a&&(l=this.removeTransform(l)),nge(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return _r();const o=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rge))){const{scroll:c}=this.root;c&&(lf(o.x,c.offset.x),lf(o.y,c.offset.y))}return o}removeElementScroll(a){const o=_r();if(Ia(o,a),this.scroll?.wasRoot)return o;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Ia(o,a),lf(o.x,d.offset.x),lf(o.y,d.offset.y))}return o}applyTransform(a,o=!1){const l=_r();Ia(l,a);for(let c=0;c<this.path.length;c++){const d=this.path[c];!o&&d.options.layoutScroll&&d.scroll&&d!==d.root&&cf(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Xu(d.latestValues)&&cf(l,d.latestValues)}return Xu(this.latestValues)&&cf(l,this.latestValues),l}removeTransform(a){const o=_r();Ia(o,a);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Xu(c.latestValues))continue;DC(c.latestValues)&&c.updateSnapshot();const d=_r(),f=c.measurePageBox();Ia(d,f),NB(o,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,d)}return Xu(this.latestValues)&&NB(o,this.latestValues),o}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Kr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(a||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Kr.timestamp;const p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=_r(),this.targetWithTransforms=_r()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dme(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ia(this.target,this.layout.layoutBox),Dq(this.target,this.targetDelta)):Ia(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||DC(this.parent.latestValues)||Iq(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,o,l){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_r(),this.relativeTargetOrigin=_r(),F1(this.relativeTargetOrigin,o,l),Ia(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const a=this.getLead(),o=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Kr.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;Ia(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;kpe(this.layoutCorrected,this.treeScale,this.path,o),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=_r());const{target:g}=a;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(TB(this.prevProjectionDelta.x,this.projectionDelta.x),TB(this.prevProjectionDelta.y,this.projectionDelta.y)),ug(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!LB(this.projectionDelta.x,this.prevProjectionDelta.x)||!LB(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=uf(),this.projectionDelta=uf(),this.projectionDeltaWithTransform=uf()}setAnimationOrigin(a,o=!1){const l=this.snapshot,c=l?l.latestValues:{},d={...this.latestValues},f=uf();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const p=_r(),g=l?l.source:void 0,b=this.layout?this.layout.source:void 0,y=g!==b,w=this.getStack(),S=!w||w.members.length<=1,_=!!(y&&!S&&this.options.crossfade===!0&&!this.path.some(ege));this.animationProgress=0;let E;this.mixTargetDelta=T=>{const R=T/1e3;zB(f.x,a.x,R),zB(f.y,a.y,R),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(F1(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Jme(this.relativeTarget,this.relativeTargetOrigin,p,R),E&&Fme(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=_r()),Ia(E,this.relativeTarget)),y&&(this.animationValues=d,Ime(d,c,this.latestValues,R,_,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=R},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Yc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Nn.update(()=>{Kv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zf(0)),this.currentAnimation=Tme(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:o=>{this.mixTargetDelta(o),a.onUpdate&&a.onUpdate(o)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jme),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:d}=a;if(!(!o||!l||!c)){if(this!==a&&this.layout&&c&&rW(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||_r();const f=Mi(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;const p=Mi(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+p}Ia(o,l),cf(o,d),ug(this.projectionDeltaWithTransform,this.layoutCorrected,o,d)}}registerSharedNode(a,o){this.sharedNodes.has(a)||this.sharedNodes.set(a,new zme),this.sharedNodes.get(a).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){const{layoutId:a}=this.options;return a?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let o=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&s2("z",a,c,this.animationValues);for(let d=0;d<i2.length;d++)s2(`rotate${i2[d]}`,a,c,this.animationValues),s2(`skew${i2[d]}`,a,c,this.animationValues);a.render();for(const d in c)a.setStaticValue(d,c[d]),this.animationValues&&(this.animationValues[d]=c[d]);a.scheduleRender()}applyProjectionStyles(a,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=Wv(o?.pointerEvents)||"",a.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=Wv(o?.pointerEvents)||""),this.hasProjected&&!Xu(this.latestValues)&&(a.transform=l?l({},""):"none",this.hasProjected=!1);return}a.visibility="";const d=c.animationValues||c.latestValues;this.applyTransformsToTarget();let f=Ume(this.projectionDeltaWithTransform,this.treeScale,d);l&&(f=l(d,f)),a.transform=f;const{x:p,y:g}=this.projectionDelta;a.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,c.animationValues?a.opacity=c===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=c===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const b in IC){if(d[b]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:S}=IC[b],_=f==="none"?d[b]:y(d[b],c);if(w){const E=w.length;for(let T=0;T<E;T++)a[w[T]]=_}else S?this.options.visualElement.renderState.vars[b]=_:a[b]=_}this.options.layoutId&&(a.pointerEvents=c===this?Wv(o?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>a.currentAnimation?.stop()),this.root.nodes.forEach(BB),this.root.sharedNodes.clear()}}}function $me(t){t.updateLayout()}function Vme(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=t.layout,{animationType:i}=t.options,s=e.source!==t.layout.source;i==="size"?aa(d=>{const f=s?e.measuredBox[d]:e.layoutBox[d],p=Mi(f);f.min=n[d].min,f.max=f.min+p}):rW(i,e.layoutBox,n)&&aa(d=>{const f=s?e.measuredBox[d]:e.layoutBox[d],p=Mi(n[d]);f.max=f.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+p)});const a=uf();ug(a,n,e.layoutBox);const o=uf();s?ug(o,t.applyTransform(r,!0),e.measuredBox):ug(o,n,e.layoutBox);const l=!Jq(a);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const g=_r();F1(g,e.layoutBox,f.layoutBox);const b=_r();F1(b,n,p.layoutBox),eW(g,b)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=g,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function Gme(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function qme(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Wme(t){t.clearSnapshot()}function BB(t){t.clearMeasurements()}function PB(t){t.isLayoutDirty=!1}function Kme(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function FB(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Yme(t){t.resolveTargetDelta()}function Xme(t){t.calcProjection()}
vendor: 4,277 bytes, line 62
62function Zme(t){t.resetSkewAndRotation()}function Qme(t){t.removeLeadSnapshot()}function zB(t,e,n){t.translate=zn(e.translate,0,n),t.scale=zn(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function UB(t,e,n,r){t.min=zn(e.min,n.min,r),t.max=zn(e.max,n.max,r)}function Jme(t,e,n,r){UB(t.x,e.x,n.x,r),UB(t.y,e.y,n.y,r)}function ege(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const tge={duration:.45,ease:[.4,0,.1,1]},jB=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),HB=jB("applewebkit/")&&!jB("chrome/")?Math.round:va;function $B(t){t.min=HB(t.min),t.max=HB(t.max)}function nge(t){$B(t.x),$B(t.y)}function rW(t,e,n){return t==="position"||t==="preserve-aspect"&&!ume(MB(e),MB(n),.2)}function rge(t){return t!==t.root&&t.scroll?.wasRoot}const ige=nW({attachResizeListener:(t,e)=>Og(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),a2={current:void 0},iW=nW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!a2.current){const t=new ige({});t.mount(window),t.setOptions({layoutScroll:!0}),a2.current=t}return a2.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),sge={pan:{Feature:kme},drag:{Feature:Eme,ProjectionNode:iW,MeasureLayout:Xq}};function VB(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&Nn.postRender(()=>s(e,C0(e)))}class age extends du{mount(){const{current:e}=this.node;e&&(this.unmount=Nfe(e,(n,r)=>(VB(this.node,r,"Start"),i=>VB(this.node,i,"End"))))}unmount(){}}class oge extends du{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=x0(Og(this.node.current,"focus",()=>this.onFocus()),Og(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function GB(t,e,n){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&Nn.postRender(()=>s(e,C0(e)))}class lge extends du{mount(){const{current:e}=this.node;e&&(this.unmount=Mfe(e,(n,r)=>(GB(this.node,r,"Start"),(i,{success:s})=>GB(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const UC=new WeakMap,o2=new WeakMap,cge=t=>{const e=UC.get(t.target);e&&e(t)},uge=t=>{t.forEach(cge)};function dge({root:t,...e}){const n=t||document;o2.has(n)||o2.set(n,{});const r=o2.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(uge,{root:t,...e})),r[i]}function hge(t,e,n){const r=dge(e);return UC.set(t,n),r.observe(t),()=>{UC.delete(t),r.unobserve(t)}}const fge={some:0,all:1};class pge extends du{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=e,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:fge[i]},o=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=c?d:f;p&&p(l)};return hge(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(mge(e,n))&&this.startObserver()}unmount(){}}function mge({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const gge={inView:{Feature:pge},tap:{Feature:lge},focus:{Feature:oge},hover:{Feature:age}},bge={layout:{ProjectionNode:iW,MeasureLayout:Xq}},yge={...ime,...gge,...sge,...bge},Yv=_pe(yge,Lpe);
vendor: 78,705 bytes, line 62
62function vge(t){t.values.forEach(e=>e.stop())}function jC(t,e){[...e].reverse().forEach(r=>{const i=t.getVariant(r);i&&OR(t,i),t.variantChildren&&t.variantChildren.forEach(s=>{jC(s,e)})})}function wge(t,e){if(Array.isArray(e))return jC(t,e);if(typeof e=="string")return jC(t,[e]);OR(t,e)}function Sge(){const t=new Set,e={subscribe(n){return t.add(n),()=>{t.delete(n)}},start(n,r){const i=[];return t.forEach(s=>{i.push(Hq(s,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return t.forEach(r=>{wge(r,n)})},stop(){t.forEach(n=>{vge(n)})},mount(){return()=>{e.stop()}}};return e}function _ge(){const t=sS(Sge);return tR(t.mount,[]),t}const xge=_ge,id="generated",Ege="pointerdown",kge="pointerup",HC="pointerleave",Cge="pointerout",Ed="pointermove",Tge="touchstart",qB="touchend",Age="touchmove",Rge="touchcancel",Nge="resize",Oge="visibilitychange",_a="tsParticles - Error",Pc=100,kr=.5,fi=1e3,li={x:0,y:0,z:0},Ly={a:1,b:0,c:0,d:1},jf="random",Xv="mid",pi=2,Ige=Math.PI*pi,l2=60,sW="true",WB="false",c2="canvas",KB=0,xl=2,YB=4,Dge=1,XB=1,ZB=1,Mge=4,aW=1,Zv=255,sd=360,$C=100,VC=100,QB=0,GC=0,Lge=60,Bge=0,z1=.25,JB=kr+z1,eP=0,Pge=1,Fge=0,zge=0,Uge=1,DR=1,jge=1,tP=1,U1=0,oW=1,Hge=0,$ge=120,Vge=0,Gge=0,qge=1e4,Wge=0,Kge=1,j1=0,lW=1,Yge=1,Xge=0,nP=1,Zge=0,Qge=0,rP=-z1,iP=1.5,sP=0,Jge=1,e0e=0,qC=0,cW=1,t0e=1,H1=1,n0e=500,aP=50,r0e=0,WC=1,uW=0,oP=1,i0e=0,Fu=255,u2=3,d2=6,s0e=1,a0e=1,o0e=0,l0e=0,c0e=0,u0e=0;var Yr;(function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"})(Yr||(Yr={}));function dW(t){return typeof t=="boolean"}function Zc(t){return typeof t=="string"}function Qc(t){return typeof t=="number"}function df(t){return typeof t=="object"&&t!==null}function Vo(t){return Array.isArray(t)}function Ye(t){return t==null}class Ns{constructor(e,n,r){if(this._updateFromAngle=(i,s)=>{this.x=Math.cos(i)*s,this.y=Math.sin(i)*s},!Qc(e)&&e){this.x=e.x,this.y=e.y;const i=e;this.z=i.z?i.z:li.z}else if(e!==void 0&&n!==void 0)this.x=e,this.y=n,this.z=r??li.z;else throw new Error(`${_a} Vector3d not initialized correctly`)}static get origin(){return Ns.create(li.x,li.y,li.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return Ns.create(e.x,e.y,e.z)}static create(e,n,r){return new Ns(e,n,r)}add(e){return Ns.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return Ns.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return Ns.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**xl+this.y**xl}mult(e){return Ns.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){const e=this.length;e!=j1&&this.multTo(aW/e)}rotate(e){return Ns.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),li.z)}setTo(e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:li.z}sub(e){return Ns.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}}class Ur extends Ns{constructor(e,n){super(e,n,li.z)}static get origin(){return Ur.create(li.x,li.y)}static clone(e){return Ur.create(e.x,e.y)}static create(e,n){return new Ur(e,n)}}let d0e=Math.random;const hW={nextFrame:t=>requestAnimationFrame(t),cancel:t=>cancelAnimationFrame(t)};function hn(){return xa(d0e(),0,1-Number.EPSILON)}function h0e(t){return hW.nextFrame(t)}function f0e(t){hW.cancel(t)}function xa(t,e,n){return Math.min(Math.max(t,e),n)}function h2(t,e,n,r){return Math.floor((t*n+e*r)/(n+r))}function Ls(t){const e=Ao(t),n=0;let r=uS(t);return e===r&&(r=n),hn()*(e-r)+r}function pt(t){return Qc(t)?t:Ls(t)}function uS(t){return Qc(t)?t:t.min}function Ao(t){return Qc(t)?t:t.max}function en(t,e){if(t===e||e===void 0&&Qc(t))return t;const n=uS(t),r=Ao(t);return e!==void 0?{min:Math.min(n,e),max:Math.max(r,e)}:en(n,r)}function Pi(t,e){const n=t.x-e.x,r=t.y-e.y,i=2;return{dx:n,dy:r,distance:Math.sqrt(n**i+r**i)}}function Ps(t,e){return Pi(t,e).distance}function $c(t){return t*Math.PI/180}function p0e(t,e,n){if(Qc(t))return $c(t);switch(t){case Yr.top:return-Math.PI*kr;case Yr.topRight:return-Math.PI*z1;case Yr.right:return Bge;case Yr.bottomRight:return Math.PI*z1;case Yr.bottom:return Math.PI*kr;case Yr.bottomLeft:return Math.PI*JB;case Yr.left:return Math.PI;case Yr.topLeft:return-Math.PI*JB;case Yr.inside:return Math.atan2(n.y-e.y,n.x-e.x);case Yr.outside:return Math.atan2(e.y-n.y,e.x-n.x);default:return hn()*Ige}}function m0e(t){const e=Ur.origin;return e.length=1,e.angle=t,e}function lP(t,e,n,r){return Ur.create(t.x*(n-r)/(n+r)+e.x*pi*r/(n+r),t.y)}function g0e(t){return{x:t.position?.x??hn()*t.size.width,y:t.position?.y??hn()*t.size.height}}function fW(t){return t?t.endsWith("%")?parseFloat(t)/Pc:parseFloat(t):1}var ad;(function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"})(ad||(ad={}));var cr;(function(t){t.increasing="increasing",t.decreasing="decreasing"})(cr||(cr={}));var kd;(function(t){t.none="none",t.max="max",t.min="min"})(kd||(kd={}));var Gt;(function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"})(Gt||(Gt={}));var Hf;(function(t){t.precise="precise",t.percent="percent"})(Hf||(Hf={}));var xf;(function(t){t.max="max",t.min="min",t.random="random"})(xf||(xf={}));const b0e={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function Cd(){return b0e}function y0e(t){const e=new Map;return(...n)=>{const r=JSON.stringify(n);if(e.has(r))return e.get(r);const i=t(...n);return e.set(r,i),i}}function cP(t){const e={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:s,velocity:a,factor:o}=t;return r.min<s.min||r.min>s.max||r.max<s.min||r.max>s.max||(n.max>=i.min&&n.max<=(i.max+i.min)*kr&&a>eP||n.min<=i.max&&n.min>(i.max+i.min)*kr&&a<eP)&&(e.velocity=a*-o,e.bounced=!0),e}function v0e(t,e){const n=Hs(e,r=>t.matches(r));return Vo(n)?n.some(r=>r):n}function Td(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function w0e(){return!Td()&&typeof matchMedia<"u"}function pW(t){if(w0e())return matchMedia(t)}function S0e(t){if(!(Td()||typeof IntersectionObserver>"u"))return new IntersectionObserver(t)}function _0e(t){if(!(Td()||typeof MutationObserver>"u"))return new MutationObserver(t)}function er(t,e){return t===e||Vo(e)&&e.indexOf(t)>-1}async function uP(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function x0e(t){return Math.floor(hn()*t.length)}function dS(t,e,n=!0){return t[e!==void 0&&n?e%t.length:x0e(t)]}function MR(t,e,n,r,i){return E0e(T0(t,r??0),e,n,i)}function E0e(t,e,n,r){let i=!0;return(!r||r===Gt.bottom)&&(i=t.top<e.height+n.x),i&&(!r||r===Gt.left)&&(i=t.right>n.x),i&&(!r||r===Gt.right)&&(i=t.left<e.width+n.y),i&&(!r||r===Gt.top)&&(i=t.bottom>n.y),i}function T0(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function yi(t,...e){for(const n of e){if(n==null)continue;if(!df(n)){t=n;continue}const r=Array.isArray(n);r&&(df(t)||!t||!Array.isArray(t))?t=[]:!r&&(df(t)||!t||Array.isArray(t))&&(t={});for(const i in n){if(i==="__proto__")continue;const s=n,a=s[i],o=t;o[i]=df(a)&&Array.isArray(a)?a.map(l=>yi(o[i],l)):yi(o[i],a)}}return t}function LR(t,e){return!!bW(e,n=>n.enable&&er(t,n.mode))}function BR(t,e,n){Hs(e,r=>{const i=r.mode;r.enable&&er(t,i)&&k0e(r,n)})}function k0e(t,e){const n=t.selectors;Hs(n,r=>{e(r,t)})}function mW(t,e){if(!(!e||!t))return bW(t,n=>v0e(e,n.selectors))}function KC(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:Ur.create(pt(t.options.bounce.horizontal.value),pt(t.options.bounce.vertical.value))}}function gW(t,e){const{x:n,y:r}=t.velocity.sub(e.velocity),[i,s]=[t.position,e.position],{dx:a,dy:o}=Pi(s,i);if(n*a+r*o<0)return;const c=-Math.atan2(o,a),d=t.mass,f=e.mass,p=t.velocity.rotate(c),g=e.velocity.rotate(c),b=lP(p,g,d,f),y=lP(g,p,d,f),w=b.rotate(-c),S=y.rotate(-c);t.velocity.x=w.x*t.factor.x,t.velocity.y=w.y*t.factor.y,e.velocity.x=S.x*e.factor.x,e.velocity.y=S.y*e.factor.y}function C0e(t,e){const n=t.getPosition(),r=t.getRadius(),i=T0(n,r),s=t.options.bounce,a=cP({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:t.velocity.x,factor:pt(s.horizontal.value)});a.bounced&&(a.velocity!==void 0&&(t.velocity.x=a.velocity),a.position!==void 0&&(t.position.x=a.position));const o=cP({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:t.velocity.y,factor:pt(s.vertical.value)});o.bounced&&(o.velocity!==void 0&&(t.velocity.y=o.velocity),o.position!==void 0&&(t.position.y=o.position))}function Hs(t,e){return Vo(t)?t.map((r,i)=>e(r,i)):e(t,0)}function fa(t,e,n){return Vo(t)?dS(t,e,n):t}function bW(t,e){return Vo(t)?t.find((r,i)=>e(r,i)):e(t,0)?t:void 0}function yW(t,e){const n=t.value,r=t.animation,i={delayTime:pt(r.delay)*fi,enable:r.enable,value:pt(t.value)*e,max:Ao(n)*e,min:uS(n)*e,loops:0,maxLoops:pt(r.count),time:0},s=1;if(r.enable){switch(i.decay=s-pt(r.decay),r.mode){case ad.increase:i.status=cr.increasing;break;case ad.decrease:i.status=cr.decreasing;break;case ad.random:i.status=hn()>=kr?cr.increasing:cr.decreasing;break}const a=r.mode===ad.auto;switch(r.startValue){case xf.min:i.value=i.min,a&&(i.status=cr.increasing);break;case xf.max:i.value=i.max,a&&(i.status=cr.decreasing);break;case xf.random:default:i.value=Ls(i),a&&(i.status=hn()>=kr?cr.increasing:cr.decreasing);break}}return i.initialValue=i.value,i}function T0e(t,e){if(!(t.mode===Hf.percent)){const{mode:i,...s}=t;return s}return"x"in t?{x:t.x/Pc*e.width,y:t.y/Pc*e.height}:{width:t.width/Pc*e.width,height:t.height/Pc*e.height}}function vW(t,e){return T0e(t,e)}function A0e(t,e,n,r,i){switch(e){case kd.max:n>=i&&t.destroy();break;case kd.min:n<=r&&t.destroy();break}}function PR(t,e,n,r,i){if(t.destroyed||!e||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const d=(e.velocity??0)*i.factor,f=e.min,p=e.max,g=e.decay??1;if(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case cr.increasing:e.value>=p?(n?e.status=cr.decreasing:e.value-=p,e.loops||(e.loops=0),e.loops++):e.value+=d;break;case cr.decreasing:e.value<=f?(n?e.status=cr.increasing:e.value+=p,e.loops||(e.loops=0),e.loops++):e.value-=d}e.velocity&&g!==1&&(e.velocity*=g),A0e(t,r,e.value,f,p),t.destroyed||(e.value=xa(e.value,f,p))}}function R0e(t){const e=document.createElement("div").style;if(!t)return e;for(const n in t){const r=t[n];if(!Object.prototype.hasOwnProperty.call(t,n)||Ye(r))continue;const i=t.getPropertyValue?.(r);if(!i)continue;const s=t.getPropertyPriority?.(r);s?e.setProperty?.(r,i,s):e.setProperty?.(r,i)}return e}function N0e(t){const e=document.createElement("div").style,n=10,r={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(n),"z-index":t.toString(n),top:"0",left:"0"};for(const i in r){const s=r[i];e.setProperty(i,s)}return e}const O0e=y0e(N0e);var YC;(function(t){t.darken="darken",t.enlighten="enlighten"})(YC||(YC={}));function I0e(t,e){if(e){for(const n of t.colorManagers.values())if(e.startsWith(n.stringPrefix))return n.parseString(e)}}function Ga(t,e,n,r=!0){if(!e)return;const i=Zc(e)?{value:e}:e;if(Zc(i.value))return wW(t,i.value,n,r);if(Vo(i.value))return Ga(t,{value:dS(i.value,n,r)});for(const s of t.colorManagers.values()){const a=s.handleRangeColor(i);if(a)return a}}function wW(t,e,n,r=!0){if(!e)return;const i=Zc(e)?{value:e}:e;if(Zc(i.value))return i.value===jf?_W():D0e(t,i.value);if(Vo(i.value))return wW(t,{value:dS(i.value,n,r)});for(const s of t.colorManagers.values()){const a=s.handleColor(i);if(a)return a}}function Ig(t,e,n,r=!0){const i=Ga(t,e,n,r);return i?SW(i):void 0}function SW(t){const e=t.r/Zv,n=t.g/Zv,r=t.b/Zv,i=Math.max(e,n,r),s=Math.min(e,n,r),a={h:QB,l:(i+s)*kr,s:GC};return i!==s&&(a.s=a.l<kr?(i-s)/(i+s):(i-s)/(pi-i-s),a.h=e===i?(n-r)/(i-s):a.h=n===i?pi+(r-e)/(i-s):pi*pi+(e-n)/(i-s)),a.l*=VC,a.s*=$C,a.h*=Lge,a.h<QB&&(a.h+=sd),a.h>=sd&&(a.h-=sd),a}function D0e(t,e){return I0e(t,e)}function $f(t){const e=(t.h%sd+sd)%sd,n=Math.max(GC,Math.min($C,t.s)),r=Math.max(i0e,Math.min(VC,t.l)),i=e/sd,s=n/$C,a=r/VC;if(n===GC){const b=Math.round(a*Fu);return{r:b,g:b,b}}const o=(b,y,w)=>{if(w<0&&w++,w>1&&w--,w*d2<1)return b+(y-b)*d2*w;if(w*pi<1)return y;if(w*u2<1*pi){const E=pi/u2;return b+(y-b)*(E-w)*d2}return b},l=a<kr?a*(s0e+s):a+s-a*s,c=pi*a-l,d=a0e/u2,f=Math.min(Fu,Fu*o(c,l,i+d)),p=Math.min(Fu,Fu*o(c,l,i)),g=Math.min(Fu,Fu*o(c,l,i-d));return{r:Math.round(f),g:Math.round(p),b:Math.round(g)}}function M0e(t){const e=$f(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function _W(t){const e=o0e,n=Zv+WC;return{b:Math.floor(Ls(en(e,n))),g:Math.floor(Ls(en(e,n))),r:Math.floor(Ls(en(e,n)))}}function Nl(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??DR})`}function Dg(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??DR})`}function FR(t,e,n,r){let i=t,s=e;return i.r===void 0&&(i=$f(t)),s.r===void 0&&(s=$f(e)),{b:h2(i.b,s.b,n,r),g:h2(i.g,s.g,n,r),r:h2(i.r,s.r,n,r)}}function XC(t,e,n){if(n===jf)return _W();if(n===Xv){const r=t.getFillColor()??t.getStrokeColor(),i=e?.getFillColor()??e?.getStrokeColor();if(r&&i&&e)return FR(r,i,t.getRadius(),e.getRadius());{const s=r??i;if(s)return $f(s)}}else return n}function xW(t,e,n,r){const i=Zc(e)?e:e.value;return i===jf?r?Ga(t,{value:i}):n?jf:Xv:i===Xv?Xv:Ga(t,{value:i})}function dP(t){return t!==void 0?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function EW(t,e,n){const r={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(f2(r.h,e.h,n),f2(r.s,e.s,n),f2(r.l,e.l,n)),r}function f2(t,e,n){t.enable=e.enable,t.enable?(t.velocity=pt(e.speed)/Pc*n,t.decay=lW-pt(e.decay),t.status=cr.increasing,t.loops=c0e,t.maxLoops=pt(e.count),t.time=u0e,t.delayTime=pt(e.delay)*fi,e.sync||(t.velocity*=hn(),t.value*=hn()),t.initialValue=t.value,t.offset=en(e.offset)):t.velocity=l0e}function p2(t,e,n,r){if(!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0)||(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=r.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0)))return;const d=t.offset?Ls(t.offset):0,f=(t.velocity??0)*r.factor+d*3.6,p=t.decay??1,g=Ao(e),b=uS(e);!n||t.status===cr.increasing?(t.value+=f,t.value>g&&(t.loops||(t.loops=0),t.loops++,n?t.status=cr.decreasing:t.value-=g)):(t.value-=f,t.value<0&&(t.loops||(t.loops=0),t.loops++,t.status=cr.increasing)),t.velocity&&p!==1&&(t.velocity*=p),t.value=xa(t.value,b,g)}function kW(t,e){if(!t)return;const{h:n,s:r,l:i}=t,s={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&p2(n,s.h,!1,e),r&&p2(r,s.s,!0,e),i&&p2(i,s.l,!0,e)}function dg(t,e,n){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.closePath()}function L0e(t,e,n){t.fillStyle=n??"rgba(0,0,0,0)",t.fillRect(li.x,li.y,e.width,e.height)}function B0e(t,e,n,r){n&&(t.globalAlpha=r,t.drawImage(n,li.x,li.y,e.width,e.height),t.globalAlpha=1)}function m2(t,e){t.clearRect(li.x,li.y,e.width,e.height)}function P0e(t){const{container:e,context:n,particle:r,delta:i,colorStyles:s,backgroundMask:a,composite:o,radius:l,opacity:c,shadow:d,transform:f}=t,p=r.getPosition(),g=r.rotation+(r.pathRotation?r.velocity.angle:r0e),b={sin:Math.sin(g),cos:Math.cos(g)},y=!!g,w={a:b.cos*(f.a??Ly.a),b:y?b.sin*(f.b??WC):f.b??Ly.b,c:y?-b.sin*(f.c??WC):f.c??Ly.c,d:b.cos*(f.d??Ly.d)};n.setTransform(w.a,w.b,w.c,w.d,p.x,p.y),a&&(n.globalCompositeOperation=o);const S=r.shadowColor;d.enable&&S&&(n.shadowBlur=d.blur,n.shadowColor=Nl(S),n.shadowOffsetX=d.offset.x,n.shadowOffsetY=d.offset.y),s.fill&&(n.fillStyle=s.fill);const _=r.strokeWidth??uW;n.lineWidth=_,s.stroke&&(n.strokeStyle=s.stroke);const E={container:e,context:n,particle:r,radius:l,opacity:c,delta:i,transformData:w,strokeWidth:_};z0e(E),U0e(E),F0e(E),n.globalCompositeOperation="source-over",n.resetTransform()}function F0e(t){const{container:e,context:n,particle:r,radius:i,opacity:s,delta:a,transformData:o}=t;if(!r.effect)return;const l=e.effectDrawers.get(r.effect);l&&l.draw({context:n,particle:r,radius:i,opacity:s,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...o}})}function z0e(t){const{container:e,context:n,particle:r,radius:i,opacity:s,delta:a,strokeWidth:o,transformData:l}=t;if(!r.shape)return;const c=e.shapeDrawers.get(r.shape);c&&(n.beginPath(),c.draw({context:n,particle:r,radius:i,opacity:s,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...l}}),r.shapeClose&&n.closePath(),o>uW&&n.stroke(),r.shapeFill&&n.fill())}function U0e(t){const{container:e,context:n,particle:r,radius:i,opacity:s,delta:a,transformData:o}=t;if(!r.shape)return;const l=e.shapeDrawers.get(r.shape);l?.afterDraw&&l.afterDraw({context:n,particle:r,radius:i,opacity:s,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...o}})}function j0e(t,e,n){e.draw&&e.draw(t,n)}function H0e(t,e,n,r){e.drawParticle&&e.drawParticle(t,n,r)}function $0e(t,e,n){return{h:t.h,s:t.s,l:t.l+(e===YC.darken?-oP:oP)*n}}function V0e(t,e,n){const r=e[n];r!==void 0&&(t[n]=(t[n]??Pge)*r)}function hP(t,e,n=!1){if(!e)return;const r=t;if(!r)return;const i=r.style;if(!i)return;const s=new Set;for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&s.add(i[a]);for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&s.add(e[a]);for(const a of s){const o=e.getPropertyValue(a);o?i.setProperty(a,o,n?"important":""):i.removeProperty(a)}}class G0e{constructor(e,n){this.container=e,this._applyPostDrawUpdaters=s=>{for(const a of this._postDrawUpdaters)a.afterDraw?.(s)},this._applyPreDrawUpdaters=(s,a,o,l,c,d)=>{for(const f of this._preDrawUpdaters){if(f.getColorStyles){const{fill:p,stroke:g}=f.getColorStyles(a,s,o,l);p&&(c.fill=p),g&&(c.stroke=g)}if(f.getTransformValues){const p=f.getTransformValues(a);for(const g in p)V0e(d,p,g)}f.beforeDraw?.(a)}},this._applyResizePlugins=()=>{for(const s of this._resizePlugins)s.resize?.()},this._getPluginParticleColors=s=>{let a,o;for(const l of this._colorPlugins)if(!a&&l.particleFillColor&&(a=Ig(this._engine,l.particleFillColor(s))),!o&&l.particleStrokeColor&&(o=Ig(this._engine,l.particleStrokeColor(s))),a&&o)break;return[a,o]},this._initCover=async()=>{const s=this.container.actualOptions,a=s.backgroundMask.cover,o=a.color;if(o){const l=Ga(this._engine,o);if(l){const c={...l,a:a.opacity};this._coverColorStyle=Nl(c,c.a)}}else await new Promise((l,c)=>{if(!a.image)return;const d=document.createElement("img");d.addEventListener("load",()=>{this._coverImage={image:d,opacity:a.opacity},l()}),d.addEventListener("error",f=>{c(f.error)}),d.src=a.image})},this._initStyle=()=>{const s=this.element,a=this.container.actualOptions;if(s){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();for(const o in a.style){if(!o||!a.style||!Object.prototype.hasOwnProperty.call(a.style,o))continue;const l=a.style[o];l&&s.style.setProperty(o,l,"important")}}},this._initTrail=async()=>{const s=this.container.actualOptions,a=s.particles.move.trail,o=a.fill;if(!a.enable)return;const l=aW/a.length;if(o.color){const c=Ga(this._engine,o.color);if(!c)return;this._trailFill={color:{...c},opacity:l}}else await new Promise((c,d)=>{if(!o.image)return;const f=document.createElement("img");f.addEventListener("load",()=>{this._trailFill={image:f,opacity:l},c()}),f.addEventListener("error",p=>{d(p.error)}),f.src=o.image})},this._paintBase=s=>{this.draw(a=>L0e(a,this.size,s))},this._paintImage=(s,a)=>{this.draw(o=>B0e(o,this.size,s,a))},this._repairStyle=()=>{const s=this.element;if(!s)return;this._safeMutationObserver(o=>o.disconnect()),this._initStyle(),this.initBackground();const a=this._pointerEvents;s.style.pointerEvents=a,s.setAttribute("pointer-events",a),this._safeMutationObserver(o=>{!s||!(s instanceof Node)||o.observe(s,{attributes:!0})})},this._resetOriginalStyle=()=>{const s=this.element,a=this._originalStyle;!s||!a||hP(s,a,!0)},this._safeMutationObserver=s=>{this._mutationObserver&&s(this._mutationObserver)},this._setFullScreenStyle=()=>{const s=this.element;s&&hP(s,O0e(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=n,this._standardSize={height:0,width:0};const r=e.retina.pixelRatio,i=this._standardSize;this.size={height:i.height*r,width:i.width*r},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._pointerEvents="none"}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,n=e.particles.move.trail,r=this._trailFill;e.backgroundMask.enable?this.paint():n.enable&&n.length>zge&&r?r.color?this._paintBase(Nl(r.color,r.opacity)):r.image&&this._paintImage(r.image,r.opacity):e.clear&&this.draw(i=>{m2(i,this.size)})}destroy(){this.stop(),this._generated?(this.element?.remove(),this.element=void 0):this._resetOriginalStyle(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const n=this._context;if(n)return e(n)}drawAsync(e){const n=this._context;if(n)return e(n)}drawParticle(e,n){if(e.spawning||e.destroyed)return;const r=e.getRadius();if(r<=Fge)return;const i=e.getFillColor(),s=e.getStrokeColor()??i;let[a,o]=this._getPluginParticleColors(e);a||(a=i),o||(o=s),!(!a&&!o)&&this.draw(l=>{const c=this.container,d=c.actualOptions,f=e.options.zIndex,p=Uge-e.zIndexFactor,g=p**f.opacityRate,b=e.bubble.opacity??e.opacity?.value??DR,y=e.strokeOpacity??b,w=b*g,S=y*g,_={},E={fill:a?Dg(a,w):void 0};E.stroke=o?Dg(o,S):E.fill,this._applyPreDrawUpdaters(l,e,r,w,E,_),P0e({container:c,context:l,particle:e,delta:n,colorStyles:E,backgroundMask:d.backgroundMask.enable,composite:d.backgroundMask.composite,radius:r*p**f.sizeRate,opacity:w,shadow:e.options.shadow,transform:_}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,n,r){this.draw(i=>H0e(i,e,n,r))}drawPlugin(e,n){this.draw(r=>j0e(r,e,n))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=_0e(e=>{for(const n of e)n.type==="attributes"&&n.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(e){Cd().error(e)}this.initBackground(),this._safeMutationObserver(e=>{!this.element||!(this.element instanceof Node)||e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,n=e.background,r=this.element;if(!r)return;const i=r.style;if(i){if(n.color){const s=Ga(this._engine,n.color);i.backgroundColor=s?Nl(s,n.opacity):""}else i.backgroundColor="";i.backgroundImage=n.image||"",i.backgroundPosition=n.position||"",i.backgroundRepeat=n.repeat||"",i.backgroundSize=n.size||""}}initPlugins(){this._resizePlugins=[];for(const e of this.container.plugins.values())e.resize&&this._resizePlugins.push(e),(e.particleFillColor??e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles??e.getTransformValues??e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&id in e.dataset?e.dataset[id]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=R0e(this.element.style);const n=this._standardSize;n.height=e.offsetHeight,n.width=e.offsetWidth;const r=this.container.retina.pixelRatio,i=this.size;e.height=i.height=n.height*r,e.width=i.width=n.width*r,this._context=this.element.getContext("2d"),this._safeMutationObserver(s=>s.disconnect()),this.container.retina.init(),this.initBackground(),this._safeMutationObserver(s=>{!this.element||!(this.element instanceof Node)||s.observe(this.element,{attributes:!0})})}paint(){const e=this.container.actualOptions;this.draw(n=>{e.backgroundMask.enable&&e.backgroundMask.cover?(m2(n,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,n=e.canvas._standardSize,r={width:this.element.offsetWidth,height:this.element.offsetHeight},i=e.retina.pixelRatio,s={width:r.width*i,height:r.height*i};if(r.height===n.height&&r.width===n.width&&s.height===this.element.height&&s.width===this.element.width)return!1;const a={...n};n.height=r.height,n.width=r.width;const o=this.size;return this.element.width=o.width=s.width,this.element.height=o.height=s.height,this.container.started&&e.particles.setResizeFactor({width:n.width/a.width,height:n.height/a.height}),!0}setPointerEvents(e){this.element&&(this._pointerEvents=e,this._repairStyle())}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>m2(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,n=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),n&&await e.refresh()}}var Ef;(function(t){t.canvas="canvas",t.parent="parent",t.window="window"})(Ef||(Ef={}));function ta(t,e,n,r,i){if(r){let s={passive:!0};dW(i)?s.capture=i:i!==void 0&&(s=i),t.addEventListener(e,n,s)}else{const s=i;t.removeEventListener(e,n,s)}}class q0e{constructor(e){this.container=e,this._doMouseTouchClick=n=>{const r=this.container,i=r.actualOptions;if(this._canPush){const s=r.interactivity.mouse,a=s.position;if(!a)return;s.clickPosition={...a},s.clickTime=new Date().getTime();const o=i.interactivity.events.onClick;Hs(o.mode,l=>this.container.handleClickMode(l))}n.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),n0e)},this._handleThemeChange=n=>{const r=n,i=this.container,s=i.options,a=s.defaultThemes,o=r.matches?a.dark:a.light;s.themes.find(c=>c.name===o)?.default.auto&&i.loadTheme(o)},this._handleVisibilityChange=()=>{const n=this.container,r=n.actualOptions;this._mouseTouchFinish(),r.pauseOnBlur&&(document?.hidden?(n.pageHidden=!0,n.pause()):(n.pageHidden=!1,n.animationStatus?n.play(!0):n.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const n=async()=>{await this.container.canvas?.windowResize()};this._resizeTimeout=setTimeout(()=>{n()},this.container.actualOptions.interactivity.events.resize.delay*fi)},this._manageInteractivityListeners=(n,r)=>{const i=this._handlers,s=this.container,a=s.actualOptions,o=s.interactivity.element;if(!o)return;const l=o,c=s.canvas;c.setPointerEvents(l===c.element?"initial":"none"),(a.interactivity.events.onHover.enable||a.interactivity.events.onClick.enable)&&(ta(o,Ed,i.mouseMove,r),ta(o,Tge,i.touchStart,r),ta(o,Age,i.touchMove,r),a.interactivity.events.onClick.enable?(ta(o,qB,i.touchEndClick,r),ta(o,kge,i.mouseUp,r),ta(o,Ege,i.mouseDown,r)):ta(o,qB,i.touchEnd,r),ta(o,n,i.mouseLeave,r),ta(o,Rge,i.touchCancel,r))},this._manageListeners=n=>{const r=this._handlers,i=this.container,s=i.actualOptions,a=s.interactivity.detectsOn,o=i.canvas.element;let l=HC;a===Ef.window?(i.interactivity.element=window,l=Cge):a===Ef.parent&&o?i.interactivity.element=o.parentElement??o.parentNode:i.interactivity.element=o,this._manageMediaMatch(n),this._manageResize(n),this._manageInteractivityListeners(l,n),document&&ta(document,Oge,r.visibilityChange,n,!1)},this._manageMediaMatch=n=>{const r=this._handlers,i=pW("(prefers-color-scheme: dark)");if(i){if(i.addEventListener!==void 0){ta(i,"change",r.themeChange,n);return}i.addListener!==void 0&&(n?i.addListener(r.oldThemeChange):i.removeListener(r.oldThemeChange))}},this._manageResize=n=>{const r=this._handlers,i=this.container;if(!i.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){ta(window,Nge,r.resize,n);return}const a=i.canvas.element;this._resizeObserver&&!n?(a&&this._resizeObserver.unobserve(a),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&n&&a&&(this._resizeObserver=new ResizeObserver(o=>{o.find(c=>c.target===a)&&this._handleWindowResize()}),this._resizeObserver.observe(a))},this._mouseDown=()=>{const{interactivity:n}=this.container;if(!n)return;const{mouse:r}=n;r.clicking=!0,r.downPosition=r.position},this._mouseTouchClick=n=>{const r=this.container,i=r.actualOptions,{mouse:s}=r.interactivity;s.inside=!0;let a=!1;const o=s.position;if(!(!o||!i.interactivity.events.onClick.enable)){for(const l of r.plugins.values())if(l.clickPositionValid&&(a=l.clickPositionValid(o),a))break;a||this._doMouseTouchClick(n),s.clicking=!1}},this._mouseTouchFinish=()=>{const n=this.container.interactivity;if(!n)return;const r=n.mouse;delete r.position,delete r.clickPosition,delete r.downPosition,n.status=HC,r.inside=!1,r.clicking=!1},this._mouseTouchMove=n=>{const r=this.container,i=r.actualOptions,s=r.interactivity,a=r.canvas.element;if(!s?.element)return;s.mouse.inside=!0;let o;if(n.type.startsWith("pointer")){this._canPush=!0;const c=n;if(s.element===window){if(a){const d=a.getBoundingClientRect();o={x:c.clientX-d.left,y:c.clientY-d.top}}}else if(i.interactivity.detectsOn===Ef.parent){const d=c.target,f=c.currentTarget;if(d&&f&&a){const p=d.getBoundingClientRect(),g=f.getBoundingClientRect(),b=a.getBoundingClientRect();o={x:c.offsetX+pi*p.left-(g.left+b.left),y:c.offsetY+pi*p.top-(g.top+b.top)}}else o={x:c.offsetX??c.clientX,y:c.offsetY??c.clientY}}else c.target===a&&(o={x:c.offsetX??c.clientX,y:c.offsetY??c.clientY})}else if(this._canPush=n.type!=="touchmove",a){const c=n,d=c.touches[c.touches.length-cW],f=a.getBoundingClientRect();o={x:d.clientX-(f.left??U1),y:d.clientY-(f.top??U1)}}const l=r.retina.pixelRatio;o&&(o.x*=l,o.y*=l),s.mouse.position=o,s.status=Ed},this._touchEnd=n=>{const r=n,i=Array.from(r.changedTouches);for(const s of i)this._touches.delete(s.identifier);this._mouseTouchFinish()},this._touchEndClick=n=>{const r=n,i=Array.from(r.changedTouches);for(const s of i)this._touches.delete(s.identifier);this._mouseTouchClick(n)},this._touchStart=n=>{const r=n,i=Array.from(r.changedTouches);for(const s of i)this._touches.set(s.identifier,performance.now());this._mouseTouchMove(n)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:n=>this._mouseTouchMove(n),mouseUp:n=>this._mouseTouchClick(n),touchStart:n=>this._touchStart(n),touchMove:n=>this._mouseTouchMove(n),touchEnd:n=>this._touchEnd(n),touchCancel:n=>this._touchEnd(n),touchEndClick:n=>this._touchEndClick(n),visibilityChange:()=>this._handleVisibilityChange(),themeChange:n=>this._handleThemeChange(n),oldThemeChange:n=>this._handleThemeChange(n),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}var Ni;(function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"})(Ni||(Ni={}));class vi{constructor(){this.value=""}static create(e,n){const r=new vi;return r.load(e),n!==void 0&&(Zc(n)||Vo(n)?r.load({value:n}):r.load(n)),r}load(e){Ye(e)||Ye(e.value)||(this.value=e.value)}}class W0e{constructor(){this.color=new vi,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){Ye(e)||(e.color!==void 0&&(this.color=vi.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class K0e{constructor(){this.opacity=1}load(e){Ye(e)||(e.color!==void 0&&(this.color=vi.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Y0e{constructor(){this.composite="destination-out",this.cover=new K0e,this.enable=!1}load(e){if(!Ye(e)){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const n=e.cover,r=Zc(e.cover)?{color:e.cover}:e.cover;this.cover.load(n.color!==void 0||n.image!==void 0?n:{color:r})}e.enable!==void 0&&(this.enable=e.enable)}}}class X0e{constructor(){this.enable=!0,this.zIndex=0}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class Z0e{constructor(){this.enable=!1,this.mode=[]}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}var Vf;(function(t){t.circle="circle",t.rectangle="rectangle"})(Vf||(Vf={}));class fP{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=Vf.circle}load(e){Ye(e)||(e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type))}}class Q0e{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class J0e{constructor(){this.enable=!1,this.mode=[],this.parallax=new Q0e}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class ebe{constructor(){this.delay=.5,this.enable=!0}load(e){Ye(e)||(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class tbe{constructor(){this.onClick=new Z0e,this.onDiv=new fP,this.onHover=new J0e,this.resize=new ebe}load(e){if(Ye(e))return;this.onClick.load(e.onClick);const n=e.onDiv;n!==void 0&&(this.onDiv=Hs(n,r=>{const i=new fP;return i.load(r),i})),this.onHover.load(e.onHover),this.resize.load(e.resize)}}class nbe{constructor(e,n){this._engine=e,this._container=n}load(e){if(Ye(e)||!this._container)return;const n=this._engine.interactors.get(this._container);if(n)for(const r of n)r.loadModeOptions&&r.loadModeOptions(this,e)}}class CW{constructor(e,n){this.detectsOn=Ef.window,this.events=new tbe,this.modes=new nbe(e,n)}load(e){if(Ye(e))return;const n=e.detectsOn;n!==void 0&&(this.detectsOn=n),this.events.load(e.events),this.modes.load(e.modes)}}class rbe{load(e){Ye(e)||(e.position&&(this.position={x:e.position.x??aP,y:e.position.y??aP,mode:e.position.mode??Hf.percent}),e.options&&(this.options=yi({},e.options)))}}var od;(function(t){t.screen="screen",t.canvas="canvas"})(od||(od={}));class ibe{constructor(){this.maxWidth=1/0,this.options={},this.mode=od.canvas}load(e){Ye(e)||(Ye(e.maxWidth)||(this.maxWidth=e.maxWidth),Ye(e.mode)||(e.mode===od.screen?this.mode=od.screen:this.mode=od.canvas),Ye(e.options)||(this.options=yi({},e.options)))}}var Lc;(function(t){t.any="any",t.dark="dark",t.light="light"})(Lc||(Lc={}));class sbe{constructor(){this.auto=!1,this.mode=Lc.any,this.value=!1}load(e){Ye(e)||(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class abe{constructor(){this.name="",this.default=new sbe}load(e){Ye(e)||(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=yi({},e.options)))}}class zR{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){Ye(e)||(e.count!==void 0&&(this.count=en(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=en(e.speed)),e.decay!==void 0&&(this.decay=en(e.decay)),e.delay!==void 0&&(this.delay=en(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class UR extends zR{constructor(){super(),this.mode=ad.auto,this.startValue=xf.random}load(e){super.load(e),!Ye(e)&&(e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class g2 extends zR{constructor(){super(),this.offset=0,this.sync=!0}load(e){super.load(e),!Ye(e)&&e.offset!==void 0&&(this.offset=en(e.offset))}}class obe{constructor(){this.h=new g2,this.s=new g2,this.l=new g2}load(e){Ye(e)||(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class Mg extends vi{constructor(){super(),this.animation=new obe}static create(e,n){const r=new Mg;return r.load(e),n!==void 0&&(Zc(n)||Vo(n)?r.load({value:n}):r.load(n)),r}load(e){if(super.load(e),Ye(e))return;const n=e.animation;n!==void 0&&(n.enable!==void 0?this.animation.h.load(n):this.animation.load(e.animation))}}var kf;(function(t){t.absorb="absorb",t.bounce="bounce",t.destroy="destroy"})(kf||(kf={}));class lbe{constructor(){this.speed=2}load(e){Ye(e)||e.speed!==void 0&&(this.speed=e.speed)}}class cbe{constructor(){this.enable=!0,this.retries=0}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class $d{constructor(){this.value=0}load(e){Ye(e)||Ye(e.value)||(this.value=en(e.value))}}class ube extends $d{constructor(){super(),this.animation=new zR}load(e){if(super.load(e),Ye(e))return;const n=e.animation;n!==void 0&&this.animation.load(n)}}class TW extends ube{constructor(){super(),this.animation=new UR}load(e){super.load(e)}}class pP extends $d{constructor(){super(),this.value=1}}class AW{constructor(){this.horizontal=new pP,this.vertical=new pP}load(e){Ye(e)||(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class dbe{constructor(){this.absorb=new lbe,this.bounce=new AW,this.enable=!1,this.maxSpeed=50,this.mode=kf.bounce,this.overlap=new cbe}load(e){Ye(e)||(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=en(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class hbe{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(e){if(Ye(e))return;const n=e.options;if(n!==void 0)for(const r in n){const i=n[r];i&&(this.options[r]=yi(this.options[r]??{},i))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class fbe{constructor(){this.offset=0,this.value=90}load(e){Ye(e)||(e.offset!==void 0&&(this.offset=en(e.offset)),e.value!==void 0&&(this.value=en(e.value)))}}class pbe{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(e){if(!Ye(e)&&(e.distance!==void 0&&(this.distance=en(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.rotate)){const n=e.rotate.x;n!==void 0&&(this.rotate.x=n);const r=e.rotate.y;r!==void 0&&(this.rotate.y=r)}}}class mbe{constructor(){this.x=50,this.y=50,this.mode=Hf.percent,this.radius=0}load(e){Ye(e)||(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class gbe{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){Ye(e)||(e.acceleration!==void 0&&(this.acceleration=en(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=en(e.maxSpeed)))}}class bbe{constructor(){this.clamp=!0,this.delay=new $d,this.enable=!1,this.options={}}load(e){Ye(e)||(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=yi(this.options,e.options)))}}class ybe{load(e){Ye(e)||(e.color!==void 0&&(this.color=vi.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class vbe{constructor(){this.enable=!1,this.length=10,this.fill=new ybe}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.fill!==void 0&&this.fill.load(e.fill),e.length!==void 0&&(this.length=e.length))}}var dr;(function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"})(dr||(dr={}));class wbe{constructor(){this.default=dr.out}load(e){Ye(e)||(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class Sbe{constructor(){this.acceleration=0,this.enable=!1}load(e){Ye(e)||(e.acceleration!==void 0&&(this.acceleration=en(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=yi({},e.position)))}}class _be{constructor(){this.angle=new fbe,this.attract=new pbe,this.center=new mbe,this.decay=0,this.distance={},this.direction=Yr.none,this.drift=0,this.enable=!1,this.gravity=new gbe,this.path=new bbe,this.outModes=new wbe,this.random=!1,this.size=!1,this.speed=2,this.spin=new Sbe,this.straight=!1,this.trail=new vbe,this.vibrate=!1,this.warp=!1}load(e){if(Ye(e))return;this.angle.load(Qc(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=en(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=Qc(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=en(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const n=e.outModes;n!==void 0&&(df(n)?this.outModes.load(n):this.outModes.load({default:n})),this.path.load(e.path),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=en(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class xbe extends UR{constructor(){super(),this.destroy=kd.none,this.speed=2}load(e){super.load(e),!Ye(e)&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Ebe extends TW{constructor(){super(),this.animation=new xbe,this.value=1}load(e){if(Ye(e))return;super.load(e);const n=e.animation;n!==void 0&&this.animation.load(n)}}class kbe{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if(Ye(e))return;e.enable!==void 0&&(this.enable=e.enable);const n=e.width;n!==void 0&&(this.width=n);const r=e.height;r!==void 0&&(this.height=r)}}var Lg;(function(t){t.delete="delete",t.wait="wait"})(Lg||(Lg={}));class Cbe{constructor(){this.mode=Lg.delete,this.value=0}load(e){Ye(e)||(e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Tbe{constructor(){this.density=new kbe,this.limit=new Cbe,this.value=0}load(e){Ye(e)||(this.density.load(e.density),this.limit.load(e.limit),e.value!==void 0&&(this.value=e.value))}}class Abe{constructor(){this.blur=0,this.color=new vi,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){Ye(e)||(e.blur!==void 0&&(this.blur=e.blur),this.color=vi.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}class Rbe{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(e){if(Ye(e))return;const n=e.options;if(n!==void 0)for(const r in n){const i=n[r];i&&(this.options[r]=yi(this.options[r]??{},i))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class Nbe extends UR{constructor(){super(),this.destroy=kd.none,this.speed=5}load(e){super.load(e),!Ye(e)&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Obe extends TW{constructor(){super(),this.animation=new Nbe,this.value=3}load(e){if(super.load(e),Ye(e))return;const n=e.animation;n!==void 0&&this.animation.load(n)}}class mP{constructor(){this.width=0}load(e){Ye(e)||(e.color!==void 0&&(this.color=Mg.create(this.color,e.color)),e.width!==void 0&&(this.width=en(e.width)),e.opacity!==void 0&&(this.opacity=en(e.opacity)))}}class Ibe extends $d{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),!Ye(e)&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Dbe{constructor(e,n){this._engine=e,this._container=n,this.bounce=new AW,this.collisions=new dbe,this.color=new Mg,this.color.value="#fff",this.effect=new hbe,this.groups={},this.move=new _be,this.number=new Tbe,this.opacity=new Ebe,this.reduceDuplicates=!1,this.shadow=new Abe,this.shape=new Rbe,this.size=new Obe,this.stroke=new mP,this.zIndex=new Ibe}load(e){if(Ye(e))return;if(e.groups!==void 0)for(const r of Object.keys(e.groups)){if(!Object.hasOwn(e.groups,r))continue;const i=e.groups[r];i!==void 0&&(this.groups[r]=yi(this.groups[r]??{},i))}e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.color.load(Mg.create(this.color,e.color)),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=yi({},e.interactivity));const n=e.stroke;if(n&&(this.stroke=Hs(n,r=>{const i=new mP;return i.load(r),i})),this._container){const r=this._engine.updaters.get(this._container);if(r)for(const s of r)s.loadOptions&&s.loadOptions(this,e);const i=this._engine.interactors.get(this._container);if(i)for(const s of i)s.loadParticlesOptions&&s.loadParticlesOptions(this,e)}}}function RW(t,...e){for(const n of e)t.load(n)}function NW(t,e,...n){const r=new Dbe(t,e);return RW(r,...n),r}let Mbe=class{constructor(e,n){this._findDefaultTheme=r=>this.themes.find(i=>i.default.value&&i.default.mode===r)??this.themes.find(i=>i.default.value&&i.default.mode===Lc.any),this._importPreset=r=>{this.load(this._engine.getPreset(r))},this._engine=e,this._container=n,this.autoPlay=!0,this.background=new W0e,this.backgroundMask=new Y0e,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new X0e,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new CW(e,n),this.manualParticles=[],this.particles=NW(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(e){if(Ye(e))return;e.preset!==void 0&&Hs(e.preset,a=>this._importPreset(a)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.clear!==void 0&&(this.clear=e.clear),e.key!==void 0&&(this.key=e.key),e.name!==void 0&&(this.name=e.name),e.delay!==void 0&&(this.delay=en(e.delay));const n=e.detectRetina;n!==void 0&&(this.detectRetina=n),e.duration!==void 0&&(this.duration=en(e.duration));const r=e.fpsLimit;r!==void 0&&(this.fpsLimit=r),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const i=e.fullScreen;dW(i)?this.fullScreen.enable=i:this.fullScreen.load(i),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(a=>{const o=new rbe;return o.load(a),o})),this.particles.load(e.particles),this.style=yi(this.style,e.style),this._engine.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const s=this._engine.interactors.get(this._container);if(s)for(const a of s)a.loadOptions&&a.loadOptions(this,e);if(e.responsive!==void 0)for(const a of e.responsive){const o=new ibe;o.load(a),this.responsive.push(o)}if(this.responsive.sort((a,o)=>a.maxWidth-o.maxWidth),e.themes!==void 0)for(const a of e.themes){const o=this.themes.find(l=>l.name===a.name);if(o)o.load(a);else{const l=new abe;l.load(a),this.themes.push(l)}}this.defaultThemes.dark=this._findDefaultTheme(Lc.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(Lc.light)?.name}setResponsive(e,n,r){this.load(r);const i=this.responsive.find(s=>s.mode===od.screen&&screen?s.maxWidth>screen.availWidth:s.maxWidth*n>e);return this.load(i?.options),i?.maxWidth}setTheme(e){if(e){const n=this.themes.find(r=>r.name===e);n&&this.load(n.options)}else{const n=pW("(prefers-color-scheme: dark)"),r=n?.matches,i=this._findDefaultTheme(r?Lc.dark:Lc.light);i&&this.load(i.options)}}};var Gf;(function(t){t.external="external",t.particles="particles"})(Gf||(Gf={}));class Lbe{constructor(e,n){this.container=n,this._engine=e,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(e){for(const n of this._externalInteractors)n.isEnabled()&&n.interact(e)}handleClickMode(e){for(const n of this._externalInteractors)n.handleClickMode?.(e)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case Gf.external:this._externalInteractors.push(e);break;case Gf.particles:this._particleInteractors.push(e);break}e.init()}}particlesInteract(e,n){for(const r of this._externalInteractors)r.clear(e,n);for(const r of this._particleInteractors)r.isEnabled(e)&&r.interact(e,n)}reset(e){for(const n of this._externalInteractors)n.isEnabled()&&n.reset(e);for(const n of this._particleInteractors)n.isEnabled(e)&&n.reset(e)}}var qa;(function(t){t.normal="normal",t.inside="inside",t.outside="outside"})(qa||(qa={}));function Bbe(t,e,n,r){const i=e.options[t];if(i)return yi({close:e.close,fill:e.fill},fa(i,n,r))}function Pbe(t,e,n,r){const i=e.options[t];if(i)return yi({close:e.close,fill:e.fill},fa(i,n,r))}function gP(t){if(!er(t.outMode,t.checkModes))return;const e=t.radius*pi;t.coord>t.maxCoord-e?t.setCb(-t.radius):t.coord<e&&t.setCb(t.radius)}class Fbe{constructor(e,n){this.container=n,this._calcPosition=(r,i,s,a=KB)=>{for(const b of r.plugins.values()){const y=b.particlePosition!==void 0?b.particlePosition(i,this):void 0;if(y)return Ns.create(y.x,y.y,s)}const o=r.canvas.size,l=g0e({size:o,position:i}),c=Ns.create(l.x,l.y,s),d=this.getRadius(),f=this.options.move.outModes,p=b=>{gP({outMode:b,checkModes:[dr.bounce],coord:c.x,maxCoord:r.canvas.size.width,setCb:y=>c.x+=y,radius:d})},g=b=>{gP({outMode:b,checkModes:[dr.bounce],coord:c.y,maxCoord:r.canvas.size.height,setCb:y=>c.y+=y,radius:d})};return p(f.left??f.default),p(f.right??f.default),g(f.top??f.default),g(f.bottom??f.default),this._checkOverlap(c,a)?this._calcPosition(r,void 0,s,a+Yge):c},this._calculateVelocity=()=>{const r=m0e(this.direction),i=r.copy(),s=this.options.move;if(s.direction===Yr.inside||s.direction===Yr.outside)return i;const a=$c(pt(s.angle.value)),o=$c(pt(s.angle.offset)),l={left:o-a*kr,right:o+a*kr};return s.straight||(i.angle+=Ls(en(l.left,l.right))),s.random&&typeof s.speed=="number"&&(i.length*=hn()),i},this._checkOverlap=(r,i=KB)=>{const s=this.options.collisions,a=this.getRadius();if(!s.enable)return!1;const o=s.overlap;if(o.enable)return!1;const l=o.retries;if(l>=Xge&&i>l)throw new Error(`${_a} particle is overlapping and can't be placed`);return!!this.container.particles.find(c=>Ps(r,c.position)<a+c.getRadius())},this._getRollColor=r=>{if(!r||!this.roll||!this.backColor&&!this.roll.alter)return r;const i=this.roll.horizontal&&this.roll.vertical?pi*nP:nP,s=this.roll.horizontal?Math.PI*kr:j1;return Math.floor(((this.roll.angle??j1)+s)/(Math.PI/i))%pi?this.backColor?this.backColor:this.roll.alter?$0e(r,this.roll.alter.type,this.roll.alter.value):r:r},this._initPosition=r=>{const i=this.container,s=pt(this.options.zIndex.value);this.position=this._calcPosition(i,r,xa(s,Zge,i.zLayers)),this.initialPosition=this.position.copy();const a=i.canvas.size;switch(this.moveCenter={...vW(this.options.move.center,a),radius:this.options.move.center.radius??Qge,mode:this.options.move.center.mode??Hf.percent},this.direction=p0e(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case Yr.inside:this.outType=qa.inside;break;case Yr.outside:this.outType=qa.outside;break}this.offset=Ur.origin},this._engine=e}destroy(e){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const n=this.container,r=this.pathGenerator;n.shapeDrawers.get(this.shape)?.particleDestroy?.(this);for(const s of n.plugins.values())s.particleDestroyed?.(this,e);for(const s of n.particles.updaters)s.particleDestroyed?.(this,e);r?.reset(this),this._engine.dispatchEvent(Ni.particleDestroyed,{container:this.container,data:{particle:this}})}draw(e){const n=this.container,r=n.canvas;for(const i of n.plugins.values())r.drawParticlePlugin(i,this,e);r.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??dP(this.color))}getMass(){return this.getRadius()**xl*Math.PI*kr}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??dP(this.strokeColor))}init(e,n,r,i){const s=this.container,a=this._engine;this.id=e,this.group=i,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=qa.normal,this.ignoresResizeRatio=!0;const o=s.retina.pixelRatio,l=s.actualOptions,c=NW(this._engine,s,l.particles),{reduceDuplicates:d}=c,f=c.effect.type,p=c.shape.type;this.effect=fa(f,this.id,d),this.shape=fa(p,this.id,d);const g=c.effect,b=c.shape;if(r){if(r.effect?.type){const I=r.effect.type,P=fa(I,this.id,d);P&&(this.effect=P,g.load(r.effect))}if(r.shape?.type){const I=r.shape.type,P=fa(I,this.id,d);P&&(this.shape=P,b.load(r.shape))}}if(this.effect===jf){const I=[...this.container.effectDrawers.keys()];this.effect=I[Math.floor(hn()*I.length)]}if(this.shape===jf){const I=[...this.container.shapeDrawers.keys()];this.shape=I[Math.floor(hn()*I.length)]}this.effectData=Bbe(this.effect,g,this.id,d),this.shapeData=Pbe(this.shape,b,this.id,d),c.load(r);const y=this.effectData;y&&c.load(y.particles);const w=this.shapeData;w&&c.load(w.particles);const S=new CW(a,s);S.load(s.actualOptions.interactivity),S.load(c.interactivity),this.interactivity=S,this.effectFill=y?.fill??c.effect.fill,this.effectClose=y?.close??c.effect.close,this.shapeFill=w?.fill??c.shape.fill,this.shapeClose=w?.close??c.shape.close,this.options=c;const _=this.options.move.path;this.pathDelay=pt(_.delay.value)*fi,_.generator&&(this.pathGenerator=this._engine.getPathGenerator(_.generator),this.pathGenerator&&s.addPath(_.generator,this.pathGenerator)&&this.pathGenerator.init(s)),s.retina.initParticle(this),this.size=yW(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(n),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=lW-pt(this.options.move.decay);const E=s.particles;E.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/s.zLayers,this.sides=24;let T=s.effectDrawers.get(this.effect);T||(T=this._engine.getEffectDrawer(this.effect),T&&s.effectDrawers.set(this.effect,T)),T?.loadEffect&&T.loadEffect(this);let R=s.shapeDrawers.get(this.shape);R||(R=this._engine.getShapeDrawer(this.shape),R&&s.shapeDrawers.set(this.shape,R)),R?.loadShape&&R.loadShape(this);const N=R?.getSidesCount;N&&(this.sides=N(this)),this.spawning=!1,this.shadowColor=Ga(this._engine,this.options.shadow.color);for(const I of E.updaters)I.init(this);for(const I of E.movers)I.init?.(this);T?.particleInit?.(s,this),R?.particleInit?.(s,this);for(const I of s.plugins.values())I.particleCreated?.(this)}isInsideCanvas(){const e=this.getRadius(),n=this.container.canvas.size,r=this.position;return r.x>=-e&&r.y>=-e&&r.y<=n.height+e&&r.x<=n.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const e of this.container.particles.updaters)e.reset?.(this)}}class zbe{constructor(e,n){this.position=e,this.particle=n}}var Cf;(function(t){t.circle="circle",t.rectangle="rectangle"})(Cf||(Cf={}));class OW{constructor(e,n,r){this.position={x:e,y:n},this.type=r}}class gi extends OW{constructor(e,n,r){super(e,n,Cf.circle),this.radius=r}contains(e){return Ps(e,this.position)<=this.radius}intersects(e){const n=this.position,r=e.position,i={x:Math.abs(r.x-n.x),y:Math.abs(r.y-n.y)},s=this.radius;if(e instanceof gi||e.type===Cf.circle){const a=e,o=s+a.radius,l=Math.sqrt(i.x**xl+i.y**xl);return o>l}else if(e instanceof Xa||e.type===Cf.rectangle){const a=e,{width:o,height:l}=a.size;return Math.pow(i.x-o,xl)+Math.pow(i.y-l,xl)<=s**xl||i.x<=s+o&&i.y<=s+l||i.x<=o||i.y<=l}return!1}}class Xa extends OW{constructor(e,n,r,i){super(e,n,Cf.rectangle),this.size={height:i,width:r}}contains(e){const n=this.size.width,r=this.size.height,i=this.position;return e.x>=i.x&&e.x<=i.x+n&&e.y>=i.y&&e.y<=i.y+r}intersects(e){if(e instanceof gi)return e.intersects(this);const n=this.size.width,r=this.size.height,i=this.position,s=e.position,a=e instanceof Xa?e.size:{width:0,height:0},o=a.width,l=a.height;return s.x<i.x+n&&s.x+o>i.x&&s.y<i.y+r&&s.y+l>i.y}}class $1{constructor(e,n){this.rectangle=e,this.capacity=n,this._subdivide=()=>{const{x:r,y:i}=this.rectangle.position,{width:s,height:a}=this.rectangle.size,{capacity:o}=this;for(let l=0;l<Mge;l++){const c=l%pi;this._subs.push(new $1(new Xa(r+s*kr*c,i+a*kr*(Math.round(l*kr)-c),s*kr,a*kr),o))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(e){return this.rectangle.contains(e.position)?this._points.length<this.capacity?(this._points.push(e),!0):(this._divided||this._subdivide(),this._subs.some(n=>n.insert(e))):!1}query(e,n){const r=[];if(!e.intersects(this.rectangle))return[];for(const i of this._points)!e.contains(i.position)&&Ps(e.position,i.position)>i.particle.getRadius()&&(!n||n(i.particle))||r.push(i.particle);if(this._divided)for(const i of this._subs)r.push(...i.query(e,n));return r}queryCircle(e,n,r){return this.query(new gi(e.x,e.y,n),r)}queryRectangle(e,n,r){return this.query(new Xa(e.x,e.y,n.width,n.height),r)}}const bP=t=>{const{height:e,width:n}=t;return new Xa(rP*n,rP*e,iP*n,iP*e)};class Ube{constructor(e,n){this._addToPool=(...i)=>{this._pool.push(...i)},this._applyDensity=(i,s,a,o)=>{const l=i.number;if(!i.number.density?.enable){a===void 0?this._limit=l.limit.value:(o?.number.limit?.value??l.limit.value)&&this._groupLimits.set(a,o?.number.limit?.value??l.limit.value);return}const c=this._initDensityFactor(l.density),d=l.value,f=l.limit.value>sP?l.limit.value:d,p=Math.min(d,f)*c+s,g=Math.min(this.count,this.filter(b=>b.group===a).length);a===void 0?this._limit=l.limit.value*c:this._groupLimits.set(a,l.limit.value*c),g<p?this.push(Math.abs(p-g),void 0,i,a):g>p&&this.removeQuantity(g-p,a)},this._initDensityFactor=i=>{const s=this._container;if(!s.canvas.element||!i.enable)return t0e;const a=s.canvas.element,o=s.retina.pixelRatio;return a.width*a.height/(i.height*i.width*o**xl)},this._pushParticle=(i,s,a,o)=>{try{let l=this._pool.pop();l||(l=new Fbe(this._engine,this._container)),l.init(this._nextId,i,s,a);let c=!0;return o&&(c=o(l)),c?(this._array.push(l),this._zArray.push(l),this._nextId++,this._engine.dispatchEvent(Ni.particleAdded,{container:this._container,data:{particle:l}}),l):void 0}catch(l){Cd().warning(`${_a} adding particle: ${l}`)}},this._removeParticle=(i,s,a)=>{const o=this._array[i];if(!o||o.group!==s)return!1;const l=this._zArray.indexOf(o);return this._array.splice(i,H1),this._zArray.splice(l,H1),o.destroy(a),this._engine.dispatchEvent(Ni.particleRemoved,{container:this._container,data:{particle:o}}),this._addToPool(o),!0},this._engine=e,this._container=n,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new Lbe(e,n),this._pluginsInitialized=!1;const r=n.canvas.size;this.quadTree=new $1(bP(r),YB),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const e=this._container;e.actualOptions.manualParticles.forEach(r=>this.addParticle(r.position?vW(r.position,e.canvas.size):void 0,r.options))}addParticle(e,n,r,i){const s=this._container.actualOptions.particles.number.limit.mode,a=r===void 0?this._limit:this._groupLimits.get(r)??this._limit,o=this.count;if(a>sP)switch(s){case Lg.delete:{const l=o+Jge-a;l>e0e&&this.removeQuantity(l);break}case Lg.wait:if(o>=a)return;break}return this._pushParticle(e,n,r,i)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(e){const n=this._container,r=n.canvas;r.clear(),this.update(e);for(const i of n.plugins.values())r.drawPlugin(i,e);for(const i of this._zArray)i.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}get(e){return this._array[e]}handleClickMode(e){this._interactionManager.handleClickMode(e)}async init(){const e=this._container,n=e.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let r=!1;for(const i of e.plugins.values())if(r=i.particlesInitialization?.()??r,r)break;if(this.addManualParticles(),!r){const i=n.particles,s=i.groups;for(const a in s){const o=s[a];for(let l=this.count,c=0;c<o.number?.value&&l<i.number.value;l++,c++)this.addParticle(void 0,o,a)}for(let a=this.count;a<i.number.value;a++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;const e=this._container;this.movers=await this._engine.getMovers(e,!0),this.updaters=await this._engine.getUpdaters(e,!0),await this._interactionManager.init();for(const n of e.pathGenerators.values())n.init(e)}push(e,n,r,i){for(let s=0;s<e;s++)this.addParticle(n?.position,r,i)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(e,n,r){this.removeAt(this._array.indexOf(e),void 0,n,r)}removeAt(e,n=Dge,r,i){if(e<qC||e>this.count)return;let s=0;for(let a=e;s<n&&a<this.count;a++)this._removeParticle(a,r,i)&&(a--,s++)}removeQuantity(e,n){this.removeAt(qC,e,n)}setDensity(){const e=this._container.actualOptions,n=e.particles.groups,r=e.manualParticles.length;for(const i in n)this._applyDensity(n[i],r,i);this._applyDensity(e.particles,r)}setLastZIndex(e){this._lastZIndex=e,this._needsSort=this._needsSort||this._lastZIndex<e}setResizeFactor(e){this._resizeFactor=e}update(e){const n=this._container,r=new Set;this.quadTree=new $1(bP(n.canvas.size),YB);for(const s of n.pathGenerators.values())s.update();for(const s of n.plugins.values())s.update?.(e);const i=this._resizeFactor;for(const s of this._array){i&&!s.ignoresResizeRatio&&(s.position.x*=i.width,s.position.y*=i.height,s.initialPosition.x*=i.width,s.initialPosition.y*=i.height),s.ignoresResizeRatio=!1,this._interactionManager.reset(s);for(const a of this._container.plugins.values()){if(s.destroyed)break;a.particleUpdate?.(s,e)}for(const a of this.movers)a.isEnabled(s)&&a.move(s,e);if(s.destroyed){r.add(s);continue}this.quadTree.insert(new zbe(s.getPosition(),s))}if(r.size){const s=a=>!r.has(a);this._array=this.filter(s),this._zArray=this._zArray.filter(s);for(const a of r)this._engine.dispatchEvent(Ni.particleRemoved,{container:this._container,data:{particle:a}});this._addToPool(...r)}this._interactionManager.externalInteract(e);for(const s of this._array){for(const a of this.updaters)a.update(s,e);!s.destroyed&&!s.spawning&&this._interactionManager.particlesInteract(s,e)}if(delete this._resizeFactor,this._needsSort){const s=this._zArray;s.sort((a,o)=>o.position.z-a.position.z||a.id-o.id),this._lastZIndex=s[s.length-cW].position.z,this._needsSort=!1}}}class jbe{constructor(e){this.container=e,this.pixelRatio=XB,this.reduceFactor=ZB}init(){const e=this.container,n=e.actualOptions;this.pixelRatio=!n.detectRetina||Td()?XB:devicePixelRatio,this.reduceFactor=ZB;const r=this.pixelRatio,i=e.canvas;if(i.element){const o=i.element;i.size.width=o.offsetWidth*r,i.size.height=o.offsetHeight*r}const s=n.particles,a=s.move;this.maxSpeed=pt(a.gravity.maxSpeed)*r,this.sizeAnimationSpeed=pt(s.size.animation.speed)*r}initParticle(e){const n=e.options,r=this.pixelRatio,i=n.move,s=i.distance,a=e.retina;a.moveDrift=pt(i.drift)*r,a.moveSpeed=pt(i.speed)*r,a.sizeAnimationSpeed=pt(n.size.animation.speed)*r;const o=a.maxDistance;o.horizontal=s.horizontal!==void 0?s.horizontal*r:void 0,o.vertical=s.vertical!==void 0?s.vertical*r:void 0,a.maxSpeed=pt(i.gravity.maxSpeed)*r}}function $n(t){return t&&!t.destroyed}function Hbe(t,e=l2,n=!1){return{value:t,factor:n?l2/e:l2*t/fi}}function Gh(t,e,...n){const r=new Mbe(t,e);return RW(r,...n),r}class $be{constructor(e,n,r){this._intersectionManager=i=>{if(!(!$n(this)||!this.actualOptions.pauseOnOutsideViewport))for(const s of i)s.target===this.interactivity.element&&(s.isIntersecting?this.play():this.pause())},this._nextFrame=i=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&i<this._lastFrameTime+fi/this.fpsLimit){this.draw(!1);return}this._lastFrameTime??=i;const s=Hbe(i-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(s.value),this._lastFrameTime=i,s.value>fi){this.draw(!1);return}if(this.particles.draw(s),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(s){Cd().error(`${_a} in animation loop`,s)}},this._engine=e,this.id=Symbol(n),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=r,this._initialSourceOptions=r,this.retina=new jbe(this),this.canvas=new G0e(this,this._engine),this.particles=new Ube(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=Gh(this._engine,this),this.actualOptions=Gh(this._engine,this),this._eventListeners=new q0e(this),this._intersectionObserver=S0e(i=>this._intersectionManager(i)),this._engine.dispatchEvent(Ni.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&$n(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!$n(this))return;const n=this.interactivity.element;if(!n)return;const r=(f,p,g)=>{if(!$n(this))return;const b=this.retina.pixelRatio,y={x:p.x*b,y:p.y*b},w=this.particles.quadTree.queryCircle(y,g*b);e(f,w)},i=f=>{if(!$n(this))return;const p=f,g={x:p.offsetX||p.clientX,y:p.offsetY||p.clientY};r(f,g,jge)},s=()=>{$n(this)&&(c=!0,d=!1)},a=()=>{$n(this)&&(d=!0)},o=f=>{if($n(this)){if(c&&!d){const p=f;let g=p.touches[p.touches.length-tP];if(!g&&(g=p.changedTouches[p.changedTouches.length-tP],!g))return;const b=this.canvas.element,y=b?b.getBoundingClientRect():void 0,w={x:g.clientX-(y?y.left:U1),y:g.clientY-(y?y.top:U1)};r(f,w,Math.max(g.radiusX,g.radiusY))}c=!1,d=!1}},l=()=>{$n(this)&&(c=!1,d=!1)};let c=!1,d=!1;this._clickHandlers.set("click",i),this._clickHandlers.set("touchstart",s),this._clickHandlers.set("touchmove",a),this._clickHandlers.set("touchend",o),this._clickHandlers.set("touchcancel",l);for(const[f,p]of this._clickHandlers)n.addEventListener(f,p)}addLifeTime(e){this._lifeTime+=e}addPath(e,n,r=!1){return!$n(this)||!r&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,n),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if($n(this)){for(const[e,n]of this._clickHandlers)this.interactivity.element?.removeEventListener(e,n);this._clickHandlers.clear()}}destroy(e=!0){if($n(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const n of this.effectDrawers.values())n.destroy?.(this);for(const n of this.shapeDrawers.values())n.destroy?.(this);for(const n of this.effectDrawers.keys())this.effectDrawers.delete(n);for(const n of this.shapeDrawers.keys())this.shapeDrawers.delete(n);if(this._engine.clearPlugins(this),this.destroyed=!0,e){const n=this._engine.items,r=n.findIndex(i=>i===this);r>=Hge&&n.splice(r,oW)}this._engine.dispatchEvent(Ni.containerDestroyed,{container:this})}}draw(e){if(!$n(this))return;let n=e;const r=i=>{n&&(this._lastFrameTime=void 0,n=!1),this._nextFrame(i)};this._drawAnimationFrame=h0e(i=>r(i))}async export(e,n={}){for(const r of this.plugins.values()){if(!r.export)continue;const i=await r.export(e,n);if(i.supported)return i.blob}Cd().error(`${_a} - Export plugin with type ${e} not found`)}handleClickMode(e){if($n(this)){this.particles.handleClickMode(e);for(const n of this.plugins.values())n.handleClickMode?.(e)}}async init(){if(!$n(this))return;const e=this._engine.getSupportedEffects();for(const c of e){const d=this._engine.getEffectDrawer(c);d&&this.effectDrawers.set(c,d)}const n=this._engine.getSupportedShapes();for(const c of n){const d=this._engine.getShapeDrawer(c);d&&this.shapeDrawers.set(c,d)}await this.particles.initPlugins(),this._options=Gh(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Gh(this._engine,this,this._options);const r=await this._engine.getAvailablePlugins(this);for(const[c,d]of r)this.plugins.set(c,d);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:i,duration:s,delay:a,fpsLimit:o,smooth:l}=this.actualOptions;this.zLayers=i,this._duration=pt(s)*fi,this._delay=pt(a)*fi,this._lifeTime=0,this.fpsLimit=o>Vge?o:$ge,this._smooth=l;for(const c of this.effectDrawers.values())await c.init?.(this);for(const c of this.shapeDrawers.values())await c.init?.(this);for(const c of this.plugins.values())await c.init?.();this._engine.dispatchEvent(Ni.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const c of this.plugins.values())c.particlesSetup?.();this._engine.dispatchEvent(Ni.particlesSetup,{container:this})}async loadTheme(e){$n(this)&&(this._currentTheme=e,await this.refresh())}pause(){if($n(this)&&(this._drawAnimationFrame!==void 0&&(f0e(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const e of this.plugins.values())e.pause?.();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(Ni.containerPaused,{container:this})}}play(e){if(!$n(this))return;const n=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),n)for(const r of this.plugins.values())r.play&&r.play();this._engine.dispatchEvent(Ni.containerPlay,{container:this}),this.draw(n??!1)}async refresh(){if($n(this))return this.stop(),this.start()}async reset(e){if($n(this))return this._initialSourceOptions=e,this._sourceOptions=e,this._options=Gh(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Gh(this._engine,this,this._options),this.refresh()}async start(){!$n(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{const n=async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const r of this.plugins.values())await r.start?.();this._engine.dispatchEvent(Ni.containerStarted,{container:this}),this.play(),e()};this._delayTimeout=setTimeout(()=>{n()},this._delay)}))}stop(){if(!(!$n(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const e of this.plugins.values())e.stop?.();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent(Ni.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===e?!1:(this._responsiveMaxWidth=e,!0)}}class Vbe{constructor(){this._listeners=new Map}addEventListener(e,n){this.removeEventListener(e,n);let r=this._listeners.get(e);r||(r=[],this._listeners.set(e,r)),r.push(n)}dispatchEvent(e,n){this._listeners.get(e)?.forEach(i=>i(n))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,n){const r=this._listeners.get(e);if(!r)return;const i=r.length,s=r.indexOf(n);s<qC||(i===H1?this._listeners.delete(e):r.splice(s,H1))}}async function b2(t,e,n,r=!1){let i=e.get(t);return(!i||r)&&(i=await Promise.all([...n.values()].map(s=>s(t))),e.set(t,i)),i}async function Gbe(t){const e=fa(t.url,t.index);if(!e)return t.fallback;const n=await fetch(e);return n.ok?await n.json():(Cd().error(`${_a} ${n.status} while retrieving config file`),t.fallback)}const qbe=t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===c2)e=t,e.dataset[id]||(e.dataset[id]=WB);else{const r=t.getElementsByTagName(c2);r.length?(e=r[Gge],e.dataset[id]=WB):(e=document.createElement(c2),e.dataset[id]=sW,t.appendChild(e))}const n="100%";return e.style.width||(e.style.width=n),e.style.height||(e.style.height=n),e},Wbe=(t,e)=>{let n=e??document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,n.dataset[id]=sW,document.body.append(n),n)};class Kbe{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new Vbe,this._initialized=!1,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const e={};for(const[n,r]of this._configs)e[n]=r;return e}get items(){return this._domArray}get version(){return"3.9.1"}async addColorManager(e,n=!0){this.colorManagers.set(e.key,e),await this.refresh(n)}addConfig(e){const n=e.key??e.name??"default";this._configs.set(n,e),this._eventDispatcher.dispatchEvent(Ni.configAdded,{data:{name:n,config:e}})}async addEasing(e,n,r=!0){this.getEasing(e)||(this.easingFunctions.set(e,n),await this.refresh(r))}async addEffect(e,n,r=!0){Hs(e,i=>{this.getEffectDrawer(i)||this.effectDrawers.set(i,n)}),await this.refresh(r)}addEventListener(e,n){this._eventDispatcher.addEventListener(e,n)}async addInteractor(e,n,r=!0){this._initializers.interactors.set(e,n),await this.refresh(r)}async addMover(e,n,r=!0){this._initializers.movers.set(e,n),await this.refresh(r)}async addParticleUpdater(e,n,r=!0){this._initializers.updaters.set(e,n),await this.refresh(r)}async addPathGenerator(e,n,r=!0){this.getPathGenerator(e)||this.pathGenerators.set(e,n),await this.refresh(r)}async addPlugin(e,n=!0){this.getPlugin(e.id)||this.plugins.push(e),await this.refresh(n)}async addPreset(e,n,r=!1,i=!0){(r||!this.getPreset(e))&&this.presets.set(e,n),await this.refresh(i)}async addShape(e,n=!0){for(const r of e.validTypes)this.getShapeDrawer(r)||this.shapeDrawers.set(r,e);await this.refresh(n)}checkVersion(e){if(this.version!==e)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${e}`)}clearPlugins(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}dispatchEvent(e,n){this._eventDispatcher.dispatchEvent(e,n)}dom(){return this.items}domItem(e){return this.item(e)}async getAvailablePlugins(e){const n=new Map;for(const r of this.plugins)r.needsPlugin(e.actualOptions)&&n.set(r.id,await r.getPlugin(e));return n}getEasing(e){return this.easingFunctions.get(e)??(n=>n)}getEffectDrawer(e){return this.effectDrawers.get(e)}async getInteractors(e,n=!1){return b2(e,this.interactors,this._initializers.interactors,n)}async getMovers(e,n=!1){return b2(e,this.movers,this._initializers.movers,n)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(n=>n.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.shapeDrawers.get(e)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(e,n=!1){return b2(e,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}item(e){const{items:n}=this,r=n[e];if(!r||r.destroyed){n.splice(e,oW);return}return r}async load(e){const n=e.id??e.element?.id??`tsparticles${Math.floor(hn()*qge)}`,{index:r,url:i}=e,s=i?await Gbe({fallback:e.options,url:i,index:r}):e.options,a=fa(s,r),{items:o}=this,l=o.findIndex(p=>p.id.description===n),c=new $be(this,n,a);if(l>=Wge){const p=this.item(l),g=p?Kge:j1;p&&!p.destroyed&&p.destroy(!1),o.splice(l,g,c)}else o.push(c);const d=Wbe(n,e.element),f=qbe(d);return c.canvas.loadCanvas(f),await c.start(),c}loadOptions(e,n){this.plugins.forEach(r=>r.loadOptions?.(e,n))}loadParticlesOptions(e,n,...r){const i=this.updaters.get(e);i&&i.forEach(s=>s.loadOptions?.(n,...r))}async refresh(e=!0){e&&await Promise.all(this.items.map(n=>n.refresh()))}removeEventListener(e,n){this._eventDispatcher.removeEventListener(e,n)}setOnClickHandler(e){const{items:n}=this;if(!n.length)throw new Error(`${_a} can only set click handlers after calling tsParticles.load()`);n.forEach(r=>r.addClickHandler(e))}}function Ybe(){const t=new Kbe;return t.init(),t}class Go{constructor(e){this.type=Gf.external,this.container=e}}class jR{constructor(e){this.type=Gf.particles,this.container=e}}var Fa;(function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"})(Fa||(Fa={}));var yP;(function(t){t.linear="linear",t.radial="radial",t.random="random"})(yP||(yP={}));var gd;(function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-
62out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"})(gd||(gd={}));const HR=Ybe();Td()||(window.tsParticles=HR);const Xbe=t=>{const e=t.id??"tsparticles";return A.useEffect(()=>{let n;return HR.load({id:e,url:t.url,options:t.options}).then(r=>{var i;n=r,(i=t.particlesLoaded)==null||i.call(t,r)}),()=>{n?.destroy()}},[e,t,t.url,t.options]),x.jsx("div",{id:e,className:t.className})};async function Zbe(t){await t(HR)}const ZC=.5,Qbe=2,Fc=0,Ua=1,vP=60,wP=0,Jbe=.01,eye=Math.PI*Qbe;function tye(t){const e=t.initialPosition,{dx:n,dy:r}=Pi(e,t.position),i=Math.abs(n),s=Math.abs(r),{maxDistance:a}=t.retina,o=a.horizontal,l=a.vertical;if(!o&&!l)return;const c=(o&&i>=o)??!1,d=(l&&s>=l)??!1;if((c||d)&&!t.misplaced)t.misplaced=!!o&&i>o||!!l&&s>l,o&&(t.velocity.x=t.velocity.y*ZC-t.velocity.x),l&&(t.velocity.y=t.velocity.x*ZC-t.velocity.y);else if((!o||i<o)&&(!l||s<l)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const f=t.position,p=t.velocity;o&&(f.x<e.x&&p.x<Fc||f.x>e.x&&p.x>Fc)&&(p.x*=-hn()),l&&(f.y<e.y&&p.y<Fc||f.y>e.y&&p.y>Fc)&&(p.y*=-hn())}}function nye(t,e,n,r,i,s,a){iye(t,a);const o=t.gravity,l=o?.enable&&o.inverse?-Ua:Ua;i&&n&&(t.velocity.x+=i*a.factor/(vP*n)),o?.enable&&n&&(t.velocity.y+=l*(o.acceleration*a.factor)/(vP*n));const c=t.moveDecay;t.velocity.multTo(c);const d=t.velocity.mult(n);o?.enable&&r>Fc&&(!o.inverse&&d.y>=Fc&&d.y>=r||o.inverse&&d.y<=Fc&&d.y<=-r)&&(d.y=l*r,n&&(t.velocity.y=d.y/n));const f=t.options.zIndex,p=(Ua-t.zIndexFactor)**f.velocityRate;d.multTo(p),d.multTo(s);const{position:g}=t;g.addTo(d),e.vibrate&&(g.x+=Math.sin(g.x*Math.cos(g.y))*s,g.y+=Math.cos(g.y*Math.sin(g.x))*s)}function rye(t,e,n){const r=t.container;if(!t.spin)return;const i=t.spin.direction===Fa.clockwise,s={x:i?Math.cos:Math.sin,y:i?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*s.x(t.spin.angle)*n,t.position.y=t.spin.center.y+t.spin.radius*s.y(t.spin.angle)*n,t.spin.radius+=t.spin.acceleration*n;const a=Math.max(r.canvas.size.width,r.canvas.size.height),o=a*ZC;t.spin.radius>o?(t.spin.radius=o,t.spin.acceleration*=-Ua):t.spin.radius<wP&&(t.spin.radius=wP,t.spin.acceleration*=-Ua),t.spin.angle+=e*Jbe*(Ua-t.spin.radius/a)}function iye(t,e){const n=t.options,r=n.move.path;if(!r.enable)return;if(t.lastPathTime<=t.pathDelay){t.lastPathTime+=e.value;return}const s=t.pathGenerator?.generate(t,e);s&&t.velocity.addTo(s),r.clamp&&(t.velocity.x=xa(t.velocity.x,-Ua,Ua),t.velocity.y=xa(t.velocity.y,-Ua,Ua)),t.lastPathTime-=t.pathDelay}function sye(t){return t.slow.inRange?t.slow.factor:Ua}function aye(t){const e=t.container,n=t.options,r=n.move.spin;if(!r.enable)return;const i=r.position??{x:50,y:50},s=.01,a={x:i.x*s*e.canvas.size.width,y:i.y*s*e.canvas.size.height},o=t.getPosition(),l=Ps(o,a),c=pt(r.acceleration);t.retina.spinAcceleration=c*e.retina.pixelRatio,t.spin={center:a,direction:t.velocity.x>=Fc?Fa.clockwise:Fa.counterClockwise,angle:hn()*eye,radius:l,acceleration:t.retina.spinAcceleration}}const oye=2,lye=1,cye=1;class uye{init(e){const n=e.options,r=n.move.gravity;e.gravity={enable:r.enable,acceleration:pt(r.acceleration),inverse:r.inverse},aye(e)}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,n){const r=e.options,i=r.move;if(!i.enable)return;const s=e.container,a=s.retina.pixelRatio;e.retina.moveSpeed??=pt(i.speed)*a,e.retina.moveDrift??=pt(e.options.move.drift)*a;const o=sye(e),l=s.retina.reduceFactor,c=e.retina.moveSpeed,d=e.retina.moveDrift,f=Ao(r.size.value)*a,p=i.size?e.getRadius()/f:lye,g=n.factor||cye,b=c*p*o*g/oye,y=e.retina.maxSpeed??s.retina.maxSpeed;i.spin.enable?rye(e,b,l):nye(e,i,b,y,d,l,n),tye(e)}}async function dye(t,e=!0){t.checkVersion("3.9.1"),await t.addMover("base",()=>Promise.resolve(new uye),e)}const hye=2,fye=Math.PI*hye,pye=0,SP={x:0,y:0};function mye(t){const{context:e,particle:n,radius:r}=t;n.circleRange||(n.circleRange={min:pye,max:fye});const i=n.circleRange;e.arc(SP.x,SP.y,r,i.min,i.max,!1)}const gye=12,bye=360,_P=0;class yye{constructor(){this.validTypes=["circle"]}draw(e){mye(e)}getSidesCount(){return gye}particleInit(e,n){const r=n.shapeData,i=r?.angle??{max:bye,min:_P};n.circleRange=df(i)?{min:$c(i.min),max:$c(i.max)}:{min:_P,max:$c(i)}}}async function vye(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new yye,e)}class wye{constructor(e,n){this._container=e,this._engine=n}
vendor: 64,298 bytes, line 62
62init(e){const n=Ig(this._engine,e.options.color,e.id,e.options.reduceDuplicates);n&&(e.color=EW(n,e.options.color.animation,this._container.retina.reduceFactor))}isEnabled(e){const{h:n,s:r,l:i}=e.options.color.animation,{color:s}=e;return!e.destroyed&&!e.spawning&&(s?.h.value!==void 0&&n.enable||s?.s.value!==void 0&&r.enable||s?.l.value!==void 0&&i.enable)}update(e,n){kW(e.color,n)}}async function Sye(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("color",n=>Promise.resolve(new wye(n,t)),e)}var ed;(function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"})(ed||(ed={}));const _ye=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,xye=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,By=16,Eye=1,kye=255;class Cye{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(e){return this._parseString(e.value)}handleRangeColor(e){return this._parseString(e.value)}parseString(e){return this._parseString(e)}_parseString(e){if(typeof e!="string"||!e?.startsWith(this.stringPrefix))return;const n=e.replace(_ye,(i,s,a,o,l)=>s+s+a+a+o+o+(l!==void 0?l+l:"")),r=xye.exec(n);return r?{a:r[ed.a]!==void 0?parseInt(r[ed.a],By)/kye:Eye,b:parseInt(r[ed.b],By),g:parseInt(r[ed.g],By),r:parseInt(r[ed.r],By)}:void 0}}async function Tye(t,e=!0){t.checkVersion("3.9.1"),await t.addColorManager(new Cye,e)}var hf;(function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"})(hf||(hf={}));class Aye{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){const n=e.value,r=n.hsl??e.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return $f(r)}handleRangeColor(e){const n=e.value,r=n.hsl??e.value;if(r.h!==void 0&&r.l!==void 0)return $f({h:pt(r.h),l:pt(r.l),s:pt(r.s)})}parseString(e){if(!e.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,r=n.exec(e),i=4,s=1,a=10;return r?M0e({a:r.length>i?fW(r[hf.a]):s,h:parseInt(r[hf.h],a),l:parseInt(r[hf.l],a),s:parseInt(r[hf.s],a)}):void 0}}async function Rye(t,e=!0){t.checkVersion("3.9.1"),await t.addColorManager(new Aye,e)}class Nye{constructor(e){this.container=e}init(e){const n=e.options.opacity,r=1;e.opacity=yW(n,r);const i=n.animation;i.enable&&(e.opacity.velocity=pt(i.speed)/Pc*this.container.retina.reduceFactor,i.sync||(e.opacity.velocity*=hn()))}isEnabled(e){return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((e.opacity.maxLoops??0)<=0||(e.opacity.maxLoops??0)>0&&(e.opacity.loops??0)<(e.opacity.maxLoops??0))}reset(e){e.opacity&&(e.opacity.time=0,e.opacity.loops=0)}update(e,n){!this.isEnabled(e)||!e.opacity||PR(e,e.opacity,!0,e.options.opacity.animation.destroy,n)}}async function Oye(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("opacity",n=>Promise.resolve(new Nye(n)),e)}const V1=0,Tf=0;function Iye(t){if(t.outMode!==dr.bounce&&t.outMode!==dr.split||t.direction!==Gt.left&&t.direction!==Gt.right)return;t.bounds.right<Tf&&t.direction===Gt.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===Gt.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let n=!1;if(t.direction===Gt.right&&t.bounds.right>=t.canvasSize.width&&e>V1||t.direction===Gt.left&&t.bounds.left<=Tf&&e<V1){const i=pt(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,n=!0}if(!n)return;const r=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===Gt.right?t.particle.position.x=t.canvasSize.width-r:t.bounds.left<=Tf&&t.direction===Gt.left&&(t.particle.position.x=r),t.outMode===dr.split&&t.particle.destroy()}function Dye(t){if(t.outMode!==dr.bounce&&t.outMode!==dr.split||t.direction!==Gt.bottom&&t.direction!==Gt.top)return;t.bounds.bottom<Tf&&t.direction===Gt.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===Gt.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let n=!1;if(t.direction===Gt.bottom&&t.bounds.bottom>=t.canvasSize.height&&e>V1||t.direction===Gt.top&&t.bounds.top<=Tf&&e<V1){const i=pt(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,n=!0}if(!n)return;const r=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===Gt.bottom?t.particle.position.y=t.canvasSize.height-r:t.bounds.top<=Tf&&t.direction===Gt.top&&(t.particle.position.y=r),t.outMode===dr.split&&t.particle.destroy()}class Mye{constructor(e){this.container=e,this.modes=[dr.bounce,dr.split]}update(e,n,r,i){if(!this.modes.includes(i))return;const s=this.container;let a=!1;for(const p of s.plugins.values())if(p.particleBounce!==void 0&&(a=p.particleBounce(e,r,n)),a)break;if(a)return;const o=e.getPosition(),l=e.offset,c=e.getRadius(),d=T0(o,c),f=s.canvas.size;Iye({particle:e,outMode:i,direction:n,bounds:d,canvasSize:f,offset:l,size:c}),Dye({particle:e,outMode:i,direction:n,bounds:d,canvasSize:f,offset:l,size:c})}}const Py=0;class Lye{constructor(e){this.container=e,this.modes=[dr.destroy]}update(e,n,r,i){if(!this.modes.includes(i))return;const s=this.container;switch(e.outType){case qa.normal:case qa.outside:if(MR(e.position,s.canvas.size,Ur.origin,e.getRadius(),n))return;break;case qa.inside:{const{dx:a,dy:o}=Pi(e.position,e.moveCenter),{x:l,y:c}=e.velocity;if(l<Py&&a>e.moveCenter.radius||c<Py&&o>e.moveCenter.radius||l>=Py&&a<-e.moveCenter.radius||c>=Py&&o<-e.moveCenter.radius)return;break}}s.particles.remove(e,e.group,!0)}}const Fy=0;class Bye{constructor(e){this.container=e,this.modes=[dr.none]}update(e,n,r,i){if(!this.modes.includes(i)||((e.options.move.distance.horizontal&&(n===Gt.left||n===Gt.right))??(e.options.move.distance.vertical&&(n===Gt.top||n===Gt.bottom))))return;const s=e.options.move.gravity,a=this.container,o=a.canvas.size,l=e.getRadius();if(s.enable){const c=e.position;(!s.inverse&&c.y>o.height+l&&n===Gt.bottom||s.inverse&&c.y<-l&&n===Gt.top)&&a.particles.remove(e)}else{if(e.velocity.y>Fy&&e.position.y<=o.height+l||e.velocity.y<Fy&&e.position.y>=-l||e.velocity.x>Fy&&e.position.x<=o.width+l||e.velocity.x<Fy&&e.position.x>=-l)return;MR(e.position,a.canvas.size,Ur.origin,l,n)||a.particles.remove(e)}}}const zy=0,Uy=0;class Pye{constructor(e){this.container=e,this.modes=[dr.out]}update(e,n,r,i){if(!this.modes.includes(i))return;const s=this.container;switch(e.outType){case qa.inside:{const{x:a,y:o}=e.velocity,l=Ur.origin;l.length=e.moveCenter.radius,l.angle=e.velocity.angle+Math.PI,l.addTo(Ur.create(e.moveCenter));const{dx:c,dy:d}=Pi(e.position,l);if(a<=zy&&c>=Uy||o<=zy&&d>=Uy||a>=zy&&c<=Uy||o>=zy&&d<=Uy)return;e.position.x=Math.floor(Ls({min:0,max:s.canvas.size.width})),e.position.y=Math.floor(Ls({min:0,max:s.canvas.size.height}));const{dx:f,dy:p}=Pi(e.position,e.moveCenter);e.direction=Math.atan2(-p,-f),e.velocity.angle=e.direction;break}default:{if(MR(e.position,s.canvas.size,Ur.origin,e.getRadius(),n))return;switch(e.outType){case qa.outside:{e.position.x=Math.floor(Ls({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(Ls({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:a,dy:o}=Pi(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(o,a),e.velocity.angle=e.direction);break}case qa.normal:{const a=e.options.move.warp,o=s.canvas.size,l={bottom:o.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:o.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},c=e.getRadius(),d=T0(e.position,c);n===Gt.right&&d.left>o.width+e.offset.x?(e.position.x=l.left,e.initialPosition.x=e.position.x,a||(e.position.y=hn()*o.height,e.initialPosition.y=e.position.y)):n===Gt.left&&d.right<-e.offset.x&&(e.position.x=l.right,e.initialPosition.x=e.position.x,a||(e.position.y=hn()*o.height,e.initialPosition.y=e.position.y)),n===Gt.bottom&&d.top>o.height+e.offset.y?(a||(e.position.x=hn()*o.width,e.initialPosition.x=e.position.x),e.position.y=l.top,e.initialPosition.y=e.position.y):n===Gt.top&&d.bottom<-e.offset.y&&(a||(e.position.x=hn()*o.width,e.initialPosition.x=e.position.x),e.position.y=l.bottom,e.initialPosition.y=e.position.y);break}}break}}}}const Fye=(t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e;class zye{constructor(e){this._addUpdaterIfMissing=(n,r,i)=>{const s=n.options.move.outModes;!this.updaters.has(r)&&Fye(s,r)&&this.updaters.set(r,i(this.container))},this._updateOutMode=(n,r,i,s)=>{for(const a of this.updaters.values())a.update(n,s,r,i)},this.container=e,this.updaters=new Map}init(e){this._addUpdaterIfMissing(e,dr.bounce,n=>new Mye(n)),this._addUpdaterIfMissing(e,dr.out,n=>new Pye(n)),this._addUpdaterIfMissing(e,dr.destroy,n=>new Lye(n)),this._addUpdaterIfMissing(e,dr.none,n=>new Bye(n))}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,n){const r=e.options.move.outModes;this._updateOutMode(e,n,r.bottom??r.default,Gt.bottom),this._updateOutMode(e,n,r.left??r.default,Gt.left),this._updateOutMode(e,n,r.right??r.default,Gt.right),this._updateOutMode(e,n,r.top??r.default,Gt.top)}}async function Uye(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("outModes",n=>Promise.resolve(new zye(n)),e)}var ff;(function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"})(ff||(ff={}));class jye{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){const n=e.value,r=n.rgb??e.value;if(r.r!==void 0)return r}handleRangeColor(e){const n=e.value,r=n.rgb??e.value;if(r.r!==void 0)return{r:pt(r.r),g:pt(r.g),b:pt(r.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,r=n.exec(e),i=10;return r?{a:r.length>4?fW(r[ff.a]):1,b:parseInt(r[ff.b],i),g:parseInt(r[ff.g],i),r:parseInt(r[ff.r],i)}:void 0}}async function Hye(t,e=!0){t.checkVersion("3.9.1"),await t.addColorManager(new jye,e)}const zu=0;class $ye{init(e){const n=e.container,r=e.options.size,i=r.animation;i.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??n.retina.sizeAnimationSpeed)/Pc*n.retina.reduceFactor,i.sync||(e.size.velocity*=hn()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??zu)<=zu||(e.size.maxLoops??zu)>zu&&(e.size.loops??zu)<(e.size.maxLoops??zu))}reset(e){e.size.loops=zu}update(e,n){this.isEnabled(e)&&PR(e,e.size,!0,e.options.size.animation.destroy,n)}}async function Vye(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("size",()=>Promise.resolve(new $ye),e)}async function Gye(t,e=!0){t.checkVersion("3.9.1"),await Tye(t,!1),await Rye(t,!1),await Hye(t,!1),await dye(t,!1),await vye(t,!1),await Sye(t,!1),await Oye(t,!1),await Uye(t,!1),await Vye(t,!1),await t.refresh(e)}async function qye(t,e=!0){t.checkVersion("3.9.1"),await t.addEasing(gd.easeInQuad,n=>n**2,!1),await t.addEasing(gd.easeOutQuad,n=>1-(1-n)**2,!1),await t.addEasing(gd.easeInOutQuad,n=>n<.5?2*n**2:1-(-2*n+2)**2/2,!1),await t.refresh(e)}function Wye(t,e){const{context:n,opacity:r}=t,i=.5,s=n.globalAlpha;if(!e)return;const a=e.width,o=a*i;n.globalAlpha=r,n.drawImage(e,-o,-o,a,a),n.globalAlpha=s}const y2='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"',xP=0;class Kye{constructor(){this.validTypes=["emoji"],this._emojiShapeDict=new Map}destroy(){for(const[e,n]of this._emojiShapeDict)n instanceof ImageBitmap&&n?.close(),this._emojiShapeDict.delete(e)}draw(e){const n=e.particle.emojiDataKey;if(!n)return;const r=this._emojiShapeDict.get(n);r&&Wye(e,r)}async init(e){const n=e.actualOptions,{validTypes:r}=this;if(!r.find(a=>er(a,n.particles.shape.type)))return;const i=[uP(y2)],s=r.map(a=>n.particles.shape.options[a]).find(a=>!!a);s&&Hs(s,a=>{a.font&&i.push(uP(a.font))}),await Promise.all(i)}particleDestroy(e){e.emojiDataKey=void 0}particleInit(e,n){const i=n.shapeData;if(!i?.value)return;const s=fa(i.value,n.randomIndexData);if(!s)return;const a=typeof s=="string"?{font:i.font??y2,padding:i.padding??xP,value:s}:{font:y2,padding:xP,...i,...s},o=a.font,l=a.value,c=`${l}_${o}`;if(this._emojiShapeDict.has(c)){n.emojiDataKey=c;return}const d=a.padding*2,f=Ao(n.size.value),p=f+d,g=p*2;let b;if(typeof OffscreenCanvas<"u"){const y=new OffscreenCanvas(g,g),w=y.getContext("2d");if(!w)return;w.font=`400 ${f*2}px ${o}`,w.textBaseline="middle",w.textAlign="center",w.fillText(l,p,p),b=y.transferToImageBitmap()}else{const y=document.createElement("canvas");y.width=g,y.height=g;const w=y.getContext("2d");if(!w)return;w.font=`400 ${f*2}px ${o}`,w.textBaseline="middle",w.textAlign="center",w.fillText(l,p,p),b=y}this._emojiShapeDict.set(c,b),n.emojiDataKey=c}}async function Yye(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new Kye,e)}const Xye=1,Zye=1,IW=0;function DW(t,e,n,r,i,s){const a=e.actualOptions.interactivity.modes.attract;if(!a)return;const o=e.particles.quadTree.query(i,s);for(const l of o){const{dx:c,dy:d,distance:f}=Pi(l.position,n),p=a.speed*a.factor,g=xa(t.getEasing(a.easing)(Zye-f/r)*p,Xye,a.maxSpeed),b=Ur.create(f?c/f*g:p,f?d/f*g:p);l.position.subFrom(b)}}function Qye(t,e,n){e.attract||(e.attract={particles:[]});const{attract:r}=e;if(r.finish||(r.count||(r.count=0),r.count++,r.count===e.particles.count&&(r.finish=!0)),r.clicking){const i=e.interactivity.mouse.clickPosition,s=e.retina.attractModeDistance;if(!s||s<IW||!i)return;DW(t,e,i,s,new gi(i.x,i.y,s),a=>n(a))}else r.clicking===!1&&(r.particles=[])}function Jye(t,e,n){const r=e.interactivity.mouse.position,i=e.retina.attractModeDistance;!i||i<IW||!r||DW(t,e,r,i,new gi(r.x,r.y,i),s=>n(s))}class eve{constructor(){this.distance=200,this.duration=.4,this.easing=gd.easeOutQuad,this.factor=1,this.maxSpeed=50,this.speed=1}load(e){Ye(e)||(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}const Nm="attract";let tve=class extends Go{constructor(e,n){super(n),this._engine=e,n.attract||(n.attract={particles:[]}),this.handleClickMode=r=>{const i=this.container.actualOptions,s=i.interactivity.modes.attract;if(!(!s||r!==Nm)){n.attract||(n.attract={particles:[]}),n.attract.clicking=!0,n.attract.count=0;for(const a of n.attract.particles)this.isEnabled(a)&&a.velocity.setTo(a.initialVelocity);n.attract.particles=[],n.attract.finish=!1,setTimeout(()=>{n.destroyed||(n.attract||(n.attract={particles:[]}),n.attract.clicking=!1)},s.duration*fi)}}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.attract;n&&(e.retina.attractModeDistance=n.distance*e.retina.pixelRatio)}interact(){const e=this.container,n=e.actualOptions,r=e.interactivity.status===Ed,i=n.interactivity.events,{enable:s,mode:a}=i.onHover,{enable:o,mode:l}=i.onClick;r&&s&&er(Nm,a)?Jye(this._engine,this.container,c=>this.isEnabled(c)):o&&er(Nm,l)&&Qye(this._engine,this.container,c=>this.isEnabled(c))}isEnabled(e){const n=this.container,r=n.actualOptions,i=n.interactivity.mouse,s=(e?.interactivity??r.interactivity).events;if((!i.position||!s.onHover.enable)&&(!i.clickPosition||!s.onClick.enable))return!1;const a=s.onHover.mode,o=s.onClick.mode;return er(Nm,a)||er(Nm,o)}loadModeOptions(e,...n){e.attract||(e.attract=new eve);for(const r of n)e.attract.load(r?.attract)}reset(){}};async function nve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalAttract",n=>Promise.resolve(new tve(t,n)),e)}const rve=2,Qv=.5,ive=Math.PI*Qv,EP=2,MW=10,sve=0;function LW(t,e,n,r,i){const s=t.particles.quadTree.query(r,i);for(const a of s)r instanceof gi?gW(KC(a),{position:e,mass:n**rve*ive,velocity:Ur.origin,factor:Ur.origin}):r instanceof Xa&&C0e(a,T0(e,n))}function ave(t,e,n,r){const i=document.querySelectorAll(e);i.length&&i.forEach(s=>{const a=s,o=t.retina.pixelRatio,l={x:(a.offsetLeft+a.offsetWidth*Qv)*o,y:(a.offsetTop+a.offsetHeight*Qv)*o},c=a.offsetWidth*Qv*o,d=MW*o,f=n.type===Vf.circle?new gi(l.x,l.y,c+d):new Xa(a.offsetLeft*o-d,a.offsetTop*o-d,a.offsetWidth*o+d*EP,a.offsetHeight*o+d*EP);r(l,c,f)})}function ove(t,e,n,r){BR(n,e,(i,s)=>ave(t,i,s,(a,o,l)=>LW(t,a,o,l,r)))}function lve(t,e){const n=t.retina.pixelRatio,r=MW*n,i=t.interactivity.mouse.position,s=t.retina.bounceModeDistance;!s||s<sve||!i||LW(t,i,s,new gi(i.x,i.y,s+r),e)}class cve{constructor(){this.distance=200}load(e){Ye(e)||e.distance!==void 0&&(this.distance=e.distance)}}const jy="bounce";class uve extends Go{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bounce;n&&(e.retina.bounceModeDistance=n.distance*e.retina.pixelRatio)}interact(){const e=this.container,n=e.actualOptions,r=n.interactivity.events,i=e.interactivity.status===Ed,s=r.onHover.enable,a=r.onHover.mode,o=r.onDiv;i&&s&&er(jy,a)?lve(this.container,l=>this.isEnabled(l)):ove(this.container,o,jy,l=>this.isEnabled(l))}isEnabled(e){const n=this.container,r=n.actualOptions,i=n.interactivity.mouse,s=(e?.interactivity??r.interactivity).events,a=s.onDiv;return!!i.position&&s.onHover.enable&&er(jy,s.onHover.mode)||LR(jy,a)}loadModeOptions(e,...n){e.bounce||(e.bounce=new cve);for(const r of n)e.bounce.load(r?.bounce)}reset(){}}async function dve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalBounce",n=>Promise.resolve(new uve(n)),e)}class BW{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(!Ye(e)){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const n=Vo(this.color)?void 0:this.color;this.color=Hs(e.color,r=>vi.create(n,r))}e.size!==void 0&&(this.size=e.size)}}}class hve extends BW{constructor(){super(),this.selectors=[]}load(e){super.load(e),!Ye(e)&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class fve extends BW{load(e){super.load(e),!Ye(e)&&(this.divs=Hs(e.divs,n=>{const r=new hve;return r.load(n),r}))}}var So;(function(t){t.color="color",t.opacity="opacity",t.size="size"})(So||(So={}));function kP(t,e,n,r){if(e>=n){const i=t+(e-n)*r;return xa(i,t,e)}else if(e<n){const i=t-(n-e)*r;return xa(i,e,t)}}const Uu="bubble",v2=0,pve=0,mve=2,CP=1,TP=1,gve=0,bve=0,w2=.5,S2=1;class yve extends Go{constructor(e,n){super(e),this._clickBubble=()=>{const r=this.container,i=r.actualOptions,s=r.interactivity.mouse.clickPosition,a=i.interactivity.modes.bubble;if(!a||!s)return;r.bubble||(r.bubble={});const o=r.retina.bubbleModeDistance;if(!o||o<v2)return;const l=r.particles.quadTree.queryCircle(s,o,d=>this.isEnabled(d)),{bubble:c}=r;for(const d of l){if(!c.clicking)continue;d.bubble.inRange=!c.durationEnd;const f=d.getPosition(),p=Ps(f,s),g=(new Date().getTime()-(r.interactivity.mouse.clickTime??pve))/fi;g>a.duration&&(c.durationEnd=!0),g>a.duration*mve&&(c.clicking=!1,c.durationEnd=!1);const b={bubbleObj:{optValue:r.retina.bubbleModeSize,value:d.bubble.radius},particlesObj:{optValue:Ao(d.options.size.value)*r.retina.pixelRatio,value:d.size.value},type:So.size};this._process(d,p,g,b);const y={bubbleObj:{optValue:a.opacity,value:d.bubble.opacity},particlesObj:{optValue:Ao(d.options.opacity.value),value:d.opacity?.value??CP},type:So.opacity};this._process(d,p,g,y),!c.durationEnd&&p<=o?this._hoverBubbleColor(d,p):delete d.bubble.color}},this._hoverBubble=()=>{const r=this.container,i=r.interactivity.mouse.position,s=r.retina.bubbleModeDistance;if(!s||s<v2||!i)return;const a=r.particles.quadTree.queryCircle(i,s,o=>this.isEnabled(o));for(const o of a){o.bubble.inRange=!0;const l=o.getPosition(),c=Ps(l,i),d=TP-c/s;c<=s?d>=bve&&r.interactivity.status===Ed&&(this._hoverBubbleSize(o,d),this._hoverBubbleOpacity(o,d),this._hoverBubbleColor(o,d)):this.reset(o),r.interactivity.status===HC&&this.reset(o)}},this._hoverBubbleColor=(r,i,s)=>{const a=this.container.actualOptions,o=s??a.interactivity.modes.bubble;if(o){if(!r.bubble.finalColor){const l=o.color;if(!l)return;const c=fa(l);r.bubble.finalColor=Ig(this._engine,c)}if(r.bubble.finalColor)if(o.mix){r.bubble.color=void 0;const l=r.getFillColor();r.bubble.color=l?SW(FR(l,r.bubble.finalColor,TP-i,i)):r.bubble.finalColor}else r.bubble.color=r.bubble.finalColor}},this._hoverBubbleOpacity=(r,i,s)=>{const a=this.container,o=a.actualOptions,l=s?.opacity??o.interactivity.modes.bubble?.opacity;if(!l)return;const c=r.options.opacity.value,d=r.opacity?.value??CP,f=kP(d,l,Ao(c),i);f!==void 0&&(r.bubble.opacity=f)},this._hoverBubbleSize=(r,i,s)=>{const a=this.container,o=s?.size?s.size*a.retina.pixelRatio:a.retina.bubbleModeSize;if(o===void 0)return;const l=Ao(r.options.size.value)*a.retina.pixelRatio,c=r.size.value,d=kP(c,o,l,i);d!==void 0&&(r.bubble.radius=d)},this._process=(r,i,s,a)=>{const o=this.container,l=a.bubbleObj.optValue,c=o.actualOptions,d=c.interactivity.modes.bubble;if(!d||l===void 0)return;const f=d.duration,p=o.retina.bubbleModeDistance,g=a.particlesObj.optValue,b=a.bubbleObj.value,y=a.particlesObj.value??gve,w=a.type;if(!(!p||p<v2||l===g))if(o.bubble||(o.bubble={}),o.bubble.durationEnd)b&&(w===So.size&&delete r.bubble.radius,w===So.opacity&&delete r.bubble.opacity);else if(i<=p){if((b??y)!==l){const _=y-s*(y-l)/f;w===So.size&&(r.bubble.radius=_),w===So.opacity&&(r.bubble.opacity=_)}}else w===So.size&&delete r.bubble.radius,w===So.opacity&&delete r.bubble.opacity},this._singleSelectorHover=(r,i,s)=>{const a=this.container,o=document.querySelectorAll(i),l=a.actualOptions.interactivity.modes.bubble;!l||!o.length||o.forEach(c=>{const d=c,f=a.retina.pixelRatio,p={x:(d.offsetLeft+d.offsetWidth*w2)*f,y:(d.offsetTop+d.offsetHeight*w2)*f},g=d.offsetWidth*w2*f,b=s.type===Vf.circle?new gi(p.x,p.y,g):new Xa(d.offsetLeft*f,d.offsetTop*f,d.offsetWidth*f,d.offsetHeight*f),y=a.particles.quadTree.query(b,w=>this.isEnabled(w));for(const w of y){if(!b.contains(w.getPosition()))continue;w.bubble.inRange=!0;const S=l.divs,_=mW(S,d);(!w.bubble.div||w.bubble.div!==d)&&(this.clear(w,r,!0),w.bubble.div=d),this._hoverBubbleSize(w,S2,_),this._hoverBubbleOpacity(w,S2,_),this._hoverBubbleColor(w,S2,_)}})},this._engine=n,e.bubble||(e.bubble={}),this.handleClickMode=r=>{r===Uu&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,n,r){e.bubble.inRange&&!r||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bubble;n&&(e.retina.bubbleModeDistance=n.distance*e.retina.pixelRatio,n.size!==void 0&&(e.retina.bubbleModeSize=n.size*e.retina.pixelRatio))}interact(e){const n=this.container.actualOptions,r=n.interactivity.events,i=r.onHover,s=r.onClick,a=i.enable,o=i.mode,l=s.enable,c=s.mode,d=r.onDiv;a&&er(Uu,o)?this._hoverBubble():l&&er(Uu,c)?this._clickBubble():BR(Uu,d,(f,p)=>this._singleSelectorHover(e,f,p))}isEnabled(e){const n=this.container,r=n.actualOptions,i=n.interactivity.mouse,s=(e?.interactivity??r.interactivity).events,{onClick:a,onDiv:o,onHover:l}=s,c=LR(Uu,o);return c||l.enable&&i.position||a.enable&&i.clickPosition?er(Uu,l.mode)||er(Uu,a.mode)||c:!1}loadModeOptions(e,...n){e.bubble||(e.bubble=new fve);for(const r of n)e.bubble.load(r?.bubble)}reset(e){e.bubble.inRange=!1}}async function vve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalBubble",n=>Promise.resolve(new yve(n,t)),e)}class wve{constructor(){this.opacity=.5}load(e){Ye(e)||e.opacity!==void 0&&(this.opacity=e.opacity)}}class Sve{constructor(){this.distance=80,this.links=new wve,this.radius=60}load(e){Ye(e)||(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links),e.radius!==void 0&&(this.radius=e.radius))}}const AP=0,RP=1,_ve=0;function xve(t,e,n,r){const i=Math.floor(n.getRadius()/e.getRadius()),s=e.getFillColor(),a=n.getFillColor();if(!s||!a)return;const o=e.getPosition(),l=n.getPosition(),c=FR(s,a,e.getRadius(),n.getRadius()),d=t.createLinearGradient(o.x,o.y,l.x,l.y);return d.addColorStop(AP,Dg(s,r)),d.addColorStop(xa(i,AP,RP),Nl(c,r)),d.addColorStop(RP,Dg(a,r)),d}function Eve(t,e,n,r,i){dg(t,r,i),t.lineWidth=e,t.strokeStyle=n,t.stroke()}function kve(t,e,n,r){const i=t.actualOptions,s=i.interactivity.modes.connect;if(s)return xve(e,n,r,s.links.opacity)}function Cve(t,e,n){t.canvas.draw(r=>{const i=kve(t,r,e,n);if(!i)return;const s=e.getPosition(),a=n.getPosition();Eve(r,e.retina.linksWidth??_ve,i,s,a)})}const Tve="connect",NP=0;class Ave extends Go{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.connect;n&&(e.retina.connectModeDistance=n.distance*e.retina.pixelRatio,e.retina.connectModeRadius=n.radius*e.retina.pixelRatio)}interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const r=e.interactivity.mouse.position,{connectModeDistance:i,connectModeRadius:s}=e.retina;if(!i||i<NP||!s||s<NP||!r)return;const a=Math.abs(s),o=e.particles.quadTree.queryCircle(r,a,l=>this.isEnabled(l));o.forEach((l,c)=>{const d=l.getPosition(),f=1;for(const p of o.slice(c+f)){const g=p.getPosition(),b=Math.abs(i),y=Math.abs(d.x-g.x),w=Math.abs(d.y-g.y);y<b&&w<b&&Cve(e,l,p)}})}}isEnabled(e){const n=this.container,r=n.interactivity.mouse,i=(e?.interactivity??n.actualOptions.interactivity).events;return i.onHover.enable&&r.position?er(Tve,i.onHover.mode):!1}loadModeOptions(e,...n){e.connect||(e.connect=new Sve);for(const r of n)e.connect.load(r?.connect)}reset(){}}async function Rve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalConnect",n=>Promise.resolve(new Ave(n)),e)}class Nve{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){Ye(e)||(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=vi.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Ove{constructor(){this.distance=100,this.links=new Nve}load(e){Ye(e)||(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links))}}const Ive=0;function Dve(t,e,n,r,i,s){dg(t,n,r),t.strokeStyle=Nl(i,s),t.lineWidth=e,t.stroke()}function Mve(t,e,n,r,i){t.canvas.draw(s=>{const a=e.getPosition();Dve(s,e.retina.linksWidth??Ive,a,i,n,r)})}const Lve="grab",Bve=0,Pve=0;class Fve extends Go{constructor(e,n){super(e),this._engine=n}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.grab;n&&(e.retina.grabModeDistance=n.distance*e.retina.pixelRatio)}interact(){const e=this.container,n=e.actualOptions,r=n.interactivity;if(!r.modes.grab||!r.events.onHover.enable||e.interactivity.status!==Ed)return;const i=e.interactivity.mouse.position;if(!i)return;const s=e.retina.grabModeDistance;if(!s||s<Bve)return;const a=e.particles.quadTree.queryCircle(i,s,o=>this.isEnabled(o));for(const o of a){const l=o.getPosition(),c=Ps(l,i);if(c>s)continue;const d=r.modes.grab.links,f=d.opacity,p=f-c*f/s;if(p<=Pve)continue;const g=d.color??o.options.links?.color;if(!e.particles.grabLineColor&&g){const y=r.modes.grab.links;e.particles.grabLineColor=xW(this._engine,g,y.blink,y.consent)}const b=XC(o,void 0,e.particles.grabLineColor);b&&Mve(e,o,b,p,i)}}isEnabled(e){const n=this.container,r=n.interactivity.mouse,i=(e?.interactivity??n.actualOptions.interactivity).events;return i.onHover.enable&&!!r.position&&er(Lve,i.onHover.mode)}loadModeOptions(e,...n){e.grab||(e.grab=new Ove);for(const r of n)e.grab.load(r?.grab)}reset(){}}async function zve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalGrab",n=>Promise.resolve(new Fve(n,t)),e)}const Uve="pause";class jve extends Go{constructor(e){super(e),this.handleClickMode=n=>{if(n!==Uve)return;const r=this.container;r.animationStatus?r.pause():r.play()}}clear(){}init(){}interact(){}isEnabled(){return!0}reset(){}}async function Hve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalPause",n=>Promise.resolve(new jve(n)),e)}class $ve{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(e){if(Ye(e))return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(r=>r)),this.groups.length||(this.default=!0);const n=e.quantity;n!==void 0&&(this.quantity=en(n)),this.particles=Hs(e.particles,r=>yi({},r))}}const Vve="push",Gve=0;class qve extends Go{constructor(e){super(e),this.handleClickMode=n=>{if(n!==Vve)return;const r=this.container,i=r.actualOptions,s=i.interactivity.modes.push;if(!s)return;const a=pt(s.quantity);if(a<=Gve)return;const o=dS([void 0,...s.groups]),l=o!==void 0?r.actualOptions.particles.groups[o]:void 0,c=fa(s.particles),d=yi(l,c);r.particles.push(a,r.interactivity.mouse,d,o)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new $ve);for(const r of n)e.push.load(r?.push)}reset(){}}async function Wve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalPush",n=>Promise.resolve(new qve(n)),e)}class Kve{constructor(){this.quantity=2}load(e){if(Ye(e))return;const n=e.quantity;n!==void 0&&(this.quantity=en(n))}}const Yve="remove";class Xve extends Go{constructor(e){super(e),this.handleClickMode=n=>{const r=this.container,i=r.actualOptions;if(!i.interactivity.modes.remove||n!==Yve)return;const s=pt(i.interactivity.modes.remove.quantity);r.particles.removeQuantity(s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.remove||(e.remove=new Kve);for(const r of n)e.remove.load(r?.remove)}reset(){}}async function Zve(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalRemove",n=>Promise.resolve(new Xve(n)),e)}class PW{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing=gd.easeOutQuad}load(e){Ye(e)||(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class Qve extends PW{constructor(){super(),this.selectors=[]}load(e){super.load(e),!Ye(e)&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class Jve extends PW{load(e){super.load(e),!Ye(e)&&(this.divs=Hs(e.divs,n=>{const r=new Qve;return r.load(n),r}))}}const ju="repulse",e1e=0,t1e=6,n1e=3,r1e=2,i1e=0,s1e=0,a1e=1,_2=.5;class o1e extends Go{constructor(e,n){super(n),this._clickRepulse=()=>{const r=this.container,i=r.actualOptions.interactivity.modes.repulse;if(!i)return;const s=r.repulse??{particles:[]};if(s.finish||(s.count||(s.count=0),s.count++,s.count===r.particles.count&&(s.finish=!0)),s.clicking){const a=r.retina.repulseModeDistance;if(!a||a<e1e)return;const o=Math.pow(a/t1e,n1e),l=r.interactivity.mouse.clickPosition;if(l===void 0)return;const c=new gi(l.x,l.y,o),d=r.particles.quadTree.query(c,f=>this.isEnabled(f));for(const f of d){const{dx:p,dy:g,distance:b}=Pi(l,f.position),y=b**r1e,w=i.speed,S=-o*w/y;if(y<=o){s.particles.push(f);const _=Ur.create(p,g);_.length=S,f.velocity.setTo(_)}}}else if(s.clicking===!1){for(const a of s.particles)a.velocity.setTo(a.initialVelocity);s.particles=[]}},this._hoverRepulse=()=>{const r=this.container,i=r.interactivity.mouse.position,s=r.retina.repulseModeDistance;!s||s<i1e||!i||this._processRepulse(i,s,new gi(i.x,i.y,s))},this._processRepulse=(r,i,s,a)=>{const o=this.container,l=o.particles.quadTree.query(s,w=>this.isEnabled(w)),c=o.actualOptions.interactivity.modes.repulse;if(!c)return;const{easing:d,speed:f,factor:p,maxSpeed:g}=c,b=this._engine.getEasing(d),y=(a?.speed??f)*p;for(const w of l){const{dx:S,dy:_,distance:E}=Pi(w.position,r),T=xa(b(a1e-E/i)*y,s1e,g),R=Ur.create(E?S/E*T:y,E?_/E*T:y);w.position.addTo(R)}},this._singleSelectorRepulse=(r,i)=>{const s=this.container,a=s.actualOptions.interactivity.modes.repulse;if(!a)return;const o=document.querySelectorAll(r);o.length&&o.forEach(l=>{const c=l,d=s.retina.pixelRatio,f={x:(c.offsetLeft+c.offsetWidth*_2)*d,y:(c.offsetTop+c.offsetHeight*_2)*d},p=c.offsetWidth*_2*d,g=i.type===Vf.circle?new gi(f.x,f.y,p):new Xa(c.offsetLeft*d,c.offsetTop*d,c.offsetWidth*d,c.offsetHeight*d),b=a.divs,y=mW(b,c);this._processRepulse(f,p,g,y)})},this._engine=e,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=r=>{const i=this.container.actualOptions,s=i.interactivity.modes.repulse;if(!s||r!==ju)return;n.repulse||(n.repulse={particles:[]});const a=n.repulse;a.clicking=!0,a.count=0;for(const o of n.repulse.particles)this.isEnabled(o)&&o.velocity.setTo(o.initialVelocity);a.particles=[],a.finish=!1,setTimeout(()=>{n.destroyed||(a.clicking=!1)},s.duration*fi)}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.repulse;n&&(e.retina.repulseModeDistance=n.distance*e.retina.pixelRatio)}interact(){const e=this.container,n=e.actualOptions,r=e.interactivity.status===Ed,i=n.interactivity.events,s=i.onHover,a=s.enable,o=s.mode,l=i.onClick,c=l.enable,d=l.mode,f=i.onDiv;r&&a&&er(ju,o)?this._hoverRepulse():c&&er(ju,d)?this._clickRepulse():BR(ju,f,(p,g)=>this._singleSelectorRepulse(p,g))}isEnabled(e){const n=this.container,r=n.actualOptions,i=n.interactivity.mouse,s=(e?.interactivity??r.interactivity).events,a=s.onDiv,o=s.onHover,l=s.onClick,c=LR(ju,a);if(!(c||o.enable&&i.position||l.enable&&i.clickPosition))return!1;const d=o.mode,f=l.mode;return er(ju,d)||er(ju,f)||c}loadModeOptions(e,...n){e.repulse||(e.repulse=new Jve);for(const r of n)e.repulse.load(r?.repulse)}reset(){}}async function l1e(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalRepulse",n=>Promise.resolve(new o1e(t,n)),e)}class c1e{constructor(){this.factor=3,this.radius=200}load(e){Ye(e)||(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}const u1e="slow",d1e=0;class h1e extends Go{constructor(e){super(e)}clear(e,n,r){e.slow.inRange&&!r||(e.slow.factor=1)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.slow;n&&(e.retina.slowModeRadius=n.radius*e.retina.pixelRatio)}interact(){}isEnabled(e){const n=this.container,r=n.interactivity.mouse,i=(e?.interactivity??n.actualOptions.interactivity).events;return i.onHover.enable&&!!r.position&&er(u1e,i.onHover.mode)}loadModeOptions(e,...n){e.slow||(e.slow=new c1e);for(const r of n)e.slow.load(r?.slow)}reset(e){e.slow.inRange=!1;const n=this.container,r=n.actualOptions,i=n.interactivity.mouse.position,s=n.retina.slowModeRadius,a=r.interactivity.modes.slow;if(!a||!s||s<d1e||!i)return;const o=e.getPosition(),l=Ps(i,o),c=l/s,d=a.factor,{slow:f}=e;l>s||(f.inRange=!0,f.factor=c/d)}}async function f1e(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("externalSlow",n=>Promise.resolve(new h1e(n)),e)}const p1e=0,m1e=1,g1e=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function b1e(t,e,n){const{svgData:r}=t;if(!r)return"";const i=Dg(e,n);if(r.includes("fill"))return r.replace(g1e,()=>i);const s=r.indexOf(">");return`${r.substring(p1e,s)} fill="${i}"${r.substring(s)}`}async function hS(t){return new Promise(e=>{t.loading=!0;const n=new Image;t.element=n,n.addEventListener("load",()=>{t.loading=!1,e()}),n.addEventListener("error",()=>{t.element=void 0,t.error=!0,t.loading=!1,Cd().error(`${_a} loading image: ${t.source}`),e()}),n.src=t.source})}async function y1e(t){if(t.type!=="svg"){await hS(t);return}t.loading=!0;const e=await fetch(t.source);e.ok?t.svgData=await e.text():(Cd().error(`${_a} Image not found`),t.error=!0),t.loading=!1}function v1e(t,e,n,r){const i=b1e(t,n,r.opacity?.value??m1e),s={color:n,gif:e.gif,data:{...t,svgData:i},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(a=>{const o=new Blob([i],{type:"image/svg+xml"}),l=URL||window.URL||window.webkitURL||window,c=l.createObjectURL(o),d=new Image;d.addEventListener("load",()=>{s.loaded=!0,s.element=d,a(s),l.revokeObjectURL(c)});const f=async()=>{l.revokeObjectURL(c);const p={...t,error:!1,loading:!0};await hS(p),s.loaded=!0,s.element=p.element,a(s)};d.addEventListener("error",()=>{f()}),d.src=c})}const x2=[0,4,2,1],OP=[8,8,4,2];class w1e{constructor(e){this.pos=0,this.data=new Uint8ClampedArray(e)}getString(e){const n=this.data.slice(this.pos,this.pos+e);return this.pos+=n.length,n.reduce((r,i)=>r+String.fromCharCode(i),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let e="",n=0;const r=0,i=0;do{n=this.data[this.pos++];for(let s=n;--s>=r;e+=String.fromCharCode(this.data[this.pos++]));}while(n!==i);return e}readSubBlocksBin(){let e=this.data[this.pos],n=0;const r=0,i=1;for(let a=0;e!==r;a+=e+i,e=this.data[this.pos+a])n+=e;const s=new Uint8Array(n);e=this.data[this.pos++];for(let a=0;e!==r;e=this.data[this.pos++])for(let o=e;--o>=r;s[a++]=this.data[this.pos++]);return s}skipSubBlocks(){for(const e=1,n=0;this.data[this.pos]!==n;this.pos+=this.data[this.pos]+e);this.pos++}}var La;(function(t){t[t.Replace=0]="Replace",t[t.Combine=1]="Combine",t[t.RestoreBackground=2]="RestoreBackground",t[t.RestorePrevious=3]="RestorePrevious",t[t.UndefinedA=4]="UndefinedA",t[t.UndefinedB=5]="UndefinedB",t[t.UndefinedC=6]="UndefinedC",t[t.UndefinedD=7]="UndefinedD"})(La||(La={}));var Cl;(function(t){t[t.Extension=33]="Extension",t[t.ApplicationExtension=255]="ApplicationExtension",t[t.GraphicsControlExtension=249]="GraphicsControlExtension",t[t.PlainTextExtension=1]="PlainTextExtension",t[t.CommentExtension=254]="CommentExtension",t[t.Image=44]="Image",t[t.EndOfFile=59]="EndOfFile"})(Cl||(Cl={}));const es={x:0,y:0},S1e=0,IP=.5,_1e=0,DP=0,QC=0;function FW(t,e){const n=[];for(let r=0;r<e;r++)n.push({r:t.data[t.pos],g:t.data[t.pos+1],b:t.data[t.pos+2]}),t.pos+=3;return n}function x1e(t,e,n,r){switch(t.nextByte()){case Cl.GraphicsControlExtension:{const i=e.frames[n(!1)];t.pos++;const s=t.nextByte();i.GCreserved=(s&224)>>>5,i.disposalMethod=(s&28)>>>2,i.userInputDelayFlag=(s&2)===2;const a=(s&1)===1;i.delayTime=t.nextTwoBytes()*10;const o=t.nextByte();a&&r(o),t.pos++;break}case Cl.ApplicationExtension:{t.pos++;const i={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};e.applicationExtensions.push(i);break}case Cl.CommentExtension:{e.comments.push([n(!1),t.readSubBlocks()]);break}case Cl.PlainTextExtension:{if(e.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");t.pos++,e.frames[n(!1)].plainTextData={left:t.nextTwoBytes(),top:t.nextTwoBytes(),width:t.nextTwoBytes(),height:t.nextTwoBytes(),charSize:{width:t.nextTwoBytes(),height:t.nextTwoBytes()},foregroundColor:t.nextByte(),backgroundColor:t.nextByte(),text:t.readSubBlocks()};break}default:t.skipSubBlocks();break}}async function E1e(t,e,n,r,i,s){const a=e.frames[r(!0)];a.left=t.nextTwoBytes(),a.top=t.nextTwoBytes(),a.width=t.nextTwoBytes(),a.height=t.nextTwoBytes();const o=t.nextByte(),l=(o&128)===128,c=(o&64)===64;a.sortFlag=(o&32)===32,a.reserved=(o&24)>>>3;const d=1<<(o&7)+1;l&&(a.localColorTable=FW(t,d));const f=S=>{const{r:_,g:E,b:T}=(l?a.localColorTable:e.globalColorTable)[S];return S!==i(null)?{r:_,g:E,b:T,a:255}:{r:_,g:E,b:T,a:n?~~((_+E+T)/3):0}},p=(()=>{try{return new ImageData(a.width,a.height,{colorSpace:"srgb"})}catch(S){if(S instanceof DOMException&&S.name==="IndexSizeError")return null;throw S}})();if(p==null)throw new EvalError("GIF frame size is to large");const g=t.nextByte(),b=t.readSubBlocksBin(),y=1<<g,w=(S,_)=>{const E=S>>>3,T=S&7;return(b[E]+(b[E+1]<<8)+(b[E+2]<<16)&(1<<_)-1<<T)>>>T};if(c){for(let S=0,_=g+1,E=0,T=[[0]],R=0;R<4;R++)if(x2[R]<a.height){let N=0,I=0,P=!1;for(;!P;){const z=S;if(S=w(E,_),E+=_+1,S===y){_=g+1,T.length=y+2;for(let U=0;U<T.length;U++)T[U]=U<y?[U]:[]}else{S>=T.length?T.push(T[z].concat(T[z][0])):z!==y&&T.push(T[z].concat(T[S][0]));for(const U of T[S]){const{r:Z,g:L,b:$,a:D}=f(U);p.data.set([Z,L,$,D],x2[R]*a.width+OP[R]*I+N%(a.width*4)),N+=4}T.length===1<<_&&_<12&&_++}N===a.width*4*(I+1)&&(I++,x2[R]+OP[R]*I>=a.height&&(P=!0))}}a.image=p,a.bitmap=await createImageBitmap(p)}else{let S=0,_=g+1,E=0,T=-4,R=!1;const N=[[0]];for(;!R;){const I=S;if(S=w(E,_),E+=_,S===y){_=g+1,N.length=y+2;for(let P=0;P<N.length;P++)N[P]=P<y?[P]:[]}else{if(S===y+1){R=!0;break}S>=N.length?N.push(N[I].concat(N[I][0])):I!==y&&N.push(N[I].concat(N[S][0]));for(const P of N[S]){const{r:z,g:U,b:Z,a:L}=f(P);p.data.set([z,U,Z,L],T+=4)}N.length>=1<<_&&_<12&&_++}}a.image=p,a.bitmap=await createImageBitmap(p)}}async function k1e(t,e,n,r,i,s){switch(t.nextByte()){case Cl.EndOfFile:return!0;case Cl.Image:await E1e(t,e,n,r,i);break;case Cl.Extension:x1e(t,e,r,i);break;default:throw new EvalError("undefined block found")}return!1}function C1e(t){for(const e of t.applicationExtensions)if(e.identifier+e.authenticationCode==="NETSCAPE2.0")return e.data[1]+(e.data[2]<<8);return NaN}async function T1e(t,e,n){n||(n=!1);const r=await fetch(t);if(!r.ok&&r.status===404)throw new EvalError("file not found");const i=await r.arrayBuffer(),s={width:0,height:0,totalTime:0,colorRes:0,pixelAspectRatio:0,frames:[],sortFlag:!1,globalColorTable:[],backgroundImage:new ImageData(1,1,{colorSpace:"srgb"}),comments:[],applicationExtensions:[]},a=new w1e(new Uint8ClampedArray(i));if(a.getString(6)!=="GIF89a")throw new Error("not a supported GIF file");s.width=a.nextTwoBytes(),s.height=a.nextTwoBytes();const o=a.nextByte(),l=(o&128)===128;s.colorRes=(o&112)>>>4,s.sortFlag=(o&8)===8;const c=1<<(o&7)+1,d=a.nextByte();s.pixelAspectRatio=a.nextByte(),s.pixelAspectRatio!==0&&(s.pixelAspectRatio=(s.pixelAspectRatio+15)/64),l&&(s.globalColorTable=FW(a,c));const f=(()=>{try{return new ImageData(s.width,s.height,{colorSpace:"srgb"})}catch(T){if(T instanceof DOMException&&T.name==="IndexSizeError")return null;throw T}})();if(f==null)throw new Error("GIF frame size is to large");const{r:p,g,b}=s.globalColorTable[d];f.data.set(l?[p,g,b,255]:[0,0,0,0]);for(let T=4;T<f.data.length;T*=2)f.data.copyWithin(T,0,T);s.backgroundImage=f;let y=-1,w=!0,S=-1;const _=T=>(T&&(w=!0),y),E=T=>(T!=null&&(S=T),S);try{do w&&(s.frames.push({left:0,top:0,width:0,height:0,disposalMethod:La.Replace,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),y++,S=-1,w=!1);while(!await k1e(a,s,n,_,E,e));s.frames.length--;for(const T of s.frames){if(T.userInputDelayFlag&&T.delayTime===0){s.totalTime=1/0;break}s.totalTime+=T.delayTime}return s}catch(T){throw T instanceof EvalError?new Error(`error while parsing frame ${y} "${T.message}"`):T}}function A1e(t){const{context:e,radius:n,particle:r,delta:i}=t,s=r.image;if(!s?.gifData||!s.gif)return;const a=new OffscreenCanvas(s.gifData.width,s.gifData.height),o=a.getContext("2d");if(!o)throw new Error("could not create offscreen canvas context");o.imageSmoothingQuality="low",o.imageSmoothingEnabled=!1,o.clearRect(es.x,es.y,a.width,a.height),r.gifLoopCount===void 0&&(r.gifLoopCount=s.gifLoopCount??QC);let l=r.gifFrame??S1e;const c={x:-s.gifData.width*IP,y:-s.gifData.height*IP},d=s.gifData.frames[l];if(r.gifTime===void 0&&(r.gifTime=_1e),!!d.bitmap){switch(e.scale(n/s.gifData.width,n/s.gifData.height),d.disposalMethod){case La.UndefinedA:case La.UndefinedB:case La.UndefinedC:case La.UndefinedD:case La.Replace:o.drawImage(d.bitmap,d.left,d.top),e.drawImage(a,c.x,c.y),o.clearRect(es.x,es.y,a.width,a.height);break;case La.Combine:o.drawImage(d.bitmap,d.left,d.top),e.drawImage(a,c.x,c.y);break;case La.RestoreBackground:o.drawImage(d.bitmap,d.left,d.top),e.drawImage(a,c.x,c.y),o.clearRect(es.x,es.y,a.width,a.height),s.gifData.globalColorTable.length?o.putImageData(s.gifData.backgroundImage,c.x,c.y):o.putImageData(s.gifData.frames[DP].image,c.x+d.left,c.y+d.top);break;case La.RestorePrevious:{const f=o.getImageData(es.x,es.y,a.width,a.height);o.drawImage(d.bitmap,d.left,d.top),e.drawImage(a,c.x,c.y),o.clearRect(es.x,es.y,a.width,a.height),o.putImageData(f,es.x,es.y)}break}if(r.gifTime+=i.value,r.gifTime>d.delayTime){if(r.gifTime-=d.delayTime,++l>=s.gifData.frames.length){if(--r.gifLoopCount<=QC)return;l=DP,o.clearRect(es.x,es.y,a.width,a.height)}r.gifFrame=l}e.scale(s.gifData.width/n,s.gifData.height/n)}}async function R1e(t){if(t.type!=="gif"){await hS(t);return}t.loading=!0;try{t.gifData=await T1e(t.source),t.gifLoopCount=C1e(t.gifData)??QC,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}const N1e=2,O1e=1,I1e=12,D1e=1;class M1e{constructor(e){this.validTypes=["image","images"],this.loadImageShape=async n=>{if(!this._engine.loadImage)throw new Error(`${_a} image shape not initialized`);await this._engine.loadImage({gif:n.gif,name:n.name,replaceColor:n.replaceColor??!1,src:n.src})},this._engine=e}addImage(e){this._engine.images||(this._engine.images=[]),this._engine.images.push(e)}draw(e){const{context:n,radius:r,particle:i,opacity:s}=e,a=i.image,o=a?.element;if(a){if(n.globalAlpha=s,a.gif&&a.gifData)A1e(e);else if(o){const l=a.ratio,c={x:-r,y:-r},d=r*N1e;n.drawImage(o,c.x,c.y,d,d/l)}n.globalAlpha=O1e}}getSidesCount(){return I1e}async init(e){const n=e.actualOptions;if(!(!n.preload||!this._engine.loadImage))for(const r of n.preload)await this._engine.loadImage(r)}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const n=e.shapeData;if(!n)return;this._engine.images.find(i=>i.name===n.name||i.source===n.src)||this.loadImageShape(n).then(()=>{this.loadShape(e)})}particleInit(e,n){if(n.shape!=="image"&&n.shape!=="images")return;this._engine.images||(this._engine.images=[]);const r=this._engine.images,i=n.shapeData;if(!i)return;const s=n.getFillColor(),a=r.find(l=>l.name===i.name||l.source===i.src);if(!a)return;const o=i.replaceColor??a.replaceColor;if(a.loading){setTimeout(()=>{this.particleInit(e,n)});return}(async()=>{let l;a.svgData&&s?l=await v1e(a,i,s,n):l={color:s,data:a,element:a.element,gif:a.gif,gifData:a.gifData,gifLoopCount:a.gifLoopCount,loaded:!0,ratio:i.width&&i.height?i.width/i.height:a.ratio??D1e,replaceColor:o,source:i.src},l.ratio||(l.ratio=1);const c=i.fill??n.shapeFill,d=i.close??n.shapeClose,f={image:l,fill:c,close:d};n.image=f.image,n.shapeFill=f.fill,n.shapeClose=f.close})()}}class L1e{constructor(){this.src="",this.gif=!1}load(e){Ye(e)||(e.gif!==void 0&&(this.gif=e.gif),e.height!==void 0&&(this.height=e.height),e.name!==void 0&&(this.name=e.name),e.replaceColor!==void 0&&(this.replaceColor=e.replaceColor),e.src!==void 0&&(this.src=e.src),e.width!==void 0&&(this.width=e.width))}}class B1e{constructor(e){this.id="imagePreloader",this._engine=e}async getPlugin(){return await Promise.resolve(),{}}loadOptions(e,n){if(!n?.preload)return;e.preload||(e.preload=[]);const r=e.preload;for(const i of n.preload){const s=r.find(a=>a.name===i.name||a.src===i.src);if(s)s.load(i);else{const a=new L1e;a.load(i),r.push(a)}}}needsPlugin(){return!0}}const P1e=3;function F1e(t){t.loadImage||(t.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${_a} no image source provided`);if(t.images||(t.images=[]),!t.images.find(n=>n.name===e.name||n.source===e.src))try{const n={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-P1e),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};t.images.push(n);let r;e.gif?r=R1e:r=e.replaceColor?y1e:hS,await r(n)}catch{throw new Error(`${_a} ${e.name??e.src} not found`)}})}async function z1e(t,e=!0){t.checkVersion("3.9.1"),F1e(t);const n=new B1e(t);await t.addPlugin(n,e),await t.addShape(new M1e(t),e)}class U1e extends $d{constructor(){super(),this.sync=!1}load(e){Ye(e)||(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class j1e extends $d{constructor(){super(),this.sync=!1}load(e){Ye(e)||(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class H1e{constructor(){this.count=0,this.delay=new U1e,this.duration=new j1e}load(e){Ye(e)||(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}const qh=0,$1e=-1,MP=0,LP=0;function V1e(t,e,n){if(!t.life)return;const r=t.life;let i=!1;if(t.spawning)if(r.delayTime+=e.value,r.delayTime>=t.life.delay)i=!0,t.spawning=!1,r.delayTime=qh,r.time=qh;else return;if(r.duration===$1e||t.spawning||(i?r.time=qh:r.time+=e.value,r.time<r.duration))return;if(r.time=qh,t.life.count>MP&&t.life.count--,t.life.count===MP){t.destroy();return}const s=en(LP,n.width),a=en(LP,n.width);t.position.x=Ls(s),t.position.y=Ls(a),t.spawning=!0,r.delayTime=qh,r.time=qh,t.reset();const o=t.options.life;o&&(r.delay=pt(o.delay.value)*fi,r.duration=pt(o.duration.value)*fi)}const Hu=0,BP=1,PP=-1;class G1e{constructor(e){this.container=e}init(e){const n=this.container,r=e.options,i=r.life;i&&(e.life={delay:n.retina.reduceFactor?pt(i.delay.value)*(i.delay.sync?BP:hn())/n.retina.reduceFactor*fi:Hu,delayTime:Hu,duration:n.retina.reduceFactor?pt(i.duration.value)*(i.duration.sync?BP:hn())/n.retina.reduceFactor*fi:Hu,time:Hu,count:i.count},e.life.duration<=Hu&&(e.life.duration=PP),e.life.count<=Hu&&(e.life.count=PP),e.life&&(e.spawning=e.life.delay>Hu))}isEnabled(e){return!e.destroyed}loadOptions(e,...n){e.life||(e.life=new H1e);for(const r of n)e.life.load(r?.life)}update(e,n){!this.isEnabled(e)||!e.life||V1e(e,n,this.container.canvas.size)}}async function q1e(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("life",async n=>Promise.resolve(new G1e(n)),e)}function W1e(t){const{context:e,particle:n,radius:r}=t,i=n.shapeData,s=0;e.moveTo(-r,s),e.lineTo(r,s),e.lineCap=i?.cap??"butt"}const K1e=1;class Y1e{constructor(){this.validTypes=["line"]}draw(e){W1e(e)}getSidesCount(){return K1e}}async function X1e(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new Y1e,e)}const FP=.5;class Z1e{init(){}isEnabled(e){return!Td()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const n=e.container,r=n.actualOptions,i=r.interactivity.events.onHover.parallax;if(Td()||!i.enable)return;const s=i.force,a=n.interactivity.mouse.position;if(!a)return;const o=n.canvas.size,l={x:o.width*FP,y:o.height*FP},c=i.smooth,d=e.getRadius()/s,f={x:(a.x-l.x)*d,y:(a.y-l.y)*d},{offset:p}=e;p.x+=(f.x-p.x)/c,p.y+=(f.y-p.y)/c}}async function Q1e(t,e=!0){t.checkVersion("3.9.1"),await t.addMover("parallax",()=>Promise.resolve(new Z1e),e)}const zP=1e3,J1e=1;class ewe extends jR{constructor(e){super(e)}clear(){}init(){}interact(e){const n=this.container;e.attractDistance===void 0&&(e.attractDistance=pt(e.options.move.attract.distance)*n.retina.pixelRatio);const r=e.attractDistance,i=e.getPosition(),s=n.particles.quadTree.queryCircle(i,r);for(const a of s){if(e===a||!a.options.move.attract.enable||a.destroyed||a.spawning)continue;const o=a.getPosition(),{dx:l,dy:c}=Pi(i,o),d=e.options.move.attract.rotate,f=l/(d.x*zP),p=c/(d.y*zP),g=a.size.value/e.size.value,b=J1e/g;e.velocity.x-=f*g,e.velocity.y-=p*g,a.velocity.x+=f*b,a.velocity.y+=p*b}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function twe(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("particlesAttract",n=>Promise.resolve(new ewe(n)),e)}const nwe=.5,rwe=10,iwe=0;function UP(t,e,n,r,i,s){const a=xa(t.options.collisions.absorb.speed*i.factor/rwe,iwe,r);t.size.value+=a*nwe,n.size.value-=a,r<=s&&(n.size.value=0,n.destroy())}function swe(t,e,n,r){const i=t.getRadius(),s=e.getRadius();i===void 0&&s!==void 0?t.destroy():i!==void 0&&s===void 0?e.destroy():i!==void 0&&s!==void 0&&(i>=s?UP(t,i,e,s,n,r):UP(e,s,t,i,n,r))}const jP=t=>{t.collisionMaxSpeed===void 0&&(t.collisionMaxSpeed=pt(t.options.collisions.maxSpeed)),t.velocity.length>t.collisionMaxSpeed&&(t.velocity.length=t.collisionMaxSpeed)};function zW(t,e){gW(KC(t),KC(e)),jP(t),jP(e)}function awe(t,e){!t.unbreakable&&!e.unbreakable&&zW(t,e),t.getRadius()===void 0&&e.getRadius()!==void 0?t.destroy():t.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():t.getRadius()!==void 0&&e.getRadius()!==void 0&&(t.getRadius()>=e.getRadius()?e:t).destroy()}function owe(t,e,n,r){switch(t.options.collisions.mode){case kf.absorb:{swe(t,e,n,r);break}case kf.bounce:{zW(t,e);break}case kf.destroy:{awe(t,e);break}}}const lwe=2;class cwe extends jR{constructor(e){super(e)}clear(){}init(){}interact(e,n){if(e.destroyed||e.spawning)return;const r=this.container,i=e.getPosition(),s=e.getRadius(),a=r.particles.quadTree.queryCircle(i,s*lwe);for(const o of a){if(e===o||!o.options.collisions.enable||e.options.collisions.mode!==o.options.collisions.mode||o.destroyed||o.spawning)continue;const l=o.getPosition(),c=o.getRadius();if(Math.abs(Math.round(i.z)-Math.round(l.z))>s+c)continue;const d=Ps(i,l),f=s+c;d>f||owe(e,o,n,r.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function uwe(t,e=!0){t.checkVersion("3.9.1"),await t.addInteractor("particlesCollisions",n=>Promise.resolve(new cwe(n)),e)}const E2=2;class dwe extends gi{constructor(e,n,r,i){super(e,n,r),this.canvasSize=i,this.canvasSize={...i}}contains(e){const{width:n,height:r}=this.canvasSize,{x:i,y:s}=e;return super.contains(e)||super.contains({x:i-n,y:s})||super.contains({x:i-n,y:s-r})||super.contains({x:i,y:s-r})}intersects(e){if(super.intersects(e))return!0;const n=e,r=e,i={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(r.radius!==void 0){const s=new gi(i.x,i.y,r.radius*E2);return super.intersects(s)}else if(n.size!==void 0){const s=new Xa(i.x,i.y,n.size.width*E2,n.size.height*E2);return super.intersects(s)}return!1}}class hwe{constructor(){this.blur=5,this.color=new vi,this.color.value="#000",this.enable=!1}load(e){Ye(e)||(e.blur!==void 0&&(this.blur=e.blur),this.color=vi.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class fwe{constructor(){this.enable=!1,this.frequency=1}load(e){Ye(e)||(e.color!==void 0&&(this.color=vi.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class pwe{constructor(){this.blink=!1,this.color=new vi,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new hwe,this.triangles=new fwe,this.width=1,this.warp=!1}load(e){Ye(e)||(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=vi.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}const HP=2,mwe=1,Hy={x:0,y:0},gwe=0;function bwe(t,e,n,r,i){const{dx:s,dy:a,distance:o}=Pi(t,e);if(!i||o<=n)return o;const l={x:Math.abs(s),y:Math.abs(a)},c={x:Math.min(l.x,r.width-l.x),y:Math.min(l.y,r.height-l.y)};return Math.sqrt(c.x**HP+c.y**HP)}class ywe extends jR{constructor(e,n){super(e),this._setColor=r=>{if(!r.options.links)return;const i=this._linkContainer,s=r.options.links;let a=s.id===void 0?i.particles.linksColor:i.particles.linksColors.get(s.id);if(a)return;const o=s.color;a=xW(this._engine,o,s.blink,s.consent),s.id===void 0?i.particles.linksColor=a:i.particles.linksColors.set(s.id,a)},this._linkContainer=e,this._engine=n}clear(){}init(){this._linkContainer.particles.linksColor=void 0,this._linkContainer.particles.linksColors=new Map}interact(e){if(!e.options.links)return;e.links=[];const n=e.getPosition(),r=this.container,i=r.canvas.size;if(n.x<Hy.x||n.y<Hy.y||n.x>i.width||n.y>i.height)return;const s=e.options.links,a=s.opacity,o=e.retina.linksDistance??gwe,l=s.warp;let c;l?c=new dwe(n.x,n.y,o,i):c=new gi(n.x,n.y,o);const d=r.particles.quadTree.query(c);for(const f of d){const p=f.options.links;if(e===f||!p?.enable||s.id!==p.id||f.spawning||f.destroyed||!f.links||e.links.some(w=>w.destination===f)||f.links.some(w=>w.destination===e))continue;const g=f.getPosition();if(g.x<Hy.x||g.y<Hy.y||g.x>i.width||g.y>i.height)continue;const b=bwe(n,g,o,i,l&&p.warp);if(b>o)continue;const y=(mwe-b/o)*a;this._setColor(e),e.links.push({destination:f,opacity:y})}}isEnabled(e){return!!e.options.links?.enable}loadParticlesOptions(e,...n){e.links||(e.links=new pwe);for(const r of n)e.links.load(r?.links)}reset(){}}async function vwe(t,e=!0){await t.addInteractor("particlesLinks",async n=>Promise.resolve(new ywe(n,t)),e)}function wwe(t,e,n,r){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.lineTo(r.x,r.y),t.closePath()}function Swe(t){let e=!1;const{begin:n,end:r,engine:i,maxDistance:s,context:a,canvasSize:o,width:l,backgroundMask:c,colorLine:d,opacity:f,links:p}=t;if(Ps(n,r)<=s)dg(a,n,r),e=!0;else if(p.warp){let b,y;const w={x:r.x-o.width,y:r.y},S=Pi(n,w);if(S.distance<=s){const _=n.y-S.dy/S.dx*n.x;b={x:0,y:_},y={x:o.width,y:_}}else{const _={x:r.x,y:r.y-o.height},E=Pi(n,_);if(E.distance<=s){const R=-(n.y-E.dy/E.dx*n.x)/(E.dy/E.dx);b={x:R,y:0},y={x:R,y:o.height}}else{const T={x:r.x-o.width,y:r.y-o.height},R=Pi(n,T);if(R.distance<=s){const N=n.y-R.dy/R.dx*n.x;b={x:-N/(R.dy/R.dx),y:N},y={x:b.x+o.width,y:b.y+o.height}}}}b&&y&&(dg(a,n,b),dg(a,r,y),e=!0)}if(!e)return;a.lineWidth=l,c.enable&&(a.globalCompositeOperation=c.composite),a.strokeStyle=Nl(d,f);const{shadow:g}=p;if(g.enable){const b=Ga(i,g.color);b&&(a.shadowBlur=g.blur,a.shadowColor=Nl(b))}a.stroke()}function _we(t){const{context:e,pos1:n,pos2:r,pos3:i,backgroundMask:s,colorTriangle:a,opacityTriangle:o}=t;wwe(e,n,r,i),s.enable&&(e.globalCompositeOperation=s.composite),e.fillStyle=Nl(a,o),e.fill()}function xwe(t){return t.sort((e,n)=>e-n),t.join("_")}function $P(t,e){const n=xwe(t.map(i=>i.id));let r=e.get(n);return r===void 0&&(r=hn(),e.set(n,r)),r}const VP=0,k2=0,GP=0,Ewe=.5,kwe=1;class Cwe{constructor(e,n){this._drawLinkLine=(r,i)=>{const s=r.options.links;if(!s?.enable)return;const a=this._container,o=a.actualOptions,l=i.destination,c=r.getPosition(),d=l.getPosition();let f=i.opacity;a.canvas.draw(p=>{let g;const b=r.options.twinkle?.lines;if(b?.enable){const _=b.frequency,E=Ga(this._engine,b.color);hn()<_&&E&&(g=E,f=pt(b.opacity))}if(!g){const _=s.id!==void 0?a.particles.linksColors.get(s.id):a.particles.linksColor;g=XC(r,l,_)}if(!g)return;const y=r.retina.linksWidth??k2,w=r.retina.linksDistance??GP,{backgroundMask:S}=o;Swe({context:p,width:y,begin:c,end:d,engine:this._engine,maxDistance:w,canvasSize:a.canvas.size,links:s,backgroundMask:S,colorLine:g,opacity:f})})},this._drawLinkTriangle=(r,i,s)=>{const a=r.options.links;if(!a?.enable)return;const o=a.triangles;if(!o.enable)return;const l=this._container,c=l.actualOptions,d=i.destination,f=s.destination,p=o.opacity??(i.opacity+s.opacity)*Ewe;p<=VP||l.canvas.draw(g=>{const b=r.getPosition(),y=d.getPosition(),w=f.getPosition(),S=r.retina.linksDistance??GP;if(Ps(b,y)>S||Ps(w,y)>S||Ps(w,b)>S)return;let _=Ga(this._engine,o.color);if(!_){const E=a.id!==void 0?l.particles.linksColors.get(a.id):l.particles.linksColor;_=XC(r,d,E)}_&&_we({context:g,pos1:b,pos2:y,pos3:w,backgroundMask:c.backgroundMask,colorTriangle:_,opacityTriangle:p})})},this._drawTriangles=(r,i,s,a)=>{const o=s.destination;if(!(r.links?.triangles.enable&&o.options.links?.triangles.enable))return;const l=o.links?.filter(c=>{const d=this._getLinkFrequency(o,c.destination);return o.options.links&&d<=o.options.links.frequency&&a.findIndex(p=>p.destination===c.destination)>=0});if(l?.length)for(const c of l){const d=c.destination;this._getTriangleFrequency(i,o,d)>r.links.triangles.frequency||this._drawLinkTriangle(i,s,c)}},this._getLinkFrequency=(r,i)=>$P([r,i],this._freqs.links),this._getTriangleFrequency=(r,i,s)=>$P([r,i,s],this._freqs.triangles),this._container=e,this._engine=n,this._freqs={links:new Map,triangles:new Map}}drawParticle(e,n){const{links:r,options:i}=n;if(!r?.length)return;const s=r.filter(a=>i.links&&(i.links.frequency>=kwe||this._getLinkFrequency(n,a.destination)<=i.links.frequency));for(const a of s)this._drawTriangles(i,n,a,s),a.opacity>VP&&(n.retina.linksWidth??k2)>k2&&this._drawLinkLine(n,a)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(e){if(e.links=[],!e.options.links)return;const n=this._container.retina.pixelRatio,{retina:r}=e,{distance:i,width:s}=e.options.links;r.linksDistance=i*n,r.linksWidth=s*n}particleDestroyed(e){e.links=[]}}class Twe{constructor(e){this.id="links",this._engine=e}getPlugin(e){return Promise.resolve(new Cwe(e,this._engine))}loadOptions(){}needsPlugin(){return!0}}async function Awe(t,e=!0){const n=new Twe(t);await t.addPlugin(n,e)}async function Rwe(t,e=!0){t.checkVersion("3.9.1"),await vwe(t,e),await Awe(t,e)}const Nwe=180,$y={x:0,y:0},Owe=2;function Iwe(t,e,n){const{context:r}=t,i=n.count.numerator*n.count.denominator,s=n.count.numerator/n.count.denominator,a=Nwe*(s-Owe)/s,o=Math.PI-$c(a);if(r){r.beginPath(),r.translate(e.x,e.y),r.moveTo($y.x,$y.y);for(let l=0;l<i;l++)r.lineTo(n.length,$y.y),r.translate(n.length,$y.y),r.rotate(o)}}const Dwe=5;class UW{draw(e){const{particle:n,radius:r}=e,i=this.getCenter(n,r),s=this.getSidesData(n,r);Iwe(e,i,s)}getSidesCount(e){const n=e.shapeData;return Math.round(pt(n?.sides??Dwe))}}const qP=3.5,WP=2.66,Mwe=3;class Lwe extends UW{constructor(){super(...arguments),this.validTypes=["polygon"]}getCenter(e,n){return{x:-n/(e.sides/qP),y:-n/(WP/qP)}}getSidesData(e,n){const r=e.sides;return{count:{denominator:1,numerator:r},length:n*WP/(r/Mwe)}}}const Bwe=1.66,Pwe=3,Fwe=2;class zwe extends UW{constructor(){super(...arguments),this.validTypes=["triangle"]}getCenter(e,n){return{x:-n,y:n/Bwe}}getSidesCount(){return Pwe}getSidesData(e,n){const r=n*Fwe;return{count:{denominator:2,numerator:3},length:r}}}async function Uwe(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new Lwe,e)}async function jwe(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new zwe,e)}async function Hwe(t,e=!0){t.checkVersion("3.9.1"),await Uwe(t,e),await jwe(t,e)}class $we{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){Ye(e)||(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=en(e.speed)),e.decay!==void 0&&(this.decay=en(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class Vwe extends $d{constructor(){super(),this.animation=new $we,this.direction=Fa.clockwise,this.path=!1,this.value=0}load(e){Ye(e)||(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}const jW=2,Gwe=Math.PI*jW,qwe=1,Wwe=360;class Kwe{constructor(e){this.container=e}init(e){const n=e.options.rotate;if(!n)return;e.rotate={enable:n.animation.enable,value:$c(pt(n.value)),min:0,max:Gwe},e.pathRotation=n.path;let r=n.direction;switch(r===Fa.random&&(r=Math.floor(hn()*jW)>0?Fa.counterClockwise:Fa.clockwise),r){case Fa.counterClockwise:case"counterClockwise":e.rotate.status=cr.decreasing;break;case Fa.clockwise:e.rotate.status=cr.increasing;break}const i=n.animation;i.enable&&(e.rotate.decay=qwe-pt(i.decay),e.rotate.velocity=pt(i.speed)/Wwe*this.container.retina.reduceFactor,i.sync||(e.rotate.velocity*=hn())),e.rotation=e.rotate.value}isEnabled(e){const n=e.options.rotate;return n?!e.destroyed&&!e.spawning&&(!!n.value||n.animation.enable||n.path):!1}loadOptions(e,...n){e.rotate||(e.rotate=new Vwe);for(const r of n)e.rotate.load(r?.rotate)}update(e,n){this.isEnabled(e)&&(e.isRotating=!!e.rotate,e.rotate&&(PR(e,e.rotate,!1,kd.none,n),e.rotation=e.rotate.value))}}async function Ywe(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("rotate",n=>Promise.resolve(new Kwe(n)),e)}const Xwe=2,Zwe=Math.sqrt(Xwe),Qwe=2;function Jwe(t){const{context:e,radius:n}=t,r=n/Zwe,i=r*Qwe;e.rect(-r,-r,i,i)}const eSe=4;class tSe{constructor(){this.validTypes=["edge","square"]}draw(e){Jwe(e)}getSidesCount(){return eSe}}async function nSe(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new tSe,e)}const rSe=2,Wh={x:0,y:0};function iSe(t){const{context:e,particle:n,radius:r}=t,i=n.sides,s=n.starInset??rSe;e.moveTo(Wh.x,Wh.y-r);for(let a=0;a<i;a++)e.rotate(Math.PI/i),e.lineTo(Wh.x,Wh.y-r*s),e.rotate(Math.PI/i),e.lineTo(Wh.x,Wh.y-r)}const sSe=2,aSe=5;class oSe{constructor(){this.validTypes=["star"]}draw(e){iSe(e)}getSidesCount(e){const n=e.shapeData;return Math.round(pt(n?.sides??aSe))}particleInit(e,n){const r=n.shapeData;n.starInset=pt(r?.inset??sSe)}}async function lSe(t,e=!0){t.checkVersion("3.9.1"),await t.addShape(new oSe,e)}const cSe=1;class uSe{constructor(e,n){this._container=e,this._engine=n}
62init(e){const n=this._container,r=e.options,i=fa(r.stroke,e.id,r.reduceDuplicates);e.strokeWidth=pt(i.width)*n.retina.pixelRatio,e.strokeOpacity=pt(i.opacity??cSe),e.strokeAnimation=i.color?.animation;const s=Ig(this._engine,i.color)??e.getFillColor();s&&(e.strokeColor=EW(s,e.strokeAnimation,n.retina.reduceFactor))}isEnabled(e){const n=e.strokeAnimation,{strokeColor:r}=e;return!e.destroyed&&!e.spawning&&!!n&&(r?.h.value!==void 0&&r.h.enable||r?.s.value!==void 0&&r.s.enable||r?.l.value!==void 0&&r.l.enable)}update(e,n){this.isEnabled(e)&&kW(e.strokeColor,n)}}async function dSe(t,e=!0){t.checkVersion("3.9.1"),await t.addParticleUpdater("strokeColor",n=>Promise.resolve(new uSe(n,t)),e)}async function hSe(t,e=!0){t.checkVersion("3.9.1"),await Q1e(t,!1),await nve(t,!1),await dve(t,!1),await vve(t,!1),await Rve(t,!1),await zve(t,!1),await Hve(t,!1),await Wve(t,!1),await Zve(t,!1),await l1e(t,!1),await f1e(t,!1),await twe(t,!1),await uwe(t,!1),await Rwe(t,!1),await qye(t,!1),await Yye(t,!1),await z1e(t,!1),await X1e(t,!1),await Hwe(t,!1),await nSe(t,!1),await lSe(t,!1),await q1e(t,!1),await Ywe(t,!1),await dSe(t,!1),await Gye(t,e)}const $R=A.memo(t=>{const{id:e,className:n,background:r,minSize:i,maxSize:s,particleColor:a,particleDensity:o}=t,[l,c]=A.useState(!1);A.useEffect(()=>{Zbe(async b=>{await hSe(b)}).then(()=>{c(!0)})},[]);const d=xge(),f=A.useCallback(async b=>{b&&d.start({opacity:1,transition:{duration:1}})},[d]),p=A.useId(),g=A.useMemo(()=>({background:{color:{value:r||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:a||"#ffffff",animation:{h:{count:0,enable:!1,offset:0,speed:1,decay:0,sync:!0},s:{count:0,enable:!1,offset:0,speed:1,decay:0,sync:!0},l:{count:0,enable:!1,offset:0,speed:1,decay:0,sync:!0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:600,y:1200}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out",bottom:"out",left:"out",right:"out",top:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:o||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:1,decay:0,sync:!1,destroy:"none",startValue:"random"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:i||1,max:s||3},animation:{count:0,enable:!1,speed:5,decay:0,sync:!1,destroy:"none",startValue:"random"}},stroke:{width:0},zLayers:100},detectRetina:!0}),[r,i,s,a,o]);return x.jsx(Yv.div,{animate:d,className:tt("opacity-0",n),children:l&&x.jsx(Xbe,{id:e||p,className:tt("h-full w-full"),particlesLoaded:f,options:g})})});$R.displayName="SparklesCore";const fSe=()=>x.jsxs("div",{className:"min-h-[80vh] relative w-full bg-background flex flex-col items-center justify-center overflow-hidden rounded-md",children:[x.jsx("div",{className:"w-full absolute inset-0 h-full",children:x.jsx($R,{id:"tsparticlesfullpage",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:100,className:"w-full h-full",particleColor:"#FFFFFF"})}),x.jsxs("div",{className:"relative z-20 text-center px-4 sm:px-6 md:px-8 w-full max-w-4xl mx-auto",children:[x.jsx("p",{className:"text-blue-500 text-sm font-medium tracking-wide uppercase mb-6 font-primary",children:"Ready to experience Superintelligence?"}),x.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-semibold text-white leading-tight-display tracking-tighter mb-8 font-display",children:["Reason. Plan. Execute.",x.jsx("br",{}),x.jsx("span",{className:"text-neutral-400",children:"At Enterprise Scale."})]}),x.jsxs("div",{className:"flex gap-4 flex-col sm:flex-row justify-center items-center mt-10",children:[x.jsx(oi,{asChild:!0,size:"lg",className:"bg-white text-black hover:bg-neutral-200 px-8 py-6 text-lg rounded-full font-bold transition-all duration-300 hover:scale-105 font-primary",children:x.jsxs(Tn,{to:"/signin",className:"flex items-center gap-2",children:["Try CoreThink",x.jsx($4,{className:"w-5 h-5"})]})}),x.jsx(oi,{asChild:!0,variant:"outline",size:"lg",className:"border-white/20 text-white hover:bg-white/10 px-8 py-6 text-lg rounded-full font-medium backdrop-blur-sm transition-all duration-300 font-primary",children:x.jsxs(Tn,{to:"/contact",className:"flex items-center gap-2",children:[x.jsx($V,{className:"w-5 h-5"}),"Talk to our team"]})})]})]})]});var pSe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Vd=pSe.reduce((t,e)=>{const n=jV(`Primitive.${e}`),r=A.forwardRef((i,s)=>{const{asChild:a,...o}=i,l=a?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(l,{...o,ref:s})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),mSe="Label",HW=A.forwardRef((t,e)=>x.jsx(Vd.label,{...t,ref:e,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(t.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));HW.displayName=mSe;var $W=HW;const gSe=m0("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Oc=A.forwardRef(({className:t,...e},n)=>x.jsx($W,{ref:n,className:tt(gSe(),t),...e}));Oc.displayName=$W.displayName;function G1(t,[e,n]){return Math.min(n,Math.max(e,t))}function fS(t){const e=t+"CollectionProvider",[n,r]=$o(e),[i,s]=n(e,{collectionRef:{current:null},itemMap:new Map}),a=y=>{const{scope:w,children:S}=y,_=Pe.useRef(null),E=Pe.useRef(new Map).current;return x.jsx(i,{scope:w,itemMap:E,collectionRef:_,children:S})};a.displayName=e;const o=t+"CollectionSlot",l=Ff(o),c=Pe.forwardRef((y,w)=>{const{scope:S,children:_}=y,E=s(o,S),T=Yt(w,E.collectionRef);return x.jsx(l,{ref:T,children:_})});c.displayName=o;const d=t+"CollectionItemSlot",f="data-radix-collection-item",p=Ff(d),g=Pe.forwardRef((y,w)=>{const{scope:S,children:_,...E}=y,T=Pe.useRef(null),R=Yt(w,T),N=s(d,S);return Pe.useEffect(()=>(N.itemMap.set(T,{ref:T,...E}),()=>{N.itemMap.delete(T)})),x.jsx(p,{[f]:"",ref:R,children:_})});g.displayName=d;
vendor: 13,263 bytes, line 62
62function b(y){const w=s(t+"CollectionConsumer",y);return Pe.useCallback(()=>{const _=w.collectionRef.current;if(!_)return[];const E=Array.from(_.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((N,I)=>E.indexOf(N.ref.current)-E.indexOf(I.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:a,Slot:c,ItemSlot:g},b,r]}var bSe=A.createContext(void 0);function A0(t){const e=A.useContext(bSe);return t||e||"ltr"}const ySe=["top","right","bottom","left"],Jc=Math.min,Ds=Math.max,q1=Math.round,Vy=Math.floor,Fo=t=>({x:t,y:t}),vSe={left:"right",right:"left",bottom:"top",top:"bottom"},wSe={start:"end",end:"start"};function JC(t,e,n){return Ds(t,Jc(e,n))}function Fl(t,e){return typeof t=="function"?t(e):t}function zl(t){return t.split("-")[0]}function mp(t){return t.split("-")[1]}function VR(t){return t==="x"?"y":"x"}function GR(t){return t==="y"?"height":"width"}const SSe=new Set(["top","bottom"]);function Ro(t){return SSe.has(zl(t))?"y":"x"}function qR(t){return VR(Ro(t))}function _Se(t,e,n){n===void 0&&(n=!1);const r=mp(t),i=qR(t),s=GR(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=W1(a)),[a,W1(a)]}function xSe(t){const e=W1(t);return[eT(t),e,eT(e)]}function eT(t){return t.replace(/start|end/g,e=>wSe[e])}const KP=["left","right"],YP=["right","left"],ESe=["top","bottom"],kSe=["bottom","top"];function CSe(t,e,n){switch(t){case"top":case"bottom":return n?e?YP:KP:e?KP:YP;case"left":case"right":return e?ESe:kSe;default:return[]}}function TSe(t,e,n,r){const i=mp(t);let s=CSe(zl(t),n==="start",r);return i&&(s=s.map(a=>a+"-"+i),e&&(s=s.concat(s.map(eT)))),s}function W1(t){return t.replace(/left|right|bottom|top/g,e=>vSe[e])}function ASe(t){return{top:0,right:0,bottom:0,left:0,...t}}function VW(t){return typeof t!="number"?ASe(t):{top:t,right:t,bottom:t,left:t}}function K1(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function XP(t,e,n){let{reference:r,floating:i}=t;const s=Ro(e),a=qR(e),o=GR(a),l=zl(e),c=s==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[o]/2-i[o]/2;let g;switch(l){case"top":g={x:d,y:r.y-i.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-i.width,y:f};break;default:g={x:r.x,y:r.y}}switch(mp(e)){case"start":g[a]-=p*(n&&c?-1:1);break;case"end":g[a]+=p*(n&&c?-1:1);break}return g}const RSe=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:a}=n,o=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:f}=XP(c,r,l),p=r,g={},b=0;for(let y=0;y<o.length;y++){const{name:w,fn:S}=o[y],{x:_,y:E,data:T,reset:R}=await S({x:d,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:g,rects:c,platform:a,elements:{reference:t,floating:e}});d=_??d,f=E??f,g={...g,[w]:{...g[w],...T}},R&&b<=50&&(b++,typeof R=="object"&&(R.placement&&(p=R.placement),R.rects&&(c=R.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:d,y:f}=XP(c,p,l)),y=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:g}};async function Bg(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:s,rects:a,elements:o,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:g=0}=Fl(e,t),b=VW(g),w=o[p?f==="floating"?"reference":"floating":f],S=K1(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:l})),_=f==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating)),T=await(s.isElement==null?void 0:s.isElement(E))?await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1}:{x:1,y:1},R=K1(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:_,offsetParent:E,strategy:l}):_);return{top:(S.top-R.top+b.top)/T.y,bottom:(R.bottom-S.bottom+b.bottom)/T.y,left:(S.left-R.left+b.left)/T.x,right:(R.right-S.right+b.right)/T.x}}const NSe=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:s,platform:a,elements:o,middlewareData:l}=e,{element:c,padding:d=0}=Fl(t,e)||{};if(c==null)return{};const f=VW(d),p={x:n,y:r},g=qR(i),b=GR(g),y=await a.getDimensions(c),w=g==="y",S=w?"top":"left",_=w?"bottom":"right",E=w?"clientHeight":"clientWidth",T=s.reference[b]+s.reference[g]-p[g]-s.floating[b],R=p[g]-s.reference[g],N=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let I=N?N[E]:0;(!I||!await(a.isElement==null?void 0:a.isElement(N)))&&(I=o.floating[E]||s.floating[b]);const P=T/2-R/2,z=I/2-y[b]/2-1,U=Jc(f[S],z),Z=Jc(f[_],z),L=U,$=I-y[b]-Z,D=I/2-y[b]/2+P,W=JC(L,D,$),G=!l.arrow&&mp(i)!=null&&D!==W&&s.reference[b]/2-(D<L?U:Z)-y[b]/2<0,K=G?D<L?D-L:D-$:0;return{[g]:p[g]+K,data:{[g]:W,centerOffset:D-W-K,...G&&{alignmentOffset:K}},reset:G}}}),OSe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:s,rects:a,initialPlacement:o,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...w}=Fl(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const S=zl(i),_=Ro(o),E=zl(o)===o,T=await(l.isRTL==null?void 0:l.isRTL(c.floating)),R=p||(E||!y?[W1(o)]:xSe(o)),N=b!=="none";!p&&N&&R.push(...TSe(o,y,b,T));const I=[o,...R],P=await Bg(e,w),z=[];let U=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&z.push(P[S]),f){const D=_Se(i,a,T);z.push(P[D[0]],P[D[1]])}if(U=[...U,{placement:i,overflows:z}],!z.every(D=>D<=0)){var Z,L;const D=(((Z=s.flip)==null?void 0:Z.index)||0)+1,W=I[D];if(W&&(!(f==="alignment"?_!==Ro(W):!1)||U.every(Y=>Ro(Y.placement)===_?Y.overflows[0]>0:!0)))return{data:{index:D,overflows:U},reset:{placement:W}};let G=(L=U.filter(K=>K.overflows[0]<=0).sort((K,Y)=>K.overflows[1]-Y.overflows[1])[0])==null?void 0:L.placement;if(!G)switch(g){case"bestFit":{var $;const K=($=U.filter(Y=>{if(N){const te=Ro(Y.placement);return te===_||te==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(te=>te>0).reduce((te,q)=>te+q,0)]).sort((Y,te)=>Y[1]-te[1])[0])==null?void 0:$[0];K&&(G=K);break}case"initialPlacement":G=o;break}if(i!==G)return{reset:{placement:G}}}return{}}}};function ZP(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function QP(t){return ySe.some(e=>t[e]>=0)}const ISe=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...i}=Fl(t,e);switch(r){case"referenceHidden":{const s=await Bg(e,{...i,elementContext:"reference"}),a=ZP(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:QP(a)}}}case"escaped":{const s=await Bg(e,{...i,altBoundary:!0}),a=ZP(s,n.floating);return{data:{escapedOffsets:a,escaped:QP(a)}}}default:return{}}}}},GW=new Set(["left","top"]);async function DSe(t,e){const{placement:n,platform:r,elements:i}=t,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=zl(n),o=mp(n),l=Ro(n)==="y",c=GW.has(a)?-1:1,d=s&&l?-1:1,f=Fl(e,t);let{mainAxis:p,crossAxis:g,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return o&&typeof b=="number"&&(g=o==="end"?b*-1:b),l?{x:g*d,y:p*c}:{x:p*c,y:g*d}}const MSe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:s,placement:a,middlewareData:o}=e,l=await DSe(e,t);return a===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:a}}}}},LSe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:o={fn:w=>{let{x:S,y:_}=w;return{x:S,y:_}}},...l}=Fl(t,e),c={x:n,y:r},d=await Bg(e,l),f=Ro(zl(i)),p=VR(f);let g=c[p],b=c[f];if(s){const w=p==="y"?"top":"left",S=p==="y"?"bottom":"right",_=g+d[w],E=g-d[S];g=JC(_,g,E)}if(a){const w=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=b+d[w],E=b-d[S];b=JC(_,b,E)}const y=o.fn({...e,[p]:g,[f]:b});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[p]:s,[f]:a}}}}}},BSe=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:i,rects:s,middlewareData:a}=e,{offset:o=0,mainAxis:l=!0,crossAxis:c=!0}=Fl(t,e),d={x:n,y:r},f=Ro(i),p=VR(f);let g=d[p],b=d[f];const y=Fl(o,e),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const E=p==="y"?"height":"width",T=s.reference[p]-s.floating[E]+w.mainAxis,R=s.reference[p]+s.reference[E]-w.mainAxis;g<T?g=T:g>R&&(g=R)}if(c){var S,_;const E=p==="y"?"width":"height",T=GW.has(zl(i)),R=s.reference[f]-s.floating[E]+(T&&((S=a.offset)==null?void 0:S[f])||0)+(T?0:w.crossAxis),N=s.reference[f]+s.reference[E]+(T?0:((_=a.offset)==null?void 0:_[f])||0)-(T?w.crossAxis:0);b<R?b=R:b>N&&(b=N)}return{[p]:g,[f]:b}}}},PSe=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:s,platform:a,elements:o}=e,{apply:l=()=>{},...c}=Fl(t,e),d=await Bg(e,c),f=zl(i),p=mp(i),g=Ro(i)==="y",{width:b,height:y}=s.floating;let w,S;f==="top"||f==="bottom"?(w=f,S=p===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(S=f,w=p==="end"?"top":"bottom");const _=y-d.top-d.bottom,E=b-d.left-d.right,T=Jc(y-d[w],_),R=Jc(b-d[S],E),N=!e.middlewareData.shift;let I=T,P=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=E),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(I=_),N&&!p){const U=Ds(d.left,0),Z=Ds(d.right,0),L=Ds(d.top,0),$=Ds(d.bottom,0);g?P=b-2*(U!==0||Z!==0?U+Z:Ds(d.left,d.right)):I=y-2*(L!==0||$!==0?L+$:Ds(d.top,d.bottom))}await l({...e,availableWidth:P,availableHeight:I});const z=await a.getDimensions(o.floating);return b!==z.width||y!==z.height?{reset:{rects:!0}}:{}}}};function pS(){return typeof window<"u"}function gp(t){return qW(t)?(t.nodeName||"").toLowerCase():"#document"}function Fs(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function qo(t){var e;return(e=(qW(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qW(t){return pS()?t instanceof Node||t instanceof Fs(t).Node:!1}function Za(t){return pS()?t instanceof Element||t instanceof Fs(t).Element:!1}function jo(t){return pS()?t instanceof HTMLElement||t instanceof Fs(t).HTMLElement:!1}function JP(t){return!pS()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Fs(t).ShadowRoot}const FSe=new Set(["inline","contents"]);function R0(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Qa(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!FSe.has(i)}const zSe=new Set(["table","td","th"]);function USe(t){return zSe.has(gp(t))}const jSe=[":popover-open",":modal"];function mS(t){return jSe.some(e=>{try{return t.matches(e)}catch{return!1}})}const HSe=["transform","translate","scale","rotate","perspective"],$Se=["transform","translate","scale","rotate","perspective","filter"],VSe=["paint","layout","strict","content"];function WR(t){const e=KR(),n=Za(t)?Qa(t):t;return HSe.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||$Se.some(r=>(n.willChange||"").includes(r))||VSe.some(r=>(n.contain||"").includes(r))}function GSe(t){let e=eu(t);for(;jo(e)&&!qf(e);){if(WR(e))return e;if(mS(e))return null;e=eu(e)}return null}function KR(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const qSe=new Set(["html","body","#document"]);function qf(t){return qSe.has(gp(t))}function Qa(t){return Fs(t).getComputedStyle(t)}function gS(t){return Za(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function eu(t){if(gp(t)==="html")return t;const e=t.assignedSlot||t.parentNode||JP(t)&&t.host||qo(t);return JP(e)?e.host:e}function WW(t){const e=eu(t);return qf(e)?t.ownerDocument?t.ownerDocument.body:t.body:jo(e)&&R0(e)?e:WW(e)}function Pg(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=WW(t),s=i===((r=t.ownerDocument)==null?void 0:r.body),a=Fs(i);if(s){const o=tT(a);return e.concat(a,a.visualViewport||[],R0(i)?i:[],o&&n?Pg(o):[])}return e.concat(i,Pg(i,[],n))}function tT(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function KW(t){const e=Qa(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=jo(t),s=i?t.offsetWidth:n,a=i?t.offsetHeight:r,o=q1(n)!==s||q1(r)!==a;return o&&(n=s,r=a),{width:n,height:r,$:o}}function YR(t){return Za(t)?t:t.contextElement}function Af(t){const e=YR(t);if(!jo(e))return Fo(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:s}=KW(e);let a=(s?q1(n.width):n.width)/r,o=(s?q1(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}const WSe=Fo(0);function YW(t){const e=Fs(t);
vendor: 11,275 bytes, line 62
62return!KR()||!e.visualViewport?WSe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function KSe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Fs(t)?!1:e}function Ad(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=YR(t);let a=Fo(1);e&&(r?Za(r)&&(a=Af(r)):a=Af(t));const o=KSe(s,n,r)?YW(s):Fo(0);let l=(i.left+o.x)/a.x,c=(i.top+o.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(s){const p=Fs(s),g=r&&Za(r)?Fs(r):r;let b=p,y=tT(b);for(;y&&r&&g!==b;){const w=Af(y),S=y.getBoundingClientRect(),_=Qa(y),E=S.left+(y.clientLeft+parseFloat(_.paddingLeft))*w.x,T=S.top+(y.clientTop+parseFloat(_.paddingTop))*w.y;l*=w.x,c*=w.y,d*=w.x,f*=w.y,l+=E,c+=T,b=Fs(y),y=tT(b)}}return K1({width:d,height:f,x:l,y:c})}function bS(t,e){const n=gS(t).scrollLeft;return e?e.left+n:Ad(qo(t)).left+n}function XW(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-bS(t,n),i=n.top+e.scrollTop;return{x:r,y:i}}function YSe(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const s=i==="fixed",a=qo(r),o=e?mS(e.floating):!1;if(r===a||o&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Fo(1);const d=Fo(0),f=jo(r);if((f||!f&&!s)&&((gp(r)!=="body"||R0(a))&&(l=gS(r)),jo(r))){const g=Ad(r);c=Af(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}const p=a&&!f&&!s?XW(a,l):Fo(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-l.scrollTop*c.y+d.y+p.y}}function XSe(t){return Array.from(t.getClientRects())}function ZSe(t){const e=qo(t),n=gS(t),r=t.ownerDocument.body,i=Ds(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=Ds(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+bS(t);const o=-n.scrollTop;return Qa(r).direction==="rtl"&&(a+=Ds(e.clientWidth,r.clientWidth)-i),{width:i,height:s,x:a,y:o}}const eF=25;function QSe(t,e){const n=Fs(t),r=qo(t),i=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;const d=KR();(!d||d&&e==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}const c=bS(r);if(c<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(r.clientWidth-f.clientWidth-g);b<=eF&&(s-=b)}else c<=eF&&(s+=c);return{width:s,height:a,x:o,y:l}}const JSe=new Set(["absolute","fixed"]);function e_e(t,e){const n=Ad(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,s=jo(t)?Af(t):Fo(1),a=t.clientWidth*s.x,o=t.clientHeight*s.y,l=i*s.x,c=r*s.y;return{width:a,height:o,x:l,y:c}}function tF(t,e,n){let r;if(e==="viewport")r=QSe(t,n);else if(e==="document")r=ZSe(qo(t));else if(Za(e))r=e_e(e,n);else{const i=YW(t);r={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return K1(r)}function ZW(t,e){const n=eu(t);return n===e||!Za(n)||qf(n)?!1:Qa(n).position==="fixed"||ZW(n,e)}function t_e(t,e){const n=e.get(t);if(n)return n;let r=Pg(t,[],!1).filter(o=>Za(o)&&gp(o)!=="body"),i=null;const s=Qa(t).position==="fixed";let a=s?eu(t):t;for(;Za(a)&&!qf(a);){const o=Qa(a),l=WR(a);!l&&o.position==="fixed"&&(i=null),(s?!l&&!i:!l&&o.position==="static"&&!!i&&JSe.has(i.position)||R0(a)&&!l&&ZW(t,a))?r=r.filter(d=>d!==a):i=o,a=eu(a)}return e.set(t,r),r}function n_e(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const a=[...n==="clippingAncestors"?mS(e)?[]:t_e(e,this._c):[].concat(n),r],o=a[0],l=a.reduce((c,d)=>{const f=tF(e,d,i);return c.top=Ds(f.top,c.top),c.right=Jc(f.right,c.right),c.bottom=Jc(f.bottom,c.bottom),c.left=Ds(f.left,c.left),c},tF(e,o,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function r_e(t){const{width:e,height:n}=KW(t);return{width:e,height:n}}function i_e(t,e,n){const r=jo(e),i=qo(e),s=n==="fixed",a=Ad(t,!0,s,e);let o={scrollLeft:0,scrollTop:0};const l=Fo(0);function c(){l.x=bS(i)}if(r||!r&&!s)if((gp(e)!=="body"||R0(i))&&(o=gS(e)),r){const g=Ad(e,!0,s,e);l.x=g.x+e.clientLeft,l.y=g.y+e.clientTop}else i&&c();s&&!r&&i&&c();const d=i&&!r&&!s?XW(i,o):Fo(0),f=a.left+o.scrollLeft-l.x-d.x,p=a.top+o.scrollTop-l.y-d.y;return{x:f,y:p,width:a.width,height:a.height}}function C2(t){return Qa(t).position==="static"}function nF(t,e){if(!jo(t)||Qa(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return qo(t)===n&&(n=n.ownerDocument.body),n}function QW(t,e){const n=Fs(t);if(mS(t))return n;if(!jo(t)){let i=eu(t);for(;i&&!qf(i);){if(Za(i)&&!C2(i))return i;i=eu(i)}return n}let r=nF(t,e);for(;r&&USe(r)&&C2(r);)r=nF(r,e);return r&&qf(r)&&C2(r)&&!WR(r)?n:r||GSe(t)||n}const s_e=async function(t){const e=this.getOffsetParent||QW,n=this.getDimensions,r=await n(t.floating);return{reference:i_e(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function a_e(t){return Qa(t).direction==="rtl"}const o_e={convertOffsetParentRelativeRectToViewportRelativeRect:YSe,getDocumentElement:qo,getClippingRect:n_e,getOffsetParent:QW,getElementRects:s_e,getClientRects:XSe,getDimensions:r_e,getScale:Af,isElement:Za,isRTL:a_e};function JW(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function l_e(t,e){let n=null,r;const i=qo(t);function s(){var o;clearTimeout(r),(o=n)==null||o.disconnect(),n=null}function a(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),s();const c=t.getBoundingClientRect(),{left:d,top:f,width:p,height:g}=c;if(o||e(),!p||!g)return;const b=Vy(f),y=Vy(i.clientWidth-(d+p)),w=Vy(i.clientHeight-(f+g)),S=Vy(d),E={rootMargin:-b+"px "+-y+"px "+-w+"px "+-S+"px",threshold:Ds(0,Jc(1,l))||1};let T=!0;function R(N){const I=N[0].intersectionRatio;if(I!==l){if(!T)return a();I?a(!1,I):r=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!JW(c,t.getBoundingClientRect())&&a(),T=!1}try{n=new IntersectionObserver(R,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(R,E)}n.observe(t)}return a(!0),s}function c_e(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=YR(t),d=i||s?[...c?Pg(c):[],...Pg(e)]:[];d.forEach(S=>{i&&S.addEventListener("scroll",n,{passive:!0}),s&&S.addEventListener("resize",n)});const f=c&&o?l_e(c,n):null;let p=-1,g=null;a&&(g=new ResizeObserver(S=>{let[_]=S;_&&_.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var E;(E=g)==null||E.observe(e)})),n()}),c&&!l&&g.observe(c),g.observe(e));let b,y=l?Ad(t):null;l&&w();function w(){const S=Ad(t);y&&!JW(y,S)&&n(),y=S,b=requestAnimationFrame(w)}return n(),()=>{var S;d.forEach(_=>{i&&_.removeEventListener("scroll",n),s&&_.removeEventListener("resize",n)}),f?.(),(S=g)==null||S.disconnect(),g=null,l&&cancelAnimationFrame(b)}}const u_e=MSe,d_e=LSe,h_e=OSe,f_e=PSe,p_e=ISe,rF=NSe,m_e=BSe,g_e=(t,e,n)=>{const r=new Map,i={platform:o_e,...n},s={...i.platform,_c:r};return RSe(t,e,{...i,platform:s})};var b_e=typeof document<"u",y_e=function(){},Jv=b_e?A.useLayoutEffect:y_e;function Y1(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Y1(t[r],e[r]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&t.$$typeof)&&!Y1(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function eK(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function iF(t,e){const n=eK(t);return Math.round(e*n)/n}function T2(t){const e=A.useRef(t);return Jv(()=>{e.current=t}),e}function v_e(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:a}={},transform:o=!0,whileElementsMounted:l,open:c}=t,[d,f]=A.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,g]=A.useState(r);Y1(p,r)||g(r);const[b,y]=A.useState(null),[w,S]=A.useState(null),_=A.useCallback(Y=>{Y!==N.current&&(N.current=Y,y(Y))},[]),E=A.useCallback(Y=>{Y!==I.current&&(I.current=Y,S(Y))},[]),T=s||b,R=a||w,N=A.useRef(null),I=A.useRef(null),P=A.useRef(d),z=l!=null,U=T2(l),Z=T2(i),L=T2(c),$=A.useCallback(()=>{if(!N.current||!I.current)return;const Y={placement:e,strategy:n,middleware:p};Z.current&&(Y.platform=Z.current),g_e(N.current,I.current,Y).then(te=>{const q={...te,isPositioned:L.current!==!1};D.current&&!Y1(P.current,q)&&(P.current=q,v0.flushSync(()=>{f(q)}))})},[p,e,n,Z,L]);Jv(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(Y=>({...Y,isPositioned:!1})))},[c]);const D=A.useRef(!1);Jv(()=>(D.current=!0,()=>{D.current=!1}),[]),Jv(()=>{if(T&&(N.current=T),R&&(I.current=R),T&&R){if(U.current)return U.current(T,R,$);$()}},[T,R,$,U,z]);const W=A.useMemo(()=>({reference:N,floating:I,setReference:_,setFloating:E}),[_,E]),G=A.useMemo(()=>({reference:T,floating:R}),[T,R]),K=A.useMemo(()=>{const Y={position:n,left:0,top:0};if(!G.floating)return Y;const te=iF(G.floating,d.x),q=iF(G.floating,d.y);return o?{...Y,transform:"translate("+te+"px, "+q+"px)",...eK(G.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:te,top:q}},[n,o,G.floating,d.x,d.y]);return A.useMemo(()=>({...d,update:$,refs:W,elements:G,floatingStyles:K}),[d,$,W,G,K])}const w_e=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:i}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?rF({element:r.current,padding:i}).fn(n):{}:r?rF({element:r,padding:i}).fn(n):{}}}},S_e=(t,e)=>({...u_e(t),options:[t,e]}),__e=(t,e)=>({...d_e(t),options:[t,e]}),x_e=(t,e)=>({...m_e(t),options:[t,e]}),E_e=(t,e)=>({...h_e(t),options:[t,e]}),k_e=(t,e)=>({...f_e(t),options:[t,e]}),C_e=(t,e)=>({...p_e(t),options:[t,e]}),T_e=(t,e)=>({...w_e(t),options:[t,e]});var A_e="Arrow",tK=A.forwardRef((t,e)=>{const{children:n,width:r=10,height:i=5,...s}=t;return x.jsx(Et.svg,{...s,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});tK.displayName=A_e;var R_e=tK;function nK(t){const[e,n]=A.useState(void 0);return Tr(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let a,o;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,o=c.blockSize}else a=t.offsetWidth,o=t.offsetHeight;n({width:a,height:o})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var XR="Popper",[rK,bp]=$o(XR),[N_e,iK]=rK(XR),sK=t=>{const{__scopePopper:e,children:n}=t,[r,i]=A.useState(null);return x.jsx(N_e,{scope:e,anchor:r,onAnchorChange:i,children:n})};sK.displayName=XR;var aK="PopperAnchor",oK=A.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...i}=t,s=iK(aK,n),a=A.useRef(null),o=Yt(e,a),l=A.useRef(null);return A.useEffect(()=>{const c=l.current;l.current=r?.current||a.current,c!==l.current&&s.onAnchorChange(l.current)}),r?null:x.jsx(Et.div,{...i,ref:o})});oK.displayName=aK;var ZR="PopperContent",[O_e,I_e]=rK(ZR),lK=A.forwardRef((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:a=0,arrowPadding:o=0,avoidCollisions:l
vendor: 5,972 bytes, line 62
62=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:g="optimized",onPlaced:b,...y}=t,w=iK(ZR,n),[S,_]=A.useState(null),E=Yt(e,me=>_(me)),[T,R]=A.useState(null),N=nK(T),I=N?.width??0,P=N?.height??0,z=r+(s!=="center"?"-"+s:""),U=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},Z=Array.isArray(c)?c:[c],L=Z.length>0,$={padding:U,boundary:Z.filter(M_e),altBoundary:L},{refs:D,floatingStyles:W,placement:G,isPositioned:K,middlewareData:Y}=v_e({strategy:"fixed",placement:z,whileElementsMounted:(...me)=>c_e(...me,{animationFrame:g==="always"}),elements:{reference:w.anchor},middleware:[S_e({mainAxis:i+P,alignmentAxis:a}),l&&__e({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?x_e():void 0,...$}),l&&E_e({...$}),k_e({...$,apply:({elements:me,rects:ke,availableWidth:Le,availableHeight:qe})=>{const{width:Xe,height:ut}=ke.reference,it=me.floating.style;it.setProperty("--radix-popper-available-width",`${Le}px`),it.setProperty("--radix-popper-available-height",`${qe}px`),it.setProperty("--radix-popper-anchor-width",`${Xe}px`),it.setProperty("--radix-popper-anchor-height",`${ut}px`)}}),T&&T_e({element:T,padding:o}),L_e({arrowWidth:I,arrowHeight:P}),p&&C_e({strategy:"referenceHidden",...$})]}),[te,q]=dK(G),j=Ya(b);Tr(()=>{K&&j?.()},[K,j]);const X=Y.arrow?.x,H=Y.arrow?.y,ae=Y.arrow?.centerOffset!==0,[le,Ee]=A.useState();return Tr(()=>{S&&Ee(window.getComputedStyle(S).zIndex)},[S]),x.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:K?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:x.jsx(O_e,{scope:n,placedSide:te,onArrowChange:R,arrowX:X,arrowY:H,shouldHideArrow:ae,children:x.jsx(Et.div,{"data-side":te,"data-align":q,...y,ref:E,style:{...y.style,animation:K?void 0:"none"}})})})});lK.displayName=ZR;var cK="PopperArrow",D_e={top:"bottom",right:"left",bottom:"top",left:"right"},uK=A.forwardRef(function(e,n){const{__scopePopper:r,...i}=e,s=I_e(cK,r),a=D_e[s.placedSide];return x.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:x.jsx(R_e,{...i,ref:n,style:{...i.style,display:"block"}})})});uK.displayName=cK;function M_e(t){return t!==null}var L_e=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:i}=e,a=i.arrow?.centerOffset!==0,o=a?0:t.arrowWidth,l=a?0:t.arrowHeight,[c,d]=dK(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(i.arrow?.x??0)+o/2,g=(i.arrow?.y??0)+l/2;let b="",y="";return c==="bottom"?(b=a?f:`${p}px`,y=`${-l}px`):c==="top"?(b=a?f:`${p}px`,y=`${r.floating.height+l}px`):c==="right"?(b=`${-l}px`,y=a?f:`${g}px`):c==="left"&&(b=`${r.floating.width+l}px`,y=a?f:`${g}px`),{data:{x:b,y}}}});function dK(t){const[e,n="center"]=t.split("-");return[e,n]}var QR=sK,JR=oK,e3=lK,t3=uK;function hK(t){const e=A.useRef({value:t,previous:t});return A.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var fK=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),B_e="VisuallyHidden",pK=A.forwardRef((t,e)=>x.jsx(Et.span,{...t,ref:e,style:{...fK,...t.style}}));pK.displayName=B_e;var P_e=pK,F_e=[" ","Enter","ArrowUp","ArrowDown"],z_e=[" ","Enter"],Rd="Select",[yS,vS,U_e]=fS(Rd),[yp]=$o(Rd,[U_e,bp]),wS=bp(),[j_e,hu]=yp(Rd),[H_e,$_e]=yp(Rd),mK=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:i,onOpenChange:s,value:a,defaultValue:o,onValueChange:l,dir:c,name:d,autoComplete:f,disabled:p,required:g,form:b}=t,y=wS(e),[w,S]=A.useState(null),[_,E]=A.useState(null),[T,R]=A.useState(!1),N=A0(c),[I,P]=Kc({prop:r,defaultProp:i??!1,onChange:s,caller:Rd}),[z,U]=Kc({prop:a,defaultProp:o,onChange:l,caller:Rd}),Z=A.useRef(null),L=w?b||!!w.closest("form"):!0,[$,D]=A.useState(new Set),W=Array.from($).map(G=>G.props.value).join(";");return x.jsx(QR,{...y,children:x.jsxs(j_e,{required:g,scope:e,trigger:w,onTriggerChange:S,valueNode:_,onValueNodeChange:E,valueNodeHasChildren:T,onValueNodeHasChildrenChange:R,contentId:Va(),value:z,onValueChange:U,open:I,onOpenChange:P,dir:N,triggerPointerDownPosRef:Z,disabled:p,children:[x.jsx(yS.Provider,{scope:e,children:x.jsx(H_e,{scope:t.__scopeSelect,onNativeOptionAdd:A.useCallback(G=>{D(K=>new Set(K).add(G))},[]),onNativeOptionRemove:A.useCallback(G=>{D(K=>{const Y=new Set(K);return Y.delete(G),Y})},[]),children:n})}),L?x.jsxs(zK,{"aria-hidden":!0,required:g,tabIndex:-1,name:d,autoComplete:f,value:z,onChange:G=>U(G.target.value),disabled:p,form:b,children:[z===void 0?x.jsx("option",{value:""}):null,Array.from($)]},W):null]})})};mK.displayName=Rd;var gK="SelectTrigger",bK=A.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...i}=t,s=wS(n),a=hu(gK,n),o=a.disabled||r,l=Yt(e,a.onTriggerChange),c=vS(n),d=A.useRef("touch"),[f,p,g]=jK(y=>{const w=c().filter(E=>!E.disabled),S=w.find(E=>E.value===a.value),_=HK(w,y,S);_!==void 0&&a.onValueChange(_.value)}),b=y=>{o||(a.onOpenChange(!0),g()),y&&(a.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return x.jsx(JR,{asChild:!0,...s,children:x.jsx(Et.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":UK(a.value)?"":void 0,...i,ref:l,onClick:Je(i.onClick,y=>
vendor: 17,137 bytes, line 62
62{y.currentTarget.focus(),d.current!=="mouse"&&b(y)}),onPointerDown:Je(i.onPointerDown,y=>{d.current=y.pointerType;const w=y.target;w.hasPointerCapture(y.pointerId)&&w.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(b(y),y.preventDefault())}),onKeyDown:Je(i.onKeyDown,y=>{const w=f.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&p(y.key),!(w&&y.key===" ")&&F_e.includes(y.key)&&(b(),y.preventDefault())})})})});bK.displayName=gK;var yK="SelectValue",vK=A.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:i,children:s,placeholder:a="",...o}=t,l=hu(yK,n),{onValueNodeHasChildrenChange:c}=l,d=s!==void 0,f=Yt(e,l.onValueNodeChange);return Tr(()=>{c(d)},[c,d]),x.jsx(Et.span,{...o,ref:f,style:{pointerEvents:"none"},children:UK(l.value)?x.jsx(x.Fragment,{children:a}):s})});vK.displayName=yK;var V_e="SelectIcon",wK=A.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...i}=t;return x.jsx(Et.span,{"aria-hidden":!0,...i,ref:e,children:r||"▼"})});wK.displayName=V_e;var G_e="SelectPortal",SK=t=>x.jsx(_0,{asChild:!0,...t});SK.displayName=G_e;var Nd="SelectContent",_K=A.forwardRef((t,e)=>{const n=hu(Nd,t.__scopeSelect),[r,i]=A.useState();if(Tr(()=>{i(new DocumentFragment)},[]),!n.open){const s=r;return s?v0.createPortal(x.jsx(xK,{scope:t.__scopeSelect,children:x.jsx(yS.Slot,{scope:t.__scopeSelect,children:x.jsx("div",{children:t.children})})}),s):null}return x.jsx(EK,{...t,ref:e})});_K.displayName=Nd;var Ma=10,[xK,fu]=yp(Nd),q_e="SelectContentImpl",W_e=Ff("SelectContent.RemoveScroll"),EK=A.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:a,side:o,sideOffset:l,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:g,sticky:b,hideWhenDetached:y,avoidCollisions:w,...S}=t,_=hu(Nd,n),[E,T]=A.useState(null),[R,N]=A.useState(null),I=Yt(e,me=>T(me)),[P,z]=A.useState(null),[U,Z]=A.useState(null),L=vS(n),[$,D]=A.useState(!1),W=A.useRef(!1);A.useEffect(()=>{if(E)return Y4(E)},[E]),K4();const G=A.useCallback(me=>{const[ke,...Le]=L().map(ut=>ut.ref.current),[qe]=Le.slice(-1),Xe=document.activeElement;for(const ut of me)if(ut===Xe||(ut?.scrollIntoView({block:"nearest"}),ut===ke&&R&&(R.scrollTop=0),ut===qe&&R&&(R.scrollTop=R.scrollHeight),ut?.focus(),document.activeElement!==Xe))return},[L,R]),K=A.useCallback(()=>G([P,E]),[G,P,E]);A.useEffect(()=>{$&&K()},[$,K]);const{onOpenChange:Y,triggerPointerDownPosRef:te}=_;A.useEffect(()=>{if(E){let me={x:0,y:0};const ke=qe=>{me={x:Math.abs(Math.round(qe.pageX)-(te.current?.x??0)),y:Math.abs(Math.round(qe.pageY)-(te.current?.y??0))}},Le=qe=>{me.x<=10&&me.y<=10?qe.preventDefault():E.contains(qe.target)||Y(!1),document.removeEventListener("pointermove",ke),te.current=null};return te.current!==null&&(document.addEventListener("pointermove",ke),document.addEventListener("pointerup",Le,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ke),document.removeEventListener("pointerup",Le,{capture:!0})}}},[E,Y,te]),A.useEffect(()=>{const me=()=>Y(!1);return window.addEventListener("blur",me),window.addEventListener("resize",me),()=>{window.removeEventListener("blur",me),window.removeEventListener("resize",me)}},[Y]);const[q,j]=jK(me=>{const ke=L().filter(Xe=>!Xe.disabled),Le=ke.find(Xe=>Xe.ref.current===document.activeElement),qe=HK(ke,me,Le);qe&&setTimeout(()=>qe.ref.current.focus())}),X=A.useCallback((me,ke,Le)=>{const qe=!W.current&&!Le;(_.value!==void 0&&_.value===ke||qe)&&(z(me),qe&&(W.current=!0))},[_.value]),H=A.useCallback(()=>E?.focus(),[E]),ae=A.useCallback((me,ke,Le)=>{const qe=!W.current&&!Le;(_.value!==void 0&&_.value===ke||qe)&&Z(me)},[_.value]),le=r==="popper"?nT:kK,Ee=le===nT?{side:o,sideOffset:l,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:g,sticky:b,hideWhenDetached:y,avoidCollisions:w}:{};return x.jsx(xK,{scope:n,content:E,viewport:R,onViewportChange:N,itemRefCallback:X,selectedItem:P,onItemLeave:H,itemTextRefCallback:ae,focusSelectedItem:K,selectedItemText:U,position:r,isPositioned:$,searchRef:q,children:x.jsx(Zw,{as:W_e,allowPinchZoom:!0,children:x.jsx(Yw,{asChild:!0,trapped:_.open,onMountAutoFocus:me=>{me.preventDefault()},onUnmountAutoFocus:Je(i,me=>{_.trigger?.focus({preventScroll:!0}),me.preventDefault()}),children:x.jsx(S0,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:me=>me.preventDefault(),onDismiss:()=>_.onOpenChange(!1),children:x.jsx(le,{role:"listbox",id:_.contentId,"data-state":_.open?"open":"closed",dir:_.dir,onContextMenu:me=>me.preventDefault(),...S,...Ee,onPlaced:()=>D(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:Je(S.onKeyDown,me=>{const ke=me.ctrlKey||me.altKey||me.metaKey;if(me.key==="Tab"&&me.preventDefault(),!ke&&me.key.length===1&&j(me.key),["ArrowUp","ArrowDown","Home","End"].includes(me.key)){let qe=L().filter(Xe=>!Xe.disabled).map(Xe=>Xe.ref.current);if(["ArrowUp","End"].includes(me.key)&&(qe=qe.slice().reverse()),["ArrowUp","ArrowDown"].includes(me.key)){const Xe=me.target,ut=qe.indexOf(Xe);qe=qe.slice(ut+1)}setTimeout(()=>G(qe)),me.preventDefault()}})})})})})})});EK.displayName=q_e;var K_e="SelectItemAlignedPosition",kK=A.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...i}=t,s=hu(Nd,n),a=fu(Nd,n),[o,l]=A.useState(null),[c,d]=A.useState(null),f=Yt(e,I=>d(I)),p=vS(n),g=A.useRef(!1),b=A.useRef(!0),{viewport:y,selectedItem:w,selectedItemText:S,focusSelectedItem:_}=a,E=A.useCallback(()=>{if(s.trigger&&s.valueNode&&o&&c&&y&&w&&S){const I=s.trigger.getBoundingClientRect(),P=c.getBoundingClientRect(),z=s.valueNode.getBoundingClientRect(),U=S.getBoundingClientRect();if(s.dir!=="rtl"){const Xe=U.left-P.left,ut=z.left-Xe,it=I.left-ut,F=I.width+it,Ce=Math.max(F,P.width),Se=window.innerWidth-Ma,re=G1(ut,[Ma,Math.max(Ma,Se-Ce)]);o.style.minWidth=F+"px",o.style.left=re+"px"}else{const Xe=P.right-U.right,ut=window.innerWidth-z.right-Xe,it=window.innerWidth-I.right-ut,F=I.width+it,Ce=Math.max(F,P.width),Se=window.innerWidth-Ma,re=G1(ut,[Ma,Math.max(Ma,Se-Ce)]);o.style.minWidth=F+"px",o.style.right=re+"px"}const Z=p(),L=window.innerHeight-Ma*2,$=y.scrollHeight,D=window.getComputedStyle(c),W=parseInt(D.borderTopWidth,10),G=parseInt(D.paddingTop,10),K=parseInt(D.borderBottomWidth,10),Y=parseInt(D.paddingBottom,10),te=W+G+$+Y+K,q=Math.min(w.offsetHeight*5,te),j=window.getComputedStyle(y),X=parseInt(j.paddingTop,10),H=parseInt(j.paddingBottom,10),ae=I.top+I.height/2-Ma,le=L-ae,Ee=w.offsetHeight/2,me=w.offsetTop+Ee,ke=W+G+me,Le=te-ke;if(ke<=ae){const Xe=Z.length>0&&w===Z[Z.length-1].ref.current;o.style.bottom="0px";const ut=c.clientHeight-y.offsetTop-y.offsetHeight,it=Math.max(le,Ee+(Xe?H:0)+ut+K),F=ke+it;o.style.height=F+"px"}else{const Xe=Z.length>0&&w===Z[0].ref.current;o.style.top="0px";const it=Math.max(ae,W+y.offsetTop+(Xe?X:0)+Ee)+Le;o.style.height=it+"px",y.scrollTop=ke-ae+y.offsetTop}o.style.margin=`${Ma}px 0`,o.style.minHeight=q+"px",o.style.maxHeight=L+"px",r?.(),requestAnimationFrame(()=>g.current=!0)}},[p,s.trigger,s.valueNode,o,c,y,w,S,s.dir,r]);Tr(()=>E(),[E]);const[T,R]=A.useState();Tr(()=>{c&&R(window.getComputedStyle(c).zIndex)},[c]);const N=A.useCallback(I=>{I&&b.current===!0&&(E(),_?.(),b.current=!1)},[E,_]);return x.jsx(X_e,{scope:n,contentWrapper:o,shouldExpandOnScrollRef:g,onScrollButtonChange:N,children:x.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:x.jsx(Et.div,{...i,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});kK.displayName=K_e;var Y_e="SelectPopperPosition",nT=A.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Ma,...s}=t,a=wS(n);return x.jsx(e3,{...a,...s,ref:e,align:r,collisionPadding:i,style:{boxSizing:"border-box",...s.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)"}})});nT.displayName=Y_e;var[X_e,n3]=yp(Nd,{}),rT="SelectViewport",CK=A.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...i}=t,s=fu(rT,n),a=n3(rT,n),o=Yt(e,s.onViewportChange),l=A.useRef(0);return x.jsxs(x.Fragment,{children:[x.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}),x.jsx(yS.Slot,{scope:n,children:x.jsx(Et.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:o,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:Je(i.onScroll,c=>{const d=c.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:p}=a;if(p?.current&&f){const g=Math.abs(l.current-d.scrollTop);if(g>0){const b=window.innerHeight-Ma*2,y=parseFloat(f.style.minHeight),w=parseFloat(f.style.height),S=Math.max(y,w);if(S<b){const _=S+g,E=Math.min(b,_),T=_-E;f.style.height=E+"px",f.style.bottom==="0px"&&(d.scrollTop=T>0?T:0,f.style.justifyContent="flex-end")}}}l.current=d.scrollTop})})})]})});CK.displayName=rT;var TK="SelectGroup",[Z_e,Q_e]=yp(TK),J_e=A.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,i=Va();return x.jsx(Z_e,{scope:n,id:i,children:x.jsx(Et.div,{role:"group","aria-labelledby":i,...r,ref:e})})});J_e.displayName=TK;var AK="SelectLabel",RK=A.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,i=Q_e(AK,n);return x.jsx(Et.div,{id:i.id,...r,ref:e})});RK.displayName=AK;var X1="SelectItem",[exe,NK]=yp(X1),OK=A.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:s,...a}=t,o=hu(X1,n),l=fu(X1,n),c=o.value===r,[d,f]=A.useState(s??""),[p,g]=A.useState(!1),b=Yt(e,_=>l.itemRefCallback?.(_,r,i)),y=Va(),w=A.useRef("touch"),S=()=>{i||(o.onValueChange(r),o.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 x.jsx(exe,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:A.useCallback(_=>{f(E=>E||(_?.textContent??"").trim())},[]),children:x.jsx(yS.ItemSlot,{scope:n,value:r,disabled:i,textValue:d,children:x.jsx(Et.div,{role:"option","aria-labelledby":y,"data-highlighted":p?"":void 0,"aria-selected":c&&p,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:b,onFocus:Je(a.onFocus,()=>g(!0)),onBlur:Je(a.onBlur,()=>g(!1)),onClick:Je(a.onClick,()=>{w.current!=="mouse"&&S()}),onPointerUp:Je(a.onPointerUp,()=>{w.current==="mouse"&&S()}),onPointerDown:Je(a.onPointerDown,_=>{w.current=_.pointerType}),onPointerMove:Je(a.onPointerMove,_=>{w.current=_.pointerType,i?l.onItemLeave?.():w.current==="mouse"&&_.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Je(a.onPointerLeave,_=>{_.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:Je(a.onKeyDown,_=>{l.searchRef?.current!==""&&_.key===" "||(z_e.includes(_.key)&&S(),_.key===" "&&_.preventDefault())})})})})});OK.displayName=X1;var Ym="SelectItemText",IK=A.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:i,...s}=t,a=hu(Ym,n),o=fu(Ym,n),l=NK(Ym,n),c=$_e(Ym,n),[d,f]=A.useState(null),p=Yt(e,S=>f(S),l.onItemTextChange,S=>o.itemTextRefCallback?.(S,l.value,l.disabled)),g=d?.textContent,b=A.useMemo(()=>x.jsx("option",{value:l.value,disabled:l.disabled,children:g},l.value),[l.disabled,l.value,g]),{onNativeOptionAdd:y,onNativeOptionRemove:w}=c;return Tr(()=>(y(b),()=>w(b)),[y,w,b]),x.jsxs(x.Fragment,{children:[x.jsx(Et.span,{id:l.textId,...s,ref:p}),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?v0.createPortal(s.children,a.valueNode):null]})});IK.displayName=Ym;var DK="SelectItemIndicator",MK=A.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return NK(DK,n).isSelected?x.jsx(Et.span,{"aria-hidden":!0,...r,ref:e}):null});MK.displayName=DK;var iT="SelectScrollUpButton",LK=A.forwardRef((t,e)=>{const n=fu(iT,t.__scopeSelect),r=n3(iT,t.__scopeSelect),[i,s]=A.useState(!1),a=Yt(e,r.onScrollButtonChange);return Tr(()=>{if(n.viewport&&n.isPositioned){let o=function(){const c=l.scrollTop>0;s(c)};const l=n.viewport;return o(),l.addEventListener("scroll",o),()=>l.removeEventListener("scroll",o)}},[n.viewport,n.isPositioned]),i?x.jsx(PK,{...t,ref:a,onAutoScroll:()=>{const{viewport:o,selectedItem:l}=n;o&&l&&(o.scrollTop=o.scrollTop-l.offsetHeight)}}):null});LK.displayName=iT;var sT="SelectScrollDownButton",BK=A.forwardRef((t,e)=>{const n=fu(sT,t.__scopeSelect),r=n3(sT,t.__scopeSelect),[i,s]=A.useState(!1),a=Yt(e,r.onScrollButtonChange);return Tr(()=>{if(n.viewport&&n.isPositioned){let o=function(){const c=l.scrollHeight-l.clientHeight,d=Math.ceil(l.scrollTop)<c;s(d)};const l=n.viewport;return o(),l.addEventListener("scroll",o),()=>l.removeEventListener("scroll",o)}},[n.viewport,n.isPositioned]),i?x.jsx(PK,{...t,ref:a,onAutoScroll:()=>{const{viewport:o,selectedItem:l}=n;o&&l&&(o.scrollTop=o.scrollTop+l.offsetHeight)}}):null});BK.displayName=sT;var PK=A.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=t,s=fu("SelectScrollButton",n),a=A.useRef(null),o=vS(n),l=A.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return A.useEffect(()=>()=>l(),[l]),Tr(()=>{o().find(d=>d.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[o]),x.jsx(Et.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:Je(i.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(r,50))}),onPointerMove:Je(i.onPointerMove,()=>{s.onItemLeave?.(),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Je(i.onPointerLeave,()=>{l()})})}),txe="SelectSeparator",FK=A.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return x.jsx(Et.div,{"aria-hidden":!0,...r,ref:e})});FK.displayName=txe;var aT="SelectArrow",nxe=A.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,i=wS(n),s=hu(aT,n),a=fu(aT,n);return s.open&&a.position==="popper"?x.jsx(t3,{...i,...r,ref:e}):null});nxe.displayName=aT;var rxe="SelectBubbleInput",zK=A.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const i=A.useRef(null),s=Yt(r,i),a=hK(e);return A.useEffect(()=>{const o=i.current;if(!o)return;const l=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==e&&d){const f=new Event("change",{bubbles:!0});d.call(o,e),o.dispatchEvent(f)}},[a,e]),x.jsx(Et.select,{...n,style:{...fK,...n.style},ref:s,defaultValue:e})});zK.displayName=rxe;function UK(t){return t===""||t===void 0}function jK(t){const e=Ya(t),n=A.useRef(""),r=A.useRef(0),i=A.useCallback(a=>{const o=n.current+a;e(o),(function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))})(o)},[e]),s=A.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return A.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,s]}function HK(t,e,n){const i=e.length>1&&Array.from(e).every(c=>c===e[0])?e[0]:e,s=n?t.indexOf(n):-1;let a=ixe(t,Math.max(s,0));i.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.textValue.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function ixe(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var sxe=mK,$K=bK,axe=vK,oxe=wK,lxe=SK,VK=_K,cxe=CK,GK=RK,qK=OK,uxe=IK,dxe=MK,WK=LK,KK=BK,YK=FK;const hxe=sxe,fxe=axe,XK=A.forwardRef(({className:t,children:e,...n},r)=>x.jsxs($K,{ref:r,className:tt("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,x.jsx(oxe,{asChild:!0,children:x.jsx(G4,{className:"h-4 w-4 opacity-50"})})]}));XK.displayName=$K.displayName;const ZK=A.forwardRef(({className:t,...e},n)=>x.jsx(WK,{ref:n,className:tt("flex cursor-default items-center justify-center py-1",t),...e,children:x.jsx(Oce,{className:"h-4 w-4"})}));ZK.displayName=WK.displayName;const QK=A.forwardRef(({className:t,...e},n)=>x.jsx(KK,{ref:n,className:tt("flex cursor-default items-center justify-center py-1",t),...e,children:x.jsx(G4,{className:"h-4 w-4"})}));QK.displayName=KK.displayName;const JK=A.forwardRef(({className:t,children:e,position:n="popper",...r},i)=>x.jsx(lxe,{children:x.jsxs(VK,{ref:i,className:tt("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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]:sli
62de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",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",t),position:n,...r,children:[x.jsx(ZK,{}),x.jsx(cxe,{className:tt("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),x.jsx(QK,{})]})}));JK.displayName=VK.displayName;const pxe=A.forwardRef(({className:t,...e},n)=>x.jsx(GK,{ref:n,className:tt("px-2 py-1.5 text-sm font-semibold",t),...e}));pxe.displayName=GK.displayName;const ef=A.forwardRef(({className:t,children:e,...n},r)=>x.jsxs(qK,{ref:r,className:tt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[x.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(dxe,{children:x.jsx(V4,{className:"h-4 w-4"})})}),x.jsx(uxe,{children:e})]}));ef.displayName=qK.displayName;const mxe=A.forwardRef(({className:t,...e},n)=>x.jsx(YK,{ref:n,className:tt("-mx-1 my-1 h-px bg-muted",t),...e}));mxe.displayName=YK.displayName;const eY=A.forwardRef(({className:t,...e},n)=>x.jsx("textarea",{className:tt("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...e}));eY.displayName="Textarea";const gxe=m0("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",warning:"border-yellow-500/50 text-yellow-900 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-950/30 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-500"}},defaultVariants:{variant:"default"}}),tY=A.forwardRef(({className:t,variant:e,...n},r)=>x.jsx("div",{ref:r,role:"alert",className:tt(gxe({variant:e}),t),...n}));tY.displayName="Alert";const bxe=A.forwardRef(({className:t,...e},n)=>x.jsx("h5",{ref:n,className:tt("mb-1 font-medium leading-none tracking-tight",t),...e}));bxe.displayName="AlertTitle";const nY=A.forwardRef(({className:t,...e},n)=>x.jsx("div",{ref:n,className:tt("text-sm [&_p]:leading-relaxed",t),...e}));nY.displayName="AlertDescription";const yxe={submitContact:async t=>{const e=await fetch(I1.CONTACT_SUBMIT,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!e.ok)throw new Error("Failed to submit contact form");return e.json()}},vxe=()=>{const[t,e]=A.useState({firstName:"",lastName:"",businessEmail:"",role:"",companyName:"",companySize:"",message:""}),[n,r]=A.useState(!1),[i,s]=A.useState(!1),[a,o]=A.useState({type:null,message:""}),[l,c]=A.useState({}),d=()=>{const b={};return t.firstName.trim()||(b.firstName="First name is required"),t.lastName.trim()||(b.lastName="Last name is required"),t.businessEmail.trim()?/\S+@\S+\.\S+/.test(t.businessEmail)||(b.businessEmail="Please enter a valid email address"):b.businessEmail="Business email is required",t.role.trim()||(b.role="Role is required"),t.companyName.trim()||(b.companyName="Company name is required"),t.companySize||(b.companySize="Company size is required"),c(b),Object.keys(b).length===0},f=b=>y=>{e(w=>({...w,[b]:y.target.value})),l[b]&&c(w=>({...w,[b]:void 0})),a.type&&o({type:null,message:""})},p=b=>y=>{e(w=>({...w,[b]:y})),l[b]&&c(w=>({...w,[b]:void 0})),a.type&&o({type:null,message:""})},g=async b=>{if(b.preventDefault(),!!d()){r(!0),o({type:null,message:""});try{const y=await yxe.submitContact(t);if(y.success)s(!0),o({type:"success",message:y.message||"Thank you! Your message has been sent successfully. We'll get back to you soon!"}
62),e({firstName:"",lastName:"",businessEmail:"",role:"",companyName:"",companySize:"",message:""}),setTimeout(()=>{s(!1)},3e3);else throw new Error(y.message||"Failed to submit form")}catch(y){console.error("Contact form submission error:",y),o({type:"error",message:"Sorry, there was an error sending your message. Please try again or contact us directly."})}finally{r(!1)}}};return x.jsx(iS,{navbarClassName:"!bg-transparent !border-none",children:x.jsxs("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center py-24 px-4 sm:px-6 md:px-8 lg:px-12 overflow-hidden relative",children:[x.jsx("div",{className:"absolute top-0 left-0 right-0 h-32 bg-linear-to-b from-background to-transparent z-20 pointer-events-none"}),x.jsxs("div",{className:"w-full max-w-4xl relative z-2",children:[x.jsxs(Yv.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-16",children:[x.jsx("p",{className:"text-[10px] sm:text-xs font-semibold text-blue-500/80 tracking-[0.2em] uppercase mb-4 font-primary",children:"Get in touch"}),x.jsxs("h1",{className:"text-4xl md:text-6xl font-medium leading-tight text-white tracking-tight font-primary mb-6",children:["Let's build the future"," ",x.jsx("span",{className:"text-neutral-500",children:"together"})]}),x.jsx("p",{className:"text-neutral-400 text-lg max-w-xl mx-auto leading-relaxed",children:"Have questions about our reasoning models or enterprise solutions? Our team is here to help."})]}),x.jsx(Vfe,{children:a.type&&x.jsx(Yv.div,{initial:{opacity:0,height:0,marginBottom:0},animate:{opacity:1,height:"auto",marginBottom:24},exit:{opacity:0,height:0,marginBottom:0},className:"overflow-hidden",children:x.jsxs(tY,{variant:a.type==="success"?"default":"destructive",className:"bg-white/5 border-white/10 text-white rounded-2xl backdrop-blur-md",children:[a.type==="success"?x.jsx(Lce,{className:"h-4 w-4 text-green-500"}):x.jsx(Dce,{className:"h-4 w-4 text-red-500"}),x.jsx(nY,{className:"font-primary ml-2",children:a.message})]})})}),x.jsx(Yv.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:x.jsxs("form",{onSubmit:g,className:"space-y-8 bg-neutral-900/40 backdrop-blur-xl p-8 md:p-12 rounded-4xl border border-white/5 shadow-2xl relative overflow-hidden group",children:[x.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-white/[0.02] rounded-full blur-3xl -mr-32 -mt-32 pointer-events-none group-hover:bg-white/[0.04] transition-colors duration-700"}),x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 relative z-10",children:[x.jsxs("div",{className:"space-y-6",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"firstName",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"First name"}),x.jsx("input",{id:"firstName",value:t.firstName,onChange:f("firstName"),autoComplete:"given-name",placeholder:"Jane",disabled:n,className:tt("w-full h-12 px-4 rounded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.firstName&&"border-red-500/50")}),l.firstName&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.firstName})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"businessEmail",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Business email"}),x.jsx("input",{id:"businessEmail",type:"email",value:t.businessEmail,onChange:f("businessEmail"),autoComplete:"email",placeholder:"[email protected]",disabled:n,className:tt("w-full h-12 px-4 rounded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.businessEmail&&"border-red-500/50")}),l.businessEmail&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.businessEmail})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"companyName",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Company name"}),x.jsx("input",{id:"companyName",value:t.companyName,onChange:f("companyName"),autoComplete:"organization",placeholder:"Acme Inc.",disabled:n,className:tt("w-full h-12 px-4 roun
62ded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.companyName&&"border-red-500/50")}),l.companyName&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.companyName})]})]}),x.jsxs("div",{className:"space-y-6",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"lastName",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Last name"}),x.jsx("input",{id:"lastName",value:t.lastName,onChange:f("lastName"),autoComplete:"family-name",placeholder:"Doe",disabled:n,className:tt("w-full h-12 px-4 rounded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.lastName&&"border-red-500/50")}),l.lastName&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.lastName})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"role",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Role"}),x.jsx("input",{id:"role",value:t.role,onChange:f("role"),autoComplete:"organization-title",placeholder:"CTO",disabled:n,className:tt("w-full h-12 px-4 rounded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.role&&"border-red-500/50")}),l.role&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.role})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Oc,{htmlFor:"companySize",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Company size"}),x.jsxs(hxe,{value:t.companySize,onValueChange:p("companySize"),disabled:n,children:[x.jsx(XK,{className:tt("h-12 rounded-xl bg-white/5 border-white/5 text-white focus:border-white/20 focus:bg-white/10 transition-all font-primary outline-none",l.companySize&&"border-red-500/50"),children:x.jsx(fxe,{placeholder:"Select size"})}),x.jsxs(JK,{className:"bg-neutral-900 border-white/10 text-white rounded-xl backdrop-blur-xl",children:[x.jsx(ef,{value:"1-10",className:"focus:bg-white/10 focus:text-white rounded-lg",children:"1-10 employees"}),x.jsx(ef,{value:"11-50",className:"focus:bg-white/10 focus:text-white rounded-lg",children:"11-50 employees"}),x.jsx(ef,{value:"51-200",className:"focus:bg-white/10 focus:text-white rounded-lg",children:"51-200 employees"}),x.jsx(ef,{value:"201-1000",className:"focus:bg-white/10 focus:text-white rounded-lg",children:"201-1000 employees"}),x.jsx(ef,{value:"1000+",className:"focus:bg-white/10 focus:text-white rounded-lg",children:"1000+ employees"})]})]}),l.companySize&&x.jsx("p",{className:"text-red-400 text-[10px] mt-1 font-primary uppercase tracking-wide font-semibold",children:l.companySize})]})]})]}),x.jsxs("div",{className:"space-y-2 relative z-10",children:[x.jsx(Oc,{htmlFor:"message",className:"text-neutral-400 text-xs font-semibold uppercase tracking-wider ml-1",children:"Message"}),x.jsx(eY,{id:"message",placeholder:"Tell us about your project...",value:t.message,onChange:f("message"),disabled:n,rows:4,className:"rounded-xl bg-white/5 border border-white/5 text-white placeholder:text-white/20 focus:border-white/20 focus:bg-white/10 transition-all resize-none font-primary outline-none"})]}),x.jsxs("div",{className:"space-y-6 pt-4 relative z-10",children:[x.jsx("button",{type:"submit",disabled:n,className:"w-full bg-white hover:bg-neutral-200 text-black rounded-full h-14 text-base font-semibold shadow-xl transition-all hover:scale-[1.02] active:scale-[0.98] disabled:bg-white/40 disabled:scale-100 font-primary flex items-center justify-center gap-2 group/btn",children:n?x.jsxs(x.Fragment,{children:[x.jsx(q4,{className:"h-5 w-5 animate-spin"}),x.jsx("span",{children:"Sending..."})]}):i?"Message Sent ✓":x.jsxs(x.Fragment,{children:[x.jsx("span",{children:"Send Message"}),x.jsx($4,{className:"w-5 h-5 transition-transform group-hover/btn:translate-x-1"})]})}),x.jsxs("p",{className:"text-[10px] text-neutral-500 text-center leading-relaxed font-primary uppercase tracking-[0.05em]",children:["By submitting, you agree to our"," ",x.jsx(Tn,{to:"/terms",className:"text-neutral-400 underline cursor-pointer hover:text-white transition-colors",children:"Terms"})," ","and"," ",x.jsx(Tn,{to:"/privacy",className:"text-neutral-400 underline cursor-pointer hover:text-white transition-colors",children:"Privacy Policy"})]})]})]})})]})]})})};function wxe({className:t,children:e}){return x.jsxs("div",{className:tt("h-full w-full bg-background dark:bg-grid-white/[0.2] bg-grid-black/[0.2] relative flex items-center justify-center",t),children:[x.jsx("div",{className:"absolute pointer-events-none inset-0 flex items-center justify-center bg-background [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)]"}),e]})}const Sxe=({className:t,...e})=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",className:t,...e,children:[x.jsx("path",{fill:"#FFC107",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),x.jsx("path",{fill:"#FF3D00",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),x.jsx("path",{fill:"#4CAF50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),x.jsx("path",{fill:"#1976D2",d:"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.5
6271c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"})]}),Z1="ct_referral_data",_xe=7;function xxe(t){if(!t.capturedAt)return!0;const e=new Date(t.capturedAt);return(new Date().getTime()-e.getTime())/(1e3*60*60*24)>_xe}function Exe(t){if(typeof window>"u")return;const e=new URLSearchParams(window.location.search),n={referralSource:e.get("ref")||void 0,utmSource:e.get("utm_source")||void 0,utmMedium:e.get("utm_medium")||void 0,utmCampaign:e.get("utm_campaign")||void 0,productSource:t,capturedAt:new Date().toISOString()};(n.referralSource||n.utmSource||n.utmCampaign)&&localStorage.setItem(Z1,JSON.stringify(n))}function kxe(){if(typeof window>"u")return null;const t=localStorage.getItem(Z1);if(!t)return null;try{const e=JSON.parse(t);return xxe(e)?(localStorage.removeItem(Z1),null):e}catch{return null}}function D$e(){typeof window>"u"||localStorage.removeItem(Z1)}function Cxe(){const t=kxe();return t?{referralSource:t.referralSource,utmSource:t.utmSource,utmMedium:t.utmMedium,utmCampaign:t.utmCampaign,productSource:t.productSource}:null}const Txe=()=>{const t=["AI reasoning just got ","From ","Where breakthrough "];A.useEffect(()=>{Exe("corethink")},[]);const e=n=>{const r=encodeURIComponent(window.location.origin),i=Cxe();let s=`${n}?redirect_origin=${r}`;return i&&(i.referralSource&&(s+=`&ref=${encodeURIComponent(i.referralSource)}`),i.utmSource&&(s+=`&utm_source=${encodeURIComponent(i.utmSource)}`),i.utmMedium&&(s+=`&utm_medium=${encodeURIComponent(i.utmMedium)}`),i.utmCampaign&&(s+=`&utm_campaign=${encodeURIComponent(i.utmCampaign)}`),i.productSource&&(s+=`&product_source=${encodeURIComponent(i.productSource)}`)),s};return x.jsxs("div",{className:"min-h-screen bg-black relative flex flex-col overflow-hidden",children:[x.jsx("div",{className:"absolute inset-0 w-full h-full",children:x.jsx($R,{id:"tsparticlessignin",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:100,className:"w-full h-full",particleColor:"#FFFFFF"})}),x.jsx(wxe,{className:"absolute inset-0 z-0 !bg-black [&>div]:!bg-black"}),x.jsx("div",{className:"relative z-[2] p-6 md:p-8 flex justify-start",children:x.jsx(Tn,{to:"/",className:"no-underline",children:x.jsx("img",{src:R1,alt:"CoreThink Logo",className:"h-[42px] md:h-[60px] w-auto",style:{filter:"drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1))"}})})}),x.jsx("div",{className:"flex-1 flex items-center justify-center relative z-[2] pb-12 md:pb-16 max-w-7xl mx-auto w-full",children:x.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-12 md:gap-24 w-full px-4 sm:px-8",children:[x.jsxs("div",{className:"flex-1 text-center md:text-left animate-in fade-in duration-800",children:[x.jsx("h1",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-bold leading-none mb-2 bg-gradient-to-br from-white to-white/80 bg-clip-text text-transparent tracking-tight pb-8",children:"CoreThink"}),x.jsx("div",{className:"space-y-4",children:t.map((n,r)=>x.jsxs("p",{className:"text-base md:text-lg text-neutral-400 font-normal leading-relaxed",children:[n,x.jsx("span",{className:"text-blue-500 font-semibold",children:r===0?"Better":r===1?"Prompt to Proof":"AI Starts Here"})]},r))})]}),x.jsx("div",{className:"w-full max-w-[400px] animate-in fade-in duration-1000",children:x.jsxs(lp,{className:"bg-neutral-900/50 backdrop-blur-[20px] border border-white/10 rounded-3xl p-6 sm:p-8 shadow-2xl transition-all duration-300 hover:-translate-y-1 hover:shadow-[0_0_30px_rgba(37,99,235,0.15)]",children:[x.jsx("div",{className:"mb-6 text-center",children:x.jsxs("div",{className:"inline-flex items-center bg-white/5 backdrop-blur-md rounded-[20px] px-4 py-2 border border-white/10",children:[x.jsx($V,{className:"h-4 w-4 text-blue-500 mr-2"}),x.jsx("span",{className:"text-sm font-semibold text-neutral-300",children:"Welcome Back"})]})}),x.jsxs("div",{className:"space-y-5",children:[x.jsxs(oi,{variant:"default",className:"w-full py-6 text-base font-medium rounded-xl bg-white text-black shadow-md hover:bg-neutral-100 transition-all duration-300 hover:-translate-y-0.5 hover:shadow-lg normal-case",onClick:()=>{window.location.href=e(I1.AUTH_GOOGLE)},children:[x.jsx(Sxe,{className:"h-5 w-5"}),x.jsx("span",{className:"ml-2",children:"Sign in with Google"})]}),x.jsxs(oi,{variant:"outline",className:"w-full py-6 text-base font-medium rounded-xl border-white/10 text-white bg-neutral-800 hover:bg-neutral-700 hover:border-white/20 transition-all duration-300 hover:-translate-y-0.5 hover:shadow-md normal-case",onClick:()=>{window.location.href=e(I1.AUTH_GITHUB)},children:[x.jsx(jce,{className:"h-5 w-5"}),x.jsx("span",{className:"ml-2",children:"Sign in with GitHub"})]}),x.jsx("div",{className:"text-center mt-6",children:x.jsxs("p",{className:"text-xs text-neutral-500 leading-relaxed",children:["By signing up, I agree to the CoreThink AI"," ",x.jsx(Tn,{to:"/privacy",className:"underline cursor-pointer transition-colors hover:text-neutral-300",children:"privacy policy"})," ","and"," ",x.jsx(Tn,{to:"/terms",className:"underline cursor-pointer transition-colors hover:text-neutral-300",children:"terms of service"})]})})]})]})})]})})]})};var A2="rovingFocusGroup.onEntryFocus",Axe={bubbles:!1,cancelable:!0},N0="RovingFocusGroup",[oT,rY,Rxe]=fS(N0),[Nxe,SS]=$o(N0,[Rxe]),[Oxe,Ixe]=Nxe(N0),iY=A.forwardRef((t,e)=>x.jsx(oT.Provider,{scope:t.__scopeRovingFocusGroup,children:x.jsx(oT.Slot,{scope:t.__scopeRovingFocusGroup,children:x.jsx(Dxe,{...t,ref:e})})}));iY.displayName=N0;var Dxe=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:s,currentTabStopId:a,defaultCurrentTabStopId:o,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:d=!1,...f}=t,p=A.useRef(null),g=Yt(e,p),b=A0(s),[y,w]=Kc({prop:a,defaultProp:o??null,onChange:l,caller:N0}),[S,_]=A.useState(!1),E=Ya(c),T=rY(n),R=A.useRef(!1),[N,I]=A.useState(0);return A.useEffect(()=>{const P=p.current;
vendor: 4,943 bytes, line 62
62if(P)return P.addEventListener(A2,E),()=>P.removeEventListener(A2,E)},[E]),x.jsx(Oxe,{scope:n,orientation:r,dir:b,loop:i,currentTabStopId:y,onItemFocus:A.useCallback(P=>w(P),[w]),onItemShiftTab:A.useCallback(()=>_(!0),[]),onFocusableItemAdd:A.useCallback(()=>I(P=>P+1),[]),onFocusableItemRemove:A.useCallback(()=>I(P=>P-1),[]),children:x.jsx(Et.div,{tabIndex:S||N===0?-1:0,"data-orientation":r,...f,ref:g,style:{outline:"none",...t.style},onMouseDown:Je(t.onMouseDown,()=>{R.current=!0}),onFocus:Je(t.onFocus,P=>{const z=!R.current;if(P.target===P.currentTarget&&z&&!S){const U=new CustomEvent(A2,Axe);if(P.currentTarget.dispatchEvent(U),!U.defaultPrevented){const Z=T().filter(G=>G.focusable),L=Z.find(G=>G.active),$=Z.find(G=>G.id===y),W=[L,$,...Z].filter(Boolean).map(G=>G.ref.current);oY(W,d)}}R.current=!1}),onBlur:Je(t.onBlur,()=>_(!1))})})}),sY="RovingFocusGroupItem",aY=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,children:a,...o}=t,l=Va(),c=s||l,d=Ixe(sY,n),f=d.currentTabStopId===c,p=rY(n),{onFocusableItemAdd:g,onFocusableItemRemove:b,currentTabStopId:y}=d;return A.useEffect(()=>{if(r)return g(),()=>b()},[r,g,b]),x.jsx(oT.ItemSlot,{scope:n,id:c,focusable:r,active:i,children:x.jsx(Et.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...o,ref:e,onMouseDown:Je(t.onMouseDown,w=>{r?d.onItemFocus(c):w.preventDefault()}),onFocus:Je(t.onFocus,()=>d.onItemFocus(c)),onKeyDown:Je(t.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){d.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const S=Bxe(w,d.orientation,d.dir);if(S!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let E=p().filter(T=>T.focusable).map(T=>T.ref.current);if(S==="last")E.reverse();else if(S==="prev"||S==="next"){S==="prev"&&E.reverse();const T=E.indexOf(w.currentTarget);E=d.loop?Pxe(E,T+1):E.slice(T+1)}setTimeout(()=>oY(E))}}),children:typeof a=="function"?a({isCurrentTabStop:f,hasTabStop:y!=null}):a})})});aY.displayName=sY;var Mxe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Lxe(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Bxe(t,e,n){const r=Lxe(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Mxe[r]}function oY(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function Pxe(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var lY=iY,cY=aY,_S="Tabs",[Fxe]=$o(_S,[SS]),uY=SS(),[zxe,r3]=Fxe(_S),dY=A.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:s,orientation:a="horizontal",dir:o,activationMode:l="automatic",...c}=t,d=A0(o),[f,p]=Kc({prop:r,onChange:i,defaultProp:s??"",caller:_S});return x.jsx(zxe,{scope:n,baseId:Va(),value:f,onValueChange:p,orientation:a,dir:d,activationMode:l,children:x.jsx(Et.div,{dir:d,"data-orientation":a,...c,ref:e})})});dY.displayName=_S;var hY="TabsList",fY=A.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...i}=t,s=r3(hY,n),a=uY(n);return x.jsx(lY,{asChild:!0,...a,orientation:s.orientation,dir:s.dir,loop:r,children:x.jsx(Et.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:e})})});fY.displayName=hY;var pY="TabsTrigger",mY=A.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...s}=t,a=r3(pY,n),o=uY(n),l=yY(a.baseId,r),c=vY(a.baseId,r),d=r===a.value;return x.jsx(cY,{asChild:!0,...o,focusable:!i,active:d,children:x.jsx(Et.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":c,"data-state":d?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l,...s,ref:e,onMouseDown:Je(t.onMouseDown,f=>{!i&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:Je(t.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:Je(t.onFocus,()=>{const f=a.activationMode!=="manual";!d&&!i&&f&&a.onValueChange(r)})})})});mY.displayName=pY;var gY="TabsContent",bY=A.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:i,children:s,...a}=t,o=r3(gY,n),l=yY(o.baseId,r),c=vY(o.baseId,r),d=r===o.value,f=A.useRef(d);return A.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),x.jsx(to,{present:i||d,children:({present:p})=>x.jsx(Et.div,{"data-state":d?"active":"inactive","data-orientation":o.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:c,tabIndex:0,...a,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:p&&s})})});bY.displayName=gY;function yY(t,e){return`${t}-trigger-${e}`}function vY(t,e){return`${t}-content-${e}`}var Uxe=dY,wY=fY,SY=mY,_Y=bY;const M$e=Uxe,jxe=A.forwardRef(({className:t,...e},n)=>x.jsx(wY,{ref:n,className:tt("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));
62jxe.displayName=wY.displayName;const Hxe=A.forwardRef(({className:t,...e},n)=>x.jsx(SY,{ref:n,className:tt("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Hxe.displayName=SY.displayName;const $xe=A.forwardRef(({className:t,...e},n)=>x.jsx(_Y,{ref:n,className:tt("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));$xe.displayName=_Y.displayName;const sF=t=>{let e;const n=new Set,r=(c,d)=>{const f=typeof c=="function"?c(e):c;if(!Object.is(f,e)){const p=e;e=d??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(g=>g(e,p))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>l,subscribe:c=>(n.add(c),()=>n.delete(c))},l=e=t(r,i,o);return o},Vxe=(t=>t?sF(t):sF),Gxe=t=>t;function qxe(t,e=Gxe){const n=Pe.useSyncExternalStore(t.subscribe,Pe.useCallback(()=>e(t.getState()),[t,e]),Pe.useCallback(()=>e(t.getInitialState()),[t,e]));return Pe.useDebugValue(n),n}const aF=t=>{const e=Vxe(t),n=r=>qxe(e,r);return Object.assign(n,e),n},ro=(t=>t?aF(t):aF),Wxe=t=>(e,n,r)=>{const i=r.subscribe;return r.subscribe=((a,o,l)=>{let c=a;if(o){const d=l?.equalityFn||Object.is;let f=a(r.getState());c=p=>{const g=a(p);if(!d(f,g)){const b=f;o(f=g,b)}},l?.fireImmediately&&o(f,f)}return i(c)}),t(e,n,r)},xY=Wxe;function EY(t,e){let n;try{n=t()}catch{return}return{getItem:i=>{var s;const a=l=>l===null?null:JSON.parse(l,void 0),o=(s=n.getItem(i))!=null?s:null;return o instanceof Promise?o.then(a):a(o)},setItem:(i,s)=>n.setItem(i,JSON.stringify(s,void 0)),removeItem:i=>n.removeItem(i)}}const lT=t=>e=>{try{const n=t(e);return n instanceof Promise?n:{then(r){return lT(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return lT(r)(n)}}}},Kxe=(t,e)=>(n,r,i)=>{let s={storage:EY(()=>localStorage),partialize:y=>y,version:0,merge:(y,w)=>({...w,...y}),...e},a=!1;const o=new Set,l=new Set;let c=s.storage;if(!c)return t((...y)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...y)},r,i);const d=()=>{const y=s.partialize({...r()});return c.setItem(s.name,{state:y,version:s.version})},f=i.setState;i.setState=(y,w)=>(f(y,w),d());const p=t((...y)=>(n(...y),d()),r,i);i.getInitialState=()=>p;let g;const b=()=>{var y,w;if(!c)return;a=!1,o.forEach(_=>{var E;return _((E=r())!=null?E:p)});const S=((w=s.onRehydrateStorage)==null?void 0:w.call(s,(y=r())!=null?y:p))||void 0;return lT(c.getItem.bind(c))(s.name).then(_=>{if(_)if(typeof _.version=="number"&&_.version!==s.version){if(s.migrate){const E=s.migrate(_.state,_.version);return E instanceof Promise?E.then(T=>[!0,T]):[!0,E]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,_.state];return[!1,void 0]}).then(_=>{var E;const[T,R]=_;if(g=s.merge(R,(E=r())!=null?E:p),n(g,!0),T)return d()}).then(()=>{S?.(g,void 0),g=r(),a=!0,l.forEach(_=>_(g))}).catch(_=>{S?.(void 0,_)})};return i.persist={setOptions:y=>{s={...s,...y},y.storage&&(c=y.storage)},clearStorage:()=>{c?.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>b(),hasHydrated:()=>a,onHydrate:y=>(o.add(y),()=>{o.delete(y)}),onFinishHydration:y=>(l.add(y),()=>{l.delete(y)})},s.skipHydration||b(),g||p},kY=Kxe,Gy={PST:"America/Los_Angeles",IST:"Asia/Kolkata"},L$e={"America/Los_Angeles":"PST","Asia/Kolkata":"IST"};function Yxe(){if(typeof window>"u")return!0;try{const t=localStorage.getItem("app-storage");if(t)return JSON.parse(t).state?.mode??!0}catch{}return!0}function Xxe(){if(typeof window>"u")return Gy.PST;try{const t=localStorage.getItem("app-storage");if(t){const n=JSON.parse(t).state?.adminTimezone;if(n===Gy.PST||n===Gy.IST)return n}}catch{}return Gy.PST}const CY=Yxe(),Zxe=Xxe();typeof window<"u"&&(CY?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"));const TY=ro()(kY(t=>({mode:CY,adminTimezone:Zxe,setMode:e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),t({mode:e})},toggleMode:()=>{t(e=>{const n=!e.mode;return n?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),{mode:n}})},setAdminTimezone:e=>{t({adminTimezone:e})}}),{name:"app-storage",storage:EY(()=>localStorage),onRehydrateStorage:()=>t=>{t?.mode?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}})),Qxe=t=>{try{const e=JSON.parse(atob(t.split(".")[1])),n=Date.now()/1e3;return e.exp<n}catch{return!0}},AY=t=>{try{const e=JSON.parse(atob(t.split(".")[1])),n=Date.now()/1e3;return e.exp-n<EG.TOKEN_EXPIRY_BUFFER_SECONDS}catch{return!0}};let e1=null;const oF=t=>{RY(),e1=setInterval(async()=>{const{accessToken:e,refreshAccessToken:n}=t;e&&AY(e)&&await n()},EG.TOKEN_REFRESH_CHECK_INTERVAL_MS)},RY=()=>
62{e1&&(clearInterval(e1),e1=null)},tu=ro()(xY((t,e)=>({accessToken:null,refreshToken:null,user:null,isLoading:!1,isInitialized:!1,isAuthenticated:!1,login:(n,r)=>{localStorage.setItem(wl.ACCESS_TOKEN,n),localStorage.setItem(wl.REFRESH_TOKEN,r),t({accessToken:n,refreshToken:r,isAuthenticated:!0}),e().fetchUserInfo(n),oF(e())},logout:()=>{localStorage.removeItem(wl.ACCESS_TOKEN),localStorage.removeItem(wl.REFRESH_TOKEN),localStorage.removeItem(wl.ORGANIZATION),RY(),t({accessToken:null,refreshToken:null,user:null,isAuthenticated:!1})},setUser:n=>t({user:n}),setIsLoading:n=>t({isLoading:n}),fetchUserInfo:async n=>{try{const r=await fetch(`${xd.BASE_URL}${Cg.AUTH.USER_INFO}`,{headers:{Authorization:`Bearer ${n}`}});if(r.ok){const i=await r.json();i.success&&i.data?t({user:i.data}):t({user:i})}}catch(r){console.error("Failed to fetch user info:",r)}},refreshAccessToken:async()=>{const{refreshToken:n,logout:r,login:i}=e(),s=n||localStorage.getItem(wl.REFRESH_TOKEN);if(!s)return r(),!1;try{const a=await fetch(`${xd.BASE_URL}${Cg.AUTH.REFRESH}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:s})});if(a.ok){const o=await a.json();return i(o.accessToken,o.refreshToken),!0}else return r(),!1}catch(a){return console.error("Token refresh error:",a),r(),!1}},initializeAuth:async()=>{const{isInitialized:n,refreshAccessToken:r}=e();if(n)return;t({isLoading:!0,isInitialized:!0});const i=localStorage.getItem(wl.ACCESS_TOKEN),s=localStorage.getItem(wl.REFRESH_TOKEN);i&&s&&(Qxe(i)?await r():AY(i)?await r():(t({accessToken:i,refreshToken:s,isAuthenticated:!0}),await e().fetchUserInfo(i),oF(e()))),t({isLoading:!1})}}))),lF=ro()(xY(kY((t,e)=>({currentOrganization:null,organizations:[],isLoading:!1,setCurrentOrganization:n=>t({currentOrganization:n}),setOrganizations:n=>t({organizations:n}),setIsLoading:n=>t({isLoading:n}),clearOrganizations:()=>t({currentOrganization:null,organizations:[]}),fetchOrganizations:async()=>{const{accessToken:n,isAuthenticated:r}=tu.getState();if(!(!r||!n))try{t({isLoading:!0});const i=await fetch(`${xd.BASE_URL}${Cg.ORGANIZATION.BASE}`,{headers:{Authorization:`Bearer ${n}`}});if(i.ok){const s=await i.json(),a=s.success?s.data:s;t({organizations:a});const{currentOrganization:o}=e();if(o){const l=a.find(c=>c.id===o.id);l?t({currentOrganization:l}):a.length>0&&t({currentOrganization:a[0]})}else a.length>0&&t({currentOrganization:a[0]})}}catch(i){console.error("Failed to fetch organizations:",i)}finally{t({isLoading:!1})}},refreshOrganizations:async()=>{await e().fetchOrganizations()},refreshCurrentOrganization:async()=>{const{currentOrganization:n,organizations:r}=e(),{accessToken:i}=tu.getState();if(!(!n||!i))try{const s=await fetch(`${xd.BASE_URL}${Cg.ORGANIZATION.BY_ID(n.id)}`,{headers:{Authorization:`Bearer ${i}`}});if(s.ok){const a=await s.json();if(a.success){const o=a.data;t({currentOrganization:o,organizations:r.map(l=>l.id===o.id?o:l)})}}}catch(s){console.error("Failed to refresh current organization:",s)}}}),{name:wl.ORGANIZATION,partialize:t=>({currentOrganization:t.currentOrganization})})));tu.subscribe(t=>t.isAuthenticated,t=>{t?lF.getState().fetchOrganizations():lF.getState().clearOrganizations()});const cF={currentStep:1,selectedModel:null,selectedProvider:"corethink",organizationName:"",apiKeyName:"",generatedApiKey:null};ro()(t=>({...cF,setCurrentStep:e=>t({currentStep:e}),setSelectedModel:e=>t({selectedModel:e}),setSelectedProvider:e=>t({selectedProvider:e}),setOrganizationName:e=>t({organizationName:e}),setApiKeyName:e=>t({apiKeyName:e}),setGeneratedApiKey:e=>t({generatedApiKey:e}),goToNextStep:()=>t(e=>({currentStep:Math.min(e.currentStep+1,3)})),goToPreviousStep:()=>t(e=>({currentStep:Math.max(e.currentStep-1,1)})),reset:()=>t(cF)}));const uF=640,dF=768,B$e=ro()(t=>({isMobile:typeof window<"u"?window.matchMedia(`(max-width: ${uF}px)`).matches:!1,isTablet:typeof window<"u"?window.matchMedia(`(max-width: ${dF}px)`).matches:!1,sidebarOpen:!0,settingsOpen:!1,settingsOpenA:!1,settingsOpenB:!1,toolsDialogOpen:!1,anchorEl:null,compareMode:!0,chatToggle:"A",setSidebarOpen:e=>t({sidebarOpen:e}),setSettingsOpen:e=>t({settingsOpen:e}),setSettingsOpenA:e=>t({settingsOpenA:e}),setSettingsOpenB:e=>t({settingsOpenB:e}),setToolsDialogOpen:e=>t({toolsDialogOpen:e}),setAnchorEl:e=>t({anchorEl:e}),setCompareMode:e=>t({compareMode:e}),setChatToggle:e=>t({chatToggle:e}),toggleSidebar:()=>t(e=>({sidebarOpen:!e.sidebarOpen}
62)),toggleSettings:()=>t(e=>({settingsOpen:!e.settingsOpen})),toggleSettingsA:()=>t(e=>({settingsOpenA:!e.settingsOpenA})),toggleSettingsB:()=>t(e=>({settingsOpenB:!e.settingsOpenB})),toggleToolsDialog:()=>t(e=>({toolsDialogOpen:!e.toolsDialogOpen})),toggleCompare:()=>{t(e=>({compareMode:!e.compareMode}))},toggleChatCompare:()=>t(e=>({chatToggle:e.chatToggle==="A"?"B":"A"})),switchToChatA:()=>t({chatToggle:"A"}),switchToChatB:()=>t({chatToggle:"B"}),handleMenuOpen:e=>t({anchorEl:e.currentTarget}),handleMenuClose:()=>t({anchorEl:null}),initializeResponsive:()=>{const e=window.matchMedia(`(max-width: ${uF}px)`).matches,n=window.matchMedia(`(max-width: ${dF}px)`).matches;t({isMobile:e,isTablet:n,sidebarOpen:!e&&!n})}})),Jxe=[{id:"code-generation",name:"Code Generation",description:"",icon:null,requiresTools:!1}],P$e=We.GPT_OSS_120B;function F$e(t,e){return!t||!t.meta.supportedModels?.length?e:t.meta.supportedModels.map(n=>({id:n.id,name:n.name}))}const cT=[{id:"corethink",name:"CoreThink"}],NY=[{id:We.GPT_OSS_120B,name:"GPT OSS 120B"},{id:We.GPT_OSS_20B,name:"GPT OSS 20B"},{id:We.LLAMA_3_1_8B_INSTANT,name:"Llama 3.1 8B Instant"},{id:We.QWEN3_32B,name:"Qwen 3 32B"},{id:We.KIMI_K2,name:"Kimi K2 Instruct 0905"},{id:We.LLAMA_4_SCOUT_17B,name:"Llama 4 Scout 17B 16E Instruct"},{id:We.LLAMA_4_MAVERICK_17B,name:"Llama 4 Maverick 17B 128E Instruct"},{id:We.DEEPSEEK_R1,name:"DeepSeek R1 0528"},{id:We.DEEPSEEK_CHAT_V3,name:"DeepSeek Chat V3 0324"}],z$e=[{id:"gpt-5",name:"OpenAI GPT-5"},{id:"gpt-oss-120b",name:"GPT OSS 120B"},{id:We.CLAUDE_SONNET_4_5,name:"Claude Sonnet 4.5"},{id:"v3",name:"DeepSeek V3"},{id:"qwen-coder",name:"Qwen3 Coder"}],U$e=[{id:We.GPT_OSS_120B,name:"GPT OSS 120B"},{id:We.LLAMA_4_SCOUT_17B,name:"Llama 4 Scout 17B 16E Instruct"},{id:We.QWEN3_32B,name:"Qwen 3 32B"},{id:We.DEEPSEEK_CHAT_V3,name:"DeepSeek Chat V3 0324"}],OY={id:"nre-reasoner",name:"NRE Reasoner"},IY=[{id:"minimax/minimax-m2.7",name:"MiniMax M2.7"},{id:"minimax/minimax-m2.5",name:"MiniMax M2.5"}],j$e=[{id:We.LLAMA_3_1_70B,name:"Llama 3.1 70B"},{id:"kimi-k2",name:"Kimi K2"}],R2=Jxe[0],hF={selectedSRM:R2,singleModel:cT[0],compareModelA:R2.id==="agentic-reasoner"?OY:cT[0],compareModelB:R2.id==="agentic-reasoner"?IY[1]:NY[0],temperature:.7,outputLength:8e3,systemMessage:"",selectedTools:[]},H$e=ro()(t=>({...hF,setSelectedSRM:e=>t({selectedSRM:e}),setSingleModel:e=>t({singleModel:e}),setCompareModelA:e=>t({compareModelA:e}),setCompareModelB:e=>t({compareModelB:e}),setTemperature:e=>t({temperature:e}),setOutputLength:e=>t({outputLength:e}),setSystemMessage:e=>t({systemMessage:e}),setSelectedTools:e=>t({selectedTools:e}),handleSRMChange:e=>{t({selectedSRM:e}),e.requiresTools||t({selectedTools:[]}),e.id==="agentic-reasoner"?t({compareModelA:OY,compareModelB:IY[1]}):t({compareModelA:cT[0],compareModelB:NY[0]})},resetToDefaults:()=>t(hF)})),$$e=ro()((t,e)=>({input:"",editMessageId:null,singleMessages:[],singleIsLoading:!1,singleStreamingContent:"",singleIterations:[],compareMessagesA:[],compareMessagesB:[],compareIsLoadingA:!1,compareIsLoadingB:!1,compareStreamingContentA:"",compareStreamingContentB:"",compareIterationsA:[],compareIterationsB:[],insufficientCreditsOpen:!1,currentBalance:0,setInput:n=>t({input:n}),setEditMessageId:n=>t({editMessageId:n}),setSingleMessages:n=>t(r=>({singleMessages:typeof n=="function"?n(r.singleMessages):n})),setSingleIsLoading:n=>t({singleIsLoading:n}),setSingleStreamingContent:n=>t({singleStreamingContent:n}),setSingleIterations:n=>t(r=>({singleIterations:typeof n=="function"?n(r.singleIterations):n})),addSingleMessage:n=>t(r=>({singleMessages:[...r.singleMessages,n]})),setCompareMessagesA:n=>t(r=>({compareMessagesA:typeof n=="function"?n(r.compareMessagesA):n})),setCompareMessagesB:n=>t(r=>({compareMessagesB:typeof n=="function"?n(r.compareMessagesB):n})),setCompareIsLoadingA:n=>t({compareIsLoadingA:n}),setCompareIsLoadingB:n=>t({compareIsLoadingB:n}),setCompareStreamingContentA:n=>t({compareStreamingContentA:n}),setCompareStreamingContentB:n=>t({compareStreamingContentB:n}),setCompareIterationsA:n=>t(r=>({compareIterationsA:typeof n=="function"?n(r.compareIterationsA):n})),setCompareIterationsB:n=>t(r=>({compareIterationsB:typeof n=="function"?n(r.compareIterationsB):n})),addCompareMessageA:n=>t(r=>({compareMessagesA:[...r.compareMessagesA,n]})),addCompareMessageB:n=>
62t(r=>({compareMessagesB:[...r.compareMessagesB,n]})),updateLastCompareMessageA:n=>t(r=>{const i=[...r.compareMessagesA];return i.length>0&&(i[i.length-1]=n(i[i.length-1])),{compareMessagesA:i}}),updateLastCompareMessageB:n=>t(r=>{const i=[...r.compareMessagesB];return i.length>0&&(i[i.length-1]=n(i[i.length-1])),{compareMessagesB:i}}),setInsufficientCreditsOpen:n=>t({insufficientCreditsOpen:n}),setCurrentBalance:n=>t({currentBalance:n}),clearSingleMessages:()=>t({singleMessages:[],singleStreamingContent:"",singleIterations:[],singleIsLoading:!1,input:""}),clearCompareMessages:()=>t({compareMessagesA:[],compareMessagesB:[],compareStreamingContentA:"",compareStreamingContentB:"",compareIterationsA:[],compareIterationsB:[],compareIsLoadingA:!1,compareIsLoadingB:!1,input:""}),clearAllMessages:()=>{e().clearSingleMessages(),e().clearCompareMessages(),t({input:""})},handleEditMessage:(n,r)=>{if(t({editMessageId:n}),r){const{compareMessagesA:i,compareMessagesB:s}=e(),a=i.find(o=>o.id===n);if(a){const o=typeof a.content=="string"?a.content:String(a.content||"");t({input:o,compareMessagesA:i.filter(l=>l.id!==n),compareMessagesB:s.filter(l=>l.id!==n)})}}else{const{singleMessages:i}=e(),s=i.find(a=>a.id===n);if(s){const a=typeof s.content=="string"?s.content:String(s.content||"");t({input:a,singleMessages:i.filter(o=>o.id!==n)})}}},getCurrentMessages:n=>{const r=e();return n?r.compareMessagesA:r.singleMessages},getCurrentStreamingContent:n=>{const r=e();return n?r.compareStreamingContentA:r.singleStreamingContent},isCurrentlyLoading:n=>{const r=e();return n?r.compareIsLoadingA||r.compareIsLoadingB:r.singleIsLoading}})),DY=[{value:"deepseek/deepseek-chat-v3.1",label:"DeepSeek V3.1"},{value:"deepseek/deepseek-r1-0528",label:"DeepSeek R1"},{value:"openai/gpt-oss-120b",label:"GPT OSS 120B"}],Q1=DY[0].value,eEe={"deepseek/deepseek-chat-v3.1":"corethink+deepseekv3.1","deepseek/deepseek-r1-0528":"corethink+r1","openai/gpt-oss-120b":"corethink+gpt-oss-120b"},tEe={"deepseek/deepseek-chat-v3-0324":"deepseek/deepseek-chat-v3.1","gpt-oss-120b":"openai/gpt-oss-120b",corethink:"openai/gpt-oss-120b"},nEe=new Set(DY.map(t=>t.value));function rEe(t){if(!t)return Q1;const e=tEe[t]??t;return nEe.has(e)?e:Q1}function iEe(t){const e=rEe(t);return eEe[e]}const MY={corethink:"CoreThink","corethink+deepseekv3.1":"CoreThink + DeepSeek V3.1","corethink+r1":"CoreThink + DeepSeek R1","corethink+gpt-oss-120b":"CoreThink + GPT OSS 120B","deepseek/deepseek-chat-v3.1":"DeepSeek V3.1","deepseek/deepseek-r1-0528":"DeepSeek R1","openai/gpt-oss-120b":"GPT OSS 120B","deepseek/deepseek-chat-v3-0324":"DeepSeek V3","anthropic/claude-sonnet-4":"Claude Sonnet 4","openai/gpt-4o":"GPT-4o","google/gemini-2.0-flash-001":"Gemini 2.0 Flash","meta-llama/llama-3.3-70b-instruct":"Llama 3.3 70B"};Object.entries(MY).map(([t,e])=>({value:t,label:e}));function V$e(t){return t?MY[t]??t:"Not selected"}const fF={project:null,isLoadingProject:!1,isSandboxRunning:!1,isSandboxStarting:!1,previewUrl:null,isCompareMode:!0,primaryModel:iEe(Q1),secondaryModel:Q1,activeWorkbenchTab:"primary",secondaryProject:null,secondaryIsSandboxRunning:!1,secondaryIsSandboxStarting:!1,secondaryPreviewUrl:null,secondaryPreviewError:null,currentView:"code",leftPanelTab:"chat",device:"desktop",versions:[],isLoadingVersions:!1,isDeploying:!1,primaryLatestDeployment:null,secondaryLatestDeployment:null,deployError:null,previewError:null,autoFixHandler:null,autoFixAttempts:0,lastFixedError:null,showWorkbench:!1,showVersionHistory:!1,previewRefreshKey:0,secondaryPreviewRefreshKey:0,deviceWidths:{desktop:"100%",tablet:"768px",mobile:"375px"}},pF=ro(t=>({...fF,setProject:e=>t({project:e}),setIsLoadingProject:e=>t({isLoadingProject:e}),setIsSandboxRunning:e=>t({isSandboxRunning:e}),setIsSandboxStarting:e=>t({isSandboxStarting:e}),setPreviewUrl:e=>t({previewUrl:e}),setIsCompareMode:e=>t({isCompareMode:e}),setPrimaryModel:e=>t({primaryModel:e}),setSecondaryModel:e=>t({secondaryModel:e}),setActiveWorkbenchTab:e=>t({activeWorkbenchTab:e}),setSecondaryProject:e=>t({secondaryProject:e}),setSecondaryIsSandboxRunning:e=>t({secondaryIsSandboxRunning:e}),setSecondaryIsSandboxStarting:e=>t({secondaryIsSandboxStarting:e}),setSecondaryPreviewUrl:e=>t({secondaryPreviewUrl:e}),setSecondaryPreviewError:e=>t({secondaryPreviewError:e}),setCurrentView:e=>t({currentView:e}),setLeftPanelTab:e=>t({leftPanelTab:e}),setDevice:e=>t({device:e}),setVersions:e=>t({versions:e}),setIsLoadingVersions:e=>t({isLoadingVersions:e}),setIsDeploying:e=>t({isDeploying:e}),setPrimaryLatestDeployment:e=>t({primaryLatestDeployment:e}),setSecondaryLatestDeployment:e=>t({secondaryLatestDeployment:e}),setDeployError:e=>t({deployError:e}),setPreviewError:e=>{e==null?t({previewError:null,autoFixAttempts:0,lastFixedError:null}):t({previewError:e})},setAutoFixHandler:e=>t({autoFixHandler:e}),triggerAutoFix:e=>{const{autoFixHandler:n,lastFixedError:r,autoFixAttempts:i}=pF.getState();if(!n)return;const a=e===r?i+1:1;a>2||(t(o=>({...o,autoFixAttempts:a,lastFixedError:e,previewError:null})),n(e))},setShowWorkbench:e=>t({showWorkbench:e}),setShowVersionHistory:e=>t({showVersionHistory:e}),toggleWorkbench:()=>t(e=>({showWorkbench:!e.showWorkbench})),refreshPreview:e=>t(n=>e?{secondaryPreviewRefreshKey:n.secondaryPreviewRefreshKey+1}:{previewRefreshKey:n.previewRefreshKey+1}),reset:()=>{const e=pF.getState();t({...fF,isCompareMode:e.isCompareMode,primaryModel:e.primaryModel,secondaryModel:e.secondaryModel,activeWorkbenchTab:e.activeWorkbenchTab,autoFixHandler:e.autoFixHandler})}}));function $u(t){return t.replace(/^\/+/,"")}const mF={project:null,fileTree:[],isLoadingTree:!1,files:new Map,selectedFile:null,unsavedFiles:new Set,secondaryFileTree:[],isLoadingSecondaryTree:!1,secondaryFiles:new Map,secondarySelectedFile:null,secondaryUnsavedFiles:new Set},G$e=ro((t,e)=>({...mF,setProject:n=>t({project:n}),setFileTree:(n,r)=>t(r?{secondaryFileTree:n}:{fileTree:n}),setIsLoadingTree:(n,r)=>t(r?{isLoadingSecondaryTree:n}:{isLoadingTree:n}),setFileContent:(n,r,i=!0,s=!1)=>{const a=$u(n);t(o=>{const l=s?"secondaryFiles":"files",c=s?"secondaryUnsavedFiles":"unsavedFiles",d=new Map(o[l]),f=d.get(a),p=i?r:f?.originalContent??"",g=!i&&r!==p;d.set(a,{path:a,content:r,originalContent:p,isModified:g});const b=new Set(o[c]);return g?b.add(a):b.delete(a),{[l]:d,[c]:b}})},updateFileContent:(n,r,i=!1)=>{const s=$u(n);t(a=>{const o=i?"secondaryFiles":"files",l=i?"secondaryUnsavedFiles":"unsavedFiles",c=new Map(a[o]),d=c.get(s);if(d){const f=r!==d.originalContent;c.set(s,{...d,content:r,isModified:f});const p=new Set(a[l]);return f?p.add(s):p.delete(s),{[o]:c,[l]:p}}else{c.set(s,{path:s,content:r,originalContent:"",isModified:!0});const f=new Set(a[l]);return f.add(s),{[o]:c,[l]:f}}})},markFileSaved:(n,r=!1)=>{const i=$u(n);t(s=>{const a=r?"secondaryFiles":"files",o=r?"secondaryUnsavedFiles":"unsavedFiles",l=ne
62w Map(s[a]),c=l.get(i);if(c){l.set(i,{...c,originalContent:c.content,isModified:!1});const d=new Set(s[o]);return d.delete(i),{[a]:l,[o]:d}}return s})},addFileToTree:(n,r=!1)=>{const i=$u(n).split("/").filter(Boolean);i.length!==0&&t(s=>{const a=r?"secondaryFileTree":"fileTree",o=JSON.parse(JSON.stringify(s[a]));let l=o,c="";for(let d=0;d<i.length;d++){const f=i[d];c=c?`${c}/${f}`:f;const p=d===i.length-1;let g=l.find(b=>b.name===f);if(g){if(p)return s}else{const b={path:c,name:f,isDirectory:!p,children:p?void 0:[]};l.push(b),g=b}p||(g.children||(g.children=[]),l=g.children)}return{[a]:o}})},setSelectedFile:(n,r=!1)=>t(r?{secondarySelectedFile:n?$u(n):null}:{selectedFile:n?$u(n):null}),getFile:(n,r=!1)=>e()[r?"secondaryFiles":"files"].get($u(n)),hasUnsavedChanges:(n=!1)=>e()[n?"secondaryUnsavedFiles":"unsavedFiles"].size>0,resetSecondary:()=>t({secondaryFileTree:[],isLoadingSecondaryTree:!1,secondaryFiles:new Map,secondarySelectedFile:null,secondaryUnsavedFiles:new Set}),reset:()=>t({...mF,files:new Map,unsavedFiles:new Set,secondaryFiles:new Map,secondaryUnsavedFiles:new Set})})),N2=()=>Math.random().toString(36).substring(2,11),gF={messages:[],input:"",isStreaming:!1,streamingContent:"",currentArtifact:null,secondaryIsStreaming:!1,secondaryStreamingContent:"",secondaryCurrentArtifact:null,conversationId:null,isLoadingMessages:!1},q$e=ro((t,e)=>({...gF,setInput:n=>t({input:n}),setIsStreaming:(n,r)=>t(r?{secondaryIsStreaming:n}:{isStreaming:n}),setStreamingContent:(n,r)=>t(r?{secondaryStreamingContent:n}:{streamingContent:n}),appendStreamingContent:(n,r)=>t(i=>r?{secondaryStreamingContent:i.secondaryStreamingContent+n}:{streamingContent:i.streamingContent+n}),setIsLoadingMessages:n=>t({isLoadingMessages:n}),setMessages:n=>t({messages:n}),addMessage:n=>{const r=N2(),i={...n,id:r,timestamp:new Date};return t(s=>({messages:[...s.messages,i]})),r},updateMessage:(n,r)=>{t(i=>({messages:i.messages.map(s=>s.id===n?{...s,...r}:s)}))},openArtifact:(n,r)=>{const i=r?e().secondaryCurrentArtifact:e().currentArtifact;i&&!i.closed&&console.warn(`[chatStore] Overwriting in-progress artifact "${i.id}" with "${n.id}"`);const s={...n,closed:!1,actions:[]};t(r?{secondaryCurrentArtifact:s}:{currentArtifact:s})},closeArtifact:(n,r)=>{t(i=>{const s=r?i.secondaryCurrentArtifact:i.currentArtifact;return s?.id!==n?i:r?{secondaryCurrentArtifact:{...s,closed:!0}}:{currentArtifact:{...s,closed:!0}}})},addAction:(n,r,i,s)=>{const a={...r,id:i,status:"pending"};t(o=>{const l=s?o.secondaryCurrentArtifact:o.currentArtifact;if(l?.id!==n)return o;const c={...l,actions:[...l.actions,a]};return s?{secondaryCurrentArtifact:c}:{currentArtifact:c}})},updateActionStatus:(n,r,i,s,a)=>{t(o=>{const l=a?o.secondaryCurrentArtifact:o.currentArtifact;if(l?.id!==n)return o;const c={...l,actions:l.actions.map(d=>d.id===r?{...d,status:i,error:s}:d)};return a?{secondaryCurrentArtifact:c}:{currentArtifact:c}})},finalizeStreamingMessage:n=>{t(r=>{const i=n?r.secondaryCurrentArtifact:r.currentArtifact,s=n?r.secondaryIsStreaming:r.isStreaming,a=n?r.secondaryStreamingContent:r.streamingContent,o=i?[i]:void 0;let l=r.messages;if((a||o)&&s)if(n){const c={id:N2(),role:"assistant",content:a,timestamp:new Date,artifacts:o,isSecondary:!0};l=[...r.messages,c]}else{const c=r.messages.length-1;if(r.messages[c]?.role==="assistant")l=r.messages.map((f,p)=>p===c?{...f,content:a,artifacts:o?[...f.artifacts||[],...o]:f.artifacts}:f);else{const f={id:N2(),role:"assistant",content:a,timestamp:new Date,artifacts:o};l=[...r.messages,f]}}return{...r,messages:l,...n?{secondaryIsStreaming:!1,secondaryStreamingContent:"",secondaryCurrentArtifact:null}:{isStreaming:!1,streamingContent:"",currentArtifact:null}}})},setConversationId:n=>t({conversationId:n}),clearMessages:()=>t({messages:[],conversationId:null,isStreaming:!1,streamingContent:"",currentArtifact:null,secondaryIsStreaming:!1,secondaryStreamingContent:"",secondaryCurrentArtifact:null}),reset:()=>t(gF)})),xS=new Map,bd=[],LY=1e3,ES=new Map,yd=[],bF=3,yF={showTerminal:!1,terminalCount:1,activeTerminal:0,isRunning:!1,currentCommand:null,secondaryShowTerminal:!1,secondaryTerminalCount:1,secondaryActiveTerminal:0},W$e=ro(t=>({...yF,toggleTerminal:e=>t(n=>({showTerminal:e!==void 0?e:!n.showTerminal})),setActiveTerminal:e=>t(n=>({activeTerminal:Math.max(0,Math.min(e,n.terminalCount-1))})),addTerminal:()=>t(e=>e.terminalCount>=bF?e:{terminalCount:e.terminalCount+1,activeTerminal:e.terminalCount}),setIsRunning:e=>t({isRunning:e}),setCurrentCommand:e=>t({currentCommand:e}),toggleSecondaryTerminal:e=>t(n=>({secondaryShowTerminal:e!==void 0?e:!n.secondaryShowTerminal})),setSecondaryActiveTerminal:e=>t(n=>({secondaryActiveTerminal:Math.max(0,Math.min(e,n.secondaryTerminalCount-1))})),addSecondaryTerminal:()=>t(e=>e.secondaryTerminalCount>=bF?e:{secondaryTerminalCount:e.secondaryTerminalCount+1,secondaryActiveTerminal:e.secondaryTerminalCount}),reset:()=>{xS.clear(),bd.length=0,ES.clear(),yd.length=0,t(yF)}}));function K$e(t,e){if(xS.set(t,e),t===0&&bd.length>0){for(const n of bd)e.write(n);bd.length=0}}function Y$e(t){xS.delete(t)}function sEe(t){const e=xS.get(0);e?e.write(t):(bd.length>=LY&&bd.shift(),bd.push(t))}function X$e(t){sEe(t+`\r
63`)}function Z$e(t,e){if(ES.set(t,e),t===0&&yd.length>0){for(const n of yd)e.write(n);yd.length=0}}function Q$e(t){ES.delete(t)}function aEe(t){const e=ES.get(0);e?e.write(t):(yd.length>=LY&&yd.shift(),yd.push(t))}function J$e(t){aEe(t+`\r
64`)}const oEe={meta:{id:"friendli",name:"Friendli.ai",subdomain:"friendli",logo:"/providers/friendli-logo.svg",primaryColor:"#6366F1",secondaryColor:"#818CF8",tagline:"Optimized inference for next-generation AI models",websiteUrl:"https://friendli.ai",supp
64ortedModels:rS([We.QWEN3_235B,We.LLAMA_3_3_70B,We.LLAMA_3_1_8B],{[We.QWEN3_235B]:{pricing:"$0.2 input, $0.8 output"},[We.LLAMA_3_3_70B]:{pricing:"$0.6"},[We.LLAMA_3_1_8B]:{pricing:"$0.1"}})},hero:{headline:"Unlock Advanced Reasoning Models on Friendli.ai",subheadline:"The world's most accurate neuro-symbolic reasoning engines, now deployed on Friendli.ai's high-performance inference infrastructure.",primaryCTA:{text:"Start Using our Models",href:"/signin"},secondaryCTA:{text:"Talk to Sales",href:"/contact"},microcopy:"No retraining. No prompt hacks. Just reliable reasoning."},problem:{title:"LLMs Aren't Enough for Real Reasoning",painPoints:["60%+ failure rate on multi-step tasks","Hallucinations and unstable planning","GPU costs exploding with brute-force CoT","Enterprises demanding explainability"]},solution:{title:"Meet the CoreThink Reasoning Engine",subtitle:"A neuro-symbolic reasoning layer that boosts any LLM's accuracy, performance, and explainability.",features:[{title:"Symbolic Reasoning Traces",description:"Human-readable logic chains. Full explainability."},{title:"Accurate Long-Horizon Reasoning",description:"Consistent SOTA accuracy beyond 5+ steps."},{title:"Efficient by Design",description:"50–70% reduction in tokens. Up to 40% lower compute cost."}]},modelShowcase:{title:"CoreThink Models, Powered by Friendli.ai Performance",models:[{name:"Agentic Reasoning Model",features:["Deterministic tool-use","API planning & orchestration"],ctaText:"View Model",ctaHref:"#"},{name:"Code Generation Reasoning Model",features:["Cross-file reasoning","Agentic Reasoning"],ctaText:"View Model",ctaHref:"#"},{name:"Token Reduction Reasoning Model",features:["40%+ reduction in token usage","No reduction in accuracy"],ctaText:"View Model",ctaHref:"#"}],bottomLine:"Drop-in compatibility with all major frontier LLMs."},partnership:{title:"A New Standard for AI Accuracy and Performance",coreThinkDescription:"The world's most advanced neuro-symbolic reasoning layer",partnerDescription:"Optimized inference for next-generation AI models.",tagline:"Reasoning powered by CoreThink. Performance powered by Friendli.ai."},cta:{headline:"Build AI That Can Truly Think",primaryCTA:{text:"Start Using CoreThink on Friendli.ai",href:"/signin"},secondaryCTA:{text:"Contact Enterprise Sales",href:"/contact"}},footer:{links:[{text:"Docs",href:"https://corethink.ai/docs/overview"},{text:"API Reference",href:"/api"},{text:"Contact",href:"/contact"}],copyright:"CoreThink × Friendli.ai"}},lEe={meta:{id:"sambanova",name:"SambaNova",subdomain:"sambanova",logo:"/providers/sambanova-logo.svg",primaryColor:"#ff5cd1",secondaryColor:"#ff8de0",tagline:"The fastest inference for enterprise AI",websiteUrl:"https://sambanova.ai",supportedModels:rS([We.DEEPSEEK_R1,We.DEEPSEEK_CHAT_V3,We.DEEPSEEK_CHAT_V3_1,We.DEEPSEEK_R1_DISTILL_70B,We.DEEPSEEK_V3_1_TERMINUS,We.LLAMA_4_MAVERICK_17B,We.LLAMA_3_3_70B,We.LLAMA_3_1_8B,We.QWEN3_32B_CEREBRAS,We.GPT_OSS_120B])},hero:{headline:"Unlock Advanced Reasoning Models on SambaNova",subheadline:"The world's most accurate neuro-symbolic reasoning engines, now deployed on SambaNova's lightning-fast inference infrastructure.",primaryCTA:{text:"Start Using our Models",href:"/signin"},secondaryCTA:{text:"Talk to Sales",href:"/contact"},microcopy:"No retraining. No prompt hacks. Just reliable reasoning."},problem:{title:"LLMs Aren't Enough for Real Reasoning",painPoints:["60%+ failure rate on multi-step tasks","Hallucinations and unstable planning","GPU costs exploding with brute-force CoT","Enterprises demanding explainability"]},solution:{title:"Meet the CoreThink Reasoning Engine",subtitle:"A neuro-symbolic reasoning layer that boosts any LLM's accuracy, performance, and explainability.",features:[{title:"Symbolic Reasoning Traces",description:"Human-readable logic chains. Full explainability."},{title:"Accurate Long-Horizon Reasoning",description:"Consistent SOTA accuracy beyond 5+ steps."},{title:"Efficient by Design",description:"50–70% reduction in tokens. Up to 40% lower compute cost."}]},modelShowcase:{title:"CoreThink Models, Powered by SambaNova Speed",models:[{name:"Agentic Reasoning Model",features:["Deterministic tool-use","API planning & orchestration"],ctaText:"View Model",ctaHref:"#"},{name:"Code Generation Reasoning Model",features:["Cross-file reasoning","Agentic Reasoning"],ctaText:"View Model",ctaHref:"#"},{name:"Token Reduction Reasoning Model",features:["40%+ reduction in token usage","No reduction in accuracy"],ctaText:"View Model",ctaHref:"#"}],bottomLine:"Drop-in compatibility with all major frontier LLMs."},partnership:{title:"A New Standard for AI Accuracy and Performance",coreThinkDescription:"The world's most advanced neuro-symbolic reasoning layer",partnerDescription:"Lightning-fast inference for enterprise-scale AI.",tagline:"Reasoning powered by CoreThink. Speed powered by SambaNova."},cta:{headline:"Build AI That Can Truly Think",primaryCTA:{text:"Start Using CoreThink on SambaNova",href:"/signin"},secondaryCTA:{text:"Contact Enterprise Sales",href:"/contact"}}
64,footer:{links:[{text:"Docs",href:"https://corethink.ai/docs/overview"},{text:"API Reference",href:"/api"},{text:"Contact",href:"/contact"}],copyright:"CoreThink × SambaNova"}},cEe={meta:{id:"cerebras",name:"Cerebras",subdomain:"cerebras",logo:"/providers/cerebras-logo.svg",primaryColor:"#F15A29",secondaryColor:"#FF7043",tagline:"Wafer-scale inference for breakthrough AI",websiteUrl:"https://cerebras.ai",supportedModels:rS([We.GPT_OSS_120B,We.LLAMA_3_1_8B,We.LLAMA_3_3_70B,We.QWEN3_32B_CEREBRAS,We.QWEN3_235B_CEREBRAS],{[We.GPT_OSS_120B]:{tokensPerSecond:3e3},[We.LLAMA_3_1_8B]:{tokensPerSecond:2200},[We.LLAMA_3_3_70B]:{tokensPerSecond:2100},[We.QWEN3_32B_CEREBRAS]:{tokensPerSecond:2600}})},hero:{headline:"Unlock Advanced Reasoning Models on Cerebras",subheadline:"The world's most accurate neuro-symbolic reasoning engines, now deployed on Cerebras' wafer-scale inference infrastructure.",primaryCTA:{text:"Start Using our Models",href:"/signin"},secondaryCTA:{text:"Talk to Sales",href:"/contact"},microcopy:"No retraining. No prompt hacks. Just reliable reasoning."},problem:{title:"LLMs Aren't Enough for Real Reasoning",painPoints:["60%+ failure rate on multi-step tasks","Hallucinations and unstable planning","GPU costs exploding with brute-force CoT","Enterprises demanding explainability"]},solution:{title:"Meet the CoreThink Reasoning Engine",subtitle:"A neuro-symbolic reasoning layer that boosts any LLM's accuracy, performance, and explainability.",features:[{title:"Symbolic Reasoning Traces",description:"Human-readable logic chains. Full explainability."},{title:"Accurate Long-Horizon Reasoning",description:"Consistent SOTA accuracy beyond 5+ steps."},{title:"Efficient by Design",description:"50–70% reduction in tokens. Up to 40% lower compute cost."}]},modelShowcase:{title:"CoreThink Models, Powered by Cerebras Scale",models:[{name:"Agentic Reasoning Model",features:["Deterministic tool-use","API planning & orchestration"],ctaText:"View Model",ctaHref:"#"},{name:"Code Generation Reasoning Model",features:["Cross-file reasoning","Agentic Reasoning"],ctaText:"View Model",ctaHref:"#"},{name:"Token Reduction Reasoning Model",features:["40%+ reduction in token usage","No reduction in accuracy"],ctaText:"View Model",ctaHref:"#"}],bottomLine:"Drop-in compatibility with all major frontier LLMs."},partnership:{title:"A New Standard for AI Accuracy and Performance",coreThinkDescription:"The world's most advanced neuro-symbolic reasoning layer",partnerDescription:"Wafer-scale inference for breakthrough AI performance.",tagline:"Reasoning powered by CoreThink. Scale powered by Cerebras."},cta:{headline:"Build AI That Can Truly Think",primaryCTA:{text:"Start Using CoreThink on Cerebras",href:"/signin"},secondaryCTA:{text:"Contact Enterprise Sales",href:"/contact"}},footer:{links:[{text:"Docs",href:"https://corethink.ai/docs/overview"},{text:"API Reference",href:"/api"},{text:"Contact",href:"/contact"}],copyright:"CoreThink × Cerebras"}},uEe={meta:{id:"cursor",name:"Cursor",subdomain:"cursor",logo:"/providers/cursor-logo.svg",primaryColor:"#FFFFFF",secondaryColor:"#3B82F6",tagline:"The AI Code Editor",websiteUrl:"https://cursor.sh",supportedModels:rS([We.GPT_OSS_120B],{[We.GPT_OSS_120B]:{pricing:"Contact for pricing"}})},hero:{headline:"Supercharge Cursor with CoreThink",subheadline:"Add CoreThink’s reasoning-optimized models to your Cursor IDE for faster, cheaper, and more reliable coding sessions.",primaryCTA:{text:"Add CoreThink to Cursor",href:"/signin"},secondaryCTA:{text:"View API Docs",href:"https://corethink.ai/docs/overview"},microcopy:"No credit card required • Works alongside your existing Cursor models"},onboarding:{title:"Connect CoreThink to Cursor in 4 simple steps",media:"/providers/cursor/onboarding-demo.gif",steps:[{title:"Open Cursor Settings",description:"In Cursor, go to Settings and Models. Or use the shortcut Cmd+, (Mac) / Ctrl+, (Windows)."},{title:"Add CoreThink API Endpoint",description:"In the Custom Providers section, click Add Provider. Paste your CoreThink endpoint URL.",code:`${kG}/v1/code`},{title:"Enter Your API Key",description:"Grab your key from the CoreThink dashboard. Paste it into the Cursor provider settings and save."},{title:"Select a CoreThink Model in Cursor",description:"From Cursor’s model dropdown, choose a CoreThink inference provider. Start coding with reasoning-optimized suggestions."}]},problem:{title:"Build accurate, more reliable code with a true reasoning layer",painPoints:["SOTA Coding: Best-in-class reasoning for real-world codebase
64s.","10x Cheaper: Compared to legacy frontier-model API pricing.","50% Faster: Reduced latency and fewer retries on complex tasks.","Proudly American: Fully US-based, on-prem–friendly infrastructure."]},solution:{title:"Build smarter, more reliable code with a true reasoning layer",subtitle:"Cursor is the best place to write code with AI. CoreThink makes that AI think before it types.",features:[{title:"Symbolic reasoning for real code",description:"Multi-tool understanding and dependency tracking. Decomposes tasks into stable, auditable steps. Reduces hallucinations and brittle one-shot completions."},{title:"Built for long-horizon tasks",description:"Designed for workflows that span 5+ reasoning steps. Maintains context across refactors, tests, and tool calls. Up to 30–60% higher accuracy on complex reasoning benchmarks."},{title:"Explainable by design",description:"Generates human-readable reasoning traces for every complex change. Easier to debug, review, and trust AI-assisted edits, perfect for teams in regulated industries."},{title:"Cheaper, leaner, greener",description:"Optimized reasoning layer reduces token usage by 40 to 70%. Fewer retries, less GPU burn, more output per dollar."}],cta:{text:"Explore CoreThink Benchmarks",href:"#Benchmarks"}},modelShowcase:{title:"Key Features for Developers",models:[{name:"Reasoning-Optimized Code Generation",description:"Handles multi-file refactors and cross-module dependencies. Better at planning changes before editing code. Trained on complex tool use and planning benchmarks, not just autocomplete.",features:["Handles multi-file refactors","Better at planning changes","Trained on complex tool use"],ctaText:"See Developer Docs",ctaHref:"https://corethink.ai/docs/overview"},{name:"Deterministic Tool Use & Agents",description:"Works seamlessly with agentic workflows (tests, linters, build tools). Reduces 60%+ failure rates in multi-step tool use seen in typical LLM agents.",features:["Works with agentic workflows","Reduces failure rates","Seamless integration"],ctaText:"See Developer Docs",ctaHref:"https://corethink.ai/docs/overview"},{name:"Enterprise-Ready Explainability",description:"Traceable reasoning for every critical change. Designed for teams facing EU AI Act, FDA, and FinTech-grade scrutiny.",features:["Traceable reasoning","Governance & audit logs","Secure by default"],ctaText:"See Developer Docs",ctaHref:"https://corethink.ai/docs/overview"},{name:"Secure by Default",description:"Private and open-source LLM compatible. On-prem and VPC deployment options for sensitive codebases.",features:["Private & Open Source","On-prem options","VPC deployment"],ctaText:"See Developer Docs",ctaHref:"https://corethink.ai/docs/overview"},{name:"Future-Proof Stack",description:"Plug-and-play architecture that works with today’s and tomorrow’s LLMs. Acts as the reasoning layer beneath any model you choose.",features:["Plug-and-play","Model agnostic","Future-proof"],ctaText:"See Developer Docs",ctaHref:"https://corethink.ai/docs/overview"}]},partnership:{title:"Seamless Integration",coreThinkDescription:"Advanced Reasoning Engine",partnerDescription:"The AI-first Code Editor",tagline:"Build software faster with CoreThink and Cursor."},pricing:{title:"Pricing that scales with your engineering team",plans:[{name:"Hacker",description:"Perfect for solo devs and small projects",price:"Free",features:["Access to CoreThink coding and reasoning models in Cursor","Generous free tier","Pay-as-you-go per million reasoning tokens","Email support & community Slack"],ctaText:"Start Free",ctaHref:"/signin"},{name:"Team",description:"For startups and growing engineering teams",price:"$10",features:["5000 requests","All Indie features","Team-level usage analytics","Shared model settings and org-wide keys","Higher rate limits for CI/CD and agent workflows","Priority support & onboarding session"],ctaText:"Get Started",ctaHref:"/signin",highlighted:!0},{name:"Enterprise",description:"For regulated industries and mission-critical workloads",price:"Custom",features:["Everything in Team","VPC / on-prem deployment options","Custom SLAs and dedicated support","Governance, audit logs, and SSO/SAML","Custom benchmarks and tuning for your repos"],ctaText:"Book an Enterprise Demo",ctaHref:"/contact"}],footer:"All plans are usage-based. You only pay for the reasoning steps and tokens you consume."},cta:{headline:"Ship better code from Cursor today, now faster and cheaper",primaryCTA:{text:"Add CoreThink to Cursor",href:"/signin"},secondaryCTA:{text:"Schedule a 15-Min Integration Call",href:"/contact"},bullets:["Works with your existing Cursor workflows","No change to your editor or keybindings","Designed for long-horizon coding, agents, and CI"],supportText:{text:"Need to see it on your stack first?",subtext:"Try our Hacker Version"}}
64,footer:{links:[{text:"Docs",href:"https://corethink.ai/docs/overview"},{text:"API Reference",href:"/api"},{text:"Contact",href:"/contact"}],copyright:"CoreThink for Cursor"}},J1={cerebras:cEe,sambanova:lEe,friendli:oEe,cursor:uEe};function dEe(t){return J1[t]||null}function eVe(){return Object.values(J1)}function BY(){return A.useMemo(()=>{const t=window.location.hostname,n=new URLSearchParams(window.location.search).get("subdomain");if(n){if(n==="developer")return{subdomain:"developer",provider:null,isProviderLanding:!1,isMainDomain:!1,isDeveloperPortal:!0};const i=J1[n]||null;return{subdomain:n,provider:i,isProviderLanding:!!i,isMainDomain:!1,isDeveloperPortal:!1}}if(t==="localhost"||t==="127.0.0.1")return{subdomain:null,provider:null,isProviderLanding:!1,isMainDomain:!0,isDeveloperPortal:!1};const r=t.split(".");if(r.length===3&&r[1]==="corethink"&&r[2]==="ai"){const i=r[0];if(i==="www")return{subdomain:null,provider:null,isProviderLanding:!1,isMainDomain:!0,isDeveloperPortal:!1};if(i==="developer")return{subdomain:"developer",provider:null,isProviderLanding:!1,isMainDomain:!1,isDeveloperPortal:!0};const s=J1[i]||null;return{subdomain:i,provider:s,isProviderLanding:!!s,isMainDomain:!1,isDeveloperPortal:!1}}return{subdomain:null,provider:null,isProviderLanding:!1,isMainDomain:!0,isDeveloperPortal:!1}},[])}const PY=A.createContext({isDeveloperPortal:!1}),hEe=({children:t})=>{const{isDeveloperPortal:e}=BY();return x.jsx(PY.Provider,{value:{isDeveloperPortal:e},children:t})},tVe=()=>A.useContext(PY);var uT=["Enter"," "],fEe=["ArrowDown","PageUp","Home"],FY=["ArrowUp","PageDown","End"],pEe=[...fEe,...FY],mEe={ltr:[...uT,"ArrowRight"],rtl:[...uT,"ArrowLeft"]},gEe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},O0="Menu",[Fg,bEe,yEe]=fS(O0),[Gd,zY]=$o(O0,[yEe,bp,SS]),kS=bp(),UY=SS(),[vEe,qd]=Gd(O0),[wEe,I0]=Gd(O0),jY=t=>{const{__scopeMenu:e,open:n=!1,children:r,dir:i,onOpenChange:s,modal:a=!0}=t,o=kS(e),[l,c]=A.useState(null),d=A.useRef(!1),f=Ya(s),p=A0(i);return A.useEffect(()=>{const g=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),x.jsx(QR,{...o,children:x.jsx(vEe,{scope:e,open:n,onOpenChange:f,content:l,onContentChange:c,children:x.jsx(wEe,{scope:e,onClose:A.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:a,children:r})})})};jY.displayName=O0;var SEe="MenuAnchor",i3=A.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,i=kS(n);return x.jsx(JR,{...i,...r,ref:e})});i3.displayName=SEe;var s3="MenuPortal",[_Ee,HY]=Gd(s3,{forceMount:void 0}),$Y=t=>{const{__scopeMenu:e,forceMount:n,children:r,container:i}=t,s=qd(s3,e);return x.jsx(_Ee,{scope:e,forceMount:n,children:x.jsx(to,{present:n||s.open,children:x.jsx(_0,{asChild:!0,container:i,children:r})})})};$Y.displayName=s3;var wa="MenuContent",[xEe,a3]=Gd(wa),VY=A.forwardRef((t,e)=>{const n=HY(wa,t.__scopeMenu),{forceMount:r=n.forceMount,...i}=t,s=qd(wa,t.__scopeMenu),a=I0(wa,t.__scopeMenu);return x.jsx(Fg.Provider,{scope:t.__scopeMenu,children:x.jsx(to,{present:r||s.open,children:x.jsx(Fg.Slot,{scope:t.__scopeMenu,children:a.modal?x.jsx(EEe,{...i,ref:e}):x.jsx(kEe,{...i,ref:e})})})})}),EEe=A.forwardRef((t,e)=>{const n=qd(wa,t.__scopeMenu),r=A.useRef(null),i=Yt(e,r);return A.useEffect(()=>{const s=r.current;if(s)return Y4(s)},[]),x.jsx(o3,{...t,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Je(t.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),kEe=A.forwardRef((t,e)=>{const n=qd(wa,t.__scopeMenu);return x.jsx(o3,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),CEe=Ff("MenuContent.ScrollLock"),o3=A.forwardRef((t,e)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:g,disableOutsideScroll:b,...y}=t,w=qd(wa,n),S=I0(wa,n),_=kS(n),E=UY(n),T=bEe(n),[R,N]=A.useState(null),I=A.useRef(null),P=Yt(e,I,w.onContentChange),z=A.useRef(0),U=A.useRef(""),Z=A.useRef(0),L=A.useRef(null),$=A.useRef("right"),D=A.useRef(0),W=b?Zw:A.Fragment,G=b?{as:CEe,allowPinchZoom:!0}:void 0,K=te=>
vendor: 14,742 bytes, line 64
64{const q=U.current+te,j=T().filter(me=>!me.disabled),X=document.activeElement,H=j.find(me=>me.ref.current===X)?.textValue,ae=j.map(me=>me.textValue),le=FEe(ae,q,H),Ee=j.find(me=>me.textValue===le)?.ref.current;(function me(ke){U.current=ke,window.clearTimeout(z.current),ke!==""&&(z.current=window.setTimeout(()=>me(""),1e3))})(q),Ee&&setTimeout(()=>Ee.focus())};A.useEffect(()=>()=>window.clearTimeout(z.current),[]),K4();const Y=A.useCallback(te=>$.current===L.current?.side&&UEe(te,L.current?.area),[]);return x.jsx(xEe,{scope:n,searchRef:U,onItemEnter:A.useCallback(te=>{Y(te)&&te.preventDefault()},[Y]),onItemLeave:A.useCallback(te=>{Y(te)||(I.current?.focus(),N(null))},[Y]),onTriggerLeave:A.useCallback(te=>{Y(te)&&te.preventDefault()},[Y]),pointerGraceTimerRef:Z,onPointerGraceIntentChange:A.useCallback(te=>{L.current=te},[]),children:x.jsx(W,{...G,children:x.jsx(Yw,{asChild:!0,trapped:i,onMountAutoFocus:Je(s,te=>{te.preventDefault(),I.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:x.jsx(S0,{asChild:!0,disableOutsidePointerEvents:o,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:g,children:x.jsx(lY,{asChild:!0,...E,dir:S.dir,orientation:"vertical",loop:r,currentTabStopId:R,onCurrentTabStopIdChange:N,onEntryFocus:Je(l,te=>{S.isUsingKeyboardRef.current||te.preventDefault()}),preventScrollOnEntryFocus:!0,children:x.jsx(e3,{role:"menu","aria-orientation":"vertical","data-state":aX(w.open),"data-radix-menu-content":"",dir:S.dir,..._,...y,ref:P,style:{outline:"none",...y.style},onKeyDown:Je(y.onKeyDown,te=>{const j=te.target.closest("[data-radix-menu-content]")===te.currentTarget,X=te.ctrlKey||te.altKey||te.metaKey,H=te.key.length===1;j&&(te.key==="Tab"&&te.preventDefault(),!X&&H&&K(te.key));const ae=I.current;if(te.target!==ae||!pEe.includes(te.key))return;te.preventDefault();const Ee=T().filter(me=>!me.disabled).map(me=>me.ref.current);FY.includes(te.key)&&Ee.reverse(),BEe(Ee)}),onBlur:Je(t.onBlur,te=>{te.currentTarget.contains(te.target)||(window.clearTimeout(z.current),U.current="")}),onPointerMove:Je(t.onPointerMove,zg(te=>{const q=te.target,j=D.current!==te.clientX;if(te.currentTarget.contains(q)&&j){const X=te.clientX>D.current?"right":"left";$.current=X,D.current=te.clientX}}))})})})})})})});VY.displayName=wa;var TEe="MenuGroup",l3=A.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return x.jsx(Et.div,{role:"group",...r,ref:e})});l3.displayName=TEe;var AEe="MenuLabel",GY=A.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return x.jsx(Et.div,{...r,ref:e})});GY.displayName=AEe;var ew="MenuItem",vF="menu.itemSelect",CS=A.forwardRef((t,e)=>{const{disabled:n=!1,onSelect:r,...i}=t,s=A.useRef(null),a=I0(ew,t.__scopeMenu),o=a3(ew,t.__scopeMenu),l=Yt(e,s),c=A.useRef(!1),d=()=>{const f=s.current;if(!n&&f){const p=new CustomEvent(vF,{bubbles:!0,cancelable:!0});f.addEventListener(vF,g=>r?.(g),{once:!0}),GV(f,p),p.defaultPrevented?c.current=!1:a.onClose()}};return x.jsx(qY,{...i,ref:l,disabled:n,onClick:Je(t.onClick,d),onPointerDown:f=>{t.onPointerDown?.(f),c.current=!0},onPointerUp:Je(t.onPointerUp,f=>{c.current||f.currentTarget?.click()}),onKeyDown:Je(t.onKeyDown,f=>{const p=o.searchRef.current!=="";n||p&&f.key===" "||uT.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});CS.displayName=ew;var qY=A.forwardRef((t,e)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...s}=t,a=a3(ew,n),o=UY(n),l=A.useRef(null),c=Yt(e,l),[d,f]=A.useState(!1),[p,g]=A.useState("");return A.useEffect(()=>{const b=l.current;b&&g((b.textContent??"").trim())},[s.children]),x.jsx(Fg.ItemSlot,{scope:n,disabled:r,textValue:i??p,children:x.jsx(cY,{asChild:!0,...o,focusable:!r,children:x.jsx(Et.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:c,onPointerMove:Je(t.onPointerMove,zg(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Je(t.onPointerLeave,zg(b=>a.onItemLeave(b))),onFocus:Je(t.onFocus,()=>f(!0)),onBlur:Je(t.onBlur,()=>f(!1))})})})}),REe="MenuCheckboxItem",WY=A.forwardRef((t,e)=>{const{checked:n=!1,onCheckedChange:r,...i}=t;return x.jsx(QY,{scope:t.__scopeMenu,checked:n,children:x.jsx(CS,{role:"menuitemcheckbox","aria-checked":tw(n)?"mixed":n,...i,ref:e,"data-state":u3(n),onSelect:Je(i.onSelect,()=>r?.(tw(n)?!0:!n),{checkForDefaultPrevented:!1})})})});WY.displayName=REe;var KY="MenuRadioGroup",[NEe,OEe]=Gd(KY,{value:void 0,onValueChange:()=>{}}),YY=A.forwardRef((t,e)=>{const{value:n,onValueChange:r,...i}=t,s=Ya(r);return x.jsx(NEe,{scope:t.__scopeMenu,value:n,onValueChange:s,children:x.jsx(l3,{...i,ref:e})})});YY.displayName=KY;var XY="MenuRadioItem",ZY=A.forwardRef((t,e)=>{const{value:n,...r}=t,i=OEe(XY,t.__scopeMenu),s=n===i.value;return x.jsx(QY,{scope:t.__scopeMenu,checked:s,children:x.jsx(CS,{role:"menuitemradio","aria-checked":s,...r,ref:e,"data-state":u3(s),onSelect:Je(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ZY.displayName=XY;var c3="MenuItemIndicator",[QY,IEe]=Gd(c3,{checked:!1}),JY=A.forwardRef((t,e)=>{const{__scopeMenu:n,forceMount:r,...i}=t,s=IEe(c3,n);return x.jsx(to,{present:r||tw(s.checked)||s.checked===!0,children:x.jsx(Et.span,{...i,ref:e,"data-state":u3(s.checked)})})});JY.displayName=c3;var DEe="MenuSeparator",eX=A.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return x.jsx(Et.div,{role:"separator","aria-orientation":"horizontal",...r,ref:e})});eX.displayName=DEe;var MEe="MenuArrow",tX=A.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,i=kS(n);return x.jsx(t3,{...i,...r,ref:e})});tX.displayName=MEe;var LEe="MenuSub",[nVe,nX]=Gd(LEe),Xm="MenuSubTrigger",rX=A.forwardRef((t,e)=>{const n=qd(Xm,t.__scopeMenu),r=I0(Xm,t.__scopeMenu),i=nX(Xm,t.__scopeMenu),s=a3(Xm,t.__scopeMenu),a=A.useRef(null),{pointerGraceTimerRef:o,onPointerGraceIntentChange:l}=s,c={__scopeMenu:t.__scopeMenu},d=A.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return A.useEffect(()=>d,[d]),A.useEffect(()=>{const f=o.current;return()=>{window.clearTimeout(f),l(null)}},[o,l]),x.jsx(i3,{asChild:!0,...c,children:x.jsx(qY,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":aX(n.open),...t,ref:w0(e,i.onTriggerChange),onClick:f=>{t.onClick?.(f),!(t.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Je(t.onPointerMove,zg(f=>{s.onItemEnter(f),!f.defaultPrevented&&!t.disabled&&!n.open&&!a.current&&(s.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:Je(t.onPointerLeave,zg(f=>{d();const p=n.content?.getBoundingClientRect();if(p){const g=n.content?.dataset.side,b=g==="right",y=b?-5:5,w=p[b?"left":"right"],S=p[b?"right":"left"];s.onPointerGraceIntentChange({area:[{x:f.clientX+y,y:f.clientY},{x:w,y:p.top},{x:S,y:p.top},{x:S,y:p.bottom},{x:w,y:p.bottom}],side:g}),window.clearTimeout(o.current),o.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(f),f.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:Je(t.onKeyDown,f=>{const p=s.searchRef.current!=="";t.disabled||p&&f.key===" "||mEe[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});rX.displayName=Xm;var iX="MenuSubContent",sX=A.forwardRef((t,e)=>{const n=HY(wa,t.__scopeMenu),{forceMount:r=n.forceMount,...i}=t,s=qd(wa,t.__scopeMenu),a=I0(wa,t.__scopeMenu),o=nX(iX,t.__scopeMenu),l=A.useRef(null),c=Yt(e,l);return x.jsx(Fg.Provider,{scope:t.__scopeMenu,children:x.jsx(to,{present:r||s.open,children:x.jsx(Fg.Slot,{scope:t.__scopeMenu,children:x.jsx(o3,{id:o.contentId,"aria-labelledby":o.triggerId,...i,ref:c,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{a.isUsingKeyboardRef.current&&l.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:Je(t.onFocusOutside,d=>{d.target!==o.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:Je(t.onEscapeKeyDown,d=>{a.onClose(),d.preventDefault()}),onKeyDown:Je(t.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),p=gEe[a.dir].includes(d.key);f&&p&&(s.onOpenChange(!1),o.trigger?.focus(),d.preventDefault())})})})})})});sX.displayName=iX;function aX(t){return t?"open":"closed"}function tw(t){return t==="indeterminate"}function u3(t){return tw(t)?"indeterminate":t?"checked":"unchecked"}function BEe(t){const e=document.activeElement;for(const n of t)if(n===e||(n.focus(),document.activeElement!==e))return}function PEe(t,e){return t.map((n,r)=>t[(e+r)%t.length])}function FEe(t,e,n){const i=e.length>1&&Array.from(e).every(c=>c===e[0])?e[0]:e,s=n?t.indexOf(n):-1;let a=PEe(t,Math.max(s,0));i.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function zEe(t,e){const{x:n,y:r}=t;let i=!1;for(let s=0,a=e.length-1;s<e.length;a=s++){const o=e[s],l=e[a],c=o.x,d=o.y,f=l.x,p=l.y;d>r!=p>r&&n<(f-c)*(r-d)/(p-d)+c&&(i=!i)}return i}function UEe(t,e){if(!e)return!1;const n={x:t.clientX,y:t.clientY};return zEe(n,e)}function zg(t){return e=>e.pointerType==="mouse"?t(e):void 0}var jEe=jY,HEe=i3,$Ee=$Y,VEe=VY,GEe=l3,qEe=GY,WEe=CS,KEe=WY,YEe=YY,XEe=ZY,ZEe=JY,QEe=eX,JEe=tX,e2e=rX,t2e=sX,TS="DropdownMenu",[n2e]=$o(TS,[zY]),Ui=zY(),[r2e,oX]=n2e(TS),lX=t=>{const{__scopeDropdownMenu:e,children:n,dir:r,open:i,defaultOpen:s,onOpenChange:a,modal:o=!0}=t,l=Ui(e),c=A.useRef(null),[d,f]=Kc({prop:i,defaultProp:s??!1,onChange:a,caller:TS});return x.jsx(r2e,{scope:e,triggerId:Va(),triggerRef:c,contentId:Va(),open:d,onOpenChange:f,onOpenToggle:A.useCallback(()=>f(p=>!p),[f]),modal:o,children:x.jsx(jEe,{...l,open:d,onOpenChange:f,dir:r,modal:o,children:n})})};lX.displayName=TS;var cX="DropdownMenuTrigger",uX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=t,s=oX(cX,n),a=Ui(n);return x.jsx(HEe,{asChild:!0,...a,children:x.jsx(Et.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:w0(e,s.triggerRef),onPointerDown:Je(t.onPointerDown,o=>{!r&&o.button===0&&o.ctrlKey===!1&&(s.onOpenToggle(),s.open||o.preventDefault())}),onKeyDown:Je(t.onKeyDown,o=>{r||(["Enter"," "].includes(o.key)&&s.onOpenToggle(),o.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(o.key)&&o.preventDefault())})})})});uX.displayName=cX;var i2e="DropdownMenuPortal",dX=t=>{const{__scopeDropdownMenu:e,...n}=t,r=Ui(e);return x.jsx($Ee,{...r,...n})};dX.displayName=i2e;var hX="DropdownMenuContent",fX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=oX(hX,n),s=Ui(n),a=A.useRef(!1);return x.jsx(VEe,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...r,ref:e,onCloseAutoFocus:Je(t.onCloseAutoFocus,o=>{a.current||i.triggerRef.current?.focus(),a.current=!1,o.preventDefault()}),onInteractOutside:Je(t.onInteractOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,d=l.button===2||c;(!i.modal||d)&&(a.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fX.displayName=hX;var s2e="DropdownMenuGroup",a2e=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(GEe,{...i,...r,ref:e})});a2e.displayName=s2e;var o2e="DropdownMenuLabel",pX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(qEe,{...i,...r,ref:e})});pX.displayName=o2e;var l2e="DropdownMenuItem",mX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(WEe,{...i,...r,ref:e})});mX.displayName=l2e;var c2e="DropdownMenuCheckboxItem",gX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(KEe,{...i,...r,ref:e})});gX.displayName=c2e;var u2e="DropdownMenuRadioGroup",d2e=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(YEe,{...i,...r,ref:e})});d2e.displayName=u2e;var h2e="DropdownMenuRadioItem",bX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(XEe,{...i,...r,ref:e})});bX.displayName=h2e;var f2e="DropdownMenuItemIndicator",yX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(ZEe,{...i,...r,ref:e})});yX.displayName=f2e;var p2e="DropdownMenuSeparator",vX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(QEe,{...i,...r,ref:e})});vX.displayName=p2e;var m2e="DropdownMenuArrow",g2e=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(JEe,{...i,...r,ref:e})});g2e.displayName=m2e;var b2e="DropdownMenuSubTrigger",wX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(e2e,{...i,...r,ref:e})});wX.displayName=b2e;var y2e="DropdownMenuSubContent",SX=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,i=Ui(n);return x.jsx(t2e,{...i,...r,ref:e,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});SX.displayName=y2e;var v2e=lX,w2e=uX,S2e=dX,_X=fX,xX=pX,EX=mX,kX=gX,CX=bX,TX=yX,AX=vX,RX=wX,NX=SX;const rVe=v2e,iVe=w2e,_2e=A.forwardRef(({className:t,inset:e,children:n,...r},i)=>x.jsxs(RX,{ref:i,className:tt("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e&&"pl-8",t),...r,children:[n,x.jsx(Rce,{className:"ml-auto"})]}));_2e.displayName=RX.displayName;const x2e=A.forwardRef(({className:t,...e},n)=>x.jsx(NX,{ref:n,className:tt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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]:sli
64de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",t),...e}));x2e.displayName=NX.displayName;const E2e=A.forwardRef(({className:t,sideOffset:e=4,...n},r)=>x.jsx(S2e,{children:x.jsx(_X,{ref:r,sideOffset:e,className:tt("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","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 origin-[--radix-dropdown-menu-content-transform-origin]",t),...n})}));E2e.displayName=_X.displayName;const k2e=A.forwardRef(({className:t,inset:e,...n},r)=>x.jsx(EX,{ref:r,className:tt("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",e&&"pl-8",t),...n}));k2e.displayName=EX.displayName;const C2e=A.forwardRef(({className:t,children:e,checked:n,...r},i)=>x.jsxs(kX,{ref:i,className:tt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...r,children:[x.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(TX,{children:x.jsx(V4,{className:"h-4 w-4"})})}),e]}));C2e.displayName=kX.displayName;const T2e=A.forwardRef(({className:t,children:e,...n},r)=>x.jsxs(CX,{ref:r,className:tt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[x.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(TX,{children:x.jsx(Pce,{className:"h-2 w-2 fill-current"})})}),e]}));T2e.displayName=CX.displayName;const A2e=A.forwardRef(({className:t,inset:e,...n},r)=>x.jsx(xX,{ref:r,className:tt("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...n}));A2e.displayName=xX.displayName;const R2e=A.forwardRef(({className:t,...e},n)=>x.jsx(AX,{ref:n,className:tt("-mx-1 my-1 h-px bg-muted",t),...e}));R2e.displayName=AX.displayName;var D0=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},N2e={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},O2e=class{#e=N2e;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},ld=new O2e;function I2e(t){setTimeout(t,0)}var Od=typeof window>"u"||"Deno"in globalThis;function ss(){}function D2e(t,e){return typeof t=="function"?t(e):t}function dT(t){return typeof t=="number"&&t>=0&&t!==1/0}function OX(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Vc(t,e){return typeof t=="function"?t(e):t}function la(t,e){return typeof t=="function"?t(e):t}function wF(t,e){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:a,stale:o}=t;if(a){if(r){if(e.queryHash!==d3(a,e.options))return!1}else if(!jg(e.queryKey,a))return!1}if(n!=="all"){const l=e.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||i&&i!==e.state.fetchStatus||s&&!s(e))}function SF(t,e){const{exact:n,status:r,predicate:i,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(n){if(Ug(e.options.mutationKey)!==Ug(s))return!1}else if(!jg(e.options.mutationKey,s))return!1}return!(r&&e.state.status!==r||i&&!i(e))}function d3(t,e){return(e?.queryKeyHashFn||Ug)(t)}function Ug(t){return JSON.stringify(t,(e,n)=>fT(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function jg(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>jg(t[n],e[n])):!1}var M2e=Object.prototype.hasOwnProperty;function IX(t,e){if(t===e)return t;const n=_F(t)&&_F(e);if(!n&&!(fT(t)&&fT(e)))return e;const i=(n?t:Object.keys(t)).length,s=n?e:Object.keys(e),a=s.length,o=n?new Array(a):{};let l=0;for(let c=0;c<a;
vendor: 29,302 bytes, line 64
64c++){const d=n?c:s[c],f=t[d],p=e[d];if(f===p){o[d]=f,(n?c<i:M2e.call(t,d))&&l++;continue}if(f===null||p===null||typeof f!="object"||typeof p!="object"){o[d]=p;continue}const g=IX(f,p);o[d]=g,g===f&&l++}return i===a&&l===i?t:o}function hT(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function _F(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function fT(t){if(!xF(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!xF(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function xF(t){return Object.prototype.toString.call(t)==="[object Object]"}function L2e(t){return new Promise(e=>{ld.setTimeout(e,t)})}function pT(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?IX(t,e):e}function sVe(t){return t}function B2e(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function P2e(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var h3=Symbol();function DX(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===h3?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function F2e(t,e){return typeof t=="function"?t(...e):!!t}var z2e=class extends D0{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!Od&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},f3=new z2e;function mT(){let t,e;const n=new Promise((i,s)=>{t=i,e=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),t(i)},n.reject=i=>{r({status:"rejected",reason:i}),e(i)},n}var U2e=I2e;function j2e(){let t=[],e=0,n=o=>{o()},r=o=>{o()},i=U2e;const s=o=>{e?t.push(o):i(()=>{n(o)})},a=()=>{const o=t;t=[],o.length&&i(()=>{r(()=>{o.forEach(l=>{n(l)})})})};return{batch:o=>{let l;e++;try{l=o()}finally{e--,e||a()}return l},batchCalls:o=>(...l)=>{s(()=>{o(...l)})},schedule:s,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{i=o}}}var Zr=j2e(),H2e=class extends D0{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!Od&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(n=>{n(t)}))}isOnline(){return this.#e}},nw=new H2e;function $2e(t){return Math.min(1e3*2**t,3e4)}function MX(t){return(t??"online")==="online"?nw.isOnline():!0}var gT=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function LX(t){let e=!1,n=0,r;const i=mT(),s=()=>i.status!=="pending",a=y=>{if(!s()){const w=new gT(y);p(w),t.onCancel?.(w)}},o=()=>{e=!0},l=()=>{e=!1},c=()=>f3.isFocused()&&(t.networkMode==="always"||nw.isOnline())&&t.canRun(),d=()=>MX(t.networkMode)&&t.canRun(),f=y=>{s()||(r?.(),i.resolve(y))},p=y=>{s()||(r?.(),i.reject(y))},g=()=>new Promise(y=>{r=w=>{(s()||c())&&y(w)},t.onPause?.()}).then(()=>{r=void 0,s()||t.onContinue?.()}),b=()=>{if(s())return;let y;const w=n===0?t.initialPromise:void 0;try{y=w??t.fn()}catch(S){y=Promise.reject(S)}Promise.resolve(y).then(f).catch(S=>{if(s())return;const _=t.retry??(Od?0:3),E=t.retryDelay??$2e,T=typeof E=="function"?E(n,S):E,R=_===!0||typeof _=="number"&&n<_||typeof _=="function"&&_(n,S);if(e||!R){p(S);return}n++,t.onFail?.(n,S),L2e(T).then(()=>c()?void 0:g()).then(()=>{e?p(S):b()})})};return{promise:i,status:()=>i.status,cancel:a,continue:()=>(r?.(),i),cancelRetry:o,continueRetry:l,canStart:d,start:()=>(d()?b():g().then(b),i)}}var BX=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),dT(this.gcTime)&&(this.#e=ld.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Od?1/0:300*1e3))}clearGcTimeout(){this.#e&&(ld.clearTimeout(this.#e),this.#e=void 0)}},V2e=class extends BX{#e;#t;#n;#i;#r;#o;#a;constructor(t){super(),this.#a=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#n=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=kF(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=kF(this.options);e.data!==void 0&&(this.setState(EF(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=pT(this.state.data,t,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#s({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(ss).catch(ss):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>la(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===h3||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Vc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!OX(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const o=this.observers.find(l=>l.options.queryFn);o&&this.setOptions(o.options)}const n=new AbortController,r=o=>{Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},i=()=>{const o=DX(this.options,e),c=(()=>{const d={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(d),d})();return this.#a=!1,this.options.persister?this.options.persister(o,c,this):o(c)},a=(()=>{const o={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(o),o})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#s({type:"fetch",meta:a.fetchOptions?.meta}),this.#r=LX({initialPromise:e?.initialPromise,fn:a.fetchFn,onCancel:o=>{o instanceof gT&&o.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(o,l)=>{this.#s({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const o=await this.#r.start();if(o===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(o),this.#n.config.onSuccess?.(o,this),this.#n.config.onSettled?.(o,this.state.error,this),o}catch(o){if(o instanceof gT){if(o.silent)return this.#r.promise;if(o.revert){if(this.state.data===void 0)throw o;return this.state.data}}throw this.#s({type:"error",error:o}),this.#n.config.onError?.(o,this),this.#n.config.onSettled?.(this.state.data,o,this),o}finally{this.scheduleGc()}}#s(t){const e=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...PX(n.data,this.options),fetchMeta:t.meta??null};case"success":const r={...n,...EF(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?r:void 0,r;case"error":const i=t.error;return{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),Zr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function PX(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:MX(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function EF(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function kF(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var G2e=class extends D0{constructor(t,e){super(),this.options=e,this.#e=t,this.#s=null,this.#a=mT(),this.bindMethods(),this.setOptions(e)}#e;#t=void 0;#n=void 0;#i=void 0;#r;#o;#a;#s;#m;#h;#f;#c;#u;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),CF(this.#t,this.options)?this.#d():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bT(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bT(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#S(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof la(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#t.setOptions(this.options),e._defaulted&&!hT(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&TF(this.#t,n,this.options,e)&&this.#d(),this.updateResult(),r&&(this.#t!==n||la(this.options.enabled,this.#t)!==la(e.enabled,this.#t)||Vc(this.options.staleTime,this.#t)!==Vc(e.staleTime,this.#t))&&this.#g();const i=this.#b();r&&(this.#t!==n||la(this.options.enabled,this.#t)!==la(e.enabled,this.#t)||i!==this.#l)&&this.#y(i)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),n=this.createResult(e,t);return W2e(this,n)&&(this.#i=n,this.#o=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#i}trackResult(t,e){return new Proxy(t,{get:(n,r)=>(this.trackProp(r),e?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),n=this.#e.getQueryCache().build(this.#e,e);return n.fetch().then(()=>this.createResult(n,e))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(t){this.#_();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(ss)),e}#g(){this.#w();const t=Vc(this.options.staleTime,this.#t);if(Od||this.#i.isStale||!dT(t))return;const n=OX(this.#i.dataUpdatedAt,t)+1;this.#c=ld.setTimeout(()=>{this.#i.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(t){this.#S(),this.#l=t,!(Od||la(this.options.enabled,this.#t)===!1||!dT(this.#l)||this.#l===0)&&(this.#u=ld.setInterval(()=>{(this.options.refetchIntervalInBackground||f3.isFocused())&&this.#d()},this.#l))}#v(){this.#g(),this.#y(this.#b())}#w(){this.#c&&(ld.clearTimeout(this.#c),this.#c=void 0)}#S(){this.#u&&(ld.clearInterval(this.#u),this.#u=void 0)}createResult(t,e){const n=this.#t,r=this.options,i=this.#i,s=this.#r,a=this.#o,l=t!==n?t.state:this.#n,{state:c}=t;let d={...c},f=!1,p;if(e._optimisticResults){const P=this.hasListeners(),z=!P&&CF(t,e),U=P&&TF(t,n,e,r);(z||U)&&(d={...d,...PX(c.data,t.options)}),e._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:g,errorUpdatedAt:b,status:y}=d;p=d.data;let w=!1;if(e.placeholderData!==void 0&&p===void 0&&y==="pending"){let P;i?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(P=i.data,w=!0):P=typeof e.placeholderData=="function"?e.placeholderData(this.#f?.state.data,this.#f):e.placeholderData,P!==void 0&&(y="success",p=pT(i?.data,P,e),f=!0)}if(e.select&&p!==void 0&&!w)if(i&&p===s?.data&&e.select===this.#m)p=this.#h;else try{this.#m=e.select,p=e.select(p),p=pT(i?.data,p,e),this.#h=p,this.#s=null}catch(P){this.#s=P}this.#s&&(g=this.#s,p=this.#h,b=Date.now(),y="error");const S=d.fetchStatus==="fetching",_=y==="pending",E=y==="error",T=_&&S,R=p!==void 0,I={status:y,fetchStatus:d.fetchStatus,isPending:_,isSuccess:y==="success",isError:E,isInitialLoading:T,isLoading:T,data:p,dataUpdatedAt:d.dataUpdatedAt,error:g,errorUpdatedAt:b,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:S,isRefetching:S&&!_,isLoadingError:E&&!R,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:E&&R,isStale:p3(t,e),refetch:this.refetch,promise:this.#a,isEnabled:la(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const P=Z=>{I.status==="error"?Z.reject(I.error):I.data!==void 0&&Z.resolve(I.data)},z=()=>{const Z=this.#a=I.promise=mT();P(Z)},U=this.#a;switch(U.status){case"pending":t.queryHash===n.queryHash&&P(U);break;case"fulfilled":(I.status==="error"||I.data!==U.value)&&z();break;case"rejected":(I.status!=="error"||I.error!==U.reason)&&z();break}}return I}updateResult(){const t=this.#i,e=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#o=this.options,this.#r.data!==void 0&&(this.#f=this.#t),hT(e,t))return;this.#i=e;const n=()=>{if(!t)return!0;const{notifyOnChangeProps:r}=this.options,i=typeof r=="function"?r():r;if(i==="all"||!i&&!this.#p.size)return!0;const s=new Set(i??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#i).some(a=>{const o=a;return this.#i[o]!==t[o]&&s.has(o)})};this.#x({listeners:n()})}#_(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#n=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#x(t){Zr.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function q2e(t,e){return la(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function CF(t,e){return q2e(t,e)||t.state.data!==void 0&&bT(t,e,e.refetchOnMount)}function bT(t,e,n){if(la(e.enabled,t)!==!1&&Vc(e.staleTime,t)!=="static"){const r=typeof n=="function"?n(t):n;return r==="always"||r!==!1&&p3(t,e)}return!1}function TF(t,e,n,r){return(t!==e||la(r.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&p3(t,n)}function p3(t,e){return la(e.enabled,t)!==!1&&t.isStaleByTime(Vc(e.staleTime,t))}function W2e(t,e){return!hT(t.getCurrentResult(),e)}function AF(t){return{onFetch:(e,n)=>{const r=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,s=e.state.data?.pages||[],a=e.state.data?.pageParams||[];let o={pages:[],pageParams:[]},l=0;const c=async()=>{let d=!1;const f=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(e.signal.aborted?d=!0:e.signal.addEventListener("abort",()=>{d=!0}),e.signal)})},p=DX(e.options,e.fetchOptions),g=async(b,y,w)=>{if(d)return Promise.reject();if(y==null&&b.pages.length)return Promise.resolve(b);const _=(()=>{const N={client:e.client,queryKey:e.queryKey,pageParam:y,direction:w?"backward":"forward",meta:e.options.meta};return f(N),N})(),E=await p(_),{maxPages:T}=e.options,R=w?P2e:B2e;return{pages:R(b.pages,E,T),pageParams:R(b.pageParams,y,T)}};if(i&&s.length){const b=i==="backward",y=b?K2e:RF,w={pages:s,pageParams:a},S=y(r,w);o=await g(w,S,b)}else{const b=t??s.length;do{const y=l===0?a[0]??r.initialPageParam:RF(r,o);if(l>0&&y==null)break;o=await g(o,y),l++}while(l<b)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=c}}}function RF(t,{pages:e,pageParams:n}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,n[r],n):void 0}function K2e(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Y2e=class extends BX{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||X2e(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=LX({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,a)=>{this.#r({type:"failed",failureCount:s,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",i=!this.#i.canStart();try{if(r)e();else{this.#r({type:"pending",variables:t,isPaused:i}),await this.#n.config.onMutate?.(t,this,n);const a=await this.options.onMutate?.(t,n);a!==this.state.context&&this.#r({type:"pending",context:a,variables:t,isPaused:i})}const s=await this.#i.start();return await this.#n.config.onSuccess?.(s,t,this.state.context,this,n),await this.options.onSuccess?.(s,t,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,t,this.state.context,n),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#n.config.onError?.(s,t,this.state.context,this,n),await this.options.onError?.(s,t,this.state.context,n),await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,s,t,this.state.context,n),s}finally{this.#r({type:"error",error:s})}}finally{this.#n.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),Zr.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function X2e(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Z2e=class extends D0{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,e,n){const r=new Y2e({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(e),state:n});return this.add(r),r}add(t){this.#e.add(t);const e=qy(t);if(typeof e=="string"){const n=this.#t.get(e);n?n.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=qy(t);if(typeof e=="string"){const n=this.#t.get(e);if(n)if(n.length>1){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}else n[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=qy(t);if(typeof e=="string"){const r=this.#t.get(e)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const e=qy(t);return typeof e=="string"?this.#t.get(e)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Zr.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(n=>SF(e,n))}findAll(t={}){return this.getAll().filter(e=>SF(t,e))}notify(t){Zr.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return Zr.batch(()=>Promise.all(t.map(e=>e.continue().catch(ss))))}};function qy(t){return t.options.scope?.id}var Q2e=class extends D0{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const r=e.queryKey,i=e.queryHash??d3(r,e);let s=this.get(i);return s||(s=new V2e({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(r)}),this.add(s)),s}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Zr.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(n=>wF(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>wF(t,n)):e}notify(t){Zr.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){Zr.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Zr.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},J2e=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new Q2e,this.#t=t.mutationCache||new Z2e,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=f3.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=nw.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=this.#e.build(this,e),r=n.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Vc(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:n})=>{const r=n.data;return[e,r]})}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),s=this.#e.get(r.queryHash)?.state.data,a=D2e(e,s);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(t,e,n){return Zr.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,n)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;Zr.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return Zr.batch(()=>(n.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},r=Zr.batch(()=>this.#e.findAll(t).map(i=>i.cancel(n)));return Promise.all(r).then(ss).catch(ss)}invalidateQueries(t,e={}){return Zr.batch(()=>(this.#e.findAll(t).forEach(n=>{n.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},r=Zr.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(ss)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(ss)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(Vc(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(ss).catch(ss)}fetchInfiniteQuery(t){return t.behavior=AF(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(ss).catch(ss)}ensureInfiniteQueryData(t){return t.behavior=AF(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return nw.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,e){this.#i.set(Ug(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(r=>{jg(t,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(Ug(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(r=>{jg(t,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=d3(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===h3&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},FX=A.createContext(void 0),eke=t=>{const e=A.useContext(FX);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},tke=({client:t,children:e})=>(A.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),x.jsx(FX.Provider,{value:t,children:e})),zX=A.createContext(!1),nke=()=>A.useContext(zX);zX.Provider;function rke(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var ike=A.createContext(rke()),ske=()=>A.useContext(ike),ake=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOn
64Mount=!1))},oke=t=>{A.useEffect(()=>{t.clearReset()},[t])},lke=({result:t,errorResetBoundary:e,throwOnError:n,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&t.data===void 0||F2e(n,[t.error,r])),cke=t=>{if(t.suspense){const n=i=>i==="static"?i:Math.max(i??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...i)=>n(r(...i)):n(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},uke=(t,e)=>t.isLoading&&t.isFetching&&!e,dke=(t,e)=>t?.suspense&&e.isPending,NF=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function hke(t,e,n){const r=nke(),i=ske(),s=eke(),a=s.defaultQueryOptions(t);s.getDefaultOptions().queries?._experimental_beforeQuery?.(a),a._optimisticResults=r?"isRestoring":"optimistic",cke(a),ake(a,i),oke(i);const o=!s.getQueryCache().get(a.queryHash),[l]=A.useState(()=>new e(s,a)),c=l.getOptimisticResult(a),d=!r&&t.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(f=>{const p=d?l.subscribe(Zr.batchCalls(f)):ss;return l.updateResult(),p},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),A.useEffect(()=>{l.setOptions(a)},[a,l]),dke(a,c))throw NF(a,l,i);if(lke({result:c,errorResetBoundary:i,throwOnError:a.throwOnError,query:s.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw c.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(a,c),a.experimental_prefetchInRender&&!Od&&uke(c,r)&&(o?NF(a,l,i):s.getQueryCache().get(a.queryHash)?.promise)?.catch(ss).finally(()=>{l.updateResult()}),a.notifyOnChangeProps?c:l.trackResult(c)}function fke(t,e){return hke(t,G2e)}function UX(t,e){return function(){return t.apply(e,arguments)}}const{toString:pke}=Object.prototype,{getPrototypeOf:m3}=Object,{iterator:AS,toStringTag:jX}=Symbol,RS=(t=>e=>{const n=pke.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),io=t=>(t=t.toLowerCase(),e=>RS(e)===t),NS=t=>e=>typeof e===t,{isArray:vp}=Array,Wf=NS("undefined");function M0(t){return t!==null&&!Wf(t)&&t.constructor!==null&&!Wf(t.constructor)&&ds(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const HX=io("ArrayBuffer");function mke(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&HX(t.buffer),e}const gke=NS("string"),ds=NS("function"),$X=NS("number"),L0=t=>t!==null&&typeof t=="object",bke=t=>t===!0||t===!1,t1=t=>{if(RS(t)!=="object")return!1;const e=m3(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(jX in t)&&!(AS in t)},yke=t=>{if(!L0(t)||M0(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},vke=io("Date"),wke=io("File"),Ske=io("Blob"),_ke=io("FileList"),xke=t=>L0(t)&&ds(t.pipe),Eke=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ds(t.append)&&((e=RS(t))==="formdata"||e==="object"&&ds(t.toString)&&t.toString()==="[object FormData]"))},kke=io("URLSearchParams"),[Cke,Tke,Ake,Rke]=["ReadableStream","Request","Response","Headers"].map(io),Nke=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B0(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),vp(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{if(M0(t))return;const s=n?Object.getOwnPropertyNames(t):Object.keys(t),a=s.length;let o;for(r=0;r<a;r++)o=s[r],e.call(null,t[o],o,t)}}function VX(t,e){if(M0(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const cd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,GX=t=>!Wf(t)&&t!==cd;function yT(){const{caseless:t,skipUndefined:e}=GX(this)&&this||{},n={},r=(i,s)=>{const a=t&&VX(n,s)||s;t1(n[a])&&t1(i)?n[a]=yT(n[a],i):t1(i)?n[a]=yT({},i):vp(i)?n[a]=i.slice():(!e||!Wf(i))&&(n[a]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&B0(arguments[i],r);return n}const Oke=(t,e,n,{allOwnKeys:r}={})=>(B0(e,(i,s)=>{n&&ds(i)?t[s]=UX(i,n):t[s]=i},{allOwnKeys:r}),t),Ike=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Dke=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Mke=(t,e,n,r)=>{let i,s,a;const o={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;
64)a=i[s],(!r||r(a,t,e))&&!o[a]&&(e[a]=t[a],o[a]=!0);t=n!==!1&&m3(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Lke=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Bke=t=>{if(!t)return null;if(vp(t))return t;let e=t.length;if(!$X(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Pke=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&m3(Uint8Array)),Fke=(t,e)=>{const r=(t&&t[AS]).call(t);let i;for(;(i=r.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},zke=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Uke=io("HTMLFormElement"),jke=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),OF=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Hke=io("RegExp"),qX=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};B0(n,(i,s)=>{let a;(a=e(i,s,t))!==!1&&(r[s]=a||i)}),Object.defineProperties(t,r)},$ke=t=>{qX(t,(e,n)=>{if(ds(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(ds(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Vke=(t,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return vp(t)?r(t):r(String(t).split(e)),n},Gke=()=>{},qke=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Wke(t){return!!(t&&ds(t.append)&&t[jX]==="FormData"&&t[AS])}const Kke=t=>{const e=new Array(10),n=(r,i)=>{if(L0(r)){if(e.indexOf(r)>=0)return;if(M0(r))return r;if(!("toJSON"in r)){e[i]=r;const s=vp(r)?[]:{};return B0(r,(a,o)=>{const l=n(a,i+1);!Wf(l)&&(s[o]=l)}),e[i]=void 0,s}}return r};return n(t,0)},Yke=io("AsyncFunction"),Xke=t=>t&&(L0(t)||ds(t))&&ds(t.then)&&ds(t.catch),WX=((t,e)=>t?setImmediate:e?((n,r)=>(cd.addEventListener("message",({source:i,data:s})=>{i===cd&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),cd.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ds(cd.postMessage)),Zke=typeof queueMicrotask<"u"?queueMicrotask.bind(cd):typeof process<"u"&&process.nextTick||WX,Qke=t=>t!=null&&ds(t[AS]),_e={isArray:vp,isArrayBuffer:HX,isBuffer:M0,isFormData:Eke,isArrayBufferView:mke,isString:gke,isNumber:$X,isBoolean:bke,isObject:L0,isPlainObject:t1,isEmptyObject:yke,isReadableStream:Cke,isRequest:Tke,isResponse:Ake,isHeaders:Rke,isUndefined:Wf,isDate:vke,isFile:wke,isBlob:Ske,isRegExp:Hke,isFunction:ds,isStream:xke,isURLSearchParams:kke,isTypedArray:Pke,isFileList:_ke,forEach:B0,merge:yT,extend:Oke,trim:Nke,stripBOM:Ike,inherits:Dke,toFlatObject:Mke,kindOf:RS,kindOfTest:io,endsWith:Lke,toArray:Bke,forEachEntry:Fke,matchAll:zke,isHTMLForm:Uke,hasOwnProperty:OF,hasOwnProp:OF,reduceDescriptors:qX,freezeMethods:$ke,toObjectSet:Vke,toCamelCase:jke,noop:Gke,toFiniteNumber:qke,findKey:VX,global:cd,isContextDefined:GX,isSpecCompliantForm:Wke,toJSONObject:Kke,isAsyncFn:Yke,isThenable:Xke,setImmediate:WX,asap:Zke,isIterable:Qke};function Tt(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}_e.inherits(Tt,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:_e.toJSONObject(this.config),code:this.code,status:this.status}}});const KX=Tt.prototype,YX={};["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(t=>{YX[t]={value:t}});Object.defineProperties(Tt,YX);Object.defineProperty(KX,"isAxiosError",{value:!0});Tt.from=(t,e,n,r,i,s)=>{const a=Object.create(KX);_e.toFlatObject(t,a,function(d){return d!==Error.prototype},c=>c!=="isAxiosError");const o=t&&t.message?t.message:"Error",l=e==null&&t?t.code:e;return Tt.call(a,o,l,n,r,i),t&&a.cause==null&&Object.defineProperty(a,"cause",{value:t,configurable:!0}),a.name=t&&t.name||"Error",s&&Object.assign(a,s),a};const Jke=null;function vT(t){return _e.isPlainObject(t)||_e.isArray(t)}function XX(t){return _e.endsWith(t,"[]")?t.slice(0,-2):t}function IF(t,e,n){return t?t.concat(e).map(function(i,s){return i=XX(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function eCe(t){return _e.isArray(t)&&!t.some(vT)}const tCe=_e.toFlatObject(_e,{},null,function(e){return/^is[A-Z]/.test(e)});function OS(t,e,n){if(!_e.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=_e.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!_e.isUndefined(w[y])});const r=n.metaTokens,i=n.visitor||d,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&_e.isSpecCompliantForm(e);
vendor: 1,185 bytes, line 64
64if(!_e.isFunction(i))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(_e.isDate(b))return b.toISOString();if(_e.isBoolean(b))return b.toString();if(!l&&_e.isBlob(b))throw new Tt("Blob is not supported. Use a Buffer instead.");return _e.isArrayBuffer(b)||_e.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,y,w){let S=b;if(b&&!w&&typeof b=="object"){if(_e.endsWith(y,"{}"))y=r?y:y.slice(0,-2),b=JSON.stringify(b);else if(_e.isArray(b)&&eCe(b)||(_e.isFileList(b)||_e.endsWith(y,"[]"))&&(S=_e.toArray(b)))return y=XX(y),S.forEach(function(E,T){!(_e.isUndefined(E)||E===null)&&e.append(a===!0?IF([y],T,s):a===null?y:y+"[]",c(E))}),!1}return vT(b)?!0:(e.append(IF(w,y,s),c(b)),!1)}const f=[],p=Object.assign(tCe,{defaultVisitor:d,convertValue:c,isVisitable:vT});function g(b,y){if(!_e.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(b),_e.forEach(b,function(S,_){(!(_e.isUndefined(S)||S===null)&&i.call(e,S,_e.isString(_)?_.trim():_,y,p))===!0&&g(S,y?y.concat(_):[_])}),f.pop()}}if(!_e.isObject(t))throw new TypeError("data must be an object");return g(t),e}
vendor: 10,607 bytes, lines 64-66
64function DF(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function g3(t,e){this._pairs=[],t&&OS(t,this,e)}const ZX=g3.prototype;ZX.append=function(e,n){this._pairs.push([e,n])};ZX.toString=function(e){const n=e?function(r){return e.call(this,r,DF)}:DF;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function nCe(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function QX(t,e,n){if(!e)return t;const r=n&&n.encode||nCe;_e.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(e,n):s=_e.isURLSearchParams(e)?e.toString():new g3(e,n).toString(r),s){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class MF{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){_e.forEach(this.handlers,function(r){r!==null&&e(r)})}}const JX={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rCe=typeof URLSearchParams<"u"?URLSearchParams:g3,iCe=typeof FormData<"u"?FormData:null,sCe=typeof Blob<"u"?Blob:null,aCe={isBrowser:!0,classes:{URLSearchParams:rCe,FormData:iCe,Blob:sCe},protocols:["http","https","file","blob","url","data"]},b3=typeof window<"u"&&typeof document<"u",wT=typeof navigator=="object"&&navigator||void 0,oCe=b3&&(!wT||["ReactNative","NativeScript","NS"].indexOf(wT.product)<0),lCe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cCe=b3&&window.location.href||"http://localhost",uCe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:b3,hasStandardBrowserEnv:oCe,hasStandardBrowserWebWorkerEnv:lCe,navigator:wT,origin:cCe},Symbol.toStringTag,{value:"Module"})),ui={...uCe,...aCe};function dCe(t,e){return OS(t,new ui.classes.URLSearchParams,{visitor:function(n,r,i,s){return ui.isNode&&_e.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function hCe(t){return _e.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function fCe(t){const e={},n=Object.keys(t);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],e[s]=t[s];return e}function eZ(t){function e(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const o=Number.isFinite(+a),l=s>=n.length;return a=!a&&_e.isArray(i)?i.length:a,l?(_e.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!o):((!i[a]||!_e.isObject(i[a]))&&(i[a]=[]),e(n,r,i[a],s)&&_e.isArray(i[a])&&(i[a]=fCe(i[a])),!o)}if(_e.isFormData(t)&&_e.isFunction(t.entries)){const n={};return _e.forEachEntry(t,(r,i)=>{e(hCe(r),i,n,0)}),n}return null}function pCe(t,e,n){if(_e.isString(t))try{return(e||JSON.parse)(t),_e.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const P0={transitional:JX,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=_e.isObject(e);if(s&&_e.isHTMLForm(e)&&(e=new FormData(e)),_e.isFormData(e))return i?JSON.stringify(eZ(e)):e;if(_e.isArrayBuffer(e)||_e.isBuffer(e)||_e.isStream(e)||_e.isFile(e)||_e.isBlob(e)||_e.isReadableStream(e))return e;if(_e.isArrayBufferView(e))return e.buffer;if(_e.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return dCe(e,this.formSerializer).toString();if((o=_e.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return OS(o?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),pCe(e)):e}],transformResponse:[function(e){const n=this.transitional||P0.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(_e.isResponse(e)||_e.isReadableStream(e))return e;if(e&&_e.isString(e)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(o){if(a)throw o.name==="SyntaxError"?Tt.from(o,Tt.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ui.classes.FormData,Blob:ui.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_e.forEach(["delete","get","head","post","put","patch"],t=>{P0.headers[t]={}});const mCe=_e.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"]),gCe=t=>{const e={};let n,r,i;return t&&t.split(`
65`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||e[n]&&mCe[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},LF=Symbol("internals");function Om(t){return t&&String(t).trim().toLowerCase()}function n1(t){return t===!1||t==null?t:_e.isArray(t)?t.map(n1):String(t)}function bCe(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const yCe=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function O2(t,e,n,r,i){if(_e.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!_e.isString(e)){if(_e.isString(r))return e.indexOf(r)!==-1;if(_e.isRegExp(r))return r.test(e)}}function vCe(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function wCe(t,e){const n=_e.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,s,a){return this[r].call(this,e,i,s,a)},configurable:!0})})}let hs=class{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(o,l,c){const d=Om(l);if(!d)throw new Error("header name must be a non-empty string");const f=_e.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=n1(o))}const a=(o,l)=>_e.forEach(o,(c,d)=>s(c,d,l));if(_e.isPlainObject(e)||e instanceof this.constructor)a(e,n);else if(_e.isString(e)&&(e=e.trim())&&!yCe(e))a(gCe(e),n);else if(_e.isObject(e)&&_e.isIterable(e)){let o={},l,c;for(const d of e){if(!_e.isArray(d))throw TypeError("Object iterator must return a key-value pair");o[c=d[0]]=(l=o[c])?_e.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}a(o,n)}else e!=null&&s(n,e,r);return this}get(e,n){if(e=Om(e),e){const r=_e.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return bCe(i);if(_e.isFunction(n))return n.call(this,i,r);if(_e.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Om(e),e){const r=_e.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||O2(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(a){if(a=Om(a),a){const o=_e.findKey(r,a);o&&(!n||O2(r,r[o],o,n))&&(delete r[o],i=!0)}}return _e.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||O2(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return _e.forEach(this,(i,s)=>{const a=_e.findKey(r,s);if(a){n[a]=n1(i),delete n[s];return}const o=e?vCe(s):String(s).trim();o!==s&&delete n[s],n[o]=n1(i),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return _e.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&_e.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
66`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[LF]=this[LF]={accessors:{}}).accessors,i=this.prototype;function s(a){const o=Om(a);r[o]||(wCe(i,a),r[o]=!0)}return _e.isArray(e)?e.forEach(s):s(e),this}};hs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_e.reduceDescriptors(hs.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});_e.freezeMethods(hs);function I2(t,e){const n=this||P0,r=e||n,i=hs.from(r.headers);let s=r.data;return _e.forEach(t,function(o){s=o.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function tZ(t){return!!(t&&t.__CANCEL__)}function wp(t,e,n){Tt.call(this,t??"canceled",Tt.ERR_CANCELED,e,n),this.name="CanceledError"}_e.inherits(wp,Tt,{__CANCEL__:!0});function nZ(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Tt("Request failed with status code "+n.status,[Tt.ERR_BAD_REQUEST,Tt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function SCe(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function _Ce(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,s=0,a;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),d=r[s];a||(a=c),n[i]=l,r[i]=c;let f=s,p=0;for(;f!==i;)p+=n[f++],f=f%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-a<e)return;const g=d&&c-d;return g?Math.round(p*1e3/g):void 0}}function xCe(t,e){let n=0,r=1e3/e,i,s;const a=(c,d=Date.now())=>{n=d,i=null,s&&(clearTimeout(s),s=null),t(...c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?a(c,d):(i=c,s||(s=setTimeout(()=>{s=null,a(i)},r-f)))},()=>i&&a(i)]}const rw=(t,e,n=3)=>{let r=0;const i=_Ce(50,250);return xCe(s=>{const a=s.loaded,o=s.lengthComputable?s.total:void 0,l=a-r,c=i(l),d=a<=o;r=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&d?(o-a)/c:void 0,event:s,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(f)},n)},BF=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},PF=t=>(...e)=>_e.asap(()=>t(...e)),ECe=ui.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,ui.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(ui.origin),ui.navigator&&/(msie|trident)/i.test(ui.navigator.userAgent)):()=>!0,kCe=ui.hasStandardBrowserEnv?{write(t,e,n,r,i,s,a){if(typeof document>"u")return;const o=[`${t}=${encodeURIComponent(e)}`];_e.isNumber(n)&&o.push(`expires=${new Date(n).toUTCString()}
66`),_e.isString(r)&&o.push(`path=${r}`),_e.isString(i)&&o.push(`domain=${i}`),s===!0&&o.push("secure"),_e.isString(a)&&o.push(`SameSite=${a}`),document.cookie=o.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function CCe(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function TCe(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function rZ(t,e,n){let r=!CCe(e);return t&&(r||n==!1)?TCe(t,e):e}const FF=t=>t instanceof hs?{...t}:t;function Id(t,e){e=e||{};const n={};function r(c,d,f,p){return _e.isPlainObject(c)&&_e.isPlainObject(d)?_e.merge.call({caseless:p},c,d):_e.isPlainObject(d)?_e.merge({},d):_e.isArray(d)?d.slice():d}function i(c,d,f,p){if(_e.isUndefined(d)){if(!_e.isUndefined(c))return r(void 0,c,f,p)}else return r(c,d,f,p)}function s(c,d){if(!_e.isUndefined(d))return r(void 0,d)}function a(c,d){if(_e.isUndefined(d)){if(!_e.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function o(c,d,f){if(f in e)return r(c,d);if(f in t)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(c,d,f)=>i(FF(c),FF(d),f,!0)};return _e.forEach(Object.keys({...t,...e}),function(d){const f=l[d]||i,p=f(t[d],e[d],d);_e.isUndefined(p)&&f!==o||(n[d]=p)}),n}const iZ=t=>{const e=Id({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:o}=e;if(e.headers=a=hs.from(a),e.url=QX(rZ(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),_e.isFormData(n)){if(ui.hasStandardBrowserEnv||ui.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(_e.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([d,f])=>{c.includes(d.toLowerCase())&&a.set(d,f)})}}if(ui.hasStandardBrowserEnv&&(r&&_e.isFunction(r)&&(r=r(e)),r||r!==!1&&ECe(e.url))){const l=i&&s&&kCe.read(s);l&&a.set(i,l)}return e},ACe=typeof XMLHttpRequest<"u",RCe=ACe&&function(t){return new Promise(function(n,r){const i=iZ(t);let s=i.data;const a=hs.from(i.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=i,d,f,p,g,b;function y(){g&&g(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function S(){if(!w)return;const E=hs.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),R={data:!o||o==="text"||o==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:E,config:t,request:w};nZ(function(I){n(I),y()},function(I){r(I),y()},R),w=null}"onloadend"in w?w.onloadend=S:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(S)},w.onabort=function(){w&&(r(new Tt("Request aborted",Tt.ECONNABORTED,t,w)),w=null)},w.onerror=function(T){const R=T&&T.message?T.message:"Network Error",N=new Tt(R,Tt.ERR_NETWORK,t,w);N.event=T||null,r(N),w=null},w.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const R=i.transitional||JX;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new Tt(T,R.clarifyTimeoutError?Tt.ETIMEDOUT:Tt.ECONNABORTED,t,w)),w=null},s===void 0&&a.setContentType(null),"setRequestHeader"in w&&_e.forEach(a.toJSON(),function(T,R){w.setRequestHeader(R,T)}),_e.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),o&&o!=="json"&&(w.responseType=i.responseType),c&&
vendor: 5,601 bytes, lines 66-68
66([p,b]=rw(c,!0),w.addEventListener("progress",p)),l&&w.upload&&([f,g]=rw(l),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=E=>{w&&(r(!E||E.type?new wp(null,t,w):E),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const _=SCe(i.url);if(_&&ui.protocols.indexOf(_)===-1){r(new Tt("Unsupported protocol "+_+":",Tt.ERR_BAD_REQUEST,t));return}w.send(s||null)})},NCe=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const s=function(c){if(!i){i=!0,o();const d=c instanceof Error?c:this.reason;r.abort(d instanceof Tt?d:new wp(d instanceof Error?d.message:d))}};let a=e&&setTimeout(()=>{a=null,s(new Tt(`timeout ${e} of ms exceeded`,Tt.ETIMEDOUT))},e);const o=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),t=null)};t.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>_e.asap(o),l}},OCe=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},ICe=async function*(t,e){for await(const n of DCe(t))yield*OCe(n,e)},DCe=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},zF=(t,e,n,r)=>{const i=ICe(t,e);let s=0,a,o=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await i.next();if(c){o(),l.close();return}let f=d.byteLength;if(n){let p=s+=f;n(p)}l.enqueue(new Uint8Array(d))}catch(c){throw o(c),c}},cancel(l){return o(l),i.return()}},{highWaterMark:2})},UF=64*1024,{isFunction:Wy}=_e,MCe=(({Request:t,Response:e})=>({Request:t,Response:e}))(_e.global),{ReadableStream:jF,TextEncoder:HF}=_e.global,$F=(t,...e)=>{try{return!!t(...e)}catch{return!1}},LCe=t=>{t=_e.merge.call({skipUndefined:!0},MCe,t);const{fetch:e,Request:n,Response:r}=t,i=e?Wy(e):typeof fetch=="function",s=Wy(n),a=Wy(r);if(!i)return!1;const o=i&&Wy(jF),l=i&&(typeof HF=="function"?(b=>y=>b.encode(y))(new HF):async b=>new Uint8Array(await new n(b).arrayBuffer())),c=s&&o&&$F(()=>{let b=!1;const y=new n(ui.origin,{body:new jF,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!y}),d=a&&o&&$F(()=>_e.isReadableStream(new r("").body)),f={stream:d&&(b=>b.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,w)=>{let S=y&&y[b];if(S)return S.call(y);throw new Tt(`Response type '${b}' is not supported`,Tt.ERR_NOT_SUPPORT,w)})});const p=async b=>{if(b==null)return 0;if(_e.isBlob(b))return b.size;if(_e.isSpecCompliantForm(b))return(await new n(ui.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(_e.isArrayBufferView(b)||_e.isArrayBuffer(b))return b.byteLength;if(_e.isURLSearchParams(b)&&(b=b+""),_e.isString(b))return(await l(b)).byteLength},g=async(b,y)=>{const w=_e.toFiniteNumber(b.getContentLength());return w??p(y)};return async b=>{let{url:y,method:w,data:S,signal:_,cancelToken:E,timeout:T,onDownloadProgress:R,onUploadProgress:N,responseType:I,headers:P,withCredentials:z="same-origin",fetchOptions:U}=iZ(b),Z=e||fetch;I=I?(I+"").toLowerCase():"text";let L=NCe([_,E&&E.toAbortSignal()],T),$=null;const D=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let W;try{if(N&&c&&w!=="get"&&w!=="head"&&(W=await g(P,S))!==0){let j=new n(y,{method:"POST",body:S,duplex:"half"}),X;if(_e.isFormData(S)&&(X=j.headers.get("content-type"))&&P.setContentType(X),j.body){const[H,ae]=BF(W,rw(PF(N)));S=zF(j.body,UF,H,ae)}}_e.isString(z)||(z=z?"include":"omit");const G=s&&"credentials"in n.prototype,K={...U,signal:L,method:w.toUpperCase(),headers:P.normalize().toJSON(),body:S,duplex:"half",credentials:G?z:void 0};$=s&&new n(y,K);let Y=await(s?Z($,U):Z(y,K));const te=d&&(I==="stream"||I==="response");if(d&&(R||te&&D)){const j={};["status","statusText","headers"].forEach(le=>{j[le]=Y[le]});const X=_e.toFiniteNumber(Y.headers.get("content-length")),[H,ae]=R&&BF(X,rw(PF(R),!0))||[];Y=new r(zF(Y.body,UF,H,()=>{ae&&ae(),D&&D()}),j)}I=I||"text";let q=await f[_e.findKey(f,I)||"text"](Y,b);return!te&&D&&D(),await new Promise((j,X)=>{nZ(j,X,{data:q,headers:hs.from(Y.headers),status:Y.status,statusText:Y.statusText,config:b,request:$})})}catch(G){throw D&&D(),G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new Tt("Network Error",Tt.ERR_NETWORK,b,$),{cause:G.cause||G}):Tt.from(G,G&&G.code,b,$)}}},BCe=new Map,sZ=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:i}=e,s=[r,i,n];let a=s.length,o=a,l,c,d=BCe;for(;o--;)l=s[o],c=d.get(l),c===void 0&&d.set(l,c=o?new Map:LCe(e)),d=c;return c};sZ();const y3={http:Jke,xhr:RCe,fetch:{get:sZ}};_e.forEach(y3,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const VF=t=>`- ${t}`,PCe=t=>_e.isFunction(t)||t===null||t===!1;function FCe(t,e){t=_e.isArray(t)?t:[t];const{length:n}=t;let r,i;const s={};for(let a=0;a<n;a++){r=t[a];let o;if(i=r,!PCe(r)&&(i=y3[(o=String(r)).toLowerCase()],i===void 0))throw new Tt(`Unknown adapter '${o}'`);if(i&&(_e.isFunction(i)||(i=i.get(e))))break;s[o||"#"+a]=i}if(!i){const a=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=n?a.length>1?`since :
67`+a.map(VF).join(`
68`):" "+VF(a[0]):"as no adapter specified";throw new Tt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i}
vendor: 4,735 bytes, lines 68-69
68const aZ={getAdapter:FCe,adapters:y3};function D2(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new wp(null,t)}function GF(t){return D2(t),t.headers=hs.from(t.headers),t.data=I2.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),aZ.getAdapter(t.adapter||P0.adapter,t)(t).then(function(r){return D2(t),r.data=I2.call(t,t.transformResponse,r),r.headers=hs.from(r.headers),r},function(r){return tZ(r)||(D2(t),r&&r.response&&(r.response.data=I2.call(t,t.transformResponse,r.response),r.response.headers=hs.from(r.response.headers))),Promise.reject(r)})}const oZ="1.13.2",IS={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{IS[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const qF={};IS.transitional=function(e,n,r){function i(s,a){return"[Axios v"+oZ+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,o)=>{if(e===!1)throw new Tt(i(a," has been removed"+(n?" in "+n:"")),Tt.ERR_DEPRECATED);return n&&!qF[a]&&(qF[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,a,o):!0}};IS.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function zCe(t,e,n){if(typeof t!="object")throw new Tt("options must be an object",Tt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const s=r[i],a=e[s];if(a){const o=t[s],l=o===void 0||a(o,s,t);if(l!==!0)throw new Tt("option "+s+" must be "+l,Tt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Tt("Unknown option "+s,Tt.ERR_BAD_OPTION)}}const r1={assertOptions:zCe,validators:IS},ho=r1.validators;let vd=class{constructor(e){this.defaults=e||{},this.interceptors={request:new MF,response:new MF}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
69`+s):r.stack=s}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Id(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&r1.assertOptions(r,{silentJSONParsing:ho.transitional(ho.boolean),forcedJSONParsing:ho.transitional(ho.boolean),clarifyTimeoutError:ho.transitional(ho.boolean)},!1),i!=null&&(_e.isFunction(i)?n.paramsSerializer={serialize:i}:r1.assertOptions(i,{encode:ho.function,serialize:ho.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),r1.assertOptions(n,{baseUrl:ho.spelling("baseURL"),withXsrfToken:ho.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&_e.merge(s.common,s[n.method]);s&&_e.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),n.headers=hs.concat(a,s);const o=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,o.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,f=0,p;if(!l){const b=[GF.bind(this),void 0];for(b.unshift(...o),b.push(...c),p=b.length,d=Promise.resolve(n);f<p;)d=d.then(b[f++],b[f++]);return d}p=o.length;let g=n;for(;f<p;){const b=o[f++],y=o[f++];try{g=b(g)}catch(w){y.call(this,w);break}}try{d=GF.call(this,g)}catch(b){return Promise.reject(b)}for(f=0,p=c.length;f<p;)d=d.then(c[f++],c[f++]);return d}getUri(e){e=Id(this.defaults,e);const n=rZ(e.baseURL,e.url,e.allowAbsoluteUrls);return QX(n,e.params,e.paramsSerializer)}};_e.forEach(["delete","get","head","options"],function(e){vd.prototype[e]=function(n,r){return this.request(Id(r||{},{method:e,url:n,data:(r||{}).data}))}});_e.forEach(["post","put","patch"],function(e){function n(r){return function(s,a,o){return this.request(Id(o||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}vd.prototype[e]=n(),vd.prototype[e+"Form"]=n(!0)});let UCe=class lZ{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(o=>{r.subscribe(o),s=o}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},e(function(s,a,o){r.reason||(r.reason=new wp(s,a,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
69subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new lZ(function(i){e=i}),cancel:e}}};function jCe(t){return function(n){return t.apply(null,n)}}function HCe(t){return _e.isObject(t)&&t.isAxiosError===!0}const ST={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ST).forEach(([t,e])=>{ST[e]=t});function cZ(t){const e=new vd(t),n=UX(vd.prototype.request,e);return _e.extend(n,vd.prototype,e,{allOwnKeys:!0}),_e.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return cZ(Id(t,i))},n}const Wn=cZ(P0);Wn.Axios=vd;Wn.CanceledError=wp;Wn.CancelToken=UCe;Wn.isCancel=tZ;Wn.VERSION=oZ;Wn.toFormData=OS;Wn.AxiosError=Tt;Wn.Cancel=Wn.CanceledError;Wn.all=function(e){return Promise.all(e)};Wn.spread=jCe;Wn.isAxiosError=HCe;Wn.mergeConfig=Id;Wn.AxiosHeaders=hs;Wn.formToJSON=t=>eZ(_e.isHTMLForm(t)?new FormData(t):t);Wn.getAdapter=aZ.getAdapter;Wn.HttpStatusCode=ST;Wn.default=Wn;const{Axios:lVe,AxiosError:cVe,CanceledError:uVe,isCancel:dVe,CancelToken:hVe,VERSION:fVe,all:pVe,Cancel:mVe,isAxiosError:gVe,spread:bVe,toFormData:yVe,AxiosHeaders:vVe,HttpStatusCode:wVe,formToJSON:SVe,getAdapter:_Ve,mergeConfig:xVe}=Wn,i1=Wn.create({baseURL:xd.BASE_URL,timeout:xd.TIMEOUT_MS,headers:{"Content-Type":"application/json"}});let M2=!1,_T=[];const WF=(t,e=null)=>{_T.forEach(n=>{t?n.reject(t):e&&n.resolve(e)}),_T=[]};i1.interceptors.request.use(t=>{const{accessToken:e}=tu.getState();return e&&t.headers&&(t.headers.Authorization=`Bearer ${e}`),t},t=>Promise.reject(t));i1.interceptors.response.use(t=>t,async t=>{const e=t.config;if(t.response?.status!==Ide.UNAUTHORIZED||e._retry)return Promise.reject(t);const{refreshToken:n,logout:r}=tu.getState();if(!n)return r(),Promise.reject(t);if(M2)return new Promise((i,s)=>{_T.push({resolve:i,reject:s})}).then(i=>(e.headers&&(e.headers.Authorization=`Bearer ${i}`),i1(e))).catch(i=>Promise.reject(i));e._retry=!0,M2=!0;try{const i=await Wn.post(`${xd.BASE_URL}${Cg.AUTH.REFRESH}`,{refreshToken:n},{headers:{"Content-Type":"application/json"}}),{accessToken:s,refreshToken:a}=i.data,{login:o}=tu.getState();return o(s,a),WF(null,s),e.headers&&(e.headers.Authorization=`Bearer ${s}`),i1(e)}catch(i){return WF(i,null),r(),Promise.reject(i)}finally{M2=!1}});function $Ce(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const VCe=t=>{switch(t){case"success":return WCe;case"info":return YCe;case"warning":return KCe;case"error":return XCe;default:return null}},GCe=Array(12).fill(0),qCe=({visible:t,className:e})=>Pe.createElement("div",{className:["sonner-loading-wrapper",e].filter(
vendor: 6,060 bytes, line 69
69Boolean).join(" "),"data-visible":t},Pe.createElement("div",{className:"sonner-spinner"},GCe.map((n,r)=>Pe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),WCe=Pe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Pe.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"})),KCe=Pe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Pe.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"})),YCe=Pe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Pe.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"})),XCe=Pe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Pe.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"})),ZCe=Pe.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"},Pe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Pe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),QCe=()=>{const[t,e]=Pe.useState(document.hidden);return Pe.useEffect(()=>{const n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),t};let xT=1;class JCe{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;const{message:r,...i}=e,s=typeof e?.id=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:xT++,a=this.toasts.find(l=>l.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),a?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:r}),{...l,...e,id:s,dismissible:o,title:r}):l):this.addToast({title:r,...i,dismissible:o,id:s}),s},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:e,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const i=Promise.resolve(e instanceof Function?e():e);let s=r!==void 0,a;const o=i.then(async c=>{if(a=["resolve",c],Pe.isValidElement(c))s=!1,this.create({id:r,type:"default",message:c});else if(tTe(c)&&!c.ok){s=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,p=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description,b=typeof f=="object"&&!Pe.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:p,...b})}else if(c instanceof Error){s=!1;const f=typeof n.error=="function"?await n.error(c):n.error,p=typeof n.description=="function"?await n.description(c):n.description,b=typeof f=="object"&&!Pe.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:p,...b})}else if(n.success!==void 0){s=!1;const f=typeof n.success=="function"?await n.success(c):n.success,p=typeof n.description=="function"?await n.description(c):n.description,b=typeof f=="object"&&!Pe.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:p,...b})}}).catch(async c=>{if(a=["reject",c],n.error!==void 0){s=!1;const d=typeof n.error=="function"?await n.error(c):n.error,f=typeof n.description=="function"?await n.description(c):n.description,g=typeof d=="object"&&!Pe.isValidElement(d)?d:{message:d};this.create({id:r,type:"error",description:f,...g})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((c,d)=>o.then(()=>a[0]==="reject"?d(a[1]):c(a[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(e,n)=>{const r=n?.id||xT++;return this.create({jsx:e(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const is=new JCe,eTe=(t,e)=>{const n=e?.id||xT++;return is.addToast({title:t,...e,id:n}),n},tTe=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",nTe=eTe,rTe=()=>is.toasts,iTe=()=>is.getActiveToasts(),EVe=Object.assign(nTe,{success:is.success,info:is.info,warning:is.warning,error:is.error,custom:is.custom,message:is.message,promise:is.promise,dismiss:is.dismiss,loading:is.loading},{getHistory:rTe,getToasts:iTe});$C
vendor: 4,788 bytes, line 69
69e("[data-sonner-toaster][dir=ltr],html[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%)}[data-sonner-toaster][dir=rtl],html[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%)}[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:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[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);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[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 rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [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)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [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;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,086 bytes, line 69
69left: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);background:var(--normal-bg);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-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[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}[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}[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,0)) translateX(var(--swipe-amount-x,0));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{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{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{from{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-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--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-sonner-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-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-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, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--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-sonner-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-sonner-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]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[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]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[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]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[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]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[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:first-child{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)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{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 
vendor: 2,457 bytes, line 69
69Ky(t){return t.label!==void 0}const sTe=3,aTe="24px",oTe="16px",KF=4e3,lTe=356,cTe=14,uTe=45,dTe=200;function fo(...t){return t.filter(Boolean).join(" ")}function hTe(t){const[e,n]=t.split("-"),r=[];return e&&r.push(e),n&&r.push(n),r}const fTe=t=>{var e,n,r,i,s,a,o,l,c;const{invert:d,toast:f,unstyled:p,interacting:g,setHeights:b,visibleToasts:y,heights:w,index:S,toasts:_,expanded:E,removeToast:T,defaultRichColors:R,closeButton:N,style:I,cancelButtonStyle:P,actionButtonStyle:z,className:U="",descriptionClassName:Z="",duration:L,position:$,gap:D,expandByDefault:W,classNames:G,icons:K,closeButtonAriaLabel:Y="Close toast"}=t,[te,q]=Pe.useState(null),[j,X]=Pe.useState(null),[H,ae]=Pe.useState(!1),[le,Ee]=Pe.useState(!1),[me,ke]=Pe.useState(!1),[Le,qe]=Pe.useState(!1),[Xe,ut]=Pe.useState(!1),[it,F]=Pe.useState(0),[Ce,Se]=Pe.useState(0),re=Pe.useRef(f.duration||L||KF),ne=Pe.useRef(null),ue=Pe.useRef(null),Oe=S===0,Me=S+1<=y,pe=f.type,Fe=f.dismissible!==!1,Ge=f.className||"",He=f.descriptionClassName||"",he=Pe.useMemo(()=>w.findIndex(_t=>_t.toastId===f.id)||0,[w,f.id]),Ie=Pe.useMemo(()=>{var _t;return(_t=f.closeButton)!=null?_t:N},[f.closeButton,N]),$e=Pe.useMemo(()=>f.duration||L||KF,[f.duration,L]),mt=Pe.useRef(0),kt=Pe.useRef(0),fn=Pe.useRef(0),Un=Pe.useRef(null),[It,vn]=$.split("-"),Yn=Pe.useMemo(()=>w.reduce((_t,An,Nr)=>Nr>=he?_t:_t+An.height,0),[w,he]),Ot=QCe(),bs=f.invert||d,Hr=pe==="loading";kt.current=Pe.useMemo(()=>he*D+Yn,[he,Yn]),Pe.useEffect(()=>{re.current=$e},[$e]),Pe.useEffect(()=>{ae(!0)},[]),Pe.useEffect(()=>{const _t=ue.current;if(_t){const An=_t.getBoundingClientRect().height;return Se(An),b(Nr=>[{toastId:f.id,height:An,position:f.position},...Nr]),()=>b(Nr=>Nr.filter(ii=>ii.toastId!==f.id))}},[b,f.id]),Pe.useLayoutEffect(()=>{if(!H)return;const _t=ue.current,An=_t.style.height;_t.style.height="auto";const Nr=_t.getBoundingClientRect().height;_t.style.height=An,Se(Nr),b(ii=>ii.find(Mn=>Mn.toastId===f.id)?ii.map(Mn=>Mn.toastId===f.id?{...Mn,height:Nr}:Mn):[{toastId:f.id,height:Nr,position:f.position},...ii])},[H,f.title,f.description,b,f.id,f.jsx,f.action,f.cancel]);const Vs=Pe.useCallback(()=>{Ee(!0),F(kt.current),b(_t=>_t.filter(An=>An.toastId!==f.id)),setTimeout(()=>{T(f)},dTe)},[f,T,b,kt]);Pe.useEffect(()=>{if(f.promise&&pe==="loading"||f.duration===1/0||f.type==="loading")return;let _t;return E||g||Ot?(()=>{if(fn.current<mt.current){const ii=new Date().getTime()-mt.current;re.current=re.current-ii}
vendor: 6,529 bytes, line 69
69fn.current=new Date().getTime()})():re.current!==1/0&&(mt.current=new Date().getTime(),_t=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Vs()},re.current)),()=>clearTimeout(_t)},[E,g,f,pe,Ot,Vs]),Pe.useEffect(()=>{f.delete&&(Vs(),f.onDismiss==null||f.onDismiss.call(f,f))},[Vs,f.delete]);function Xl(){var _t;if(K?.loading){var An;return Pe.createElement("div",{className:fo(G?.loader,f==null||(An=f.classNames)==null?void 0:An.loader,"sonner-loader"),"data-visible":pe==="loading"},K.loading)}return Pe.createElement(qCe,{className:fo(G?.loader,f==null||(_t=f.classNames)==null?void 0:_t.loader),visible:pe==="loading"})}const Qo=f.icon||K?.[pe]||VCe(pe);var ys,Ci;return Pe.createElement("li",{tabIndex:0,ref:ue,className:fo(U,Ge,G?.toast,f==null||(e=f.classNames)==null?void 0:e.toast,G?.default,G?.[pe],f==null||(n=f.classNames)==null?void 0:n[pe]),"data-sonner-toast":"","data-rich-colors":(ys=f.richColors)!=null?ys:R,"data-styled":!(f.jsx||f.unstyled||p),"data-mounted":H,"data-promise":!!f.promise,"data-swiped":Xe,"data-removed":le,"data-visible":Me,"data-y-position":It,"data-x-position":vn,"data-index":S,"data-front":Oe,"data-swiping":me,"data-dismissible":Fe,"data-type":pe,"data-invert":bs,"data-swipe-out":Le,"data-swipe-direction":j,"data-expanded":!!(E||W&&H),"data-testid":f.testId,style:{"--index":S,"--toasts-before":S,"--z-index":_.length-S,"--offset":`${le?it:kt.current}px`,"--initial-height":W?"auto":`${Ce}px`,...I,...f.style},onDragEnd:()=>{ke(!1),q(null),Un.current=null},onPointerDown:_t=>{_t.button!==2&&(Hr||!Fe||(ne.current=new Date,F(kt.current),_t.target.setPointerCapture(_t.pointerId),_t.target.tagName!=="BUTTON"&&(ke(!0),Un.current={x:_t.clientX,y:_t.clientY})))},onPointerUp:()=>{var _t,An,Nr;if(Le||!Fe)return;Un.current=null;const ii=Number(((_t=ue.current)==null?void 0:_t.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Zl=Number(((An=ue.current)==null?void 0:An.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Mn=new Date().getTime()-((Nr=ne.current)==null?void 0:Nr.getTime()),Vi=te==="x"?ii:Zl,yu=Math.abs(Vi)/Mn;if(Math.abs(Vi)>=uTe||yu>.11){F(kt.current),f.onDismiss==null||f.onDismiss.call(f,f),X(te==="x"?ii>0?"right":"left":Zl>0?"down":"up"),Vs(),qe(!0);return}else{var Gi,qi;(Gi=ue.current)==null||Gi.style.setProperty("--swipe-amount-x","0px"),(qi=ue.current)==null||qi.style.setProperty("--swipe-amount-y","0px")}ut(!1),ke(!1),q(null)},onPointerMove:_t=>{var An,Nr,ii;if(!Un.current||!Fe||((An=window.getSelection())==null?void 0:An.toString().length)>0)return;const Mn=_t.clientY-Un.current.y,Vi=_t.clientX-Un.current.x;var yu;const Gi=(yu=t.swipeDirections)!=null?yu:hTe($);!te&&(Math.abs(Vi)>1||Math.abs(Mn)>1)&&q(Math.abs(Vi)>Math.abs(Mn)?"x":"y");let qi={x:0,y:0};const th=Aa=>1/(1.5+Math.abs(Aa)/20);if(te==="y"){if(Gi.includes("top")||Gi.includes("bottom"))if(Gi.includes("top")&&Mn<0||Gi.includes("bottom")&&Mn>0)qi.y=Mn;else{const Aa=Mn*th(Mn);qi.y=Math.abs(Aa)<Math.abs(Mn)?Aa:Mn}}else if(te==="x"&&(Gi.includes("left")||Gi.includes("right")))if(Gi.includes("left")&&Vi<0||Gi.includes("right")&&Vi>0)qi.x=Vi;else{const Aa=Vi*th(Vi);qi.x=Math.abs(Aa)<Math.abs(Vi)?Aa:Vi}(Math.abs(qi.x)>0||Math.abs(qi.y)>0)&&ut(!0),(Nr=ue.current)==null||Nr.style.setProperty("--swipe-amount-x",`${qi.x}px`),(ii=ue.current)==null||ii.style.setProperty("--swipe-amount-y",`${qi.y}px`)}},Ie&&!f.jsx&&pe!=="loading"?Pe.createElement("button",{"aria-label":Y,"data-disabled":Hr,"data-close-button":!0,onClick:Hr||!Fe?()=>{}:()=>{Vs(),f.onDismiss==null||f.onDismiss.call(f,f)},className:fo(G?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(Ci=K?.close)!=null?Ci:ZCe):null,(pe||f.icon||f.promise)&&f.icon!==null&&(K?.[pe]!==null||f.icon)?Pe.createElement("div",{"data-icon":"",className:fo(G?.icon,f==null||(i=f.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Xl():null,f.type!=="loading"?Qo:null):null,Pe.createElement("div",{"data-content":"",className:fo(G?.content,f==null||(s=f.classNames)==null?void 0:s.content)},Pe.createElement("div",{"data-title":"",className:fo(G?.title,f==null||(a=f.classNames)==null?void 0:a.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?Pe.createElement("div",{"data-description":"",className:fo(Z,He,G?.description,f==null||(o=f.classNames)==null?void 0:o.description)},typeof f.description=="function"?f.description():f.description):null),Pe.isValidElement(f.cancel)?f.cancel:f.cancel&&Ky(f.cancel)?Pe.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||P,onClick:_t=>{Ky(f.cancel)&&Fe&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,_t),Vs())},className:fo(G?.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,Pe.isValidElement(f.action)?f.action:f.action&&Ky(f.action)?Pe.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||z,onClick:_t=>{Ky(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,_t),!_t.defaultPrevented&&Vs())},className:fo(G?.actionButton,f==null||(c=f.classNames)==null?void 0:c.actionButton)},f.action.label):null)};function YF(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function pTe(t,e){const n={};return[t,e].forEach((r,i)=>{const s=i===1,a=s?"--mobile-offset":"--offset",o=s?oTe:aTe;function l(c){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${a}-${c}`]=o:n[`${a}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(o)}),n}const mTe=Pe.forwardRef(function(e,n){const{id:r,invert:i,position:s="bottom-right",hotkey:a=["altKey","KeyT"],expand:o,closeButton:l,className:c,offset:d,mobileOffset:f,theme:p="light",richColors:g,duration:b,style:y,visibleToasts:w=sTe,toastOptions:S,dir:_=YF(),gap:E=cTe,icons:T,containerAriaLabel:R="Notifications"}=e,[N,I]=Pe.useState([]),P=Pe.useMemo(()=>r?N.filter(H=>H.toasterId===r):N.filter(H=>!H.toasterId),[N,r]),z=Pe.useMemo(()=>Array.from(new Set([s].concat(P.filter(H=>H.position).map(H=>H.position)))),[P,s]),[U,Z]=Pe.useState([]),[L,$]=Pe.useState(!1),[D,W]=Pe.useState(!1),[G,K]=Pe.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
69k":"light"),Y=Pe.useRef(null),te=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),q=Pe.useRef(null),j=Pe.useRef(!1),X=Pe.useCallback(H=>{I(ae=>{var le;return(le=ae.find(Ee=>Ee.id===H.id))!=null&&le.delete||is.dismiss(H.id),ae.filter(({id:Ee})=>Ee!==H.id)})},[]);return Pe.useEffect(()=>is.subscribe(H=>{if(H.dismiss){requestAnimationFrame(()=>{I(ae=>ae.map(le=>le.id===H.id?{...le,delete:!0}:le))});return}setTimeout(()=>{PV.flushSync(()=>{I(ae=>{const le=ae.findIndex(Ee=>Ee.id===H.id);return le!==-1?[...ae.slice(0,le),{...ae[le],...H},...ae.slice(le+1)]:[H,...ae]})})})}),[N]),Pe.useEffect(()=>{if(p!=="system"){K(p);return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light")),typeof window>"u")return;const H=window.matchMedia("(prefers-color-scheme: dark)");try{H.addEventListener("change",({matches:ae})=>{K(ae?"dark":"light")})}catch{H.addListener(({matches:le})=>{try{K(le?"dark":"light")}catch(Ee){console.error(Ee)}})}},[p]),Pe.useEffect(()=>{N.length<=1&&$(!1)},[N]),Pe.useEffect(()=>{const H=ae=>{var le;if(a.every(ke=>ae[ke]||ae.code===ke)){var me;$(!0),(me=Y.current)==null||me.focus()}ae.code==="Escape"&&(document.activeElement===Y.current||(le=Y.current)!=null&&le.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",H),()=>document.removeEventListener("keydown",H)},[a]),Pe.useEffect(()=>{if(Y.current)return()=>{q.current&&(q.current.focus({preventScroll:!0}),q.current=null,j.current=!1)}},[Y.current]),Pe.createElement("section",{ref:n,"aria-label":`${R} ${te}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},z.map((H,ae)=>{var le;const[Ee,me]=H.split("-");return P.length?Pe.createElement("ol",{key:H,dir:_==="auto"?YF():_,tabIndex:-1,ref:Y,className:c,"data-sonner-toaster":!0,"data-sonner-theme":G,"data-y-position":Ee,"data-x-position":me,style:{"--front-toast-height":`${((le=U[0])==null?void 0:le.height)||0}px`,"--width":`${lTe}px`,"--gap":`${E}px`,...y,...pTe(d,f)},onBlur:ke=>{j.current&&!ke.currentTarget.contains(ke.relatedTarget)&&(j.current=!1,q.current&&(q.current.focus({preventScroll:!0}),q.current=null))},onFocus:ke=>{ke.target instanceof HTMLElement&&ke.target.dataset.dismissible==="false"||j.current||(j.current=!0,q.current=ke.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{D||$(!1)},onDragEnd:()=>$(!1),onPointerDown:ke=>{ke.target instanceof HTMLElement&&ke.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},P.filter(ke=>!ke.position&&ae===0||ke.position===H).map((ke,Le)=>{var qe,Xe;return Pe.createElement(fTe,{key:ke.id,icons:T,index:Le,toast:ke,defaultRichColors:g,duration:(qe=S?.duration)!=null?qe:b,className:S?.className,descriptionClassName:S?.descriptionClassName,invert:i,visibleToasts:w,closeButton:(Xe=S?.closeButton)!=null?Xe:l,interacting:D,position:H,style:S?.style,unstyled:S?.unstyled,classNames:S?.classNames,cancelButtonStyle:S?.cancelButtonStyle,actionButtonStyle:S?.actionButtonStyle,closeButtonAriaLabel:S?.closeButtonAriaLabel,removeToast:X,toasts:P.filter(ut=>ut.position==ke.position),heights:U.filter(ut=>ut.position==ke.position),setHeights:Z,expandByDefault:o,gap:E,expanded:L,swipeDirections:e.swipeDirections})})):null}))}),kVe=vG,gTe=wG,uZ=A.forwardRef(({className:t,...e},n)=>x.jsx(Jw,{ref:n,className:tt("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));uZ.displayName=Jw.displayName;const bTe=A.forwardRef(({className:t,children:e,...n},r)=>x.jsxs(gTe,{children:[x.jsx(uZ,{}),x.jsxs(eS,{ref:r,className:tt("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
69nded-lg",t),...n,children:[e,x.jsxs(SG,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[x.jsx(W4,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));bTe.displayName=eS.displayName;const yTe=({className:t,...e})=>x.jsx("div",{className:tt("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});yTe.displayName="DialogHeader";const vTe=({className:t,...e})=>x.jsx("div",{className:tt("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});vTe.displayName="DialogFooter";const wTe=A.forwardRef(({className:t,...e},n)=>x.jsx(tS,{ref:n,className:tt("text-lg font-semibold leading-none tracking-tight",t),...e}));wTe.displayName=tS.displayName;const STe=A.forwardRef(({className:t,...e},n)=>x.jsx(nS,{ref:n,className:tt("text-sm text-muted-foreground",t),...e}));STe.displayName=nS.displayName;var[DS]=$o("Tooltip",[bp]),MS=bp(),dZ="TooltipProvider",_Te=700,ET="tooltip.open",[xTe,v3]=DS(dZ),hZ=t=>{const{__scopeTooltip:e,delayDuration:n=_Te,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=t,a=A.useRef(!0),o=A.useRef(!1),l=A.useRef(0);return A.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),x.jsx(xTe,{scope:e,isOpenDelayedRef:a,delayDuration:n,onOpen:A.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:o,onPointerInTransitChange:A.useCallback(c=>{o.current=c},[]),disableHoverableContent:i,children:s})};hZ.displayName=dZ;var Hg="Tooltip",[ETe,F0]=DS(Hg),fZ=t=>{const{__scopeTooltip:e,children:n,open:r,defaultOpen:i,onOpenChange:s,disableHoverableContent:a,delayDuration:o}=t,l=v3(Hg,t.__scopeTooltip),c=MS(e),[d,f]=A.useState(null),p=Va(),g=A.useRef(0),b=a??l.disableHoverableContent,y=o??l.delayDuration,w=A.useRef(!1),[S,_]=Kc({prop:r,defaultProp:i??!1,onChange:I=>{I?(l.onOpen(),document.dispatchEvent(new CustomEvent(ET))):l.onClose(),s?.(I)},caller:Hg}),E=A.useMemo(()=>S?w.current?"delayed-open":"instant-open":"closed",[S]),T=A.useCallback(()=>{window.clearTimeout(g.current),g.current=0,w.current=!1,_(!0)},[_]),R=A.useCallback(()=>{window.clearTimeout(g.current),g.current=0,_(!1)},[_]),N=A.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{w.current=!0,_(!0),g.current=0},y)},[y,_]);return A.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),x.jsx(QR,{...c,children:x.jsx(ETe,{scope:e,contentId:p,open:S,stateAttribute:E,trigger:d,onTriggerChange:f,onTriggerEnter:A.useCallback(()=>{l.isOpenDelayedRef.current?N():T()},[l.isOpenDelayedRef,N,T]),onTriggerLeave:A.useCallback(()=>{b?R():(window.clearTimeout(g.current),g.current=0)},[R,b]),onOpen:T,onClose:R,disableHoverableContent:b,children:n})})};fZ.displayName=Hg;var kT="TooltipTrigger",pZ=A.forwardRef((t,e)=>{const{__scopeTooltip:n,...r}=t,i=F0(kT,n),s=v3(kT,n),a=MS(n),o=A.useRef(null),l=Yt(e,o,i.onTriggerChange),c=A.useRef(!1),d=A.useRef(!1),f=A.useCallback(()=>c.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),x.jsx(JR,{asChild:!0,...a,children:x.jsx(Et.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Je(t.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:Je(t.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:Je(t.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Je(t.onFocus,()=>{c.current||i.onOpen()}),onBlur:Je(t.onBlur,i.onClose),onClick:Je(t.onClick,i.onClose)})})});pZ.displayName=kT;var w3="TooltipPortal",[kTe,CTe]=DS(w3,{forceMount:void 0}),mZ=t=>{const{__scopeTooltip:e,forceMount:n,children:r,container:i}=t,s=F0(w3,e);return x.jsx(kTe,{scope:e,forceMount:n,children:x.jsx(to,{present:n||s.open,children:x.jsx(_0,{asChild:!0,container:i,children:r})})})};mZ.displayName=w3;var Kf="TooltipContent",gZ=A.forwardRef((t,e)=>{const n=CTe(Kf,t.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=t,a=F0(Kf,t.__scopeTooltip);return x.jsx(to,{present:r||a.open,children:a.disableHoverableContent?x.jsx(bZ,{side:i,...s,ref:e}):x.jsx(TTe,{side:i,...s,ref:e})})}),TTe=A.forwardRef((t,e)=>{const n=F0(Kf,t.__scopeTooltip),r=v3(Kf,t.__scopeTooltip),i=A.useRef(null),s=Yt(e,i),[a,o]=A.useState(null),{trigger:l,onClose:c}=n,d=i.current,{onPointerInTransitChange:f}=r,p=A.useCallback(()=>{o(null),f(!1)},[f]),g=A.useCallback((b,y)=>{const w=b.currentTarget,S={x:b.clientX,y:b.clientY},_=ITe(S,w.getBoundingClientRect()),E=DTe(S,_),T=MTe(y.getBoundingClientRect()),R=BTe([...E,...T]);o(R),f(!0)},[f]);return A.useEffect(()=>()=>
69p(),[p]),A.useEffect(()=>{if(l&&d){const b=w=>g(w,d),y=w=>g(w,l);return l.addEventListener("pointerleave",b),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",y)}}},[l,d,g,p]),A.useEffect(()=>{if(a){const b=y=>{const w=y.target,S={x:y.clientX,y:y.clientY},_=l?.contains(w)||d?.contains(w),E=!LTe(S,a);_?p():E&&(p(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,d,a,c,p]),x.jsx(bZ,{...t,ref:s})}),[ATe,RTe]=DS(Hg,{isInside:!1}),NTe=tue("TooltipContent"),bZ=A.forwardRef((t,e)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:a,...o}=t,l=F0(Kf,n),c=MS(n),{onClose:d}=l;return A.useEffect(()=>(document.addEventListener(ET,d),()=>document.removeEventListener(ET,d)),[d]),A.useEffect(()=>{if(l.trigger){const f=p=>{p.target?.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),x.jsx(S0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:x.jsxs(e3,{"data-state":l.stateAttribute,...c,...o,ref:e,style:{...o.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:[x.jsx(NTe,{children:r}),x.jsx(ATe,{scope:n,isInside:!0,children:x.jsx(P_e,{id:l.contentId,role:"tooltip",children:i||r})})]})})});gZ.displayName=Kf;var yZ="TooltipArrow",OTe=A.forwardRef((t,e)=>{const{__scopeTooltip:n,...r}=t,i=MS(n);return RTe(yZ,n).isInside?null:x.jsx(t3,{...i,...r,ref:e})});OTe.displayName=yZ;function ITe(t,e){const n=Math.abs(e.top-t.y),r=Math.abs(e.bottom-t.y),i=Math.abs(e.right-t.x),s=Math.abs(e.left-t.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function DTe(t,e,n=5){const r=[];switch(e){case"top":r.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":r.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":r.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":r.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return r}function MTe(t){const{top:e,right:n,bottom:r,left:i}=t;return[{x:i,y:e},{x:n,y:e},{x:n,y:r},{x:i,y:r}]}function LTe(t,e){const{x:n,y:r}=t;let i=!1;for(let s=0,a=e.length-1;s<e.length;a=s++){const o=e[s],l=e[a],c=o.x,d=o.y,f=l.x,p=l.y;d>r!=p>r&&n<(f-c)*(r-d)/(p-d)+c&&(i=!i)}return i}function BTe(t){const e=t.slice();return e.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),PTe(e)}function PTe(t){if(t.length<=1)return t.slice();const e=[];for(let r=0;r<t.length;r++){const i=t[r];for(;e.length>=2;){const s=e[e.length-1],a=e[e.length-2];if((s.x-a.x)*(i.y-a.y)>=(s.y-a.y)*(i.x-a.x))e.pop();else break}e.push(i)}e.pop();const n=[];for(let r=t.length-1;r>=0;r--){const i=t[r];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(i.y-a.y)>=(s.y-a.y)*(i.x-a.x))n.pop();else break}n.push(i)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var FTe=hZ,zTe=fZ,UTe=pZ,jTe=mZ,vZ=gZ;const CVe=FTe,TVe=zTe,AVe=UTe,HTe=A.forwardRef(({className:t,sideOffset:e=4,...n},r)=>x.jsx(jTe,{children:x.jsx(vZ,{ref:r,sideOffset:e,className:tt("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-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 origin-[--radix-tooltip-content-transform-origin]",t),...n})}));HTe.displayName=vZ.displayName;function $g(){return $g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$g.apply(null,arguments)}function $Te(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;n[r]=t[r]}return n}function Yy(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var L2={exports:{}};var XF;function VTe(){return XF||(XF=1,(function(t,e){(function(n){t.exports=n()})(function(){return(function n(r,i,s){function a(c,d){if(!i[c]){if(!r[c]){var f=typeof Yy=="function"&&Yy;if(!d&&f)return f(c,!0);if(o)return o(c,!0);var p=new Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p}var g=i[c]={exports:{}};r[c][0].call(g.exports,function(b){var y=r[c][1][b];return a(y||b)},g,g.exports,n,r,i,s)}return i[c].exports}for(var o=typeof Yy=="function"&&Yy,l=0;l<s.length;l++)a(s[l]);return a})({1:[function(n,r,i){var s=n("./utils"),a=n("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 10,610 bytes, lines 69-70
69+/=";i.encode=function(l){for(var c,d,f,p,g,b,y,w=[],S=0,_=l.length,E=_,T=s.getTypeOf(l)!=="string";S<l.length;)E=_-S,f=T?(c=l[S++],d=S<_?l[S++]:0,S<_?l[S++]:0):(c=l.charCodeAt(S++),d=S<_?l.charCodeAt(S++):0,S<_?l.charCodeAt(S++):0),p=c>>2,g=(3&c)<<4|d>>4,b=1<E?(15&d)<<2|f>>6:64,y=2<E?63&f:64,w.push(o.charAt(p)+o.charAt(g)+o.charAt(b)+o.charAt(y));return w.join("")},i.decode=function(l){var c,d,f,p,g,b,y=0,w=0,S="data:";if(l.substr(0,S.length)===S)throw new Error("Invalid base64 input, it looks like a data url.");var _,E=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===o.charAt(64)&&E--,l.charAt(l.length-2)===o.charAt(64)&&E--,E%1!=0)throw new Error("Invalid base64 input, bad content length.");for(_=a.uint8array?new Uint8Array(0|E):new Array(0|E);y<l.length;)c=o.indexOf(l.charAt(y++))<<2|(p=o.indexOf(l.charAt(y++)))>>4,d=(15&p)<<4|(g=o.indexOf(l.charAt(y++)))>>2,f=(3&g)<<6|(b=o.indexOf(l.charAt(y++))),_[w++]=c,g!==64&&(_[w++]=d),b!==64&&(_[w++]=f);return _}},{"./support":30,"./utils":32}],2:[function(n,r,i){var s=n("./external"),a=n("./stream/DataWorker"),o=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(d,f,p,g,b){this.compressedSize=d,this.uncompressedSize=f,this.crc32=p,this.compression=g,this.compressedContent=b}c.prototype={getContentWorker:function(){var d=new a(s.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return d.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new a(s.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(d,f,p){return d.pipe(new o).pipe(new l("uncompressedSize")).pipe(f.compressWorker(p)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var s=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new s("STORE compression")},uncompressWorker:function(){return new s("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var s=n("./utils"),a=(function(){for(var o,l=[],c=0;c<256;c++){o=c;for(var d=0;d<8;d++)o=1&o?3988292384^o>>>1:o>>>1;l[c]=o}return l})();r.exports=function(o,l){return o!==void 0&&o.length?s.getTypeOf(o)!=="string"?(function(c,d,f,p){var g=a,b=p+f;c^=-1;for(var y=p;y<b;y++)c=c>>>8^g[255&(c^d[y])];return-1^c})(0|l,o,o.length,0):(function(c,d,f,p){var g=a,b=p+f;c^=-1;for(var y=p;y<b;y++)c=c>>>8^g[255&(c^d.charCodeAt(y))];return-1^c})(0|l,o,o.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var s=null;s=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:s}},{lie:37}],7:[function(n,r,i){var s=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),o=n("./utils"),l=n("./stream/GenericWorker"),c=s?"uint8array":"array";function d(f,p){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=p,this.meta={}}i.magic="\b\0",o.inherits(d,l),d.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(c,f.data),!1)},d.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(p){f.push({data:p,meta:f.meta})}},i.compressWorker=function(f){return new d("Deflate",f)},i.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function s(g,b){var y,w="";for(y=0;y<b;y++)w+=String.fromCharCode(255&g),g>>>=8;return w}function a(g,b,y,w,S,_){var E,T,R=g.file,N=g.compression,I=_!==c.utf8encode,P=o.transformTo("string",_(R.name)),z=o.transformTo("string",c.utf8encode(R.name)),U=R.comment,Z=o.transformTo("string",_(U)),L=o.transformTo("string",c.utf8encode(U)),$=z.length!==R.name.length,D=L.length!==U.length,W="",G="",K="",Y=R.dir,te=R.date,q={crc32:0,compressedSize:0,uncompressedSize:0};b&&!y||(q.crc32=g.crc32,q.compressedSize=g.compressedSize,q.uncompressedSize=g.uncompressedSize);var j=0;b&&(j|=8),I||!$&&!D||(j|=2048);var X=0,H=0;Y&&(X|=16),S==="UNIX"?(H=798,X|=(function(le,Ee){var me=le;return le||(me=Ee?16893:33204),(65535&me)<<16})(R.unixPermissions,Y)):(H=20,X|=(function(le){return 63&(le||0)})(R.dosPermissions)),E=te.getUTCHours(),E<<=6,E|=te.getUTCMinutes(),E<<=5,E|=te.getUTCSeconds()/2,T=te.getUTCFullYear()-1980,T<<=4,T|=te.getUTCMonth()+1,T<<=5,T|=te.getUTCDate(),$&&(G=s(1,1)+s(d(P),4)+z,W+="up"+s(G.length,2)+G),D&&(K=s(1,1)+s(d(Z),4)+L,W+="uc"+s(K.length,2)+K);var ae="";return ae+=`
70\0`,ae+=s(j,2),ae+=N.magic,ae+=s(E,2),ae+=s(T,2),ae+=s(q.crc32,4),ae+=s(q.compressedSize,4),ae+=s(q.uncompressedSize,4),ae+=s(P.length,2),ae+=s(W.length,2),{fileRecord:f.LOCAL_FILE_HEADER+ae+P+W,dirRecord:f.CENTRAL_FILE_HEADER+s(H,2)+ae+s(Z.length,2)+"\0\0\0\0"+s(X,4)+s(w,4)+P+W+Z}}var o=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),d=n("../crc32"),f=n("../signature");function p(g,b,y,w){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=y,this.encodeFileName=w,this.streamFiles=g,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(p,l),p.prototype.push=function(g){var b=g.meta.percent||0,y=this.entriesCount,w=this._sources.length;this.accumulate?this.contentBuffer.push(g):(this.bytesWritten+=g.data.length,l.prototype.push.call(this,{data:g.data,meta:{currentFile:this.currentFile,percent:y?(b+100*(y-w-1))/y:100}}))},p.prototype.openedSource=function(g){this.currentSourceOffset=this.bytesWritten,this.currentFile=g.file.name;var b=this.streamFiles&&!g.file.dir;if(b){var y=a(g,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:y.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(g){this.accumulate=!1;var b=this.streamFiles&&!g.file.dir,y=a(g,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(y.dirRecord),b)this.push({data:(function(w){return f.DATA_DESCRIPTOR+s(w.crc32,4)+s(w.compressedSize,4)+s(w.uncompressedSize,4)})(g),meta:{percent:100}});else for(this.push({data:y.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var g=this.bytesWritten,b=0;b<this.dirRecords.length;b++)this.push({data:this.dirRecords[b],meta:{percent:100}});var y=this.bytesWritten-g,w=(function(S,_,E,T,R){var N=o.transformTo("string",R(T));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+s(S,2)+s(S,2)+s(_,4)+s(E,4)+s(N.length,2)+N})(this.dirRecords.length,y,g,this.zipComment,this.encodeFileName);this.push({data:w,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(g){this._sources.push(g);var b=this;return g.on("data",function(y){b.processChunk(y)}),g.on("end",function(){b.closedSource(b.previous.streamInfo),b._sources.length?b.prepareNextSource():b.end()}),g.on("error",function(y){b.error(y)}),this},p.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},p.prototype.error=function(g){var b=this._sources;if(!l.prototype.error.call(this,g))return!1;for(var y=0;y<b.length;y++)try{b[y].error(g)}catch{}return!0},p.prototype.lock=function(){l.prototype.lock.call(this);for(var g=this._sources,b=0;b<g.length;b++)g[b].lock()},r.exports=p},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var s=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(o,l,c){var d=new a(l.streamFiles,c,l.platform,l.encodeFileName),f=0;try{o.forEach(function(p,g){f++;var b=(function(_,E){var T=_||E,R=s[T];if(!R)throw new Error(T+" is not a valid compression method !");return R})(g.options.compression,l.compression),y=g.options.compressionOptions||l.compressionOptions||{},w=g.dir,S=g.date;g._compressWorker(b,y).withStreamInfo("file",{name:p,dir:w,date:S,comment:g.comment||"",unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions}).pipe(d)}),d.entriesCount=f}catch(p){d.error(p)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function s(){if(!(this instanceof s))return new s;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new s;for(var o in this)typeof this[o]!="function"&&(a[o]=this[o]);return a}}(s.prototype=n("./object")).loadAsync=n("./load"),s.support=n("./support"),s.defaults=n("./defaults"),s.version="3.10.1",s.loadAsync=function(a,o){return new s().loadAsync(a,o)},s.external=n("./external"),r.exports=s},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var s=n("./utils"),a=n("./external"),o=n("./utf8"),l=n("./zipEntries"),c=n("./stream/Crc32Probe"),d=n("./nodejsUtils");function f(p){return new a.Promise(function(g,b){var y=p.decompressed.getContentWorker().pipe(new c);y.on("error",function(w){b(w)}).on("end",function(){y.streamInfo.crc32!==p.decompressed.crc32?b(new Error("Corrupted zip : CRC32 mismatch")):g()}).resume()})}r.exports=function(p,g){var b=this;return g=s.extend(g||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),d.isNode&&d.isStream(p)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):s.prepareContent("the loaded zip f
70ile",p,!0,g.optimizedBinaryString,g.base64).then(function(y){var w=new l(g);return w.load(y),w}).then(function(y){var w=[a.Promise.resolve(y)],S=y.files;if(g.checkCRC32)for(var _=0;_<S.length;_++)w.push(f(S[_]));return a.Promise.all(w)}).then(function(y){for(var w=y.shift(),S=w.files,_=0;_<S.length;_++){var E=S[_],T=E.fileNameStr,R=s.resolve(E.fileNameStr);b.file(R,E.decompressed,{binary:!0,optimizedBinaryString:!0,date:E.date,dir:E.dir,comment:E.fileCommentStr.length?E.fileCommentStr:null,unixPermissions:E.unixPermissions,dosPermissions:E.dosPermissions,createFolders:g.createFolders}),E.dir||(b.file(R).unsafeOriginalName=T)}return w.zipComment.length&&(b.comment=w.zipComment),b})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var s=n("../utils"),a=n("../stream/GenericWorker");function o(l,c){a.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(c)}s.inherits(o,a),o.prototype._bindStream=function(l){var c=this;(this._stream=l).pause(),l.on("data",function(d){c.push({data:d,meta:{percent:0}})}).on("error",function(d){c.isPaused?this.generatedError=d:c.error(d)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},o.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var s=n("readable-stream").Readable;function a(o,l,c){s.call(this,l),this._helper=o;var d=this;o.on("data",function(f,p){d.push(f)||d._helper.pause(),c&&c(p)}).on("error",function(f){d.emit("error",f)}).on("end",function(){d.push(null)})}n("../utils").inherits(a,s),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(s,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(s,a);if(typeof s=="number")throw new Error('The "data" argument must not be a number');return new Buffer(s,a)},allocBuffer:function(s){if(Buffer.alloc)return Buffer.alloc(s);var a=new Buffer(s);return a.fill(0),a},isBuffer:function(s){return Buffer.isBuffer(s)},isStream:function(s){return s&&typeof s.on=="function"&&typeof s.pause=="function"&&typeof s.resume=="function"}}},{}],15:[function(n,r,i){function s(R,N,I){var P,z=o.getTypeOf(N),U=o.extend(I||{},d);U.date=U.date||new Date,U.compression!==null&&(U.compression=U.compression.toUpperCase()),typeof U.unixPermissions=="string"&&(U.unixPermissions=parseInt(U.unixPermissions,8)),U.unixPermissions&&16384&U.unixPermissions&&(U.dir=!0),U.dosPermissions&&16&U.dosPermissions&&(U.dir=!0),U.dir&&(R=S(R)),U.createFolders&&(P=w(R))&&_.call(this,P,!0);var Z=z==="string"&&U.binary===!1&&U.base64===!1;I&&I.binary!==void 0||(U.binary=!Z),(N instanceof f&&N.uncompressedSize===0||U.dir||!N||N.length===0)&&(U.base64=!1,U.binary=!0,N="",U.compression="STORE",z="string");var L=null;L=N instanceof f||N instanceof l?N:b.isNode&&b.isStream(N)?new y(R,N):o.prepareContent(R,N,U.binary,U.optimizedBinaryString,U.base64);var $=new p(R,L,U);this.files[R]=$}var a=n("./utf8"),o=n("./utils"),l=n("./stream/GenericWorker"),c=n("./stream/StreamHelper"),d=n("./defaults"),f=n("./compressedObject"),p=n("./zipObject"),g=n("./generate"),b=n("./nodejsUtils"),y=n("./nodejs/NodejsStreamInputAdapter"),w=function(R){R.slice(-1)==="/"&&(R=R.substring(0,R.length-1));var N=R.lastIndexOf("/");return 0<N?R.substring(0,N):""},S=function(R){return R.slice(-1)!=="/"&&(R+="/"),R},_=function(R,N){return N=N!==void 0?N:d.createFolders,R=S(R),this.files[R]||s.call(this,R,null,{dir:!0,createFolders:N}),this.files[R]};function E(R){return Object.prototype.toString.call(R)==="[object RegExp]"}var T={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(R){var N,I,P;for(N in this.files)P=this.files[N],(I=N.slice(this.root.length,N.length))&&N.slice(0,this.root.length)===this.root&&R(I,P)},filter:function(R){var N=[];return this.forEach(function(I,P){R(I,P)&&N.push(P)}),N},file:function(R,N,I){if(arguments.length!==1)return R=this.root+R,s.call(this,R,N,I),this;if(E(R)){var P=R;return this.filter(function(U,Z){return!Z.dir&&P.test(U)})}var z=this.files[this.root+R];return z&&!z.dir?z:null},folder:function(R){if(!R)return this;if(E(R))return this.filter(function(z,U){return U.dir&&R.test(z)});var N=this.root+R,I=_.call(this,N),P=this.clone();return P.root=I.name,P},remove:function(R){R=this.root+R;var N=this.files[R];if(N||(R.slice(-1)!=="/"&&(R+="/"),N=this.files[R]),N&&!N.dir)delete this.files[R];else for(var I=this.filter(function(z,U){return U.name.slice(0,R.length)===R}),P=0;P<I.length;P++)delete this.files[I[P].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 18,768 bytes, line 70
70,generateInternalStream:function(R){var N,I={};try{if((I=o.extend(R||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=I.type.toLowerCase(),I.compression=I.compression.toUpperCase(),I.type==="binarystring"&&(I.type="string"),!I.type)throw new Error("No output type specified.");o.checkSupport(I.type),I.platform!=="darwin"&&I.platform!=="freebsd"&&I.platform!=="linux"&&I.platform!=="sunos"||(I.platform="UNIX"),I.platform==="win32"&&(I.platform="DOS");var P=I.comment||this.comment||"";N=g.generateWorker(this,I,P)}catch(z){(N=new l("error")).error(z)}return new c(N,I.type||"string",I.mimeType)},generateAsync:function(R,N){return this.generateInternalStream(R).accumulate(N)},generateNodeStream:function(R,N){return(R=R||{}).type||(R.type="nodebuffer"),this.generateInternalStream(R).toNodejsStream(N)}};r.exports=T},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var s=n("./DataReader");function a(o){s.call(this,o);for(var l=0;l<this.data.length;l++)o[l]=255&o[l]}n("../utils").inherits(a,s),a.prototype.byteAt=function(o){return this.data[this.zero+o]},a.prototype.lastIndexOfSignature=function(o){for(var l=o.charCodeAt(0),c=o.charCodeAt(1),d=o.charCodeAt(2),f=o.charCodeAt(3),p=this.length-4;0<=p;--p)if(this.data[p]===l&&this.data[p+1]===c&&this.data[p+2]===d&&this.data[p+3]===f)return p-this.zero;return-1},a.prototype.readAndCheckSignature=function(o){var l=o.charCodeAt(0),c=o.charCodeAt(1),d=o.charCodeAt(2),f=o.charCodeAt(3),p=this.readData(4);return l===p[0]&&c===p[1]&&d===p[2]&&f===p[3]},a.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var s=n("../utils");function a(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length<this.zero+o||o<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+o+"). Corrupted zip ?")},setIndex:function(o){this.checkIndex(o),this.index=o},skip:function(o){this.setIndex(this.index+o)},byteAt:function(){},readInt:function(o){var l,c=0;for(this.checkOffset(o),l=this.index+o-1;l>=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=o,c},readString:function(o){return s.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var s=n("./Uint8ArrayReader");function a(o){s.call(this,o)}n("../utils").inherits(a,s),a.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var s=n("./DataReader");function a(o){s.call(this,o)}n("../utils").inherits(a,s),a.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},a.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},a.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},a.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var s=n("./ArrayReader");function a(o){s.call(this,o)}n("../utils").inherits(a,s),a.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var s=n("../utils"),a=n("../support"),o=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),d=n("./Uint8ArrayReader");r.exports=function(f){var p=s.getTypeOf(f);return s.checkSupport(p),p!=="string"||a.uint8array?p==="nodebuffer"?new c(f):a.uint8array?new d(s.transformTo("uint8array",f)):new o(s.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK��",i.CENTRAL_FILE_HEADER="PK��",i.CENTRAL_DIRECTORY_END="PK��",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK��",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var s=n("./GenericWorker"),a=n("../utils");function o(l){s.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(o,s),o.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var s=n("./GenericWorker"),a=n("../crc32");function o(){s.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(o,s),o.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var s=n("../utils"),a=n("./GenericWorker");function o(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}s.inherits(o,a),o.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var s=n("../utils"),a=n("./GenericWorker");function o(l){a.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(d){c.dataIsReady=!0,c.data=d,c.max=d&&d.length||0,c.type=s.getTypeOf(d),c.isPaused||c._tickAndRepeat()},function(d){c.error(d)})}s.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,s.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(s.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function s(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}s.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,o){return this._listeners[a].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,o){if(this._listeners[a])for(var l=0;l<this._listeners[a].length;l++)this._listeners[a][l].call(this,o)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var o=this;return a.on("data",function(l){o.processChunk(l)}),a.on("end",function(){o.end()}),a.on("error",function(l){o.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,o){return this.extraStreamInfo[a]=o,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=s},{}],29:[function(n,r,i){var s=n("../utils"),a=n("./ConvertWorker"),o=n("./GenericWorker"),l=n("../base64"),c=n("../support"),d=n("../external"),f=null;if(c.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function p(b,y){return new d.Promise(function(w,S){var _=[],E=b._internalType,T=b._outputType,R=b._mimeType;b.on("data",function(N,I){_.push(N),y&&y(I)}).on("error",function(N){_=[],S(N)}).on("end",function(){try{var N=(function(I,P,z){switch(I){case"blob":return s.newBlob(s.transformTo("arraybuffer",P),z);case"base64":return l.encode(P);default:return s.transformTo(I,P)}})(T,(function(I,P){var z,U=0,Z=null,L=0;for(z=0;z<P.length;z++)L+=P[z].length;switch(I){case"string":return P.join("");case"array":return Array.prototype.concat.apply([],P);case"uint8array":for(Z=new Uint8Array(L),z=0;z<P.length;z++)Z.set(P[z],U),U+=P[z].length;return Z;case"nodebuffer":return Buffer.concat(P);default:throw new Error("concat : unsupported type '"+I+"'")}})(E,_),R);w(N)}catch(I){S(I)}_=[]}).resume()})}function g(b,y,w){var S=y;switch(y){case"blob":case"arraybuffer":S="uint8array";break;case"base64":S="string"}try{this._internalType=S,this._outputType=y,this._mimeType=w,s.checkSupport(S),this._worker=b.pipe(new a(S)),b.lock()}catch(_){this._worker=new o("error"),this._worker.error(_)}}g.prototype={accumulate:function(b){return p(this,b)},on:function(b,y){var w=this;return b==="data"?this._worker.on(b,function(S){y.call(w,S.data,S.meta)}):this._worker.on(b,function(){s.delay(y,arguments,w)}),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(b){if(s.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},b)}},r.exports=g},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var s=new ArrayBuffer(0);try{i.blob=new Blob([s],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(s),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var s=n("./utils"),a=n("./support"),o=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),d=0;d<256;d++)c[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;c[254]=c[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function p(){l.call(this,"utf-8 encode")}i.utf8encode=function(g){return a.nodebuffer?o.newBufferFrom(g,"utf-8"):(function(b){var y,w,S,_,E,T=b.length,R=0;for(_=0;_<T;_++)(64512&(w=b.charCodeAt(_)))==55296&&_+1<T&&(64512&(S=b.charCodeAt(_+1)))==56320&&(w=65536+(w-55296<<10)+(S-56320),_++),R+=w<128?1:w<2048?2:w<65536?3:4;for(y=a.uint8array?new Uint8Array(R):new Array(R),_=E=0;E<R;_++)(64512&(w=b.charCodeAt(_)))==55296&&_+1<T&&(64512&(S=b.charCodeAt(_+1)))==56320&&(w=65536+(w-55296<<10)+(S-56320),_++),w<128?y[E++]=w:(w<2048?y[E++]=192|w>>>6:(w<65536?y[E++]=224|w>>>12:(y[E++]=240|w>>>18,y[E++]=128|w>>>12&63),y[E++]=128|w>>>6&63),y[E++]=128|63&w);return y})(g)},i.utf8decode=function(g){return a.nodebuffer?s.transformTo("nodebuffer",g).toString("utf-8"):(function(b){var y,w,S,_,E=b.length,T=new Array(2*E);for(y=w=0;y<E;)if((S=b[y++])<128)T[w++]=S;else if(4<(_=c[S]))T[w++]=65533,y+=_-1;else{for(S&=_===2?31:_===3?15:7;1<_&&y<E;)S=S<<6|63&b[y++],_--;1<_?T[w++]=65533:S<65536?T[w++]=S:(S-=65536,T[w++]=55296|S>>10&1023,T[w++]=56320|1023&S)}return T.length!==w&&(T.subarray?T=T.subarray(0,w):T.length=w),s.applyFromCharCode(T)})(g=s.transformTo(a.uint8array?"uint8array":"array",g))},s.inherits(f,l),f.prototype.processChunk=function(g){var b=s.transformTo(a.uint8array?"uint8array":"array",g.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var y=b;(b=new Uint8Array(y.length+this.leftOver.length)).set(this.leftOver,0),b.set(y,this.leftOver.length)}else b=this.leftOver.concat(b);this.leftOver=null}var w=(function(_,E){var T;for((E=E||_.length)>_.length&&(E=_.length),T=E-1;0<=T&&(192&_[T])==128;)T--;return T<0||T===0?E:T+c[_[T]]>E?T:E})(b),S=b;w!==b.length&&(a.uint8array?(S=b.subarray(0,w),this.leftOver=b.subarray(w,b.length)):(S=b.slice(0,w),this.leftOver=b.slice(w,b.length))),this.push({data:i.utf8decode(S),meta:g.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,s.inherits(p,l),p.prototype.processChunk=function(g){this.push({data:i.utf8encode(g.data),meta:g.meta})},i.Utf8EncodeWorker=p},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var s=n("./support"),a=n("./base64"),o=n("./nodejsUtils"),l=n("./external");function c(y){return y}function d(y,w){for(var S=0;S<y.length;++S)w[S]=255&y.charCodeAt(S);return w}n("setimmediate"),i.newBlob=function(y,w){i.checkSupport("blob");try{return new Blob([y],{type:w})}catch{try{var S=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return S.append(y),S.getBlob(w)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(y,w,S){var _=[],E=0,T=y.length;if(T<=S)return String.fromCharCode.apply(null,y);for(;E<T;)w==="array"||w==="nodebuffer"?_.push(String.fromCharCode.apply(null,y.slice(E,Math.min(E+S,T)))):_.push(String.fromCharCode.apply(null,y.subarray(E,Math.min(E+S,T)))),E+=S;return _.join("")},stringifyByChar:function(y){for(var w="",S=0;S<y.length;S++)w+=String.fromCharCode(y[S]);return w},applyCanBeUsed:{uint8array:(function(){try{return s.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return s.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch{return!1}})()}};function p(y){var w=65536,S=i.getTypeOf(y),_=!0;if(S==="uint8array"?_=f.applyCanBeUsed.uint8array:S==="nodebuffer"&&(_=f.applyCanBeUsed.nodebuffer),_)for(;1<w;)try{return f.stringifyByChunk(y,S,w)}catch{w=Math.floor(w/2)}return f.stringifyByChar(y)}function g(y,w){for(var S=0;S<y.length;S++)w[S]=y[S];return w}i.applyFromCharCode=p;var b={};b.string={string:c,array:function(y){return d(y,new Array(y.length))},arraybuffer:function(y){return b.string.uint8array(y).buffer},uint8array:function(y){return d(y,new Uint8Array(y.length))},nodebuffer:function(y){return d(y,o.allocBuffer(y.length))}},b.array={string:p,array:c,arraybuffer:function(y){return new Uint8Array(y).buffer},uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(y)}},b.arraybuffer={string:function(y){return p(new Uint8Array(y))},array:function(y){return g(new Uint8Array(y),new Array(y.byteLength))},arraybuffer:c,uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(new Uint8Array(y))}},b.uint8array={string:p,array:function(y){return g(y,new Array(y.length))},arraybuffer:function(y){return y.buffer},uint8array:c,nodebuffer:function(y){return o.newBufferFrom(y)}},b.nodebuffer={string:p,array:function(y){return g(y,new Array(y.length))},arraybuffer:function(y){return b.nodebuffer.uint8array(y).buffer},uint8array:function(y){return g(y,new Uint8Array(y.length))},nodebuffer:c},i.transformTo=function(y,w){if(w=w||"",!y)return w;i.checkSupport(y);var S=i.getTypeOf(w);return b[S][y](w)},i.resolve=function(y){for(var w=y.split("/"),S=[],_=0;_<w.length;_++){var E=w[_];E==="."||E===""&&_!==0&&_!==w.length-1||(E===".."?S.pop():S.push(E))}return S.join("/")},i.getTypeOf=function(y){return typeof y=="string"?"string":Object.prototype.toString.call(y)==="[object Array]"?"array":s.nodebuffer&&o.isBuffer(y)?"nodebuffer":s.uint8array&&y instanceof Uint8Array?"uint8array":s.arraybuffer&&y instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(y){if(!s[y.toLowerCase()])throw new Error(y+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(y){var w,S,_="";for(S=0;S<(y||"").length;S++)_+="\\x"+((w=y.charCodeAt(S))<16?"0":"")+w.toString(16).toUpperCase();return _},i.delay=function(y,w,S){setImmediate(function(){y.apply(S||null,w||[])})},i.inherits=function(y,w){function S(){}S.prototype=w.prototype,y.prototype=new S},i.extend=function(){var y,w,S={};for(y=0;y<arguments.length;y++)for(w in arguments[y])Object.prototype.hasOwnProperty.call(arguments[y],w)&&S[w]===void 0&&(S[w]=arguments[y][w]);return S},i.prepareContent=function(y,w,S,_,E){return l.Promise.resolve(w).then(function(T){return s.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1)&&typeof FileReader<"u"?new l.Promise(function(R,N){var I=new FileReader;I.onload=function(P){R(P.target.result)},I.onerror=function(P){N(P.target.error)},I.readAsArrayBuffer(T)}):T}).then(function(T){var R=i.getTypeOf(T);return R?(R==="arraybuffer"?T=i.transformTo("uint8array",T):R==="str
70ing"&&(E?T=a.decode(T):S&&_!==!0&&(T=(function(N){return d(N,s.uint8array?new Uint8Array(N.length):new Array(N.length))})(T))),T):l.Promise.reject(new Error("Can't read the data of '"+y+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var s=n("./reader/readerFor"),a=n("./utils"),o=n("./signature"),l=n("./zipEntry"),c=n("./support");function d(f){this.files=[],this.loadOptions=f}d.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var p=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(p)+", expected "+a.pretty(f)+")")}},isSignature:function(f,p){var g=this.reader.index;this.reader.setIndex(f);var b=this.reader.readString(4)===p;return this.reader.setIndex(g),b},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),p=c.uint8array?"uint8array":"array",g=a.transformTo(p,f);this.zipComment=this.loadOptions.decodeFileName(g)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,p,g,b=this.zip64EndOfCentralSize-44;0<b;)f=this.reader.readInt(2),p=this.reader.readInt(4),g=this.reader.readData(p),this.zip64ExtensibleData[f]={id:f,length:p,value:g}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,p;for(f=0;f<this.files.length;f++)p=this.files[f],this.reader.setIndex(p.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),p.readLocalPart(this.reader),p.handleUTF8(),p.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(f=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var p=f;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var g=this.centralDirOffset+this.centralDirSize;this.zip64&&(g+=20,g+=12+this.zip64EndOfCentralSize);var b=p-g;if(0<b)this.isSignature(p,o.CENTRAL_FILE_HEADER)||(this.reader.zero=b);else if(b<0)throw new Error("Corrupted zip: missing "+Math.abs(b)+" bytes.")},prepareReader:function(f){this.reader=s(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var s=n("./reader/readerFor"),a=n("./utils"),o=n("./compressedObject"),l=n("./crc32"),c=n("./utf8"),d=n("./compressions"),f=n("./support");function p(g,b){this.options=g,this.loadOptions=b}p.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(g){var b,y;if(g.skip(22),this.fileNameLength=g.readInt(2),y=g.readInt(2),this.fileName=g.readData(this.fileNameLength),g.skip(y),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((b=(function(w){for(var S in d)if(Object.prototype.hasOwnProperty.call(d,S)&&d[S].magic===w)return d[S];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,b,g.readData(this.compressedSize))},readCentralPart:function(g){this.versionMadeBy=g.readInt(2),g.skip(2),this.bitFlag=g.readInt(2),this.compressionMethod=g.readString(2),this.date=g.readDate(),this.crc32=g.readInt(4),this.compressedSize=g.readInt(4),this.uncompressedSize=g.readInt(4);var b=g.readInt(2);if(this.extraFieldsLength=g.readInt(2),this.fileCommentLength=g.readInt(2),this.diskNumberStart=g.readInt(2),this.internalFileAttributes=g.readInt(2),this.externalFileAttributes=g.readInt(4),this.localHeaderOffset=g.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");g.skip(b),this.readExtraFields(g),this.parseZIP64ExtraField(g),this.fileComment=g.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var g=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),g==0&&(this.dosPermissions=63&this.externalFileAttributes),g==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var g=s(this.extraFields[1].value);
vendor: 13,259 bytes, line 70
70this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=g.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=g.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=g.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=g.readInt(4))}},readExtraFields:function(g){var b,y,w,S=g.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});g.index+4<S;)b=g.readInt(2),y=g.readInt(2),w=g.readData(y),this.extraFields[b]={id:b,length:y,value:w};g.setIndex(S)},handleUTF8:function(){var g=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var b=this.findExtraFieldUnicodePath();if(b!==null)this.fileNameStr=b;else{var y=a.transformTo(g,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(y)}var w=this.findExtraFieldUnicodeComment();if(w!==null)this.fileCommentStr=w;else{var S=a.transformTo(g,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(S)}}},findExtraFieldUnicodePath:function(){var g=this.extraFields[28789];if(g){var b=s(g.value);return b.readInt(1)!==1||l(this.fileName)!==b.readInt(4)?null:c.utf8decode(b.readData(g.length-5))}return null},findExtraFieldUnicodeComment:function(){var g=this.extraFields[25461];if(g){var b=s(g.value);return b.readInt(1)!==1||l(this.fileComment)!==b.readInt(4)?null:c.utf8decode(b.readData(g.length-5))}return null}},r.exports=p},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function s(b,y,w){this.name=b,this.dir=w.dir,this.date=w.date,this.comment=w.comment,this.unixPermissions=w.unixPermissions,this.dosPermissions=w.dosPermissions,this._data=y,this._dataBinary=w.binary,this.options={compression:w.compression,compressionOptions:w.compressionOptions}}var a=n("./stream/StreamHelper"),o=n("./stream/DataWorker"),l=n("./utf8"),c=n("./compressedObject"),d=n("./stream/GenericWorker");s.prototype={internalStream:function(b){var y=null,w="string";try{if(!b)throw new Error("No output type specified.");var S=(w=b.toLowerCase())==="string"||w==="text";w!=="binarystring"&&w!=="text"||(w="string"),y=this._decompressWorker();var _=!this._dataBinary;_&&!S&&(y=y.pipe(new l.Utf8EncodeWorker)),!_&&S&&(y=y.pipe(new l.Utf8DecodeWorker))}catch(E){(y=new d("error")).error(E)}return new a(y,w,"")},async:function(b,y){return this.internalStream(b).accumulate(y)},nodeStream:function(b,y){return this.internalStream(b||"nodebuffer").toNodejsStream(y)},_compressWorker:function(b,y){if(this._data instanceof c&&this._data.compression.magic===b.magic)return this._data.getCompressedWorker();var w=this._decompressWorker();return this._dataBinary||(w=w.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(w,b,y)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof d?this._data:new o(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],p=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},g=0;g<f.length;g++)s.prototype[f[g]]=p;r.exports=s},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(s){var a,o,l=s.MutationObserver||s.WebKitMutationObserver;if(l){var c=0,d=new l(b),f=s.document.createTextNode("");d.observe(f,{characterData:!0}),a=function(){f.data=c=++c%2}}else if(s.setImmediate||s.MessageChannel===void 0)a="document"in s&&"onreadystatechange"in s.document.createElement("script")?function(){var y=s.document.createElement("script");y.onreadystatechange=function(){b(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},s.document.documentElement.appendChild(y)}:function(){setTimeout(b,0)};else{var p=new s.MessageChannel;p.port1.onmessage=b,a=function(){p.port2.postMessage(0)}}var g=[];function b(){var y,w;o=!0;for(var S=g.length;S;){for(w=g,g=[],y=-1;++y<S;)w[y]();S=g.length}o=!1}r.exports=function(y){g.push(y)!==1||o||a()}}).call(this,typeof To<"u"?To:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var s=n("immediate");function a(){}var o={},l=["REJECTED"],c=["FULFILLED"],d=["PENDING"];function f(S){if(typeof S!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,S!==a&&y(this,S)}function p(S,_,E){this.promise=S,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof E=="function"&&(this.onRejected=E,this.callRejected=this.otherCallRejected)}function g(S,_,E){s(function(){var T;try{T=_(E)}catch(R){return o.reject(S,R)}T===S?o.reject(S,new TypeError("Cannot resolve promise with itself")):o.resolve(S,T)})}function b(S){var _=S&&S.then;if(S&&(typeof S=="object"||typeof S=="function")&&typeof _=="function")return function(){_.apply(S,arguments)}}function y(S,_){var E=!1;function T(I){E||(E=!0,o.reject(S,I))}function R(I){E||(E=!0,o.resolve(S,I))}var N=w(function(){_(R,T)});N.status==="error"&&T(N.value)}function w(S,_){var E={};try{E.value=S(_),E.status="success"}catch(T){E.status="error",E.value=T}return E}(r.exports=f).prototype.finally=function(S){if(typeof S!="function")return this;var _=this.constructor;return this.then(function(E){return _.resolve(S()).then(function(){return E})},function(E){return _.resolve(S()).then(function(){throw E})})},f.prototype.catch=function(S){return this.then(null,S)},f.prototype.then=function(S,_){if(typeof S!="function"&&this.state===c||typeof _!="function"&&this.state===l)return this;var E=new this.constructor(a);return this.state!==d?g(E,this.state===c?S:_,this.outcome):this.queue.push(new p(E,S,_)),E},p.prototype.callFulfilled=function(S){o.resolve(this.promise,S)},p.prototype.otherCallFulfilled=function(S){g(this.promise,this.onFulfilled,S)},p.prototype.callRejected=function(S){o.reject(this.promise,S)},p.prototype.otherCallRejected=function(S){g(this.promise,this.onRejected,S)},o.resolve=function(S,_){var E=w(b,_);if(E.status==="error")return o.reject(S,E.value);var T=E.value;if(T)y(S,T);else{S.state=c,S.outcome=_;for(var R=-1,N=S.queue.length;++R<N;)S.queue[R].callFulfilled(_)}return S},o.reject=function(S,_){S.state=l,S.outcome=_;for(var E=-1,T=S.queue.length;++E<T;)S.queue[E].callRejected(_);return S},f.resolve=function(S){return S instanceof this?S:o.resolve(new this(a),S)},f.reject=function(S){var _=new this(a);return o.reject(_,S)},f.all=function(S){var _=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=S.length,T=!1;if(!E)return this.resolve([]);for(var R=new Array(E),N=0,I=-1,P=new this(a);++I<E;)z(S[I],I);return P;function z(U,Z){_.resolve(U).then(function(L){R[Z]=L,++N!==E||T||(T=!0,o.resolve(P,R))},function(L){T||(T=!0,o.reject(P,L))})}},f.race=function(S){var _=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=S.length,T=!1;if(!E)return this.resolve([]);for(var R=-1,N=new this(a);++R<E;)I=S[R],_.resolve(I).then(function(P){T||(T=!0,o.resolve(N,P))},function(P){T||(T=!0,o.reject(N,P))});var I;return N}},{immediate:36}],38:[function(n,r,i){var s={};(0,n("./lib/utils/common").assign)(s,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=s},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var s=n("./zlib/deflate"),a=n("./utils/common"),o=n("./utils/strings"),l=n("./zlib/messages"),c=n("./zlib/zstream"),d=Object.prototype.toString,f=0,p=-1,g=0,b=8;function y(S){if(!(this instanceof y))return new y(S);this.options=a.assign({level:p,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:g,to:""},S||{});var _=this.options;_.raw&&0<_.windowBits?_.windowBits=-_.windowBits:_.gzip&&0<_.windowBits&&_.windowBits<16&&(_.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var E=s.deflateInit2(this.strm,_.level,_.method,_.windowBits,_.memLevel,_.strategy);if(E!==f)throw new Error(l[E]);if(_.header&&s.deflateSetHeader(this.strm,_.header),_.dictionary){var T;if(T=typeof _.dictionary=="string"?o.string2buf(_.dictionary):d.call(_.dictionary)==="[object ArrayBuffer]"?new Uint8Array(_.dictionary):_.dictionary,(E=s.deflateSetDictionary(this.strm,T))!==f)throw new Error(l[E]);this._dict_set=!0}}function w(S,_){var E=new y(_);if(E.push(S,!0),E.err)throw E.msg||l[E.err];return E.result}y.prototype.push=function(S,_){var E,T,R=this.strm,N=this.options.chunkSize;if(this.ended)return!1;T=_===~~_?_:_===!0?4:0,typeof S=="string"?R.input=o.string2buf(S):d.call(S)==="[object ArrayBuffer]"?R.input=new Uint8Array(S):R.input=S,R.next_in=0,R.avail_in=R.input.length;do{if(R.avail_out===0&&(R.output=new a.Buf8(N),R.next_out=0,R.avail_out=N),(E=s.deflate(R,T))!==1&&E!==f)return this.onEnd(E),!(this.ended=!0);R.avail_out!==0&&(R.avail_in!==0||T!==4&&T!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(a.shrinkBuf(R.output,R.next_out))):this.onData(a.shrinkBuf(R.output,R.next_out)))}while((0<R.avail_in||R.avail_out===0)&&E!==1);return T===4?(E=s.deflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===f):T!==2||(this.onEnd(f),!(R.avail_out=0))},y.prototype.onData=function(S){this.chunks.push(S)},y.prototype.onEnd=function(S){S===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg},i.Deflate=y,i.deflate=w,i.deflateRaw=function(S,_){return(_=_||{}).raw=!0,w(S,_)},i.gzip=function(S,_){return(_=_||{}).gzip=!0,w(S,_)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var s=n("./zlib/inflate"),a=n("./utils/common"),o=n("./utils/strings"),l=n("./zlib/constants"),c=n("./zlib/messages"),d=n("./zlib/zstream"),f=n("./zlib/gzheader"),p=Object.prototype.toString;function g(y){if(!(this instanceof g))return new g(y);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},y||{});var w=this.options;w.raw&&0<=w.windowBits&&w.windowBits<16&&(w.windowBits=-w.windowBits,w.windowBits===0&&(w.windowBits=-15)),!(0<=w.windowBits&&w.windowBits<16)||y&&y.windowBits||(w.windowBits+=32),15<w.windowBits&&w.windowBits<48&&(15&w.windowBits)==0&&(w.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var S=s.inflateInit2(this.strm,w.windowBits);if(S!==l.Z_OK)throw new Error(c[S]);this.header=new f,s.inflateGetHeader(this.strm,this.header)}function b(y,w){var S=new g(w);if(S.push(y,!0),S.err)throw S.msg||c[S.err];return S.result}g.prototype.push=function(y,w){var S,_,E,T,R,N,I=this.strm,P=this.options.chunkSize,z=this.options.dictionary,U=!1;if(this.ended)return!1;_=w===~~w?w:w===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof y=="string"?I.input=o.binstring2buf(y):p.call(y)==="[object ArrayBuffer]"?I.input=new Uint8Array(y):I.input=y,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new a.Buf8(P),I.next_out=0,I.avail_out=P),(S=s.inflate(I,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&z&&(N=typeof z=="string"?o.string2buf(z):p.call(z)==="[object ArrayBuffer]"?new Uint8Array(z):z,S=s.inflateSetDictionary(this.strm,N)),S===l.Z_BUF_ERROR&&U===!0&&(S=l.Z_OK,U=!1),S!==l.Z_STREAM_END&&S!==l.Z_OK)return this.onEnd(S),!(this.ended=!0);I.next_out&&(I.avail_out!==0&&S!==l.Z_STREAM_END&&(I.avail_in!==0||_!==l.Z_FINISH&&_!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(E=o.utf8border(I.output,I.next_out),T=I.next_out-E,R=o.buf2string(I.output,E),I.next_out=T,I.avail_out=P-T,T&&a.arraySet(I.output,I.output,E,T,0),this.onData(R)):this.onData(a.shrinkBuf(I.output,I.next_out)))),I.avail_in===0&&I.avail_out===0&&(U=!0)}while((0<I.avail_in||I.avail_out===0)&&S!==l.Z_STREAM_END);return S===l.Z_STREAM_END&&(_=l.Z_FINISH),_===l.Z_FINISH?(S=s.inflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===l.Z_OK):_!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(I.avail_out=0))},g.prototype.onData=function(y){this.chunks.push(y)},g.prototype.onEnd=function(y){y===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},i.Inflate=g,i.inflate=b,i.inflateRaw=function(y,w){return(w=w||{}).raw=!0,b(y,w)},i.ungzip=b},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var s=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(l){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var d=c.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var f in d)d.hasOwnProperty(f)&&(l[f]=d[f])}}return l},i.shrinkBuf=function(l,c){return l.length===c?l:l.subarray?l.subarray(0,c):(l.length=c,l)};var a={arraySet:function(l,c,d,f,p){if(c.subarray&&l.subarray)l.set(c.subarray(d,d+f),p);else for(var g=0;g<f;g++)l[p+g]=c[d+g]},flattenChunks:function(l){var c,d,f,p,g,b;for(c=f=0,d=l.length;c<d;c++)f+=l[c].length;
vendor: 7,066 bytes, line 70
70for(b=new Uint8Array(f),c=p=0,d=l.length;c<d;c++)g=l[c],b.set(g,p),p+=g.length;return b}},o={arraySet:function(l,c,d,f,p){for(var g=0;g<f;g++)l[p+g]=c[d+g]},flattenChunks:function(l){return[].concat.apply([],l)}};i.setTyped=function(l){l?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(s)},{}],42:[function(n,r,i){var s=n("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var l=new s.Buf8(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function d(f,p){if(p<65537&&(f.subarray&&o||!f.subarray&&a))return String.fromCharCode.apply(null,s.shrinkBuf(f,p));for(var g="",b=0;b<p;b++)g+=String.fromCharCode(f[b]);return g}l[254]=l[254]=1,i.string2buf=function(f){var p,g,b,y,w,S=f.length,_=0;for(y=0;y<S;y++)(64512&(g=f.charCodeAt(y)))==55296&&y+1<S&&(64512&(b=f.charCodeAt(y+1)))==56320&&(g=65536+(g-55296<<10)+(b-56320),y++),_+=g<128?1:g<2048?2:g<65536?3:4;for(p=new s.Buf8(_),y=w=0;w<_;y++)(64512&(g=f.charCodeAt(y)))==55296&&y+1<S&&(64512&(b=f.charCodeAt(y+1)))==56320&&(g=65536+(g-55296<<10)+(b-56320),y++),g<128?p[w++]=g:(g<2048?p[w++]=192|g>>>6:(g<65536?p[w++]=224|g>>>12:(p[w++]=240|g>>>18,p[w++]=128|g>>>12&63),p[w++]=128|g>>>6&63),p[w++]=128|63&g);return p},i.buf2binstring=function(f){return d(f,f.length)},i.binstring2buf=function(f){for(var p=new s.Buf8(f.length),g=0,b=p.length;g<b;g++)p[g]=f.charCodeAt(g);return p},i.buf2string=function(f,p){var g,b,y,w,S=p||f.length,_=new Array(2*S);for(g=b=0;g<S;)if((y=f[g++])<128)_[b++]=y;else if(4<(w=l[y]))_[b++]=65533,g+=w-1;else{for(y&=w===2?31:w===3?15:7;1<w&&g<S;)y=y<<6|63&f[g++],w--;1<w?_[b++]=65533:y<65536?_[b++]=y:(y-=65536,_[b++]=55296|y>>10&1023,_[b++]=56320|1023&y)}return d(_,b)},i.utf8border=function(f,p){var g;for((p=p||f.length)>f.length&&(p=f.length),g=p-1;0<=g&&(192&f[g])==128;)g--;return g<0||g===0?p:g+l[f[g]]>p?g:p}},{"./common":41}],43:[function(n,r,i){r.exports=function(s,a,o,l){for(var c=65535&s|0,d=s>>>16&65535|0,f=0;o!==0;){for(o-=f=2e3<o?2e3:o;d=d+(c=c+a[l++]|0)|0,--f;);c%=65521,d%=65521}return c|d<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var s=(function(){for(var a,o=[],l=0;l<256;l++){a=l;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;o[l]=a}return o})();r.exports=function(a,o,l,c){var d=s,f=c+l;a^=-1;for(var p=c;p<f;p++)a=a>>>8^d[255&(a^o[p])];return-1^a}},{}],46:[function(n,r,i){var s,a=n("../utils/common"),o=n("./trees"),l=n("./adler32"),c=n("./crc32"),d=n("./messages"),f=0,p=4,g=0,b=-2,y=-1,w=4,S=2,_=8,E=9,T=286,R=30,N=19,I=2*T+1,P=15,z=3,U=258,Z=U+z+1,L=42,$=113,D=1,W=2,G=3,K=4;function Y(F,Ce){return F.msg=d[Ce],Ce}function te(F){return(F<<1)-(4<F?9:0)}function q(F){for(var Ce=F.length;0<=--Ce;)F[Ce]=0}function j(F){var Ce=F.state,Se=Ce.pending;Se>F.avail_out&&(Se=F.avail_out),Se!==0&&(a.arraySet(F.output,Ce.pending_buf,Ce.pending_out,Se,F.next_out),F.next_out+=Se,Ce.pending_out+=Se,F.total_out+=Se,F.avail_out-=Se,Ce.pending-=Se,Ce.pending===0&&(Ce.pending_out=0))}function X(F,Ce){o._tr_flush_block(F,0<=F.block_start?F.block_start:-1,F.strstart-F.block_start,Ce),F.block_start=F.strstart,j(F.strm)}function H(F,Ce){F.pending_buf[F.pending++]=Ce}function ae(F,Ce){F.pending_buf[F.pending++]=Ce>>>8&255,F.pending_buf[F.pending++]=255&Ce}function le(F,Ce){var Se,re,ne=F.max_chain_length,ue=F.strstart,Oe=F.prev_length,Me=F.nice_match,pe=F.strstart>F.w_size-Z?F.strstart-(F.w_size-Z):0,Fe=F.window,Ge=F.w_mask,He=F.prev,he=F.strstart+U,Ie=Fe[ue+Oe-1],$e=Fe[ue+Oe];F.prev_length>=F.good_match&&(ne>>=2),Me>F.lookahead&&(Me=F.lookahead);do if(Fe[(Se=Ce)+Oe]===$e&&Fe[Se+Oe-1]===Ie&&Fe[Se]===Fe[ue]&&Fe[++Se]===Fe[ue+1]){ue+=2,Se++;do;while(Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&Fe[++ue]===Fe[++Se]&&ue<he);if(re=U-(he-ue),ue=he-U,Oe<re){if(F.match_start=Ce,Me<=(Oe=re))break;Ie=Fe[ue+Oe-1],$e=Fe[ue+Oe]}}while((Ce=He[Ce&Ge])>pe&&--ne!=0);return Oe<=F.lookahead?Oe:F.lookahead}function Ee(F){var Ce,Se,re,ne,ue,Oe,Me,pe,Fe,Ge,He=F.w_size;do{if(ne=F.window_size-F.lookahead-F.strstart,F.strstart>=He+(He-Z)){for(a.arraySet(F.window,F.window,He,He,0),F.match_start-=He,F.strstart-=He,F.block_start-=He,Ce=Se=F.hash_size;re=F.head[--Ce],F.head[Ce]=He<=re?re-He:0,--Se;);for(Ce=Se=He;re=F.prev[--Ce],F.prev[Ce]=He<=re?re-He:0,--Se;);ne+=He}if(F.strm.avail_in===0)break;if(Oe=F.strm,Me=F.window,pe=F.strstart+F.lookahead,Fe=ne,Ge=void 0,Ge=Oe.avail_in,Fe<Ge&&(Ge=Fe),Se=Ge===0?0:(Oe.avail_in-=Ge,a.arraySet(Me,Oe.input,Oe.next_in,Ge,pe),Oe.state.wrap===1?Oe.adler=l(Oe.adler,Me,Ge,pe):Oe.state.wrap===2&&(Oe.adler=c(Oe.adler,Me,Ge,pe)),Oe.next_in+=Ge,Oe.total_in+=Ge,Ge),F.lookahead+=Se,F.lookahead+F.insert>=z)for(ue=F.strstart-F.insert,F.ins_h=F.window[ue],F.ins_h=(F.ins_h<<F.hash_shift^F.window[ue+1])&F.hash_mask;F.insert&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[ue+z-1])&F.hash_mask,F.prev[ue&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=ue,ue++,F.insert--,!(F.lookahead+F.insert<z)););}while(F.lookahead<Z&&F.strm.avail_in!==0)}function me(F,Ce){for(var Se,re;;){if(F.lookahead<Z){if(Ee(F),F.lookahead<Z&&Ce===f)return D;if(F.lookahead===0)break}if(Se=0,F.lookahead>=z&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+z-1])&F.hash_mask,Se=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),Se!==0&&F.strstart-Se<=F.w_size-Z&&(F.match_length=le(F,Se)),F.match_length>=z)if(re=o._tr_tally(F,F.strstart-F.match_start,F.match_length-z),F.lookahead-=F.match_length,F.match_length<=F.max_lazy_match&&F.lookahead>=z){for(F.match_length--;F.strstart++,F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+z-1])&F.hash_mask,Se=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart,--F.match_length!=0;);F.strstart++}else F.strstart+=F.match_length,F.match_length=0,F.ins_h=F.window[F.strstart],F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+1])&F.hash_mask;else re=o._tr_tally(F,0,F.window[F.strstart]),F.lookahead--,F.strstart++;if(re&&(X(F,!1),F.strm.avail_out===0))return D}return F.insert=F.strstart<z-1?F.strstart:z-1,Ce===p?(X(F,!0),F.strm.avail_out===0?G:K):F.last_lit&&(X(F,!1),F.strm.avail_out===0)?D:W}function ke(F,Ce){for(var Se,re,ne;;){if(F.lookahead<Z){if(Ee(F),F.lookahead<Z&&Ce===f)return D;if(F.lookahead===0)break}if(Se=0,F.lookahead>=z&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+z-1])&F.hash_mask,Se=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),F.prev_length=F.match_length,F.prev_match=F.match_start,F.match_length=z-1,Se!==0&&F.prev_length<
vendor: 35,190 bytes, line 70
70F.max_lazy_match&&F.strstart-Se<=F.w_size-Z&&(F.match_length=le(F,Se),F.match_length<=5&&(F.strategy===1||F.match_length===z&&4096<F.strstart-F.match_start)&&(F.match_length=z-1)),F.prev_length>=z&&F.match_length<=F.prev_length){for(ne=F.strstart+F.lookahead-z,re=o._tr_tally(F,F.strstart-1-F.prev_match,F.prev_length-z),F.lookahead-=F.prev_length-1,F.prev_length-=2;++F.strstart<=ne&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+z-1])&F.hash_mask,Se=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),--F.prev_length!=0;);if(F.match_available=0,F.match_length=z-1,F.strstart++,re&&(X(F,!1),F.strm.avail_out===0))return D}else if(F.match_available){if((re=o._tr_tally(F,0,F.window[F.strstart-1]))&&X(F,!1),F.strstart++,F.lookahead--,F.strm.avail_out===0)return D}else F.match_available=1,F.strstart++,F.lookahead--}return F.match_available&&(re=o._tr_tally(F,0,F.window[F.strstart-1]),F.match_available=0),F.insert=F.strstart<z-1?F.strstart:z-1,Ce===p?(X(F,!0),F.strm.avail_out===0?G:K):F.last_lit&&(X(F,!1),F.strm.avail_out===0)?D:W}function Le(F,Ce,Se,re,ne){this.good_length=F,this.max_lazy=Ce,this.nice_length=Se,this.max_chain=re,this.func=ne}function qe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*I),this.dyn_dtree=new a.Buf16(2*(2*R+1)),this.bl_tree=new a.Buf16(2*(2*N+1)),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(P+1),this.heap=new a.Buf16(2*T+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*T+1),q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xe(F){var Ce;return F&&F.state?(F.total_in=F.total_out=0,F.data_type=S,(Ce=F.state).pending=0,Ce.pending_out=0,Ce.wrap<0&&(Ce.wrap=-Ce.wrap),Ce.status=Ce.wrap?L:$,F.adler=Ce.wrap===2?0:1,Ce.last_flush=f,o._tr_init(Ce),g):Y(F,b)}function ut(F){var Ce=Xe(F);return Ce===g&&(function(Se){Se.window_size=2*Se.w_size,q(Se.head),Se.max_lazy_match=s[Se.level].max_lazy,Se.good_match=s[Se.level].good_length,Se.nice_match=s[Se.level].nice_length,Se.max_chain_length=s[Se.level].max_chain,Se.strstart=0,Se.block_start=0,Se.lookahead=0,Se.insert=0,Se.match_length=Se.prev_length=z-1,Se.match_available=0,Se.ins_h=0})(F.state),Ce}function it(F,Ce,Se,re,ne,ue){if(!F)return b;var Oe=1;if(Ce===y&&(Ce=6),re<0?(Oe=0,re=-re):15<re&&(Oe=2,re-=16),ne<1||E<ne||Se!==_||re<8||15<re||Ce<0||9<Ce||ue<0||w<ue)return Y(F,b);re===8&&(re=9);var Me=new qe;return(F.state=Me).strm=F,Me.wrap=Oe,Me.gzhead=null,Me.w_bits=re,Me.w_size=1<<Me.w_bits,Me.w_mask=Me.w_size-1,Me.hash_bits=ne+7,Me.hash_size=1<<Me.hash_bits,Me.hash_mask=Me.hash_size-1,Me.hash_shift=~~((Me.hash_bits+z-1)/z),Me.window=new a.Buf8(2*Me.w_size),Me.head=new a.Buf16(Me.hash_size),Me.prev=new a.Buf16(Me.w_size),Me.lit_bufsize=1<<ne+6,Me.pending_buf_size=4*Me.lit_bufsize,Me.pending_buf=new a.Buf8(Me.pending_buf_size),Me.d_buf=1*Me.lit_bufsize,Me.l_buf=3*Me.lit_bufsize,Me.level=Ce,Me.strategy=ue,Me.method=Se,ut(F)}s=[new Le(0,0,0,0,function(F,Ce){var Se=65535;for(Se>F.pending_buf_size-5&&(Se=F.pending_buf_size-5);;){if(F.lookahead<=1){if(Ee(F),F.lookahead===0&&Ce===f)return D;if(F.lookahead===0)break}F.strstart+=F.lookahead,F.lookahead=0;var re=F.block_start+Se;if((F.strstart===0||F.strstart>=re)&&(F.lookahead=F.strstart-re,F.strstart=re,X(F,!1),F.strm.avail_out===0)||F.strstart-F.block_start>=F.w_size-Z&&(X(F,!1),F.strm.avail_out===0))return D}return F.insert=0,Ce===p?(X(F,!0),F.strm.avail_out===0?G:K):(F.strstart>F.block_start&&(X(F,!1),F.strm.avail_out),D)}),new Le(4,4,8,4,me),new Le(4,5,16,8,me),new Le(4,6,32,32,me),new Le(4,4,16,16,ke),new Le(8,16,32,32,ke),new Le(8,16,128,128,ke),new Le(8,32,128,256,ke),new Le(32,128,258,1024,ke),new Le(32,258,258,4096,ke)],i.deflateInit=function(F,Ce){return it(F,Ce,_,15,8,0)},i.deflateInit2=it,i.deflateReset=ut,i.deflateResetKeep=Xe,i.deflateSetHeader=function(F,Ce){return F&&F.state?F.state.wrap!==2?b:(F.state.gzhead=Ce,g):b},i.deflate=function(F,Ce){var Se,re,ne,ue;if(!F||!F.state||5<Ce||Ce<0)return F?Y(F,b):b;if(re=F.state,!F.output||!F.input&&F.avail_in!==0||re.status===666&&Ce!==p)return Y(F,F.avail_out===0?-5:b);if(re.strm=F,Se=re.last_flush,re.last_flush=Ce,re.status===L)if(re.wrap===2)F.adler=0,H(re,31),H(re,139),H(re,8),re.gzhead?(H(re,(re.gzhead.text?1:0)+(re.gzhead.hcrc?2:0)+(re.gzhead.extra?4:0)+(re.gzhead.name?8:0)+(re.gzhead.comment?16:0)),H(re,255&re.gzhead.time),H(re,re.gzhead.time>>8&255),H(re,re.gzhead.time>>16&255),H(re,re.gzhead.time>>24&255),H(re,re.level===9?2:2<=re.strategy||re.level<2?4:0),H(re,255&re.gzhead.os),re.gzhead.extra&&re.gzhead.extra.length&&(H(re,255&re.gzhead.extra.length),H(re,re.gzhead.extra.length>>8&255)),re.gzhead.hcrc&&(F.adler=c(F.adler,re.pending_buf,re.pending,0)),re.gzindex=0,re.status=69):(H(re,0),H(re,0),H(re,0),H(re,0),H(re,0),H(re,re.level===9?2:2<=re.strategy||re.level<2?4:0),H(re,3),re.status=$);else{var Oe=_+(re.w_bits-8<<4)<<8;Oe|=(2<=re.strategy||re.level<2?0:re.level<6?1:re.level===6?2:3)<<6,re.strstart!==0&&(Oe|=32),Oe+=31-Oe%31,re.status=$,ae(re,Oe),re.strstart!==0&&(ae(re,F.adler>>>16),ae(re,65535&F.adler)),F.adler=1}if(re.status===69)if(re.gzhead.extra){for(ne=re.pending;re.gzindex<(65535&re.gzhead.extra.length)&&(re.pending!==re.pending_buf_size||(re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),j(F),ne=re.pending,re.pending!==re.pending_buf_size));)H(re,255&re.gzhead.extra[re.gzindex]),re.gzindex++;re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),re.gzindex===re.gzhead.extra.length&&(re.gzindex=0,re.status=73)}else re.status=73;if(re.status===73)if(re.gzhead.name){ne=re.pending;do{if(re.pending===re.pending_buf_size&&(re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),j(F),ne=re.pending,re.pending===re.pending_buf_size)){ue=1;break}ue=re.gzindex<re.gzhead.name.length?255&re.gzhead.name.charCodeAt(re.gzindex++):0,H(re,ue)}while(ue!==0);re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),ue===0&&(re.gzindex=0,re.status=91)}else re.status=91;if(re.status===91)if(re.gzhead.comment){ne=re.pending;do{if(re.pending===re.pending_buf_size&&(re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),j(F),ne=re.pending,re.pending===re.pending_buf_size)){ue=1;break}ue=re.gzindex<re.gzhead.comment.length?255&re.gzhead.comment.charCodeAt(re.gzindex++):0,H(re,ue)}while(ue!==0);re.gzhead.hcrc&&re.pending>ne&&(F.adler=c(F.adler,re.pending_buf,re.pending-ne,ne)),ue===0&&(re.status=103)}else re.status=103;if(re.status===103&&(re.gzhead.hcrc?(re.pending+2>re.pending_buf_size&&j(F),re.pending+2<=re.pending_buf_size&&(H(re,255&F.adler),H(re,F.adler>>8&255),F.adler=0,re.status=$)):re.status=$),re.pending!==0){if(j(F),F.avail_out===0)return re.last_flush=-1,g}else if(F.avail_in===0&&te(Ce)<=te(Se)&&Ce!==p)return Y(F,-5);if(re.status===666&&F.avail_in!==0)return Y(F,-5);if(F.avail_in!==0||re.lookahead!==0||Ce!==f&&re.status!==666){var Me=re.strategy===2?(function(pe,Fe){for(var Ge;;){if(pe.lookahead===0&&(Ee(pe),pe.lookahead===0)){if(Fe===f)return D;break}if(pe.match_length=0,Ge=o._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++,Ge&&(X(pe,!1),pe.strm.avail_out===0))return D}return pe.insert=0,Fe===p?(X(pe,!0),pe.strm.avail_out===0?G:K):pe.last_lit&&(X(pe,!1),pe.strm.avail_out===0)?D:W})(re,Ce):re.strategy===3?(function(pe,Fe){for(var Ge,He,he,Ie,$e=pe.window;;){if(pe.lookahead<=U){if(Ee(pe),pe.lookahead<=U&&Fe===f)return D;if(pe.lookahead===0)break}if(pe.match_length=0,pe.lookahead>=z&&0<pe.strstart&&(He=$e[he=pe.strstart-1])===$e[++he]&&He===$e[++he]&&He===$e[++he]){Ie=pe.strstart+U;do;while(He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&He===$e[++he]&&he<Ie);pe.match_length=U-(Ie-he),pe.match_length>pe.lookahead&&(pe.match_length=pe.lookahead)}if(pe.match_length>=z?(Ge=o._tr_tally(pe,1,pe.match_length-z),pe.lookahead-=pe.match_length,pe.strstart+=pe.match_length,pe.match_length=0):(Ge=o._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++),Ge&&(X(pe,!1),pe.strm.avail_out===0))return D}return pe.insert=0,Fe===p?(X(pe,!0),pe.strm.avail_out===0?G:K):pe.last_lit&&(X(pe,!1),pe.strm.avail_out===0)?D:W})(re,Ce):s[re.level].func(re,Ce);if(Me!==G&&Me!==K||(re.status=666),Me===D||Me===G)return F.avail_out===0&&(re.last_flush=-1),g;if(Me===W&&(Ce===1?o._tr_align(re):Ce!==5&&(o._tr_stored_block(re,0,0,!1),Ce===3&&(q(re.head),re.lookahead===0&&(re.strstart=0,re.block_start=0,re.insert=0))),j(F),F.avail_out===0))return re.last_flush=-1,g}return Ce!==p?g:re.wrap<=0?1:(re.wrap===2?(H(re,255&F.adler),H(re,F.adler>>8&255),H(re,F.adler>>16&255),H(re,F.adler>>24&255),H(re,255&F.total_in),H(re,F.total_in>>8&255),H(re,F.total_in>>16&255),H(re,F.total_in>>24&255)):(ae(re,F.adler>>>16),ae(re,65535&F.adler)),j(F),0<re.wrap&&(re.wrap=-re.wrap),re.pending!==0?g:1)},i.deflateEnd=function(F){var Ce;return F&&F.state?(Ce=F.state.status)!==L&&Ce!==69&&Ce!==73&&Ce!==91&&Ce!==103&&Ce!==$&&Ce!==666?Y(F,b):(F.state=null,Ce===$?Y(F,-3):g):b},i.deflateSetDictionary=function(F,Ce){var Se,re,ne,ue,Oe,Me,pe,Fe,Ge=Ce.length;if(!F||!F.state||(ue=(Se=F.state).wrap)===2||ue===1&&Se.status!==L||Se.lookahead)return b;for(ue===1&&(F.adler=l(F.adler,Ce,Ge,0)),Se.wrap=0,Ge>=Se.w_size&&(ue===0&&(q(Se.head),Se.strstart=0,Se.block_start=0,Se.insert=0),Fe=new a.Buf8(Se.w_size),a.arraySet(Fe,Ce,Ge-Se.w_size,Se.w_size,0),Ce=Fe,Ge=Se.w_size),Oe=F.avail_in,Me=F.next_in,pe=F.input,F.avail_in=Ge,F.next_in=0,F.input=Ce,Ee(Se);Se.lookahead>=z;){for(re=Se.strstart,ne=Se.lookahead-(z-1);Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[re+z-1])&Se.hash_mask,Se.prev[re&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=re,re++,--ne;);Se.strstart=re,Se.lookahead=z-1,Ee(Se)}return Se.strstart+=Se.lookahead,Se.block_start=Se.strstart,Se.insert=Se.lookahead,Se.lookahead=0,Se.match_length=Se.prev_length=z-1,Se.match_available=0,F.next_in=Me,F.input=pe,F.avail_in=Oe,Se.wrap=ue,g},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(s,a){var o,l,c,d,f,p,g,b,y,w,S,_,E,T,R,N,I,P,z,U,Z,L,$,D,W;o=s.state,l=s.next_in,D=s.input,c=l+(s.avail_in-5),d=s.next_out,W=s.output,f=d-(a-s.avail_out),p=d+(s.avail_out-257),g=o.dmax,b=o.wsize,y=o.whave,w=o.wnext,S=o.window,_=o.hold,E=o.bits,T=o.lencode,R=o.distcode,N=(1<<o.lenbits)-1,I=(1<<o.distbits)-1;e:do{E<15&&(_+=D[l++]<<E,E+=8,_+=D[l++]<<E,E+=8),P=T[_&N];t:for(;;){if(_>>>=z=P>>>24,E-=z,(z=P>>>16&255)===0)W[d++]=65535&P;else{if(!(16&z)){if((64&z)==0){P=T[(65535&P)+(_&(1<<z)-1)];continue t}if(32&z){o.mode=12;break e}s.msg="invalid literal/length code",o.mode=30;break e}U=65535&P,(z&=15)&&(E<z&&(_+=D[l++]<<E,E+=8),U+=_&(1<<z)-1,_>>>=z,E-=z),E<15&&(_+=D[l++]<<E,E+=8,_+=D[l++]<<E,E+=8),P=R[_&I];n:for(;;){if(_>>>=z=P>>>24,E-=z,!(16&(z=P>>>16&255))){if((64&z)==0){P=R[(65535&P)+(_&(1<<z)-1)];continue n}s.msg="invalid distance code",o.mode=30;break e}if(Z=65535&P,E<(z&=15)&&(_+=D[l++]<<E,(E+=8)<z&&(_+=D[l++]<<E,E+=8)),g<(Z+=_&(1<<z)-1)){s.msg="invalid distance too far back",o.mode=30;break e}if(_>>>=z,E-=z,(z=d-f)<Z){if(y<(z=Z-z)&&o.sane){s.msg="invalid distance too far back",o.mode=30;break e}if($=S,(L=0)===w){if(L+=b-z,z<U){for(U-=z;W[d++]=S[L++],--z;);L=d-Z,$=W}}else if(w<z){if(L+=b+w-z,(z-=w)<U){for(U-=z;W[d++]=S[L++],--z;);if(L=0,w<U){for(U-=z=w;W[d++]=S[L++],--z;);L=d-Z,$=W}}}else if(L+=w-z,z<U){for(U-=z;W[d++]=S[L++],--z;);L=d-Z,$=W}for(;2<U;)W[d++]=$[L++],W[d++]=$[L++],W[d++]=$[L++],U-=3;U&&(W[d++]=$[L++],1<U&&(W[d++]=$[L++]))}else{for(L=d-Z;W[d++]=W[L++],W[d++]=W[L++],W[d++]=W[L++],2<(U-=3););U&&(W[d++]=W[L++],1<U&&(W[d++]=W[L++]))}break}}break}}while(l<c&&d<p);l-=U=E>>3,_&=(1<<(E-=U<<3))-1,s.next_in=l,s.next_out=d,s.avail_in=l<c?c-l+5:5-(l-c),s.avail_out=d<p?p-d+257:257-(d-p),o.hold=_,o.bits=E}},{}],49:[function(n,r,i){var s=n("../utils/common"),a=n("./adler32"),o=n("./crc32"),l=n("./inffast"),c=n("./inftrees"),d=1,f=2,p=0,g=-2,b=1,y=852,w=592;function S(L){return(L>>>24&255)+(L>>>8&65280)+((65280&L)<<8)+((255&L)<<24)}function _(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new s.Buf16(320),this.work=new s.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function E(L){var $;return L&&L.state?($=L.state,L.total_in=L.total_out=$.total=0,L.msg="",$.wrap&&(L.adler=1&$.wrap),$.mode=b,$.last=0,$.havedict=0,$.dmax=32768,$.head=null,$.hold=0,$.bits=0,$.lencode=$.lendyn=new s.Buf32(y),$.distcode=$.distdyn=new s.Buf32(w),$.sane=1,$.back=-1,p):g}function T(L){var $;return L&&L.state?(($=L.state).wsize=0,$.whave=0,$.wnext=0,E(L)):g}function R(L,$){var D,W;return L&&L.state?(W=L.state,$<0?(D=0,$=-$):(D=1+($>>4),$<48&&($&=15)),$&&($<8||15<$)?g:(W.window!==null&&W.wbits!==$&&(W.window=null),W.wrap=D,W.wbits=$,T(L))):g}function N(L,$){var D,W;return L?(W=new _,(L.state=W).window=null,(D=R(L,$))!==p&&(L.state=null),D):g}var I,P,z=!0;function U(L){if(z){var $;for(I=new s.Buf32(512),P=new s.Buf32(32),$=0;$<144;)L.lens[$++]=8;for(;$<256;)L.lens[$++]=9;for(;$<280;)L.lens[$++]=7;for(;$<288;)L.lens[$++]=8;for(c(d,L.lens,0,288,I,0,L.work,{bits:9}),$=0;$<32;)L.lens[$++]=5;c(f,L.lens,0,32,P,0,L.work,{bits:5}),z=!1}L.lencode=I,L.lenbits=9,L.distcode=P,L.distbits=5}function Z(L,$,D,W){var G,K=L.state;return K.window===null&&(K.wsize=1<<K.wbits,K.wnext=0,K.whave=0,K.window=new s.Buf8(K.wsize)),W>=K.wsize?(s.arraySet(K.window,$,D-K.wsize,K.wsize,0),K.wnext=0,K.whave=K.wsize):(W<(G=K.wsize-K.wnext)&&(G=W),s.arraySet(K.window,$,D-W,G,K.wnext),(W-=G)?(s.arraySet(K.window,$,D-W,W,0),K.wnext=W,K.whave=K.wsize):(K.wnext+=G,K.wnext===K.wsize&&(K.wnext=0),K.whave<K.wsize&&(K.whave+=G))),0}i.inflateReset=T,i.inflateReset2=R,i.inflateResetKeep=E,i.inflateInit=function(L){return N(L,15)},i.inflateInit2=N,i.inflate=function(L,$){var D,W,G,K,Y,te,q,j,X,H,ae,le,Ee,me,ke,Le,qe,Xe,ut,it,F,Ce,Se,re,ne=0,ue=new s.Buf8(4),Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!L||!L.state||!L.output||!L.input&&L.avail_in!==0)return g;(D=L.state).mode===12&&(D.mode=13),Y=L.next_out,G=L.output,q=L.avail_out,K=L.next_in,W=L.input,te=L.avail_in,j=D.hold,X=D.bits,H=te,ae=q,Ce=p;e:for(;;)switch(D.mode){case b:if(D.wrap===0){D.mode=13;break}for(;X<16;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(2&D.wrap&&j===35615){ue[D.check=0]=255&j,ue[1]=j>>>8&255,D.check=o(D.check,ue,2,0),X=j=0,D.mode=2;break}if(D.flags=0,D.head&&(D.head.done=!1),!(1&D.wrap)||(((255&j)<<8)+(j>>8))%31){L.msg="incorrect header check",D.mode=30;break}if((15&j)!=8){L.msg="unknown compression method",D.mode=30;break}if(X-=4,F=8+(15&(j>>>=4)),D.wbits===0)D.wbits=F;else if(F>D.wbits){L.msg="invalid window size",D.mode=30;break}D.dmax=1<<F,L.adler=D.check=1,D.mode=512&j?10:12,X=j=0;break;case 2:for(;X<16;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(D.flags=j,(255&D.flags)!=8){L.msg="unknown compression method",D.mode=30;break}if(57344&D.flags){L.msg="unknown header flags set",D.mode=30;break}D.head&&(D.head.text=j>>8&1),512&D.flags&&(ue[0]=255&j,ue[1]=j>>>8&255,D.check=o(D.check,ue,2,0)),X=j=0,D.mode=3;case 3:for(;X<32;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.head&&(D.head.time=j),512&D.flags&&(ue[0]=255&j,ue[1]=j>>>8&255,ue[2]=j>>>16&255,ue[3]=j>>>24&255,D.check=o(D.check,ue,4,0)),X=j=0,D.mode=4;case 4:for(;X<16;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.head&&(D.head.xflags=255&j,D.head.os=j>>8),512&D.flags&&(ue[0]=255&j,ue[1]=j>>>8&255,D.check=o(D.check,ue,2,0)),X=j=0,D.mode=5;case 5:if(1024&D.flags){for(;X<16;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.length=j,D.head&&(D.head.extra_len=j),512&D.flags&&(ue[0]=255&j,ue[1]=j>>>8&255,D.check=o(D.check,ue,2,0)),X=j=0}else D.head&&(D.head.extra=null);D.mode=6;case 6:if(1024&D.flags&&(te<(le=D.length)&&(le=te),le&&(D.head&&(F=D.head.extra_len-D.length,D.head.extra||(D.head.extra=new Array(D.head.extra_len)),s.arraySet(D.head.extra,W,K,le,F)),512&D.flags&&(D.check=o(D.check,W,le,K)),te-=le,K+=le,D.length-=le),D.length))break e;D.length=0,D.mode=7;case 7:if(2048&D.flags){if(te===0)break e;for(le=0;F=W[K+le++],D.head&&F&&D.length<65536&&(D.head.name+=String.fromCharCode(F)),F&&le<te;);if(512&D.flags&&(D.check=o(D.check,W,le,K)),te-=le,K+=le,F)break e}else D.head&&(D.head.name=null);D.length=0,D.mode=8;case 8:if(4096&D.flags){if(te===0)break e;for(le=0;F=W[K+le++],D.head&&F&&D.length<65536&&(D.head.comment+=String.fromCharCode(F)),F&&le<te;);if(512&D.flags&&(D.check=o(D.check,W,le,K)),te-=le,K+=le,F)break e}else D.head&&(D.head.comment=null);D.mode=9;case 9:if(512&D.flags){for(;X<16;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(j!==(65535&D.check)){L.msg="header crc mismatch",D.mode=30;break}X=j=0}D.head&&(D.head.hcrc=D.flags>>9&1,D.head.done=!0),L.adler=D.check=0,D.mode=12;break;case 10:for(;X<32;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}L.adler=D.check=S(j),X=j=0,D.mode=11;case 11:if(D.havedict===0)return L.next_out=Y,L.avail_out=q,L.next_in=K,L.avail_in=te,D.hold=j,D.bits=X,2;L.adler=D.check=1,D.mode=12;case 12:if($===5||$===6)break e;case 13:if(D.last){j>>>=7&X,X-=7&X,D.mode=27;break}for(;X<3;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}switch(D.last=1&j,X-=1,3&(j>>>=1)){case 0:D.mode=14;break;case 1:if(U(D),D.mode=20,$!==6)break;j>>>=2,X-=2;break e;case 2:D.mode=17;break;case 3:L.msg="invalid block type",D.mode=30}j>>>=2,X-=2;break;case 14:for(j>>>=7&X,X-=7&X;X<32;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if((65535&j)!=(j>>>16^65535)){L.msg="invalid stored block lengths",D.mode=30;break}if(D.length=65535&j,X=j=0,D.mode=15,$===6)break e;case 15:D.mode=16;case 16:if(le=D.length){if(te<le&&(le=te),q<le&&(le=q),le===0)break e;s.arraySet(G,W,K,le,Y),te-=le,K+=le,q-=le,Y+=le,D.length-=le;break}D.mode=12;break;case 17:for(;X<14;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(D.nlen=257+(31&j),j>>>=5,X-=5,D.ndist=1+(31&j),j>>>=5,X-=5,D.ncode=4+(15&j),j>>>=4,X-=4,286<D.nlen||30<D.ndist){L.msg="too many length or distance symbols",D.mode=30;break}D.have=0,D.mode=18;case 18:for(;D.have<D.ncode;){for(;X<3;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.lens[Oe[D.have++]]=7&j,j>>>=3,X-=3}for(;D.have<19;)D.lens[Oe[D.have++]]=0;if(D.lencode=D.lendyn,D.lenbits=7,Se={bits:D.lenbits},Ce=c(0,D.lens,0,19,D.lencode,0,D.work,Se),D.lenbits=Se.bits,Ce){L.msg="invalid code lengths set",D.mode=30;break}D.have=0,D.mode=19;case 19:for(;D.have<D.nlen+D.ndist;){for(;Le=(ne=D.lencode[j&(1<<D.lenbits)-1])>>>16&255,qe=65535&ne,!((ke=ne>>>24)<=X);){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(qe<16)j>>>=ke,X-=ke,D.lens[D.have++]=qe;else{if(qe===16){for(re=ke+2;X<re;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(j>>>=ke,X-=ke,D.have===0){L.msg="invalid bit length repeat",D.mode=30;break}F=D.lens[D.have-1],le=3+(3&j),j>>>=2,X-=2}else if(qe===17){for(re=ke+3;X<re;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}X-=ke,F=0,le=3+(7&(j>>>=ke)),j>>>=3,X-=3}else{for(re=ke+7;X<re;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}X-=ke,F=0,le=11+(127&(j>>>=ke)),j>>>=7,X-=7}if(D.have+le>D.nlen+D.ndist){L.msg="invalid bit length repeat",D.mode=30;break}for(;le--;)D.lens[D.have++]=F}}if(D.mode===30)break;if(D.lens[256]===0){L.msg="invalid code -- missing end-of-block",D.mode=30;break}if(D.lenbits=9,Se={bits:D.lenbits},Ce=c(d,D.lens,0,D.nlen,D.lencode,0,D.work,Se),D.lenbits=Se.bits,Ce){L.msg="invalid literal/lengths set",D.mode=30;break}if(D.distbits=6,D.distcode=D.distdyn,Se={bits:D.distbits},Ce=c(f,D.lens,D.nlen,D.ndist,D.distcode,0,D.work,Se),D.distbits=Se.bits,Ce){L.msg="invalid distances set",D.mode=30;break}if(D.mode=20,$===6)break e;case 20:D.mode=21;case 21:if(6<=te&&258<=q){L.next_out=Y,L.avail_out=q,L.next_in=K,L.avail_in=te,D.hold=j,D.bits=X,l(L,ae),Y=L.next_out,G=L.output,q=L.avail_out,K=L.next_in,W=L.input,te=L.avail_in,j=D.hold,X=D.bits,D.mode===12&&(D.back=-1);break}for(D.back=0;Le=(ne=D.lencode[j&(1<<D.lenbits)-1])>>>16&255,qe=65535&ne,!((ke=ne>>>24)<=X);){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(Le&&(240&Le)==0){for(Xe=ke,ut=Le,it=qe;Le=(ne=D.lencode[it+((j&(1<<Xe+ut)-1)>>Xe)])>>>16&255,qe=65535&ne,!(Xe+(ke=ne>>>24)<=X);){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}j>>>=Xe,X-=Xe,D.back+=Xe}if(j>>>=ke,X-=ke,D.back+=ke,D.length=qe,Le===0){D.mode=26;break}if(32&Le){D.back=-1,D.mode=12;break}if(64&Le){L.msg="invalid literal/length code",D.mode=30;break}D.extra=15&Le,D.mode=22;case 22:if(D.extra){for(re=D.extra;X<re;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.length+=j&(1<<D.extra)-1,j>>>=D.extra,X-=D.extra,D.back+=D.extra}D.was=D.length,D.mode=23;case 23:for(;Le=(ne=D.distcode[j&(1<<D.distbits)-1])>>>16&255,qe=65535&ne,!((ke=ne>>>24)<=X);){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if((240&Le)==0){for(Xe=ke,ut=Le,it=qe;Le=(ne=D.distcode[it+((j&(1<<Xe+ut)-1)>>Xe)])>>>16&255,qe=65535&ne,!(Xe+(ke=ne>>>24)<=X);){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}j>>>=Xe,X-=Xe,D.back+=Xe}if(j>>>=ke,X-=ke,D.back+=ke,64&Le){L.msg="invalid distance code",D.mode=30;break}D.offset=qe,D.extra=15&Le,D.mode=24;case 24:if(D.extra){for(re=D.extra;X<re;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}D.offset+=j&(1<<D.extra)-1,j>>>=D.extra,X-=D.extra,D.back+=D.extra}if(D.offset>D.dmax){L.msg="invalid distance too far back",D.mode=30;break}D.mode=25;case 25:if(q===0)break e;if(le=ae-q,D.offset>le){if((le=D.offset-le)>D.whave&&D.sane){L.msg="invalid distance too far back",D.mode=30;break}Ee=le>D.wnext?(le-=D.wnext,D.wsize-le):D.wnext-le,le>D.length&&(le=D.length),me=D.window}else me=G,Ee=Y-D.offset,le=D.length;for(q<le&&(le=q),q-=le,D.length-=le;G[Y++]=me[Ee++],--le;);D.length===0&&(D.mode=21);break;case 26:if(q===0)break e;G[Y++]=D.length,q--,D.mode=21;break;case 27:if(D.wrap){for(;X<32;){if(te===0)break e;te--,j|=W[K++]<<X,X+=8}if(ae-=q,L.total_out+=ae,D.total+=ae,ae&&(L.adler=D.check=D.flags?o(D.check,G,ae,Y-ae):a(D.check,G,ae,Y-ae)),ae=q,(D.flags?j:S(j))!==D.check){L.msg="incorrect data check",D.mode=30;break}X=j=0}D.mode=28;case 28:if(D.wrap&&D.flags){for(;X<32;){if(te===0)break e;te--,j+=W[K++]<<X,X+=8}if(j!==(4294967295&D.total)){L.msg="incorrect length check",D.mode=30;break}X=j=0}D.mode=29;case 29:Ce=1;break e;case 30:Ce=-3;break e;case 31:return-4;default:return g}return L.next_out=Y,L.avail_out=q,L.next_in=K,L.avail_in=te,D.hold=j,D.bits=X,(D.wsize||ae!==L.avail_out&&D.mode<30&&(D.mode<27||$!==4))&&Z(L,L.output,L.next_out,ae-L.avail_out)?(D.mode=31,-4):(H-=L.avail_in,ae-=L.avail_out,L.total_in+=H,L.total_out+=ae,D.total+=ae,D.wrap&&ae&&(L.adler=D.check=D.flags?o(D.check,G,ae,L.next_out-ae):a(D.check,G,ae,L.next_out-ae)),L.data_type=D.bits+(D.last?64:0)+(D.mode===12?128:0)+(D.mode===20||D.mode===15?256:0),(H==0&&ae===0||$===4)&&Ce===p&&(Ce=-5),Ce)},i.inflateEnd=function(L){if(!L||!L.state)return g;var $=L.state;return $.window&&($.window=null),L.state=null,p},i.inflateGetHeader=function(L,$){var D;return L&&L.state?(2&(D=L.state).wrap)==0?g:((D.head=$).done=!1,p):g},i.inflateSetDictionary=function(L,$){var D,W=$.length;return L&&L.state?(D=L.state).wrap!==0&&D.mode!==11?g:D.mode===11&&a(1,$,W,0)!==D.check?-3:Z(L,$,W,W)?(D.mode=31,-4):(D.havedict=1,p):g},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var s=n("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,f,p,g,b,y,w,S){var _,E,T,R,N,I,P,z,U,Z=S.bits,L=0,$=0,D=0,W=0,G=0,K=0,Y=0,te=0,q=0,j=0,X=null,H=0,ae=new s.Buf16(16),le=new s.Buf16(16),Ee=null,me=0;for(L=0;L<=15;L++)ae[L]=0;for($=0;$<g;$++)ae[f[p+$]]++;for(G=Z,W=15;1<=W&&ae[W]===0;W--);if(W<G&&(G=W),W===0)return b[y++]=20971520,b[y++]=20971520,S.bits=1,0;for(D=1;D<W&&ae[D]===0;D++);for(G<D&&(G=D),L=te=1;L<=15;L++)if(te<<=1,(te-=ae[L])<0)return-1;if(0<te&&(d===0||W!==1))return-1;for(le[1]=0,L=1;L<15;L++)le[L+1]=le[L]+ae[L];for($=0;$<g;$++)f[p+$]!==0&&(w[le[f[p+$]]++]=$);if(I=d===0?(X=Ee=w,19):d===1?(X=a,H-=257,Ee=o,me-=257,256):(X=l,Ee=c,-1),L=D,N=y,Y=$=j=0,T=-1,R=(q=1<<(K=G))-1,d===1&&852<q||d===2&&592<q)return 1;for(;;){for(P=L-Y,U=w[$]<I?(z=0,w[$]):w[$]>I?(z=Ee[me+w[$]],X[H+w[$]]):(z=96,0),_=1<<L-Y,D=E=1<<K;b[N+(j>>Y)+(E-=_)]=P<<24|z<<16|U|0,E!==0;);for(_=1<<L-1;j&_;)_>>=1;if(_!==0?(j&=_-1,j+=_):j=0,$++,--ae[L]==0){if(L===W)break;L=f[p+w[$]]}if(G<L&&(j&R)!==T){for(Y===0&&(Y=G),N+=D,te=1<<(K=L-Y);K+Y<W&&!((te-=ae[K+Y])<=0);)K++,te<<=1;if(q+=1<<K,d===1&&852<q||d===2&&592<q)return 1;b[T=j&R]=G<<24|K<<16|N-y|0}}return j!==0&&(b[N+j]=L-Y<<24|64<<16|0),S.bits=G,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var s=n("../utils/common"),a=0,o=1;function l(ne){for(var ue=ne.length;0<=--ue;)ne[ue]=0}var c=0,d=29,f=256,p=f+1+d,g=30,b=19,y=2*p+1,w=15,S=16,_=7,E=256,T=16,R=17,N=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],P=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=new Array(2*(p+2));l(Z);var L=new Array(2*g);l(L);var $=new Array(512);l($);var D=new Array(256);l(D);var W=new Array(d);l(W);var G,K,Y,te=new Array(g);function q(ne,ue,Oe,Me,pe){this.static_tree=ne,this.extra_bits=ue,this.extra_base=Oe,this.elems=Me,this.max_length=pe,this.has_stree=ne&&ne.length}function j(ne,ue){this.dyn_tree=ne,this.max_code=0,this.stat_desc=ue}function X(ne){return ne<256?$[ne]:$[256+(ne>>>7)]}function H(ne,ue){ne.pending_buf[ne.pending++]=255&ue,ne.pending_buf[ne.pending++]=ue>>>8&255}function ae(ne,ue,Oe){ne.bi_valid>S-Oe?(ne.bi_buf|=ue<<ne.bi_valid&65535,H(ne,ne.bi_buf),ne.bi_buf=ue>>S-ne.bi_valid,ne.bi_valid+=Oe-S):(ne.bi_buf|=ue<<ne.bi_valid&65535,ne.bi_valid+=Oe)}function le(ne,ue,Oe){ae(ne,Oe[2*ue],Oe[2*ue+1])}function Ee(ne,ue){for(var Oe=0;Oe|=1&ne,ne>>>=1,Oe<<=1,0<--ue;);return Oe>>>1}function me(ne,ue,Oe){var Me,pe,Fe=new Array(w+1),Ge=0;for(Me=1;Me<=w;Me++)Fe[Me]=Ge=Ge+Oe[Me-1]<<1;for(pe=0;pe<=ue;pe++){var He=ne[2*pe+1];He!==0&&(ne[2*pe]=Ee(Fe[He]++,He))}}function ke(ne){var ue;for(ue=0;ue<p;ue++)ne.dyn_ltree[2*ue]=0;for(ue=0;ue<g;ue++)ne.dyn_dtree[2*ue]=0;for(ue=0;ue<b;ue++)ne.bl_tree[2*ue]=0;ne.dyn_ltree[2*E]=1,ne.opt_len=ne.static_len=0,ne.last_lit=ne.matches=0}function Le(ne){8<ne.bi_valid?H(ne,ne.bi_buf):0<ne.bi_valid&&(ne.pending_buf[ne.pending++]=ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0}function qe(ne,ue,Oe,Me){var pe=2*ue,Fe=2*Oe;return ne[pe]<ne[Fe]||ne[pe]===ne[Fe]&&Me[ue]<=Me[Oe]}function Xe(ne,ue,Oe){for(var Me=ne.heap[Oe],pe=Oe<<1;pe<=ne.heap_len&&(pe<ne.heap_len&&qe(ue,ne.heap[pe+1],ne.heap[pe],ne.depth)&&pe++,!qe(ue,Me,ne.heap[pe],ne.depth));)ne.heap[Oe]=ne.heap[pe],Oe=pe,pe<<=1;ne.heap[Oe]=Me}function ut(ne,ue,Oe){var Me,pe,Fe,Ge,He=0;if(ne.last_lit!==0)for(;Me=ne.pending_buf[ne.d_buf+2*He]<<8|ne.pending_buf[ne.d_buf+2*He+1],pe=ne.pending_buf[ne.l_buf+He],He++,Me===0?le(ne,pe,ue):(le(ne,(Fe=D[pe])+f+1,ue),(Ge=I[Fe])!==0&&ae(ne,pe-=W[Fe],Ge),le(ne,Fe=X(--Me),Oe),(Ge=P[Fe])!==0&&ae(ne,Me-=te[Fe],Ge)),He<ne.last_lit;);le(ne,E,ue)}function it(ne,ue){var Oe,Me,pe,Fe=ue.dyn_tree,Ge=ue.stat_desc.static_tree,He=ue.stat_desc.has_stree,he=ue.stat_desc.elems,Ie=-1;for(ne.heap_len=0,ne.heap_max=y,Oe=0;Oe<he;Oe++)Fe[2*Oe]!==0?(ne.heap[++ne.heap_len]=Ie=Oe,ne.depth[Oe]=0):Fe[2*Oe+1]=0;for(;ne.heap_len<2;)Fe[2*(pe=ne.heap[++ne.heap_len]=Ie<2?++Ie:0)]=1,ne.depth[pe]=0,ne.opt_len--,He&&(ne.static_len-=Ge[2*pe+1]);for(ue.max_code=Ie,Oe=ne.heap_len>>1;1<=Oe;Oe--)Xe(ne,Fe,Oe);for(pe=he;Oe=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],Xe(ne,Fe,1),Me=ne.heap[1],ne.heap[--ne.heap_max]=Oe,ne.heap[--ne.heap_max]=Me,Fe[2*pe]=Fe[2*Oe]+Fe[2*Me],ne.depth[pe]=(ne.depth[Oe]>=ne.depth[Me]?ne.depth[Oe]:ne.depth[Me])+1,Fe[2*Oe+1]=Fe[2*Me+1]=pe,ne.heap[1]=pe++,Xe(ne,Fe,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],(function($e,mt){var kt,fn,Un,It,vn,Yn,Ot=mt.dyn_tree,bs=mt.max_code,Hr=mt.stat_desc.static_tree,Vs=mt.stat_desc.has_stree,Xl=mt.stat_desc.extra_bits,Qo=mt.stat_desc.extra_base,ys=mt.stat_desc.max_length,Ci=0;for(It=0;It<=w;It++)$e.bl_count[It]=0;for(Ot[2*$e.heap[$e.heap_max]+1]=0,kt=$e.heap_max+1;kt<y;kt++)ys<(It=Ot[2*Ot[2*(fn=$e.heap[kt])+1]+1]+1)&&(It=ys,Ci++),Ot[2*fn+1]=It,bs<fn||($e.bl_count[It]++,vn=0,Qo<=fn&&(vn=Xl[fn-Qo]),Yn=Ot[2*fn],$e.opt_len+=Yn*(It+vn),Vs&&($e.static_len+=Yn*(Hr[2*fn+1]+vn)));if(Ci!==0){do{for(It=ys-1;$e.bl_count[It]===0;)It--;$e.bl_count[It]--,$e.bl_count[It+1]+=2,$e.bl_count[ys]--,Ci-=2}while(0<Ci);for(It=ys;It!==0;It--)for(fn=$e.bl_count[It];fn!==0;)bs<(Un=$e.heap[--kt])||(Ot[2*Un+1]!==It&&($e.opt_len+=(It-Ot[2*Un+1])*Ot[2*Un],Ot[2*Un+1]=It),fn--)}})(ne,ue),me(Fe,Ie,ne.bl_count)}function F(ne,ue,Oe){var Me,pe,Fe=-1,Ge=ue[1],He=0,he=7,Ie=4;for(Ge===0&&(he=138,Ie=3),ue[2*(Oe+1)+1]=65535,Me=0;Me<=Oe;Me++)pe=Ge,Ge=ue[2*(Me+1)+1],++He<he&&pe===Ge||(He<Ie?ne.bl_tree[2*pe]+=He:pe!==0?(pe!==Fe&&ne.bl_tree[2*pe]++,ne.bl_tree[2*T]++):He<=10?ne.bl_tree[2*R]++:ne.bl_tree[2*N]++,Fe=pe,Ie=(He=0)===Ge?(he=138,3):pe===Ge?(he=6,3):(he=7,4))}function Ce(ne,ue,Oe){var Me,pe,Fe=-1,Ge=ue[1],He=0,he=7,Ie=4;for(Ge===0&&(he=138,Ie=3),Me=0;Me<=Oe;Me++)if(pe=Ge,Ge=ue[2*(Me+1)+1],!(++He<he&&pe===Ge)){if(He<Ie)for(;le(ne,pe,ne.bl_tree),--He!=0;);else pe!==0?(pe!==Fe&&(le(ne,pe,ne.bl_tree),He--),le(ne,T,ne.bl_tree),ae(ne,He-3,2)):He<=10?(le(ne,R,ne.bl_tree),ae(ne,He-3,3)):(le(ne,N,ne.bl_tree),ae(ne,He-11,7));Fe=pe,Ie=(He=0)===Ge?(he=138,3):pe===Ge?(he=6,3):(he=7,4)}}l(te);var Se=!1;function re(ne,ue,Oe,Me){ae(ne,(c<<1)+(Me?1:0),3),(function(pe,Fe,Ge,He){Le(pe),H(pe,Ge),H(pe,~Ge),s.arraySet(pe.pending_buf,pe.window,Fe,Ge,pe.pending),pe.pending+=Ge})(ne,ue,Oe)}i._tr_init=function(ne){Se||((function(){var ue,Oe,Me,pe,Fe,Ge=new Array(w+1);for(pe=Me=0;pe<d-1;pe++)for(W[pe]=Me,ue=0;ue<1<<I[pe];ue++)D[Me++]=pe;for(D[Me-1]=pe,pe=Fe=0;pe<16;pe++)for(te[pe]=Fe,ue=0;ue<1<<P[pe];ue++)$[Fe++]=pe;for(Fe>>=7;pe<g;pe++)for(te[pe]=Fe<<7,ue=0;ue<1<<P[pe]-7;ue++)$[256+Fe++]=pe;for(Oe=0;Oe<=w;Oe++)Ge[Oe]=0;for(ue=0;ue<=143;)Z[2*ue+1]=8,ue++,Ge[8]++;for(;ue<=255;)Z[2*ue+1]=9,ue++,Ge[9]++;for(;ue<=279;)Z[2*ue+1]=7,ue++,Ge[7]++;for(;ue<=287;)Z[2*ue+1]=8,ue++,Ge[8]++;for(me(Z,p+1,Ge),ue=0;ue<g;ue++)L[2*ue+1]=5,L[2*ue]=Ee(ue,5);G=new q(Z,I,f+1,p,w),K=new q(L,P,0,g,w),Y=new q(new Array(0),z,0,b,_)})(),Se=!0),ne.l_desc=new j(ne.dyn_ltree,G),ne.d_desc=new j(ne.dyn_dtree,K),ne.bl_desc=new j(ne.bl_tree,Y),ne.bi_buf=0,ne.bi_valid=0,ke(ne)},i._tr_stored_block=re,i._tr_flush_block=function(ne,ue,Oe,Me){var pe,Fe,Ge=0;0<ne.level?(ne.strm.data_type===2&&(ne.strm.data_type=(function(He){var he,Ie=4093624447;for(he=0;he<=31;he++,Ie>>>=1)if(1&Ie&&He.dyn_ltree[2*he]!==0)return a;if(He.dyn_ltree[18]!==0||He.dyn_ltree[20]!==0||He.dyn_ltree[26]!==0)return o;for(he=32;he<f;he++)if(He.dyn_ltree[2*he]!==0)return o;return a})(ne)),it(ne,ne.l_desc),it(ne,ne.d_desc),Ge=(function(He){var he;for(F(He,He.dyn_ltree,He.l_desc.max_code),F(He,He.dyn_dtree,He.d_desc.max_code),it(He,He.bl_desc),he=b-1;3<=he&&He.bl_tree[2*U[he]+1]===0;he--);return He.opt_len+=3*(he+1)+5+5+4,he})(ne),pe=ne.opt_len+3+7>>>3,(Fe=ne.static_len+3+7>>>3)<=pe&&(pe=Fe)):pe=Fe=Oe+5,Oe+4<=pe&&ue!==-1?re(ne,ue,Oe,Me):ne.strategy===4||Fe===pe?(ae(ne,2+(Me?1:0),3),ut(ne,Z,L)):(ae(ne,4+(Me?1:0),3),(function(He,he,Ie,$e){var mt;for(ae(He,he-257,5),ae(He,Ie-1,5),ae(He,$e-4,4),mt=0;mt<$e;mt++)ae(He,He.bl_tree[2*U[mt]+1],3);Ce(He,He.dyn_ltree,he-1),Ce(He,He.dyn_dtree,Ie-1)})(ne,ne.l_desc.max_code+1,ne.d_desc.max_code+1,Ge+1),ut(ne,ne.dyn_ltree,ne.dyn_dtree)),ke(ne),Me&&Le(ne)},i._tr_tally=function(ne,ue,Oe){return ne.pending_buf[ne.d_buf+2*ne.last_lit]=ue>>>8&255,ne.pending_buf[ne.d_buf+2*ne.last_lit+1]=255&ue,ne.pending_buf[ne.l_buf+ne.last_lit]=255&Oe,ne.last_lit++,ue===0?ne.dyn_ltree[2*Oe]++:(ne.matches++,ue--,ne.dyn_ltree[2*(D[Oe]+f+1)]++,ne.dyn_dtree[2*X(ue)]++),ne.last_lit===ne.lit_bufsize-1},i._tr_align=function(ne){ae(ne,2,3),le(ne,E,Z),(function(ue){ue.bi_valid===16?(H(ue,ue.bi_buf),ue.bi_buf=0,ue.bi_valid=0):8<=ue.bi_valid&&(ue.pending_buf[ue.pending++]=255&ue.bi_buf,ue.bi_buf>>=8,ue.bi_valid-=8)})(ne)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(s){(function(a,o){if(!a.setImmediate){var l,c,d,f,p=1,g={},b=!1,y=a.document,w=Object.getPrototypeOf&&Object.getPrototypeOf(a);w=w&&w.setTimeout?w:a,l={}.toString.call(a.process)==="[object process]"?function(T){process.nextTick(function(){_(T)})}:(function(){if(a.postMessage&&!a.importScripts){var T=!0,R=a.onmessage;return a.onmessage=function(){T=!1},a.postMessage("","*"),a.onmessage=R,T}})()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",E,!1):a.attachEvent("onmessage",E),function(T){a.postMessage(f+T,"*")}):a.MessageChannel?((d=new MessageChannel).port1.onmessage=function(T){_(T.data)},function(T){d.port2.postMessage(T)}):y&&"onreadystatechange"in y.createElement("script")?(c=y.documentElement,function(T){var R=y.createElement("script");R.onreadystatechange=function(){_(T),R.onreadystatechange=null,c.removeChild(R),R=null},c.appendChild(R)}):function(T){setTimeout(_,0,T)},w.setImmediate=function(T){typeof T!="function"&&(T=new Function(""+T));for(var R=new Array(arguments.length-1),N=0;N<R.length;N++)R[N]=arguments[N+1];var I={callback:T,args:R};return g[p]=I,l(p),p++},w.clearImmediate=S}function S(T){delete g[T]}function _(T){if(b)setTimeout(_,0,T);else{var R=g[T];
70if(R){b=!0;try{(function(N){var I=N.callback,P=N.args;switch(P.length){case 0:I();break;case 1:I(P[0]);break;case 2:I(P[0],P[1]);break;case 3:I(P[0],P[1],P[2]);break;default:I.apply(o,P)}})(R)}finally{S(T),b=!1}}}}function E(T){T.source===a&&typeof T.data=="string"&&T.data.indexOf(f)===0&&_(+T.data.slice(f.length))}})(typeof self>"u"?s===void 0?this:s:self)}).call(this,typeof To<"u"?To:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(L2)),L2.exports}var GTe=VTe();const RVe=sp(GTe);var s1={exports:{}},qTe=s1.exports,ZF;function WTe(){return ZF||(ZF=1,(function(t,e){(function(n,r){r()})(qTe,function(){function n(c,d){return typeof d>"u"?d={autoBom:!1}:typeof d!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),d={autoBom:!d}),d.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,d,f){var p=new XMLHttpRequest;p.open("GET",c),p.responseType="blob",p.onload=function(){l(p.response,d,f)},p.onerror=function(){console.error("could not download file")},p.send()}function i(c){var d=new XMLHttpRequest;d.open("HEAD",c,!1);try{d.send()}catch{}return 200<=d.status&&299>=d.status}function s(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var d=document.createEvent("MouseEvents");
70d.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(d)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof To=="object"&&To.global===To?To:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(c,d,f){var p=a.URL||a.webkitURL,g=document.createElement("a");d=d||c.name||"download",g.download=d,g.rel="noopener",typeof c=="string"?(g.href=c,g.origin===location.origin?s(g):i(g.href)?r(c,d,f):s(g,g.target="_blank")):(g.href=p.createObjectURL(c),setTimeout(function(){p.revokeObjectURL(g.href)},4e4),setTimeout(function(){s(g)},0))}:"msSaveOrOpenBlob"in navigator?function(c,d,f){if(d=d||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),d);else if(i(c))r(c,d,f);else{var p=document.createElement("a");p.href=c,p.target="_blank",setTimeout(function(){s(p)})}}:function(c,d,f,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof c=="string")return r(c,d,f);var g=c.type==="application/octet-stream",b=/constructor/i.test(a.HTMLElement)||a.safari,y=/CriOS\/[\d]+/.test(navigator.userAgent);if((y||g&&b||o)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var E=w.result;E=y?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),p?p.location.href=E:location=E,p=null},w.readAsDataURL(c)}else{var S=a.URL||a.webkitURL,_=S.createObjectURL(c);p?p.location=_:location.href=_,p=null,setTimeout(function(){S.revokeObjectURL(_)},4e4)}});a.saveAs=l.saveAs=l,t.exports=l})})(s1)),s1.exports}var NVe=WTe();function QF(t){const e=[],n=String(t||"");let r=n.indexOf(","),i=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const a=n.slice(i,r).trim();(a||!s)&&e.push(a),i=r+1,r=n.indexOf(",",i)}return e}function KTe(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const YTe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,XTe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ZTe={};function JF(t,e){return(ZTe.jsx?XTe:YTe).test(t)}const QTe=/[ \t\n\f\r]/g;function JTe(t){return typeof t=="object"?t.type==="text"?ez(t.value):!1:ez(t)}function ez(t){return t.replace(QTe,"")===""}class z0{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}z0.prototype.normal={};z0.prototype.property={};z0.prototype.space=void 0;function wZ(t,e){const n={},r={};for(const i of t)Object.assign(n,i.property),Object.assign(r,i.normal);return new z0(n,r,e)}function Vg(t){return t.toLowerCase()}class ms{constructor(e,n){this.attribute=n,this.property=e}}ms.prototype.attribute="";ms.prototype.booleanish=!1;ms.prototype.boolean=!1;ms.prototype.commaOrSpaceSeparated=!1;ms.prototype.commaSeparated=!1;ms.prototype.defined=!1;ms.prototype.mustUseProperty=!1;ms.prototype.number=!1;ms.prototype.overloadedBoolean=!1;ms.prototype.property="";ms.prototype.spaceSeparated=!1;ms.prototype.space=void 0;let eAe=0;const Rt=Wd(),ar=Wd(),CT=Wd(),je=Wd(),wn=Wd(),Rf=Wd(),Rs=Wd();function Wd(){return 2**++eAe}const TT=Object.freeze(Object.defineProperty({__proto__:null,boolean:Rt,booleanish:ar,commaOrSpaceSeparated:Rs,commaSeparated:Rf,number:je,overloadedBoolean:CT,spaceSeparated:wn},Symbol.toStringTag,{value:"Module"})),B2=Object.keys(TT);class S3 extends ms{constructor(e,n,r,i){let s=-1;if(super(e,n),tz(this,"space",i),typeof r=="number")for(;++s<B2.length;){const a=B2[s];tz(this,B2[s],(r&TT[a])===TT[a])}}}S3.prototype.defined=!0;function tz(t,e,n){n&&(t[e]=n)}function Sp(t){const e={},n={};for(const[r,i]of Object.entries(t.properties)){const s=new S3(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),e[r]=s,n[Vg(r)]=r,n[Vg(s.attribute)]=r}return new z0(e,n,t.space)}const SZ=Sp({properties:{ariaActiveDescendant:null,ariaAtomic:ar,ariaAutoComplete:null,ariaBusy:ar,ariaChecked:ar,ariaColCount:je,ariaColIndex:je,ariaColSpan:je,ariaControl
vendor: 4,006 bytes, line 70
70s:wn,ariaCurrent:null,ariaDescribedBy:wn,ariaDetails:null,ariaDisabled:ar,ariaDropEffect:wn,ariaErrorMessage:null,ariaExpanded:ar,ariaFlowTo:wn,ariaGrabbed:ar,ariaHasPopup:null,ariaHidden:ar,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wn,ariaLevel:je,ariaLive:null,ariaModal:ar,ariaMultiLine:ar,ariaMultiSelectable:ar,ariaOrientation:null,ariaOwns:wn,ariaPlaceholder:null,ariaPosInSet:je,ariaPressed:ar,ariaReadOnly:ar,ariaRelevant:null,ariaRequired:ar,ariaRoleDescription:wn,ariaRowCount:je,ariaRowIndex:je,ariaRowSpan:je,ariaSelected:ar,ariaSetSize:je,ariaSort:null,ariaValueMax:je,ariaValueMin:je,ariaValueNow:je,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function _Z(t,e){return e in t?t[e]:e}function xZ(t,e){return _Z(t,e.toLowerCase())}const tAe=Sp({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Rf,acceptCharset:wn,accessKey:wn,action:null,allow:null,allowFullScreen:Rt,allowPaymentRequest:Rt,allowUserMedia:Rt,alt:null,as:null,async:Rt,autoCapitalize:null,autoComplete:wn,autoFocus:Rt,autoPlay:Rt,blocking:wn,capture:null,charSet:null,checked:Rt,cite:null,className:wn,cols:je,colSpan:null,content:null,contentEditable:ar,controls:Rt,controlsList:wn,coords:je|Rf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Rt,defer:Rt,dir:null,dirName:null,disabled:Rt,download:CT,draggable:ar,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Rt,formTarget:null,headers:wn,height:je,hidden:CT,high:je,href:null,hrefLang:null,htmlFor:wn,httpEquiv:wn,id:null,imageSizes:null,imageSrcSet:null,inert:Rt,inputMode:null,integrity:null,is:null,isMap:Rt,itemId:null,itemProp:wn,itemRef:wn,itemScope:Rt,itemType:wn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Rt,low:je,manifest:null,max:null,maxLength:je,media:null,method:null,min:null,minLength:je,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:je,pattern:null,ping:wn,placeholder:null,playsInline:Rt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Rt,referrerPolicy:null,rel:wn,required:Rt,reversed:Rt,rows:je,rowSpan:je,sandbox:wn,scope:null,scoped:Rt,seamless:Rt,selected:Rt,shadowRootClonable:Rt,shadowRootDelegatesFocus:Rt,shadowRootMode:null,shape:null,size:je,sizes:null,slot:null,span:je,spellCheck:ar,src:null,
70srcDoc:null,srcLang:null,srcSet:null,start:je,step:null,style:null,tabIndex:je,target:null,title:null,translate:null,type:null,typeMustMatch:Rt,useMap:null,value:ar,width:je,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wn,axis:null,background:null,bgColor:null,border:je,borderColor:null,bottomMargin:je,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:je,leftMargin:je,link:null,longDesc:null,lowSrc:null,marginHeight:je,marginWidth:je,noResize:Rt,noHref:Rt,noShade:Rt,noWrap:Rt,object:null,profile:null,prompt:null,rev:null,rightMargin:je,rules:null,scheme:null,scrolling:ar,standby:null,summary:null,text:null,topMargin:je,valueType:null,version:null,vAlign:null,vLink:null,vSpace:je,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Rt,disableRemotePlayback:Rt,prefix:null,property:null,results:je,security:null,unselectable:null},space:"html",transform:xZ}),nAe=Sp({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
70-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"},properties:{about:Rs,accentHeight:je,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:je,amplitude:je,arabicForm:null,ascent:je,attributeName:null,attributeType:null,azimuth:je,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:je,by:null,calcMode:null,capHeight:je,className:wn,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:je,diffuseConstant:je,direction:null,display:null,dur:null,divisor:je,dominantBaseline:null,download:Rt,dx:null,dy:null,edgeMode:null,editable:null,elevation:je,enableBackground:null,end:null,event:null,exponent:je,externalResourcesRequired:null,fill:null,fillOpacity:je,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:Rf,g2:Rf,glyphName:Rf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:je,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:je,horizOriginX:je,horizOriginY:je,id:null,ideographic:je,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:je,k:je,k1:je,k2:je,k3:je,k4:je,kernelMatrix:Rs,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:je,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:je,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,on
vendor: 5,832 bytes, lines 70-71
70Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:je,overlineThickness:je,paintOrder:null,panose1:null,path:null,pathLength:je,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:je,pointsAtY:je,pointsAtZ:je,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rs,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rs,rev:Rs,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rs,requiredFeatures:Rs,requiredFonts:Rs,requiredFormats:Rs,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:je,specularExponent:je,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:je,strikethroughThickness:je,string:null,stroke:null,strokeDashArray:Rs,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:je,strokeOpacity:je,strokeWidth:null,style:null,surfaceScale:je,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rs,tabIndex:je,tableValues:null,target:null,targetX:je,targetY:je,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rs,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:je,underlineThickness:je,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:je,values:null,vAlphabetic:je,vMathematical:je,vectorEffect:null,vHanging:je,vIdeographic:je,version:null,vertAdvY:je,vertOriginX:je,vertOriginY:je,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:je,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:_Z}),EZ=Sp({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),kZ=Sp({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:xZ}),CZ=Sp({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),rAe={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"},iAe=/[A-Z]/g,nz=/-[a-z]/g,sAe=/^data[-\w.:]+$/i;function TZ(t,e){const n=Vg(e);let r=e,i=ms;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&sAe.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(nz,oAe);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!nz.test(s)){let a=s.replace(iAe,aAe);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=S3}return new i(r,e)}function aAe(t){return"-"+t.toLowerCase()}function oAe(t){return t.charAt(1).toUpperCase()}const AZ=wZ([SZ,tAe,EZ,kZ,CZ],"html"),LS=wZ([SZ,nAe,EZ,kZ,CZ],"svg");function rz(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function lAe(t){return t.join(" ").trim()}var Kh={},P2,iz;function cAe(){if(iz)return P2;iz=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
71`,c="/",d="*",f="",p="comment",g="declaration";function b(w,S){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];S=S||{};var _=1,E=1;function T(D){var W=D.match(e);W&&(_+=W.length);var G=D.lastIndexOf(l);E=~G?D.length-G:E+D.length}function R(){var D={line:_,column:E};return function(W){return W.position=new N(D),z(),W}}function N(D){this.start=D,this.end={line:_,column:E},this.source=S.source}N.prototype.content=w;function I(D){var W=new Error(S.source+":"+_+":"+E+": "+D);if(W.reason=D,W.filename=S.source,W.line=_,W.column=E,W.source=w,!S.silent)throw W}function P(D){var W=D.exec(w);if(W){var G=W[0];return T(G),w=w.slice(G.length),W}}function z(){P(n)}function U(D){var W;for(D=D||[];W=Z();)W!==!1&&D.push(W);return D}function Z(){var D=R();if(!(c!=w.charAt(0)||d!=w.charAt(1))){for(var W=2;f!=w.charAt(W)&&(d!=w.charAt(W)||c!=w.charAt(W+1));)++W;if(W+=2,f===w.charAt(W-1))return I("End of comment missing");var G=w.slice(2,W-2);return E+=2,T(G),w=w.slice(W),E+=2,D({type:p,comment:G})}}function L(){var D=R(),W=P(r);if(W){if(Z(),!P(i))return I("property missing ':'");var G=P(s),K=D({type:g,property:y(W[0].replace(t,f)),value:G?y(G[0].replace(t,f)):f});return P(a),K}}function $(){var D=[];U(D);for(var W;W=L();)W!==!1&&(D.push(W),U(D));return D}return z(),$()}function y(w){return w?w.replace(o,f):f}return P2=b,P2}var sz;function uAe(){if(sz)return Kh;sz=1;var t=Kh&&Kh.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Kh,"__esModule",{value:!0}),Kh.default=n;const e=t(cAe());function n(r,i){let s=null;if(!r||typeof r!="string")return s;const a=(0,e.default)(r),o=typeof i=="function";return a.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:d}=l;o?i(c,d,l):d&&(s=s||{},s[c]=d)}),s}return Kh}var Im={},az;function dAe(){if(az)return Im;
vendor: 1,442 bytes, line 71
71az=1,Object.defineProperty(Im,"__esModule",{value:!0}),Im.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(c){return!c||n.test(c)||t.test(c)},a=function(c,d){return d.toUpperCase()},o=function(c,d){return"".concat(d,"-")},l=function(c,d){return d===void 0&&(d={}),s(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(i,o):c=c.replace(r,o),c.replace(e,a))};return Im.camelCase=l,Im}var Dm,oz;function hAe(){if(oz)return Dm;oz=1;var t=Dm&&Dm.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},e=t(uAe()),n=dAe();function r(i,s){var a={};return!i||typeof i!="string"||(0,e.default)(i,function(o,l){o&&l&&(a[(0,n.camelCase)(o,s)]=l)}),a}return r.default=r,Dm=r,Dm}var fAe=hAe();const pAe=sp(fAe),RZ=NZ("end"),_3=NZ("start");function NZ(t){return e;function e(n){const r=n&&n.position&&n.position[t]||{};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 mAe(t){const e=_3(t),n=RZ(t);if(e&&n)return{start:e,end:n}}function hg(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?lz(t.position):"start"in t||"end"in t?lz(t):"line"in t||"column"in t?AT(t):""}function AT(t){return cz(t&&t.line)+":"+cz(t&&t.column)}function lz(t){return AT(t&&t.start)+"-"+AT(t&&t.end)}function cz(t){return t&&typeof t=="number"?t:1}
vendor: 1,927 bytes, line 71
71class Si extends Error{constructor(e,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},a=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof e=="string"?i=e:!s.cause&&e&&(a=!0,i=e.message,s.cause=e),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=hg(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=a&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Si.prototype.file="";Si.prototype.name="";Si.prototype.reason="";Si.prototype.message="";Si.prototype.stack="";Si.prototype.column=void 0;Si.prototype.line=void 0;Si.prototype.ancestors=void 0;Si.prototype.cause=void 0;Si.prototype.fatal=void 0;Si.prototype.place=void 0;Si.prototype.ruleId=void 0;Si.prototype.source=void 0;const x3={}.hasOwnProperty,gAe=new Map,bAe=/[A-Z]/g,yAe=new Set(["table","tbody","thead","tfoot","tr"]),vAe=new Set(["td","th"]),OZ="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function wAe(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=AAe(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,344 bytes, line 71
71if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=TAe(n,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?LS:AZ,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},s=IZ(i,t,void 0);return s&&typeof s!="string"?s:i.create(t,i.Fragment,{children:s||void 0},void 0)}function IZ(t,e,n){if(e.type==="element")return SAe(t,e,n);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return _Ae(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return EAe(t,e,n);if(e.type==="mdxjsEsm")return xAe(t,e);if(e.type==="root")return kAe(t,e,n);if(e.type==="text")return CAe(t,e)}function SAe(t,e,n){const r=t.schema;let i=r;e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=LS,t.schema=i),t.ancestors.push(e);const s=MZ(t,e.tagName,!1),a=RAe(t,e);let o=k3(t,e);return yAe.has(e.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!JTe(l):!0})),DZ(t,a,s,e),E3(a,o),t.ancestors.pop(),t.schema=r,t.create(e,s,a,n)}function _Ae(t,e){if(e.data&&e.data.estree&&t.evaluater){const r=e.data.estree.body[0];return r.type,t.evaluater.evaluateExpression(r.expression)}Gg(t,e.position)}function xAe(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);Gg(t,e.position)}function EAe(t,e,n){const r=t.schema;let i=r;e.name==="svg"&&r.space==="html"&&(i=LS,t.schema=i),t.ancestors.push(e);const s=e.name===null?t.Fragment:MZ(t,e.name,!0),a=NAe(t,e),o=k3(t,e);return DZ(t,a,s,e),E3(a,o),t.ancestors.pop(),t.schema=r,t.create(e,s,a,n)}function kAe(t,e,n){const r={};return E3(r,k3(t,e)),t.create(e,t.Fragment,r,n)}function CAe(t,e){return e.value}function DZ(t,e,n,r){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=r)}function E3(t,e){if(e.length>0){const n=e.length>1?e:e[0];n&&(t.children=n)}}function TAe(t,e,n){return r;function r(i,s,a,o){const c=Array.isArray(a.children)?n:e;return o?c(s,a,o):c(s,a)}}function AAe(t,e){return n;function n(r,i,s,a){const o=Array.isArray(s.children),l=_3(r);return e(i,s,a,o,{columnNumber:l?l.column-1:void 0,fileName:t,lineNumber:l?l.line:void 0},void 0)}}function RAe(t,e){const n={};let r,i;for(i in e.properties)if(i!=="children"&&x3.call(e.properties,i)){const s=OAe(t,i,e.properties[i]);if(s){const[a,o]=s;t.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&vAe.has(e.tagName)?r=o:n[a]=o}}if(r){const s=n.style||(n.style={});s[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function NAe(t,e){const n={};for(const r of e.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&t.evaluater){const s=r.data.estree.body[0];s.type;const a=s.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,t.evaluater.evaluateExpression(o.argument))}else Gg(t,e.position);else{const i=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&t.evaluater){const o=r.value.data.estree.body[0];o.type,s=t.evaluater.evaluateExpression(o.expression)}else Gg(t,e.position);else s=r.value===null?!0:r.value;n[i]=s}return n}function k3(t,e){const n=[];let r=-1;const i=t.passKeys?new Map:gAe;for(;++r<e.children.length;){const s=e.children[r];let a;if(t.passKeys){const l=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(l){const c=i.get(l)||0;a=l+"-"+c,i.set(l,c+1)}}const o=IZ(t,s,a);o!==void 0&&n.push(o)}return n}function OAe(t,e,n){const r=TZ(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?KTe(n):lAe(n)),r.property==="style"){let i=typeof n=="object"?n:IAe(t,String(n));return t.stylePropertyNameCase==="css"&&(i=DAe(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&r.space?rAe[r.property]||r.property:r.attribute,n]}}function IAe(t,e){try{return pAe(e,{reactCompat:!0})}catch(n){if(t.ignoreInvalidStyle)return{};const r=n,i=new Si("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=OZ+"#cannot-parse-style-attribute",i}}function MZ(t,e,n){let r;if(!n)r={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let s=-1,a;for(;++s<i.length;){const o=JF(i[s])?{type:"Identifier",name:i[s]}:{type:"Literal",value:i[s]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(s&&o.type==="Literal"),optional:!1}:o}r=a}else r=JF(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(r.type==="Literal"){const i=r.value;return x3.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(r);Gg(t)}function Gg(t,e){const n=new Si("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=OZ+"#cannot-handle-mdx-estrees-without-createevaluater",n}function DAe(t){const e={};let n;for(n in t)x3.call(t,n)&&(e[MAe(n)]=t[n]);return e}function MAe(t){let e=t.replace(bAe,LAe);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function LAe(t){return"-"+t.toLowerCase()}const F2={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"]},BAe={};function C3(t,e){const n=BAe,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return LZ(t,r,i)}function LZ(t,e,n){if(PAe(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return uz(t.children,e,n)}return Array.isArray(t)?uz(t,e,n):""}function uz(t,e,n){const r=[];let i=-1;for(;++i<t.length;)r[i]=LZ(t[i],e,n);return r.join("")}function PAe(t){return!!(t&&typeof t=="object")}const dz=document.createElement("i");function qg(t){const e="&"+t+";";dz.innerHTML=e;const n=dz.textContent;
vendor: 10,920 bytes, line 71
71return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function zs(t,e,n,r){const i=t.length;let s=0,a;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);s<r.length;)a=r.slice(s,s+1e4),a.unshift(e,0),t.splice(...a),s+=1e4,e+=1e4}function ua(t,e){return t.length>0?(zs(t,t.length,0,e),t):e}const hz={}.hasOwnProperty;function BZ(t){const e={};let n=-1;for(;++n<t.length;)FAe(e,t[n]);return e}function FAe(t,e){let n;for(n in e){const i=(hz.call(t,n)?t[n]:void 0)||(t[n]={}),s=e[n];let a;if(s)for(a in s){hz.call(i,a)||(i[a]=[]);const o=s[a];zAe(i[a],Array.isArray(o)?o:o?[o]:[])}}}function zAe(t,e){let n=-1;const r=[];for(;++n<e.length;)(e[n].add==="after"?t:r).push(e[n]);zs(t,0,0,r)}function PZ(t,e){const n=Number.parseInt(t,e);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?"�":String.fromCodePoint(n)}function Wa(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Di=pu(/[A-Za-z]/),mi=pu(/[\dA-Za-z]/),UAe=pu(/[#-'*+\--9=?A-Z^-~]/);function iw(t){return t!==null&&(t<32||t===127)}const RT=pu(/\d/),jAe=pu(/[\dA-Fa-f]/),HAe=pu(/[!-/:-@[-`{-~]/);function ht(t){return t!==null&&t<-2}function bn(t){return t!==null&&(t<0||t===32)}function jt(t){return t===-2||t===-1||t===32}const BS=pu(new RegExp("\\p{P}|\\p{S}","u")),Dd=pu(/\s/);function pu(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function _p(t){const e=[];let n=-1,r=0,i=0;for(;++n<t.length;){const s=t.charCodeAt(n);let a="";if(s===37&&mi(t.charCodeAt(n+1))&&mi(t.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(a=String.fromCharCode(s));else if(s>55295&&s<57344){const o=t.charCodeAt(n+1);s<56320&&o>56319&&o<57344?(a=String.fromCharCode(s,o),i=1):a="�"}else a=String.fromCharCode(s);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function Bt(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return a;function a(l){return jt(l)?(t.enter(n),o(l)):e(l)}function o(l){return jt(l)&&s++<i?(t.consume(l),o):(t.exit(n),e(l))}}const $Ae={tokenize:VAe};function VAe(t){const e=t.attempt(this.parser.constructs.contentInitial,r,i);let n;return e;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),Bt(t,e,"linePrefix")}function i(o){return t.enter("paragraph"),s(o)}function s(o){const l=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return ht(o)?(t.consume(o),t.exit("chunkText"),s):(t.consume(o),a)}}const GAe={tokenize:qAe},fz={tokenize:WAe};function qAe(t){const e=this,n=[];let r=0,i,s,a;return o;function o(E){if(r<n.length){const T=n[r];return e.containerState=T[1],t.attempt(T[0].continuation,l,c)(E)}return c(E)}function l(E){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&_();const T=e.events.length;let R=T,N;for(;R--;)if(e.events[R][0]==="exit"&&e.events[R][1].type==="chunkFlow"){N=e.events[R][1].end;break}S(r);let I=T;for(;I<e.events.length;)e.events[I][1].end={...N},I++;return zs(e.events,R+1,0,e.events.slice(T)),e.events.length=I,c(E)}return o(E)}function c(E){if(r===n.length){if(!i)return p(E);if(i.currentConstruct&&i.currentConstruct.concrete)return b(E);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(fz,d,f)(E)}function d(E){return i&&_(),S(r),p(E)}function f(E){return e.parser.lazy[e.now().line]=r!==n.length,a=e.now().offset,b(E)}function p(E){return e.containerState={},t.attempt(fz,g,b)(E)}function g(E){return r++,n.push([e.currentConstruct,e.containerState]),p(E)}function b(E){if(E===null){i&&_(),S(0),t.consume(E);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:s}),y(E)}function y(E){if(E===null){w(t.exit("chunkFlow"),!0),S(0),t.consume(E);return}return ht(E)?(t.consume(E),w(t.exit("chunkFlow")),r=0,e.interrupt=void 0,o):(t.consume(E),y)}function w(E,T){const R=e.sliceStream(E);if(T&&R.push(null),E.previous=s,s&&(s.next=E),s=E,i.defineSkip(E.start),i.write(R),e.parser.lazy[E.start.line]){let N=i.events.length;for(;N--;)if(i.events[N][1].start.offset<a&&(!i.events[N][1].end||i.events[N][1].end.offset>a))return;const I=e.events.length;let P=I,z,U;for(;P--;)if(e.events[P][0]==="exit"&&e.events[P][1].type==="chunkFlow"){if(z){U=e.events[P][1].end;break}z=!0}for(S(r),N=I;N<e.events.length;)e.events[N][1].end={...U},N++;zs(e.events,P+1,0,e.events.slice(I)),e.events.length=N}}function S(E){let T=n.length;for(;T-- >E;){const R=n[T];e.containerState=R[1],R[0].exit.call(e,t)}n.length=E}function _(){i.write([null]),s=void 0,i=void 0,e.containerState._closeFlow=void 0}}function WAe(t,e,n){return Bt(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Yf(t){if(t===null||bn(t)||Dd(t))return 1;if(BS(t))return 2}function PS(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const s=t[i].resolveAll;s&&!r.includes(s)&&(e=s(e,n),r.push(s))}return e}const NT={name:"attention",resolveAll:KAe,tokenize:YAe};function KAe(t,e){let n=-1,r,i,s,a,o,l,c,d;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(r=n;r--;)if(t[r][0]==="exit"&&t[r][1].type==="attentionSequence"&&t[r][1]._open&&e.sliceSerialize(t[r][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[r][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[r][1].end.offset-t[r][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;l=t[r][1].end.offset-t[r][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const f={...t[r][1].end},p={...t[n][1].start};pz(f,-l),pz(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...t[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...t[n][1].start},end:p},s={type:l>1?"strongText":"emphasisText",start:{...t[r][1].end},end:{...t[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},t[r][1].end={...a.start},t[n][1].start={...o.end},c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=ua(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=ua(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",s,e]]),c=ua(c,PS(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),c=ua(c,[["exit",s,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(d=2,c=ua(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):d=0,zs(t,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function YAe(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Yf(r);let s;return a;function a(l){return s=l,t.enter("attentionSequence"),o(l)}function o(l){if(l===s)return t.consume(l),o;const c=t.exit("attentionSequence"),d=Yf(l),f=!d||d===2&&i||n.includes(l),p=!i||i===2&&d||n.includes(r);return c._open=!!(s===42?f:f&&(i||!p)),c._close=!!(s===42?p:p&&(d||!f)),e(l)}}function pz(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const XAe={name:"autolink",tokenize:ZAe};function ZAe(t,e,n){let r=0;return i;function i(g){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(g){return Di(g)?(t.consume(g),a):g===64?n(g):c(g)}function a(g){return g===43||g===45||g===46||mi(g)?(r=1,o(g)):c(g)}function o(g){return g===58?(t.consume(g),r=0,l):(g===43||g===45||g===46||mi(g))&&r++<32?(t.consume(g),o):(r=0,c(g))}function l(g){return g===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),e):g===null||g===32||g===60||iw(g)?n(g):(t.consume(g),l)}function c(g){return g===64?(t.consume(g),d):UAe(g)?(t.consume(g),c):n(g)}function d(g){return mi(g)?f(g):n(g)}function f(g){return g===46?(t.consume(g),r=0,d):g===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),e):p(g)}function p(g){if((g===45||mi(g))&&r++<63){const b=g===45?p:f;return t.consume(g),b}return n(g)}}const U0={partial:!0,tokenize:QAe};function QAe(t,e,n){return r;function r(s){return jt(s)?Bt(t,i,"linePrefix")(s):i(s)}function i(s){return s===null||ht(s)?e(s):n(s)}}const FZ={continuation:{tokenize:e4e},exit:t4e,name:"blockQuote",tokenize:JAe};function JAe(t,e,n){const r=this;return i;function i(a){if(a===62){const o=r.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(a),t.exit("blockQuoteMarker"),s}return n(a)}function s(a){return jt(a)?(t.enter("blockQuotePrefixWhitespace"),t.consume(a),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(a))}}function e4e(t,e,n){const r=this;return i;function i(a){return jt(a)?Bt(t,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):s(a)}function s(a){return t.attempt(FZ,e,n)(a)}}function t4e(t){t.exit("blockQuote")}const zZ={name:"characterEscape",tokenize:n4e};function n4e(t,e,n){return r;function r(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),i}function i(s){return HAe(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(s)}}const UZ={name:"characterReference",tokenize:r4e};function r4e(t,e,n){const r=this;let i=0,s,a;return o;function o(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),l}function l(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),s=31,a=mi,d(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,a=jAe,d):(t.enter("characterReferenceValue"),s=7,a=RT,d(f))}function d(f){if(f===59&&i){const p=t.exit("characterReferenceValue");return a===mi&&!qg(r.sliceSerialize(p))?n(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return a(f)&&i++<s?(t.consume(f),d):n(f)}}const mz={partial:!0,tokenize:s4e},gz={concrete:!0,name:"codeFenced",tokenize:i4e};function i4e(t,e,n){const r=this,i={partial:!0,tokenize:R};let s=0,a=0,o;return l;function l(N){return c(N)}function c(N){const I=r.events[r.events.length-1];return s=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,o=N,t.enter("co
71deFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(N)}function d(N){return N===o?(a++,t.consume(N),d):a<3?n(N):(t.exit("codeFencedFenceSequence"),jt(N)?Bt(t,f,"whitespace")(N):f(N))}function f(N){return N===null||ht(N)?(t.exit("codeFencedFence"),r.interrupt?e(N):t.check(mz,y,T)(N)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(N))}function p(N){return N===null||ht(N)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(N)):jt(N)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Bt(t,g,"whitespace")(N)):N===96&&N===o?n(N):(t.consume(N),p)}function g(N){return N===null||ht(N)?f(N):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),b(N))}function b(N){return N===null||ht(N)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(N)):N===96&&N===o?n(N):(t.consume(N),b)}function y(N){return t.attempt(i,T,w)(N)}function w(N){return t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),S}function S(N){return s>0&&jt(N)?Bt(t,_,"linePrefix",s+1)(N):_(N)}function _(N){return N===null||ht(N)?t.check(mz,y,T)(N):(t.enter("codeFlowValue"),E(N))}function E(N){return N===null||ht(N)?(t.exit("codeFlowValue"),_(N)):(t.consume(N),E)}function T(N){return t.exit("codeFenced"),e(N)}function R(N,I,P){let z=0;return U;function U(W){return N.enter("lineEnding"),N.consume(W),N.exit("lineEnding"),Z}function Z(W){return N.enter("codeFencedFence"),jt(W)?Bt(N,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):L(W)}function L(W){return W===o?(N.enter("codeFencedFenceSequence"),$(W)):P(W)}function $(W){return W===o?(z++,N.consume(W),$):z>=a?(N.exit("codeFencedFenceSequence"),jt(W)?Bt(N,D,"whitespace")(W):D(W)):P(W)}function D(W){return W===null||ht(W)?(N.exit("codeFencedFence"),I(W)):P(W)}}}function s4e(t,e,n){const r=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s)}function s(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}const z2={name:"codeIndented",tokenize:o4e},a4e={partial:!0,tokenize:l4e};function o4e(t,e,n){const r=this;return i;function i(c){return t.enter("codeIndented"),Bt(t,s,"linePrefix",5)(c)}function s(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):ht(c)?t.attempt(a4e,a,l)(c):(t.enter("codeFlowValue"),o(c))}function o(c){return c===null||ht(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),o)}function l(c){return t.exit("codeIndented"),e(c)}}function l4e(t,e,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):ht(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):Bt(t,s,"linePrefix",5)(a)}function s(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(a):ht(a)?i(a):n(a)}}const c4e={name:"codeText",previous:d4e,resolve:u4e,tokenize:h4e};function u4e(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)i===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(i=r):(r===e||t[r][1].type==="lineEnding")&&(t[i][1].type="codeTextData",r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return t}function d4e(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function h4e(t,e,n){let r=0,i,s;return a;function a(f){return t.enter("codeText"),t.enter("codeTextSequence"),o(f)}function o(f){return f===96?(t.consume(f),r++,o):(t.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(t.enter("space"),t.consume(f),t.exit("space"),l):f===96?(s=t.enter("codeTextSequence"),i=0,d(f)):ht(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),l):(t.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ht(f)?(t.exit("codeTextData"),l(f)):(t.consume(f),c)}function d(f){return f===96?(t.consume(f),i++,d):i===r?(t.exit("codeTextSequence"),t.exit("codeText"),e(f)):(s.type="codeTextData",c(f))}}class f4e{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,n,r){const i=n||0;this.setCursor(Math.trunc(e));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mm(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Mm(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Mm(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);Mm(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Mm(this.left,n.reverse())}}}function Mm(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function jZ(t){const e={};let n=-1,r,i,s,a,o,l,c;const d=new f4e(t);for(;++n<d.length;){for(;n in e;)n=e[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,s=0,s<l.length&&l[s][1].type==="lineEndingBlank"&&(s+=2),s<l.length&&l[s][1].type==="content"))for(;++s<l.length&&l[s][1].type!=="content";)l[s][1].type==="chunkText"&&(l[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,p4e(d,n)),n=e[n],c=!0);else if(r[1]._container){for(s=n,i=void 0;s--;)if(a=d.get(s),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=s);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},o=d.slice(i,n),o.unshift(r),d.splice(i,n-i+1,o))}}return zs(t,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function p4e(t,e){const n=t.get(e)[1],r=t.get(e)[2];let i=e-1;const s=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let d,f,p=-1,g=n,b=0,y=0;const w=[y];for(;g;){for(;t.get(++i)[1]!==g;);s.push(i),g._tokenizer||(d=r.sliceStream(g),g.next||d.push(null),f&&a.defineSki
vendor: 22,892 bytes, line 71
71p(g.start),g._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),g._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=g,g=g.next}for(g=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(y=p+1,w.push(y),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(a.events=[],g?(g._tokenizer=void 0,g.previous=void 0):w.pop(),p=w.length;p--;){const S=o.slice(w[p],w[p+1]),_=s.pop();l.push([_,_+S.length-1]),t.splice(_,2,S)}for(l.reverse(),p=-1;++p<l.length;)c[b+l[p][0]]=b+l[p][1],b+=l[p][1]-l[p][0]-1;return c}const m4e={resolve:b4e,tokenize:y4e},g4e={partial:!0,tokenize:v4e};function b4e(t){return jZ(t),t}function y4e(t,e){let n;return r;function r(o){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?s(o):ht(o)?t.check(g4e,a,s)(o):(t.consume(o),i)}function s(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function a(o){return t.consume(o),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function v4e(t,e,n){const r=this;return i;function i(a){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Bt(t,s,"linePrefix")}function s(a){if(a===null||ht(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(a):t.interrupt(r.parser.constructs.flow,n,e)(a)}}function HZ(t,e,n,r,i,s,a,o,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return f;function f(S){return S===60?(t.enter(r),t.enter(i),t.enter(s),t.consume(S),t.exit(s),p):S===null||S===32||S===41||iw(S)?n(S):(t.enter(r),t.enter(a),t.enter(o),t.enter("chunkString",{contentType:"string"}),y(S))}function p(S){return S===62?(t.enter(s),t.consume(S),t.exit(s),t.exit(i),t.exit(r),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===62?(t.exit("chunkString"),t.exit(o),p(S)):S===null||S===60||ht(S)?n(S):(t.consume(S),S===92?b:g)}function b(S){return S===60||S===62||S===92?(t.consume(S),g):g(S)}function y(S){return!d&&(S===null||S===41||bn(S))?(t.exit("chunkString"),t.exit(o),t.exit(a),t.exit(r),e(S)):d<c&&S===40?(t.consume(S),d++,y):S===41?(t.consume(S),d--,y):S===null||S===32||S===40||iw(S)?n(S):(t.consume(S),S===92?w:y)}function w(S){return S===40||S===41||S===92?(t.consume(S),y):y(S)}}function $Z(t,e,n,r,i,s){const a=this;let o=0,l;return c;function c(g){return t.enter(r),t.enter(i),t.consume(g),t.exit(i),t.enter(s),d}function d(g){return o>999||g===null||g===91||g===93&&!l||g===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(g):g===93?(t.exit(s),t.enter(i),t.consume(g),t.exit(i),t.exit(r),e):ht(g)?(t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||ht(g)||o++>999?(t.exit("chunkString"),d(g)):(t.consume(g),l||(l=!jt(g)),g===92?p:f)}function p(g){return g===91||g===92||g===93?(t.consume(g),o++,f):f(g)}}function VZ(t,e,n,r,i,s){let a;return o;function o(p){return p===34||p===39||p===40?(t.enter(r),t.enter(i),t.consume(p),t.exit(i),a=p===40?41:p,l):n(p)}function l(p){return p===a?(t.enter(i),t.consume(p),t.exit(i),t.exit(r),e):(t.enter(s),c(p))}function c(p){return p===a?(t.exit(s),l(a)):p===null?n(p):ht(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),Bt(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===a||p===null||ht(p)?(t.exit("chunkString"),c(p)):(t.consume(p),p===92?f:d)}function f(p){return p===a||p===92?(t.consume(p),d):d(p)}}function fg(t,e){let n;return r;function r(i){return ht(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):jt(i)?Bt(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}const w4e={name:"definition",tokenize:_4e},S4e={partial:!0,tokenize:x4e};function _4e(t,e,n){const r=this;let i;return s;function s(g){return t.enter("definition"),a(g)}function a(g){return $Z.call(r,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function o(g){return i=Wa(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),l):n(g)}function l(g){return bn(g)?fg(t,c)(g):c(g)}function c(g){return HZ(t,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return t.attempt(S4e,f,f)(g)}function f(g){return jt(g)?Bt(t,p,"whitespace")(g):p(g)}function p(g){return g===null||ht(g)?(t.exit("definition"),r.parser.defined.push(i),e(g)):n(g)}}function x4e(t,e,n){return r;function r(o){return bn(o)?fg(t,i)(o):n(o)}function i(o){return VZ(t,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return jt(o)?Bt(t,a,"whitespace")(o):a(o)}function a(o){return o===null||ht(o)?e(o):n(o)}}const E4e={name:"hardBreakEscape",tokenize:k4e};function k4e(t,e,n){return r;function r(s){return t.enter("hardBreakEscape"),t.consume(s),i}function i(s){return ht(s)?(t.exit("hardBreakEscape"),e(s)):n(s)}}const C4e={name:"headingAtx",resolve:T4e,tokenize:A4e};function T4e(t,e){let n=t.length-2,r=3,i,s;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},s={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},zs(t,r,n-r+1,[["enter",i,e],["enter",s,e],["exit",s,e],["exit",i,e]])),t}function A4e(t,e,n){let r=0;return i;function i(d){return t.enter("atxHeading"),s(d)}function s(d){return t.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(t.consume(d),a):d===null||bn(d)?(t.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(t.enter("atxHeadingSequence"),l(d)):d===null||ht(d)?(t.exit("atxHeading"),e(d)):jt(d)?Bt(t,o,"whitespace")(d):(t.enter("atxHeadingText"),c(d))}function l(d){return d===35?(t.consume(d),l):(t.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||bn(d)?(t.exit("atxHeadingText"),o(d)):(t.consume(d),c)}}const R4e=["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"],bz=["pre","script","style","textarea"],N4e={concrete:!0,name:"htmlFlow",resolveTo:D4e,tokenize:M4e},O4e={partial:!0,tokenize:B4e},I4e={partial:!0,tokenize:L4e};function D4e(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function M4e(t,e,n){const r=this;let i,s,a,o,l;return c;function c(H){return d(H)}function d(H){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(H),f}function f(H){return H===33?(t.consume(H),p):H===47?(t.consume(H),s=!0,y):H===63?(t.consume(H),i=3,r.interrupt?e:q):Di(H)?(t.consume(H),a=String.fromCharCode(H),w):n(H)}function p(H){return H===45?(t.consume(H),i=2,g):H===91?(t.consume(H),i=5,o=0,b):Di(H)?(t.consume(H),i=4,r.interrupt?e:q):n(H)}function g(H){return H===45?(t.consume(H),r.interrupt?e:q):n(H)}function b(H){const ae="CDATA[";return H===ae.charCodeAt(o++)?(t.consume(H),o===ae.length?r.interrupt?e:L:b):n(H)}function y(H){return Di(H)?(t.consume(H),a=String.fromCharCode(H),w):n(H)}function w(H){if(H===null||H===47||H===62||bn(H)){const ae=H===47,le=a.toLowerCase();return!ae&&!s&&bz.includes(le)?(i=1,r.interrupt?e(H):L(H)):R4e.includes(a.toLowerCase())?(i=6,ae?(t.consume(H),S):r.interrupt?e(H):L(H)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(H):s?_(H):E(H))}return H===45||mi(H)?(t.consume(H),a+=String.fromCharCode(H),w):n(H)}function S(H){return H===62?(t.consume(H),r.interrupt?e:L):n(H)}function _(H){return jt(H)?(t.consume(H),_):U(H)}function E(H){return H===47?(t.consume(H),U):H===58||H===95||Di(H)?(t.consume(H),T):jt(H)?(t.consume(H),E):U(H)}function T(H){return H===45||H===46||H===58||H===95||mi(H)?(t.consume(H),T):R(H)}function R(H){return H===61?(t.consume(H),N):jt(H)?(t.consume(H),R):E(H)}function N(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(t.consume(H),l=H,I):jt(H)?(t.consume(H),N):P(H)}function I(H){return H===l?(t.consume(H),l=null,z):H===null||ht(H)?n(H):(t.consume(H),I)}function P(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||bn(H)?R(H):(t.consume(H),P)}function z(H){return H===47||H===62||jt(H)?E(H):n(H)}function U(H){return H===62?(t.consume(H),Z):n(H)}function Z(H){return H===null||ht(H)?L(H):jt(H)?(t.consume(H),Z):n(H)}function L(H){return H===45&&i===2?(t.consume(H),G):H===60&&i===1?(t.consume(H),K):H===62&&i===4?(t.consume(H),j):H===63&&i===3?(t.consume(H),q):H===93&&i===5?(t.consume(H),te):ht(H)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(O4e,X,$)(H)):H===null||ht(H)?(t.exit("htmlFlowData"),$(H)):(t.consume(H),L)}function $(H){return t.check(I4e,D,X)(H)}function D(H){return t.enter("lineEnding"),t.consume(H),t.exit("lineEnding"),W}function W(H){return H===null||ht(H)?$(H):(t.enter("htmlFlowData"),L(H))}function G(H){return H===45?(t.consume(H),q):L(H)}function K(H){return H===47?(t.consume(H),a="",Y):L(H)}function Y(H){if(H===62){const ae=a.toLowerCase();return bz.includes(ae)?(t.consume(H),j):L(H)}return Di(H)&&a.length<8?(t.consume(H),a+=String.fromCharCode(H),Y):L(H)}function te(H){return H===93?(t.consume(H),q):L(H)}function q(H){return H===62?(t.consume(H),j):H===45&&i===2?(t.consume(H),q):L(H)}function j(H){return H===null||ht(H)?(t.exit("htmlFlowData"),X(H)):(t.consume(H),j)}function X(H){return t.exit("htmlFlow"),e(H)}}function L4e(t,e,n){const r=this;return i;function i(a){return ht(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s):n(a)}function s(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function B4e(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(U0,e,n)}}const P4e={name:"htmlText",tokenize:F4e};function F4e(t,e,n){const r=this;let i,s,a;return o;function o(q){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(q),l}function l(q){return q===33?(t.consume(q),c):q===47?(t.consume(q),R):q===63?(t.consume(q),E):Di(q)?(t.consume(q),P):n(q)}function c(q){return q===45?(t.consume(q),d):q===91?(t.consume(q),s=0,b):Di(q)?(t.consume(q),_):n(q)}function d(q){return q===45?(t.consume(q),g):n(q)}function f(q){return q===null?n(q):q===45?(t.consume(q),p):ht(q)?(a=f,K(q)):(t.consume(q),f)}function p(q){return q===45?(t.consume(q),g):f(q)}function g(q){return q===62?G(q):q===45?p(q):f(q)}function b(q){const j="CDATA[";return q===j.charCodeAt(s++)?(t.consume(q),s===j.length?y:b):n(q)}function y(q){return q===null?n(q):q===93?(t.consume(q),w):ht(q)?(a=y,K(q)):(t.consume(q),y)}function w(q){return q===93?(t.consume(q),S):y(q)}function S(q){return q===62?G(q):q===93?(t.consume(q),S):y(q)}function _(q){return q===null||q===62?G(q):ht(q)?(a=_,K(q)):(t.consume(q),_)}function E(q){return q===null?n(q):q===63?(t.consume(q),T):ht(q)?(a=E,K(q)):(t.consume(q),E)}function T(q){return q===62?G(q):E(q)}function R(q){return Di(q)?(t.consume(q),N):n(q)}function N(q){return q===45||mi(q)?(t.consume(q),N):I(q)}function I(q){return ht(q)?(a=I,K(q)):jt(q)?(t.consume(q),I):G(q)}function P(q){return q===45||mi(q)?(t.consume(q),P):q===47||q===62||bn(q)?z(q):n(q)}function z(q){return q===47?(t.consume(q),G):q===58||q===95||Di(q)?(t.consume(q),U):ht(q)?(a=z,K(q)):jt(q)?(t.consume(q),z):G(q)}function U(q){return q===45||q===46||q===58||q===95||mi(q)?(t.consume(q),U):Z(q)}function Z(q){return q===61?(t.consume(q),L):ht(q)?(a=Z,K(q)):jt(q)?(t.consume(q),Z):z(q)}function L(q){return q===null||q===60||q===61||q===62||q===96?n(q):q===34||q===39?(t.consume(q),i=q,$):ht(q)?(a=L,K(q)):jt(q)?(t.consume(q),L):(t.consume(q),D)}function $(q){return q===i?(t.consume(q),i=void 0,W):q===null?n(q):ht(q)?(a=$,K(q)):(t.consume(q),$)}function D(q){return q===null||q===34||q===39||q===60||q===61||q===96?n(q):q===47||q===62||bn(q)?z(q):(t.consume(q),D)}function W(q){return q===47||q===62||bn(q)?z(q):n(q)}function G(q){return q===62?(t.consume(q),t.exit("htmlTextData"),t.exit("htmlText"),e):n(q)}function K(q){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),Y}function Y(q){return jt(q)?Bt(t,te,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):te(q)}function te(q){return t.enter("htmlTextData"),a(q)}}const T3={name:"labelEnd",resolveAll:H4e,resolveTo:$4e,tokenize:V4e},z4e={tokenize:G4e},U4e={tokenize:q4e},j4e={tokenize:W4e};function H4e(t){let e=-1;const n=[];for(;++e<t.length;){const r=t[e][1];if(n.push(t[e]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",e+=i}}return t.length!==n.length&&zs(t,0,t.length,n),t}function $4e(t,e){let n=t.length,r=0,i,s,a,o;for(;n--;)if(i=t[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(t[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:t[s][1].type==="labelLink"?"link":"image",start:{...t[s][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[s][1].start},end:{...t[a][1].end}},d={type:"labelText",start:{...t[s+r+2][1].end},end:{...t[a-2][1].start}};return o=[["enter",l,e],["enter",c,e]],o=ua(o,t.slice(s+1,s+r+3)),o=ua(o,[["enter",d,e]]),o=ua(o,PS(e.parser.constructs.insideSpan.null,t.slice(s+r+4,a-3),e)),o=ua(o,[["exit",d,e],t[a-2],t[a-1],["exit",c,e]]),o=ua(o,t.slice(a+1)),o=ua(o,[["exit",l,e]]),zs(t,s,t.length,o),t}function V4e(t,e,n){const r=this;let i=r.events.length,s,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return o;function o(p){return s?s._inactive?f(p):(a=r.parser.defined.includes(Wa(r.sliceSerialize({start:s.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(p),t.exit("labelMarker"),t.exit("labelEnd"),l):n(p)}function l(p){return p===40?t.attempt(z4e,d,a?d:f)(p):p===91?t.attempt(U4e,d,a?c:f)(p):a?d(p):f(p)}function c(p){return t.attempt(j4e,d,f)(p)}function d(p){return e(p)}function f(p){return s._balanced=!0,n(p)}}function G4e(t,e,n){return r;function r(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),i}function i(f){return bn(f)?fg(t,s)(f):s(f)}function s(f){return f===41?d(f):HZ(t,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return bn(f)?fg(t,l)(f):d(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?VZ(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return bn(f)?fg(t,d)(f):d(f)}function d(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):n(f)}}function q4e(t,e,n){const r=this;return i;function i(o){return $Z.call(r,t,s,a,"reference","referenceMarker","referenceString")(o)}function s(o){return r.parser.defined.includes(Wa(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(o):n(o)}function a(o){return n(o)}}function W4e(t,e,n){return r;function r(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),i}function i(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),e):n(s)}}const K4e={name:"labelStartImage",resolveAll:T3.resolveAll,tokenize:Y4e};function Y4e(t,e,n){const r=this;return i;function i(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),s}function s(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):e(o)}}const X4e={name:"labelStartLink",resolveAll:T3.resolveAll,tokenize:Z4e};function Z4e(t,e,n){const r=this;return i;function i(a){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):e(a)}}const U2={name:"lineEnding",tokenize:Q4e};function Q4e(t,e){return n;function n(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),Bt(t,e,"linePrefix")}}const a1={name:"thematicBreak",tokenize:J4e};function J4e(t,e,n){let r=0,i;return s;function s(c){return t.enter("thematicBreak"),a(c)}function a(c){return i=c,o(c)}function o(c){return c===i?(t.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ht(c))?(t.exit("thematicBreak"),e(c)):n(c)}function l(c){return c===i?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),jt(c)?Bt(t,o,"whitespace")(c):o(c))}}const ns={continuation:{tokenize:rRe},exit:sRe,name:"list",tokenize:nRe},eRe={partial:!0,tokenize:aRe},tRe={partial:!0,tokenize:iRe};function nRe(t,e,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(g){const b=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:RT(g)){if(r.containerState.type||(r.containerState.type=b,t.enter(b,{_container:!0})),b==="listUnordered")return t.enter("listItemPrefix"),g===42||g===45?t.check(a1,n,c)(g):c(g);if(!r.interrupt||g===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(g)}return n(g)}function l(g){return RT(g)&&++a<10?(t.consume(g),l):(!r.interrupt||a<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(t.exit("listItemValue"),c(g)):n(g)}function c(g){return t.enter("listItemMarker"),t.consume(g),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,t.check(U0,r.interrupt?n:d,t.attempt(eRe,p,f))}function d(g){return r.containerState.initialBlankLine=!0,s++,p(g)}function f(g){return jt(g)?(t.enter("listItemPrefixWhitespace"),t.consume(g),t.exit("listItemPrefixWhitespace"),p):n(g)}function p(g){return r.containerState.size=s+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(g)}}function rRe(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(U0,i,s);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Bt(t,e,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!jt(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(tRe,e,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Bt(t,t.attempt(ns,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function iRe(t,e,n){const r=this;return Bt(t,i,"listItemIndent",r.containerState.size+1);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?e(s):n(s)}}function sRe(t){t.exit(this.containerState.type)}function aRe(t,e,n){const r=this;return Bt(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const a=r.events[r.events.length-1];return!jt(s)&&a&&a[1].type==="listItemPrefixWhitespace"?e(s):n(s)}}const yz={name:"setextUnderline",resolveTo:oRe,tokenize:lRe};function oRe(t,e){let n=t.length,r,i,s;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!s&&t[n][1].type==="definition"&&(s=n);const a={type:"setextHeading",start:{...t[r][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",s?(t.splice(i,0,["enter",a,e]),t.splice(s+1,0,["exit",t[r][1],e]),t[r][1].end={...t[s][1].end}):t[r][1]=a,t.push(["exit",a,e]),t}function lRe(t,e,n){const r=this;let i;return s;function s(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(t.consume(c),o):(t.exit("setextHeadingLineSequence"),jt(c)?Bt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ht(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}const cRe={tokenize:uRe};function uRe(t){const e=this,n=t.attempt(U0,r,t.attempt(this.parser.constructs.flowInitial,i,Bt(t,t.attempt(this.parser.constructs.flow,i,t.attempt(m4e,i)),"linePrefix")));return n;function r(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const dRe={resolveAll:qZ()},hRe=GZ("string"),fRe=GZ("text");function GZ(t){return{resolveAll:qZ(t==="text"?pRe:void 0),tokenize:e};function e(n){const r=this,i=this.parser.constructs[t],s=n.attempt(i,a,o);return a;function a(d){return c(d)?s(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),s(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const f=i[d];let p=-1;if(f)for(;++p<f.length;){const g=f[p];if(!g.previous||g.previous.call(r,r.previous))return!0}return!1}}}function qZ(t){return e;function e(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return t?t(n,r):n}}function pRe(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){const r=t[n-1][1],i=e.sliceStream(r);let s=i.length,a=-1,o=0,l;for(;s--;){const c=i[s];if(typeof c=="string"){for(a=c.length;
vendor: 5,728 bytes, lines 71-73
71c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){s++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(o=0),o){const c={type:n===t.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(t.splice(n,0,["enter",c,e],["exit",c,e]),n+=2)}n++}return t}const mRe={42:ns,43:ns,45:ns,48:ns,49:ns,50:ns,51:ns,52:ns,53:ns,54:ns,55:ns,56:ns,57:ns,62:FZ},gRe={91:w4e},bRe={[-2]:z2,[-1]:z2,32:z2},yRe={35:C4e,42:a1,45:[yz,a1],60:N4e,61:yz,95:a1,96:gz,126:gz},vRe={38:UZ,92:zZ},wRe={[-5]:U2,[-4]:U2,[-3]:U2,33:K4e,38:UZ,42:NT,60:[XAe,P4e],91:X4e,92:[E4e,zZ],93:T3,95:NT,96:c4e},SRe={null:[NT,dRe]},_Re={null:[42,95]},xRe={null:[]},ERe=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:_Re,contentInitial:gRe,disable:xRe,document:mRe,flow:yRe,flowInitial:bRe,insideSpan:SRe,string:vRe,text:wRe},Symbol.toStringTag,{value:"Module"}));function kRe(t,e,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},s=[];let a=[],o=[];const l={attempt:I(R),check:I(N),consume:_,enter:E,exit:T,interrupt:I(N,{interrupt:!0})},c={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:t,previous:null,sliceSerialize:p,sliceStream:g,write:f};let d=e.tokenize.call(c,l);return e.resolveAll&&s.push(e),c;function f(Z){return a=ua(a,Z),w(),a[a.length-1]!==null?[]:(P(e,0),c.events=PS(s,c.events,c),c.events)}function p(Z,L){return TRe(g(Z),L)}function g(Z){return CRe(a,Z)}function b(){const{_bufferIndex:Z,_index:L,line:$,column:D,offset:W}=r;return{_bufferIndex:Z,_index:L,line:$,column:D,offset:W}}function y(Z){i[Z.line]=Z.column,U()}function w(){let Z;for(;r._index<a.length;){const L=a[r._index];if(typeof L=="string")for(Z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===Z&&r._bufferIndex<L.length;)S(L.charCodeAt(r._bufferIndex));else S(L)}}function S(Z){d=d(Z)}function _(Z){ht(Z)?(r.line++,r.column=1,r.offset+=Z===-3?2:1,U()):Z!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=Z}function E(Z,L){const $=L||{};return $.type=Z,$.start=b(),c.events.push(["enter",$,c]),o.push($),$}function T(Z){const L=o.pop();return L.end=b(),c.events.push(["exit",L,c]),L}function R(Z,L){P(Z,L.from)}function N(Z,L){L.restore()}function I(Z,L){return $;function $(D,W,G){let K,Y,te,q;return Array.isArray(D)?X(D):"tokenize"in D?X([D]):j(D);function j(Ee){return me;function me(ke){const Le=ke!==null&&Ee[ke],qe=ke!==null&&Ee.null,Xe=[...Array.isArray(Le)?Le:Le?[Le]:[],...Array.isArray(qe)?qe:qe?[qe]:[]];return X(Xe)(ke)}}function X(Ee){return K=Ee,Y=0,Ee.length===0?G:H(Ee[Y])}function H(Ee){return me;function me(ke){return q=z(),te=Ee,Ee.partial||(c.currentConstruct=Ee),Ee.name&&c.parser.constructs.disable.null.includes(Ee.name)?le():Ee.tokenize.call(L?Object.assign(Object.create(c),L):c,l,ae,le)(ke)}}function ae(Ee){return Z(te,q),W}function le(Ee){return q.restore(),++Y<K.length?H(K[Y]):G}}}function P(Z,L){Z.resolveAll&&!s.includes(Z)&&s.push(Z),Z.resolve&&zs(c.events,L,c.events.length-L,Z.resolve(c.events.slice(L),c)),Z.resolveTo&&(c.events=Z.resolveTo(c.events,c))}function z(){const Z=b(),L=c.previous,$=c.currentConstruct,D=c.events.length,W=Array.from(o);return{from:D,restore:G};function G(){r=Z,c.previous=L,c.currentConstruct=$,c.events.length=D,o=W,U()}}function U(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function CRe(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,s=e.end._bufferIndex;let a;if(n===i)a=[t[n].slice(r,s)];else{if(a=t.slice(n,i),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}s>0&&a.push(t[i].slice(0,s))}return a}function TRe(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const s=t[n];let a;if(typeof s=="string")a=s;else switch(s){case-5:{a="\r";break}case-4:{a=`
72`;break}case-3:{a=`\r
73`;break}case-2:{a=e?" ":"	";break}case-1:{if(!e&&i)continue;a=" ";break}default:a=String.fromCharCode(s)}i=s===-2,r.push(a)}return r.join("")}function ARe(t){const r={constructs:BZ([ERe,...(t||{}).extensions||[]]),content:i($Ae),defined:[],document:i(GAe),flow:i(cRe),lazy:{},string:i(hRe),text:i(fRe)};return r;function i(s){return a;function a(o){return kRe(r,s,o)}}}function RRe(t){for(;!jZ(t););return t}const vz=/[\0\t\n\r]/g;function NRe(){let t=1,e="",n=!0,r;return i;function i(s,a,o){const l=[];let c,d,f,p,g;for(s=e+(typeof s=="string"?s.toString():new TextDecoder(a||void 0).decode(s)),f=0,e="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(vz.lastIndex=f,c=vz.exec(s),p=c&&c.index!==void 0?c.index:s.length,g=s.charCodeAt(p),!c){e=s.slice(f);break}if(g===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(s.slice(f,p)),t+=p-f),g){case 0:{l.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,l.push(-2);t++<d;)l.push(-1);break}case 10:{l.push(-4),t=1;break}default:r=!0,t=1}f=p+1}return o&&(r&&l.push(-5),e&&l.push(e),l.push(null)),l}}const ORe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function IRe(t){return t.replace(ORe,DRe)}function DRe(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return PZ(n.slice(s?2:1),s?16:10)}return qg(n)||t}const WZ={}.hasOwnProperty;function MRe(t,e,n){return typeof e!="string"&&(n=e,e=void 0),LRe(n)(RRe(ARe(n).document().write(NRe()(t,e,!0))))}function LRe(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter
vendor: 8,548 bytes, line 73
73:{autolink:s(ue),autolinkProtocol:z,autolinkEmail:z,atxHeading:s(Ce),blockQuote:s(qe),characterEscape:z,characterReference:z,codeFenced:s(Xe),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(Xe,a),codeText:s(ut,a),codeTextData:z,data:z,codeFlowValue:z,definition:s(it),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(F),hardBreakEscape:s(Se),hardBreakTrailing:s(Se),htmlFlow:s(re,a),htmlFlowData:z,htmlText:s(re,a),htmlTextData:z,image:s(ne),label:a,link:s(ue),listItem:s(Me),listItemValue:p,listOrdered:s(Oe,f),listUnordered:s(Oe),paragraph:s(pe),reference:H,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(Ce),strong:s(Fe),thematicBreak:s(He)},exit:{atxHeading:l(),atxHeadingSequence:R,autolink:l(),autolinkEmail:Le,autolinkProtocol:ke,blockQuote:l(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:Ee,characterReference:me,codeFenced:l(w),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:U,codeIndented:l(S),codeText:l(W),codeTextData:U,data:U,definition:l(),definitionDestinationString:T,definitionLabelString:_,definitionTitleString:E,emphasis:l(),hardBreakEscape:l(L),hardBreakTrailing:l(L),htmlFlow:l($),htmlFlowData:U,htmlText:l(D),htmlTextData:U,image:l(K),label:te,labelText:Y,lineEnding:Z,link:l(G),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:ae,resourceDestinationString:q,resourceTitleString:j,resource:X,setextHeading:l(P),setextHeadingLineSequence:I,setextHeadingText:N,strong:l(),thematicBreak:l()}};KZ(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(he){let Ie={type:"root",children:[]};const $e={stack:[Ie],tokenStack:[],config:e,enter:o,exit:c,buffer:a,resume:d,data:n},mt=[];let kt=-1;for(;++kt<he.length;)if(he[kt][1].type==="listOrdered"||he[kt][1].type==="listUnordered")if(he[kt][0]==="enter")mt.push(kt);else{const fn=mt.pop();kt=i(he,fn,kt)}for(kt=-1;++kt<he.length;){const fn=e[he[kt][0]];WZ.call(fn,he[kt][1].type)&&fn[he[kt][1].type].call(Object.assign({sliceSerialize:he[kt][2].sliceSerialize},$e),he[kt][1])}if($e.tokenStack.length>0){const fn=$e.tokenStack[$e.tokenStack.length-1];(fn[1]||wz).call($e,void 0,fn[0])}for(Ie.position={start:xc(he.length>0?he[0][1].start:{line:1,column:1,offset:0}),end:xc(he.length>0?he[he.length-2][1].end:{line:1,column:1,offset:0})},kt=-1;++kt<e.transforms.length;)Ie=e.transforms[kt](Ie)||Ie;return Ie}function i(he,Ie,$e){let mt=Ie-1,kt=-1,fn=!1,Un,It,vn,Yn;for(;++mt<=$e;){const Ot=he[mt];switch(Ot[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ot[0]==="enter"?kt++:kt--,Yn=void 0;break}case"lineEndingBlank":{Ot[0]==="enter"&&(Un&&!Yn&&!kt&&!vn&&(vn=mt),Yn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Yn=void 0}if(!kt&&Ot[0]==="enter"&&Ot[1].type==="listItemPrefix"||kt===-1&&Ot[0]==="exit"&&(Ot[1].type==="listUnordered"||Ot[1].type==="listOrdered")){if(Un){let bs=mt;for(It=void 0;bs--;){const Hr=he[bs];if(Hr[1].type==="lineEnding"||Hr[1].type==="lineEndingBlank"){if(Hr[0]==="exit")continue;It&&(he[It][1].type="lineEndingBlank",fn=!0),Hr[1].type="lineEnding",It=bs}else if(!(Hr[1].type==="linePrefix"||Hr[1].type==="blockQuotePrefix"||Hr[1].type==="blockQuotePrefixWhitespace"||Hr[1].type==="blockQuoteMarker"||Hr[1].type==="listItemIndent"))break}vn&&(!It||vn<It)&&(Un._spread=!0),Un.end=Object.assign({},It?he[It][1].start:Ot[1].end),he.splice(It||mt,0,["exit",Un,Ot[2]]),mt++,$e++}if(Ot[1].type==="listItemPrefix"){const bs={type:"listItem",_spread:!1,start:Object.assign({},Ot[1].start),end:void 0};Un=bs,he.splice(mt,0,["enter",bs,Ot[2]]),mt++,$e++,vn=void 0,Yn=!0}}}return he[Ie][1]._spread=fn,$e}function s(he,Ie){return $e;function $e(mt){o.call(this,he(mt),mt),Ie&&Ie.call(this,mt)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(he,Ie,$e){this.stack[this.stack.length-1].children.push(he),this.stack.push(he),this.tokenStack.push([Ie,$e||void 0]),he.position={start:xc(Ie.start),end:void 0}}function l(he){return Ie;function Ie($e){he&&he.call(this,$e),c.call(this,$e)}}function c(he,Ie){const $e=this.stack.pop(),mt=this.tokenStack.pop();if(mt)mt[0].type!==he.type&&(Ie?Ie.call(this,he,mt[0]):(mt[1]||wz).call(this,he,mt[0]));else throw new Error("Cannot close `"+he.type+"` ("+hg({start:he.start,end:he.end})+"): it’s not open");$e.position.end=xc(he.end)}function d(){return C3(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(he){if(this.data.expectingFirstListItemValue){const Ie=this.stack[this.stack.length-2];Ie.start=Number.parseInt(this.sliceSerialize(he),10),this.data.expectingFirstListItemValue=void 0}}function g(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.lang=he}function b(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.meta=he}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=he.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=he.replace(/(\r?\n|\r)$/g,"")}function _(he){const Ie=this.resume(),$e=this.stack[this.stack.length-1];$e.label=Ie,$e.identifier=Wa(this.sliceSerialize(he)).toLowerCase()}function E(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=he}function T(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=he}function R(he){const Ie=this.stack[this.stack.length-1];if(!Ie.depth){const $e=this.sliceSerialize(he).length;Ie.depth=$e}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function I(he){const Ie=this.stack[this.stack.length-1];Ie.depth=this.sliceSerialize(he).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function z(he){const $e=this.stack[this.stack.length-1].children;let mt=$e[$e.length-1];(!mt||mt.type!=="text")&&(mt=Ge(),mt.position={start:xc(he.start),end:void 0},$e.push(mt)),this.stack.push(mt)}function U(he){const Ie=this.stack.pop();Ie.value+=this.sliceSerialize(he),Ie.position.end=xc(he.end)}function Z(he){const Ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const $e=Ie.children[Ie.children.length-1];$e.position.end=xc(he.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Ie.type)&&(z.call(this,he),U.call(this,he))}function L(){this.data.atHardBreak=!0}function $(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=he}function D(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=he}function W(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=he}function G(){const he=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";he.type+="Reference",he.referenceType=Ie,delete he.url,delete he.title}else delete he.identifier,delete he.label;this.data.referenceType=void 0}function K(){const he=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";he.type+="Reference",he.referenceType=Ie,delete he.url,delete he.title}else delete he.identifier,delete he.label;this.data.referenceType=void 0}function Y(he){const Ie=this.sliceSerialize(he),$e=this.stack[this.stack.length-2];$e.label=IRe(Ie),$e.identifier=Wa(Ie).toLowerCase()}function te(){const he=this.stack[this.stack.length-1],Ie=this.resume(),$e=this.stack[this.stack.length-1];if(this.data.inReference=!0,$e.type==="link"){const mt=he.children;$e.children=mt}else $e.alt=Ie}function q(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=he}function j(){const he=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=he}function X(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function ae(he){const Ie=this.resume(),$e=this.stack[this.stack.length-1];$e.label=Ie,$e.identifier=Wa(this.sliceSerialize(he)).toLowerCase(),this.data.referenceType="full"}function le(he){this.data.characterReferenceType=he.type}function Ee(he){const Ie=this.sliceSerialize(he),$e=this.data.characterReferenceType;let mt;$e?(mt=PZ(Ie,$e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):mt=qg(Ie);const kt=this.stack[this.stack.length-1];kt.value+=mt}function me(he){const Ie=this.stack.pop();Ie.position.end=xc(he.end)}
vendor: 13,945 bytes, lines 73-78
73function ke(he){U.call(this,he);const Ie=this.stack[this.stack.length-1];Ie.url=this.sliceSerialize(he)}function Le(he){U.call(this,he);const Ie=this.stack[this.stack.length-1];Ie.url="mailto:"+this.sliceSerialize(he)}function qe(){return{type:"blockquote",children:[]}}function Xe(){return{type:"code",lang:null,meta:null,value:""}}function ut(){return{type:"inlineCode",value:""}}function it(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function F(){return{type:"emphasis",children:[]}}function Ce(){return{type:"heading",depth:0,children:[]}}function Se(){return{type:"break"}}function re(){return{type:"html",value:""}}function ne(){return{type:"image",title:null,url:"",alt:null}}function ue(){return{type:"link",title:null,url:"",children:[]}}function Oe(he){return{type:"list",ordered:he.type==="listOrdered",start:null,spread:he._spread,children:[]}}function Me(he){return{type:"listItem",spread:he._spread,checked:null,children:[]}}function pe(){return{type:"paragraph",children:[]}}function Fe(){return{type:"strong",children:[]}}function Ge(){return{type:"text",value:""}}function He(){return{type:"thematicBreak"}}}function xc(t){return{line:t.line,column:t.column,offset:t.offset}}function KZ(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?KZ(t,r):BRe(t,r)}}function BRe(t,e){let n;for(n in e)if(WZ.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function wz(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+hg({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+hg({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+hg({start:e.start,end:e.end})+") is still open")}function PRe(t){const e=this;e.parser=n;function n(r){return MRe(r,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function FRe(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function zRe(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
74`}]}function URe(t,e){const n=e.value?e.value+`
75`:"",r={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(s.data={meta:e.meta}),t.patch(e,s),s=t.applyData(e,s),s={type:"element",tagName:"pre",properties:{},children:[s]},t.patch(e,s),s}function jRe(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function HRe(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function $Re(t,e){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),i=_p(r.toLowerCase()),s=t.footnoteOrder.indexOf(r);let a,o=t.footnoteCounts.get(r);o===void 0?(o=0,t.footnoteOrder.push(r),a=t.footnoteOrder.length):a=s+1,o+=1,t.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function VRe(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function GRe(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}}function YZ(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const i=t.all(e),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function qRe(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return YZ(t,e);const i={src:_p(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,s),t.applyData(e,s)}function WRe(t,e){const n={src:_p(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function KRe(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function YRe(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return YZ(t,e);const i={href:_p(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,s),t.applyData(e,s)}function XRe(t,e){const n={href:_p(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function ZRe(t,e,n){const r=t.all(e),i=n?QRe(n):XZ(e),s={},a=[];if(typeof e.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const d=r[o];(i||o!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:`
76`}),d.type==="element"&&d.tagName==="p"&&!i?a.push(...d.children):a.push(d)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
77`});const c={type:"element",tagName:"li",properties:s,children:a};return t.patch(e,c),t.applyData(e,c)}function QRe(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const n=t.children;let r=-1;for(;!e&&++r<n.length;)e=XZ(n[r])}return e}function XZ(t){const e=t.spread;return e??t.children.length>1}function JRe(t,e){const n={},r=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,s),t.applyData(e,s)}function e3e(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function t3e(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)}function n3e(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function r3e(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=_3(e.children[1]),l=RZ(e.children[e.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const s={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,s),t.applyData(e,s)}function i3e(t,e,n){const r=n?n.children:void 0,s=(r?r.indexOf(e):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:e.children.length;let l=-1;const c=[];for(;++l<o;){const f=e.children[l],p={},g=a?a[l]:void 0;g&&(p.align=g);let b={type:"element",tagName:s,properties:p,children:[]};f&&(b.children=t.all(f),t.patch(f,b),b=t.applyData(f,b)),c.push(b)}const d={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,d),t.applyData(e,d)}function s3e(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}const Sz=9,_z=32;function a3e(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),i=0;const s=[];for(;r;)s.push(xz(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return s.push(xz(e.slice(i),i>0,!1)),s.join("")}function xz(t,e,n){let r=0,i=t.length;if(e){let s=t.codePointAt(r);for(;s===Sz||s===_z;)r++,s=t.codePointAt(r)}if(n){let s=t.codePointAt(i-1);for(;s===Sz||s===_z;)i--,s=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}function o3e(t,e){const n={type:"text",value:a3e(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function l3e(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const c3e={blockquote:FRe,break:zRe,code:URe,delete:jRe,emphasis:HRe,footnoteReference:$Re,heading:VRe,html:GRe,imageReference:qRe,image:WRe,inlineCode:KRe,linkReference:YRe,link:XRe,listItem:ZRe,list:JRe,paragraph:e3e,root:t3e,strong:n3e,table:r3e,tableCell:s3e,tableRow:i3e,text:o3e,thematicBreak:l3e,toml:Xy,yaml:Xy,definition:Xy,footnoteDefinition:Xy};function Xy(){}const ZZ=-1,FS=0,pg=1,sw=2,A3=3,R3=4,N3=5,O3=6,QZ=7,JZ=8,Ez=typeof self=="object"?self:globalThis,u3e=(t,e)=>{const n=(i,s)=>(t.set(s,i),i),r=i=>{if(t.has(i))return t.get(i);const[s,a]=e[i];switch(s){case FS:case ZZ:return n(a,i);case pg:{const o=n([],i);for(const l of a)o.push(r(l));return o}case sw:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case A3:return n(new Date(a),i);case R3:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case N3:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case O3:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case QZ:{const{name:o,message:l}=a;return n(new Ez[o](l),i)}case JZ:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new Ez[s](a),i)};return r},kz=t=>u3e(new Map,t)(0),Yh="",{toString:d3e}={},{keys:h3e}=Object,Lm=t=>{const e=typeof t;if(e!=="object"||!t)return[FS,e];const n=d3e.call(t).slice(8,-1);switch(n){case"Array":return[pg,Yh];case"Object":return[sw,Yh];case"Date":return[A3,Yh];case"RegExp":return[R3,Yh];case"Map":return[N3,Yh];case"Set":return[O3,Yh];case"DataView":return[pg,n]}return n.includes("Array")?[pg,n]:n.includes("Error")?[QZ,n]:[sw,n]},Zy=([t,e])=>t===FS&&(e==="function"||e==="symbol"),f3e=(t,e,n,r)=>{const i=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},s=a=>{if(n.has(a))return n.get(a);let[o,l]=Lm(a);switch(o){case FS:{let d=a;switch(l){case"bigint":o=JZ,d=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return i([ZZ],a)}return i([o,d],a)}case pg:{if(l){let p=a;return l==="DataView"?p=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(p=new Uint8Array(a)),i([l,[...p]],a)}const d=[],f=i([o,d],a);for(const p of a)d.push(s(p));return f}case sw:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(e&&"toJSON"in a)return s(a.toJSON());const d=[],f=i([o,d],a);for(const p of h3e(a))(t||!Zy(Lm(a[p])))&&d.push([s(p),s(a[p])]);return f}case A3:return i([o,a.toISOString()],a);case R3:{const{source:d,flags:f}=a;return i([o,{source:d,flags:f}],a)}case N3:{const d=[],f=i([o,d],a);for(const[p,g]of a)(t||!(Zy(Lm(p))||Zy(Lm(g))))&&d.push([s(p),s(g)]);return f}case O3:{const d=[],f=i([o,d],a);for(const p of a)(t||!Zy(Lm(p)))&&d.push(s(p));return f}}const{message:c}=a;return i([o,{name:l,message:c}],a)};return s},Cz=(t,{json:e,lossy:n}={})=>{const r=[];return f3e(!(e||n),!!e,new Map,r)(t),r},aw=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?kz(Cz(t,e)):structuredClone(t):(t,e)=>kz(Cz(t,e));function p3e(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function m3e(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function g3e(t){const e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||p3e,r=t.options.footnoteBackLabel||m3e,i=t.options.footnoteLabel||"Footnotes",s=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<t.footnoteOrder.length;){const c=t.footnoteById.get(t.footnoteOrder[l]);if(!c)continue;const d=t.all(c),f=String(c.identifier).toUpperCase(),p=_p(f.toLowerCase());let g=0;const b=[],y=t.footnoteCounts.get(f);for(;y!==void 0&&++g<=y;){b.length>0&&b.push({type:"text",value:" "});let _=typeof n=="string"?n:n(l,g);typeof _=="string"&&(_={type:"text",value:_}),b.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+p+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,g),className:["data-footnote-backref"]},children:Array.isArray(_)?_:[_]})}const w=d[d.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const _=w.children[w.children.length-1];_&&_.type==="text"?_.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...b)}else d.push(...b);const S={type:"element",tagName:"li",properties:{id:e+"fn-"+p},children:t.wrap(d,!0)};t.patch(c,S),o.push(S)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...aw(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
78`},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)}
vendor: 4,957 bytes, lines 78-83
78,{type:"text",value:`
79`}]}}const j0=(function(t){if(t==null)return w3e;if(typeof t=="function")return zS(t);if(typeof t=="object")return Array.isArray(t)?b3e(t):y3e(t);if(typeof t=="string")return v3e(t);throw new Error("Expected function, string, or object as test")});function b3e(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=j0(t[n]);return zS(r);function r(...i){let s=-1;for(;++s<e.length;)if(e[s].apply(this,i))return!0;return!1}}function y3e(t){const e=t;return zS(n);function n(r){const i=r;let s;for(s in t)if(i[s]!==e[s])return!1;return!0}}function v3e(t){return zS(e);function e(n){return n&&n.type===t}}function zS(t){return e;function e(n,r,i){return!!(S3e(n)&&t.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function w3e(){return!0}function S3e(t){return t!==null&&typeof t=="object"&&"type"in t}const eQ=[],_3e=!0,OT=!1,tQ="skip";function I3(t,e,n,r){let i;typeof e=="function"&&typeof n!="function"?(r=n,n=e):i=e;const s=j0(i),a=r?-1:1;o(t,void 0,[])();function o(l,c,d){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const g=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(g?"<"+g+">":""))+")"})}return p;function p(){let g=eQ,b,y,w;if((!e||s(l,c,d[d.length-1]||void 0))&&(g=x3e(n(l,d)),g[0]===OT))return g;if("children"in l&&l.children){const S=l;if(S.children&&g[0]!==tQ)for(y=(r?S.children.length:-1)+a,w=d.concat(S);y>-1&&y<S.children.length;){const _=S.children[y];if(b=o(_,y,w)(),b[0]===OT)return b;y=typeof b[1]=="number"?b[1]:y+a}}return g}}}function x3e(t){return Array.isArray(t)?t:typeof t=="number"?[_3e,t]:t==null?eQ:[t]}function D3(t,e,n,r){let i,s,a;typeof e=="function"&&typeof n!="function"?(s=void 0,a=e,i=n):(s=e,a=n,i=r),I3(t,s,o,i);function o(l,c){const d=c[c.length-1],f=d?d.children.indexOf(l):void 0;return a(l,f,d)}}const IT={}.hasOwnProperty,E3e={};function k3e(t,e){const n=e||E3e,r=new Map,i=new Map,s=new Map,a={...c3e,...n.handlers},o={all:c,applyData:T3e,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:a,one:l,options:n,patch:C3e,wrap:R3e};return D3(t,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:i,p=String(d.identifier).toUpperCase();f.has(p)||f.set(p,d)}}),o;function l(d,f){const p=d.type,g=o.handlers[p];if(IT.call(o.handlers,p)&&g)return g(o,d,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in d){const{children:y,...w}=d,S=aw(w);return S.children=o.all(d),S}return aw(d)}return(o.options.unknownHandler||A3e)(o,d,f)}function c(d){const f=[];if("children"in d){const p=d.children;let g=-1;for(;++g<p.length;){const b=o.one(p[g],d);if(b){if(g&&p[g-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Tz(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=Tz(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function C3e(t,e){t.position&&(e.position=mAe(t))}function T3e(t,e){let n=e;if(t&&t.data){const r=t.data.hName,i=t.data.hChildren,s=t.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&s&&Object.assign(n.properties,aw(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function A3e(t,e){const n=e.data||{},r="value"in e&&!(IT.call(n,"hProperties")||IT.call(n,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function R3e(t,e){const n=[];let r=-1;for(e&&n.push({type:"text",value:`
80`});++r<t.length;)r&&n.push({type:"text",value:`
81`}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:`
82`}),n}function Tz(t){let e=0,n=t.charCodeAt(e);for(;n===9||n===32;)e++,n=t.charCodeAt(e);return t.slice(e)}function Az(t,e){const n=k3e(t,e),r=n.one(t,void 0),i=g3e(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
83`},i),s}function N3e(t,e){return t&&"run"in t?async function(n,r){const i=Az(n,{file:r,...e});await t.run(i,r)}:function(n,r){return Az(n,{file:r,...t||e})}}function Rz(t){if(t)throw t}var j2,Nz;function O3e(){if(Nz)return j2;Nz=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(c){return typeof Array.isArray=="function"?Array.isArray(c):e.call(c)==="[object Array]"},s=function(c){if(!c||e.call(c)!=="[object Object]")return!1;var d=t.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&t.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!d&&!f)return!1;var p;for(p in c);return typeof p>"u"||t.call(c,p)},a=function(c,d){n&&d.name==="__proto__"?n(c,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):c[d.name]=d.newValue}
vendor: 4,734 bytes, line 83
83,o=function(c,d){if(d==="__proto__")if(t.call(c,d)){if(r)return r(c,d).value}else return;return c[d]};return j2=function l(){var c,d,f,p,g,b,y=arguments[0],w=1,S=arguments.length,_=!1;for(typeof y=="boolean"&&(_=y,y=arguments[1]||{},w=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});w<S;++w)if(c=arguments[w],c!=null)for(d in c)f=o(y,d),p=o(c,d),y!==p&&(_&&p&&(s(p)||(g=i(p)))?(g?(g=!1,b=f&&i(f)?f:[]):b=f&&s(f)?f:{},a(y,{name:d,newValue:l(_,b,p)})):typeof p<"u"&&a(y,{name:d,newValue:p}));return y},j2}var I3e=O3e();const H2=sp(I3e);function DT(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function D3e(){const t=[],e={run:n,use:r};return e;function n(...i){let s=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...i);function o(l,...c){const d=t[++s];let f=-1;if(l){a(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,d?M3e(d,o)(...c):a(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function M3e(t,e){let n;return r;function r(...a){const o=t.length>a.length;let l;o&&a.push(i);try{l=t.apply(this,a)}catch(c){const d=c;if(o&&n)throw d;return i(d)}o||(l&&l.then&&typeof l.then=="function"?l.then(s,i):l instanceof Error?i(l):s(l))}function i(a,...o){n||(n=!0,e(a,...o))}function s(a){i(null,a)}}const _o={basename:L3e,dirname:B3e,extname:P3e,join:F3e,sep:"/"};function L3e(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');H0(t);let n=0,r=-1,i=t.length,s;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let a=-1,o=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(s){n=i+1;break}}else a<0&&(s=!0,a=i+1),o>-1&&(t.codePointAt(i)===e.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=t.length),t.slice(n,r)}function B3e(t){if(H0(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.codePointAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function P3e(t){H0(t);let e=t.length,n=-1,r=0,i=-1,s=0,a;for(;e--;){const o=t.codePointAt(e);if(o===47){if(a){r=e+1;break}continue}n<0&&(a=!0,n=e+1),o===46?i<0?i=e:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function F3e(...t){let e=-1,n;for(;++e<t.length;)H0(t[e]),t[e]&&(n=n===void 0?t[e]:n+"/"+t[e]);return n===void 0?".":z3e(n)}function z3e(t){H0(t);const e=t.codePointAt(0)===47;let n=U3e(t,!e);return n.length===0&&!e&&(n="."),n.length>0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function U3e(t,e){let n="",r=0,i=-1,s=0,a=-1,o,l;for(;++a<=t.length;){if(a<t.length)o=t.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length>0){n="",r=0,i=a,s=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s>-1?s++:s=-1}return n}function H0(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const j3e={cwd:H3e};function H3e(){return"/"}function MT(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function $3e(t){if(typeof t=="string")t=new URL(t);else if(!MT(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return V3e(t)}function V3e(t){if(t.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 e=t.pathname;let n=-1;for(;++n<e.length;)if(e.codePointAt(n)===37&&e.codePointAt(n+1)===50){const r=e.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const $2=["history","path","basename","stem","extname","dirname"];class nQ{constructor(e){let n;e?MT(e)?n={path:e}:typeof e=="string"||G3e(e)?n={value:e}
vendor: 1,102 bytes, line 83
83:n=e:n={},this.cwd="cwd"in n?"":j3e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<$2.length;){const s=$2[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)$2.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?_o.basename(this.path):void 0}set basename(e){G2(e,"basename"),V2(e,"basename"),this.path=_o.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?_o.dirname(this.path):void 0}set dirname(e){Oz(this.basename,"dirname"),this.path=_o.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?_o.extname(this.path):void 0}set extname(e){if(V2(e,"extname"),Oz(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=_o.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){MT(e)&&(e=$3e(e)),G2(e,"path"),this.path!==e&&this.history.push(e)}
vendor: 7,265 bytes, line 83
83get stem(){return typeof this.path=="string"?_o.basename(this.path,this.extname):void 0}set stem(e){G2(e,"stem"),V2(e,"stem"),this.path=_o.join(this.dirname||"",e+(this.extname||""))}fail(e,n,r){const i=this.message(e,n,r);throw i.fatal=!0,i}info(e,n,r){const i=this.message(e,n,r);return i.fatal=void 0,i}message(e,n,r){const i=new Si(e,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function V2(t,e){if(t&&t.includes(_o.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+_o.sep+"`")}function G2(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function Oz(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function G3e(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const q3e=(function(t){const r=this.constructor.prototype,i=r[t],s=function(){return i.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),W3e={}.hasOwnProperty;class M3 extends q3e{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=D3e()}copy(){const e=new M3;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];e.use(...r)}return e.data(H2(!0,{},this.namespace)),e}data(e,n){return typeof e=="string"?arguments.length===2?(K2("data",this.frozen),this.namespace[e]=n,this):W3e.call(this.namespace,e)&&this.namespace[e]||void 0:e?(K2("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=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 i=n.call(e,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const n=Qy(e),r=this.parser||this.Parser;return q2("parse",r),r(String(n),n)}process(e,n){const r=this;return this.freeze(),q2("process",this.parser||this.Parser),W2("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,a){const o=Qy(e),l=r.parse(o);r.run(l,o,function(d,f,p){if(d||!f||!p)return c(d);const g=f,b=r.stringify(g,p);X3e(b)?p.value=b:p.result=b,c(d,p)});function c(d,f){d||!f?a(d):s?s(f):n(void 0,f)}}}processSync(e){let n=!1,r;return this.freeze(),q2("processSync",this.parser||this.Parser),W2("processSync",this.compiler||this.Compiler),this.process(e,i),Dz("processSync","process",n),r;function i(s,a){n=!0,Rz(s),r=a}}run(e,n,r){Iz(e),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(a,o){const l=Qy(n);i.run(e,l,c);function c(d,f,p){const g=f||e;d?o(d):a?a(g):r(void 0,g,p)}}}runSync(e,n){let r=!1,i;return this.run(e,n,s),Dz("runSync","run",r),i;function s(a,o){Rz(a),i=o,r=!0}}stringify(e,n){this.freeze();const r=Qy(n),i=this.compiler||this.Compiler;return W2("stringify",i),Iz(e),i(e,r)}use(e,...n){const r=this.attachers,i=this.namespace;if(K2("use",this.frozen),e!=null)if(typeof e=="function")l(e,n);else if(typeof e=="object")Array.isArray(e)?o(e):a(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function s(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[d,...f]=c;l(d,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))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");o(c.plugins),c.settings&&(i.settings=H2(!0,i.settings,c.settings))}function o(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){const f=c[d];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,d){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...d]);else if(d.length>0){let[g,...b]=d;const y=r[p][1];DT(y)&&DT(g)&&(g=H2(!0,y,g)),r[p]=[c,g,...b]}}}}const K3e=new M3().freeze();function q2(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function W2(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function K2(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Iz(t){if(!DT(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Dz(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Qy(t){return Y3e(t)?t:new nQ(t)}function Y3e(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function X3e(t){return typeof t=="string"||Z3e(t)}function Z3e(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const Q3e="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Mz=[],Lz={allowDangerousHtml:!0},J3e=/^(https?|ircs?|mailto|xmpp)$/i,e5e=[{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:"className",id:"remove-classname"},{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 t5e(t){const e=n5e(t),n=r5e(t);return i5e(e.runSync(e.parse(n),n),t)}function n5e(t){const e=t.rehypePlugins||Mz,n=t.remarkPlugins||Mz,r=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...Lz}:Lz;return K3e().use(PRe).use(n).use(N3e,r).use(e)}function r5e(t){const e=t.children||"",n=new nQ;return typeof e=="string"&&(n.value=e),n}function i5e(t,e){const n=e.allowedElements,r=e.allowElement,i=e.components,s=e.disallowedElements,a=e.skipHtml,o=e.unwrapDisallowed,l=e.urlTransform||s5e;for(const d of e5e)Object.hasOwn(e,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+Q3e+d.id,void 0);return D3(t,c),wAe(t,{Fragment:x.Fragment,components:i,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function c(d,f,p){if(d.type==="raw"&&p&&typeof f=="number")return a?p.children.splice(f,1):p.children[f]={type:"text",value:d.value},f;
83if(d.type==="element"){let g;for(g in F2)if(Object.hasOwn(F2,g)&&Object.hasOwn(d.properties,g)){const b=d.properties[g],y=F2[g];(y===null||y.includes(d.tagName))&&(d.properties[g]=l(String(b||""),g,d))}}if(d.type==="element"){let g=n?!n.includes(d.tagName):s?s.includes(d.tagName):!1;if(!g&&r&&typeof f=="number"&&(g=!r(d,f,p)),g&&p&&typeof f=="number")return o&&d.children?p.children.splice(f,1,...d.children):p.children.splice(f,1),f}}}function s5e(t){const e=t.indexOf(":"),n=t.indexOf("?"),r=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||n!==-1&&e>n||r!==-1&&e>r||J3e.test(t.slice(0,e))?t:""}function dn(t,e="Assertion error"){if(!t)throw Error(e)}function Xf({group:t}){const{orientation:e,panels:n}=t;return n.reduce((r,i)=>(r+=e==="horizontal"?i.element.offsetWidth:i.element.offsetHeight,r),0)}function LT(t,e){return Array.from(e).sort(t==="horizontal"?a5e:o5e)}function a5e(t,e){const n=t.element.offsetLeft-e.element.offsetLeft;return n!==0?n:t.element.offsetWidth-e.element.offsetWidth}function o5e(t,e){const n=t.element.offsetTop-e.element.offsetTop;return n!==0?n:t.element.offsetHeight-e.element.offsetHeight}function rQ(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function iQ(t,e){return{x:t.x>=e.left&&t.x<=e.right?0:Math.min(Math.abs(t.x-e.left),Math.abs(t.x-e.right)),y:t.y>=e.top&&t.y<=e.bottom?0:Math.min(Math.abs(t.y-e.top),Math.abs(t.y-e.bottom))}}function l5e({orientation:t,rects:e,targetRect:n}){const r={x:n.x+n.width/2,y:n.y+n.height/2};let i,s=Number.MAX_VALUE;for(const a of e){const{x:o,y:l}=iQ(r,a),c=t==="horizontal"?o:l;c<s&&(s=c,i=a)}return dn(i,"No rect found"),i}let Jy;function c5e(){return Jy===void 0&&(typeof matchMedia=="function"?Jy=!!matchMedia("(pointer:coarse)").matches:Jy=!1),Jy}function sQ(t){const{element:e,orientation:n,panels:r,separators:i}=t,s=LT(n,Array.from(e.children).filter(rQ).map(d=>({element:d}))).map(({element:d})=>d),a=[];let o=!1,l,c=[];for(const d of s)if(d.hasAttribute("data-panel")){const f=r.find(p=>p.element===d);if(f){if(l){const p=l.element.getBoundingClientRect(),g=d.getBoundingClientRect();let b;if(o){const y=n==="horizontal"?new DOMRect(p.right,p.top,0,p.height):new DOMRect(p.left,p.bottom,p.width,0),w=n==="horizontal"?new DOMRect(g.left,g.top,0,g.height):new DOMRect(g.left,g.top,g.width,0);switch(c.length){case 0:{b=[y,w];break}case 1:{const S=c[0],_=l5e({orientation:n,rects:[p,g],targetRect:S.element.getBoundingClientRect()});b=[S,_===p?w:y];break}default:{b=c;break}}}else c.length?b=c:b=[n==="horizontal"?new DOMRect(p.right,g.top,g.left-p.right,g.height):new DOMRect(g.left,p.bottom,g.width,g.top-p.bottom)];for(const y of b){let w="width"in y?y:y.element.getBoundingClientRect();const S=c5e()?t.resizeTargetMinimumSize.coarse:t.resizeTargetMinimumSize.fine;if(w.width<S){const _=S-w.width;w=new DOMRect(w.x-_/2,w.y,w.width+_,w.height)}if(w.height<S){const _=S-w.height;w=new DOMRect(w.x,w.y-_/2,w.width,w.height+_)}a.push({group:t,groupSize:Xf({group:t}),panels:[l,f],separator:"width"in y?void 0:y,rect:w})}}o=!1,l=f,c=[]}}else if(d.hasAttribute("data-separator")){const f=i.find(p=>p.element===d);f?c.push(f):(l=void 0,c=[])}else o=!0;return a}function u5e(t,e){const n=getComputedStyle(t),r=parseFloat(n.fontSize);return e*r}function d5e(t,e){const n=getComputedStyle(t.ownerDocument.body),r=parseFloat(n.fontSize);return e*r}function h5e(t){return t/100*window.innerHeight}function f5e(t){return t/100*window.innerWidth}function p5e(t){switch(typeof t){case"number":return[t,"px"];case"string":{const e=parseFloat(t);return t.endsWith("%")?[e,"%"]:t.endsWith("px")?[e,"px"]:t.endsWith("rem")?[e,"rem"]:t.endsWith("em")?[e,"em"]:t.endsWith("vh")?[e,"vh"]:t.endsWith("vw")?[e,"vw"]:[e,"%"]}}}function ev({groupSize:t,panelElement:e,styleProp:n}){let r;const[i,s]=p5e(n);switch(s){case"%":{r=i/100*t;break}case"px":{r=i;break}case"rem":{r=d5e(e,i);break}case"em":{r=u5e(e,i);break}case"vh":{r=h5e(i);break}case"vw":{r=f5e(i);break}}return r}function ja(t){return parseFloat(t.toFixed(3))}function Bz(t){const{panels:e}=t,n=Xf({group:t});return n===0?e.map(r=>({collapsedSize:0,collapsible:r.panelConstraints.collapsible===!0,defaultSize:void 0,minSize:0,maxSize:100,panelId:r.id})):e.map(r=>{const{element:i,panelConstraints:s}=r;let a=0;if(s.collapsedSize!==void 0){const d=ev({groupSize:n,panelElement:i,styleProp:s.collapsedSize});a=ja(d/n*100)}let o;if(s.defaultSize!==void 0){const d=ev({groupSize:n,panelElement:i,styleProp:s.defaultSize});o=ja(d/n*100)}let l=0;if(s.minSize!==void 0){const d=ev({groupSize:n,panelElement:i,styleProp:s.minSize});l=ja(d/n*100)}let c=100;if(s.maxSize!==void 0){const d=ev({groupSize:n,panelElement:i,styleProp:s.maxSize});c=ja(d/n*100)}return{collapsedSize:a,collapsible:s.collapsible===!0,defaultSize:o,minSize:l,maxSize:c,panelId:r.id}})}class m5e{#e={};addListener(e,n){const r=this.#e[e];return r===void 0?this.#e[e]=[n]:r.includes(n)||r.push(n),()=>{this.removeListener(e,n)}}emit(e,n){const r=this.#e[e];if(r!==void 0)if(r.length===1)r[0].call(null,n);else{let i=!1,s=null;const a=Array.from(r);for(let o=0;o<a.length;o++){const l=a[o];try{l.call(null,n)}catch(c){s===null&&(i=!0,s=c)}}if(i)throw s}}removeAllListeners(){this.#e={}}removeListener(e,n){const r=this.#e[e];if(r!==void 0){const i=r.indexOf(n);i>=0&&r.splice(i,1)}}}function Oi(t,e,n=0){return Math.abs(ja(t)-ja(e))<=n}let ia={cursorFlags:0,interactionState:{state:"inactive"},mountedGroups:new Map};const Ol=new m5e;function fs(){return ia}function Li(t){const e=typeof t=="function"?t(ia):t;if(ia===e)return ia;const n=ia;return ia={...ia,...e},e.cursorFlags!==void 0&&Ol.emit("cursorFlagsChange",ia.cursorFlags),e.
83interactionState!==void 0&&Ol.emit("interactionStateChange",ia.interactionState),e.mountedGroups!==void 0&&(ia.mountedGroups.forEach((r,i)=>{r.derivedPanelConstraints.forEach(s=>{if(s.collapsible){const{layout:a}=n.mountedGroups.get(i)??{};if(a){const o=Oi(s.collapsedSize,r.layout[s.panelId]),l=Oi(s.collapsedSize,a[s.panelId]);o&&!l&&(i.inMemoryLastExpandedPanelSizes[s.panelId]=a[s.panelId])}}})}),Ol.emit("mountedGroupsChange",ia.mountedGroups)),ia}function g5e(t,e,n){let r,i={x:1/0,y:1/0};for(const s of e){const a=iQ(n,s.rect);switch(t){case"horizontal":{a.x<=i.x&&(r=s,i=a);break}case"vertical":{a.y<=i.y&&(r=s,i=a);break}}}return r?{distance:i,hitRegion:r}:void 0}function b5e(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function y5e(t,e){if(t===e)throw new Error("Cannot compare node with itself");const n={a:zz(t),b:zz(e)};let r;for(;n.a.at(-1)===n.b.at(-1);)r=n.a.pop(),n.b.pop();dn(r,"Stacking order can only be calculated for elements with a common ancestor");const i={a:Fz(Pz(n.a)),b:Fz(Pz(n.b))};if(i.a===i.b){const s=r.childNodes,a={a:n.a.at(-1),b:n.b.at(-1)};let o=s.length;for(;o--;){const l=s[o];if(l===a.a)return 1;if(l===a.b)return-1}}return Math.sign(i.a-i.b)}const v5e=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function w5e(t){const e=getComputedStyle(aQ(t)??t).display;return e==="flex"||e==="inline-flex"}function S5e(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||w5e(t))||+e.opacity<1||"transform"in e&&e.transform!=="none"||"webkitTransform"in e&&e.webkitTransform!=="none"||"mixBlendMode"in e&&e.mixBlendMode!=="normal"||"filter"in e&&e.filter!=="none"||"webkitFilter"in e&&e.webkitFilter!=="none"||"isolation"in e&&e.isolation==="isolate"||v5e.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function Pz(t){let e=t.length;for(;e--;){const n=t[e];if(dn(n,"Missing node"),S5e(n))return n}return null}function Fz(t){return t&&Number(getComputedStyle(t).zIndex)||0}function zz(t){const e=[];for(;t;)e.push(t),t=aQ(t);return e}function aQ(t){const{parentNode:e}=t;return b5e(e)?e.host:e}function _5e(t,e){return t.x<e.x+e.width&&t.x+t.width>e.x&&t.y<e.y+e.height&&t.y+t.height>e.y}function x5e({groupElement:t,hitRegion:e,pointerEventTarget:n}){if(!rQ(n)||n.contains(t)||t.contains(n))return!0;if(y5e(n,t)>0){let r=n;for(;r;){if(r.contains(t))return!0;if(_5e(r.getBoundingClientRect(),e))return!1;r=r.parentElement}}return!0}function L3(t,e){const n=[];return e.forEach((r,i)=>{if(i.disabled)return;const s=sQ(i),a=g5e(i.orientation,s,{x:t.clientX,y:t.clientY});a&&a.distance.x<=0&&a.distance.y<=0&&x5e({groupElement:i.element,hitRegion:a.hitRegion.rect,pointerEventTarget:t.target})&&n.push(a.hitRegion)}),n}function E5e(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!=e[n])return!1;return!0}function xo(t,e){return Oi(t,e)?0:t>e?1:-1}function pf({panelConstraints:t,size:e}){const{collapsedSize:n=0,collapsible:r,maxSize:i=100,minSize:s=0}=t;if(xo(e,s)<0)if(r){const a=(n+s)/2;xo(e,a)<0?e=n:e=s}else e=s;return e=Math.min(i,e),e=ja(e),e}function Wg({delta:t,initialLayout:e,panelConstraints:n,pivotIndices:r,prevLayout:i,trigger:s}){if(Oi(t,0))return e;const a=Object.values(e),o=Object.values(i),l=[...a],[c,d]=r;dn(c!=null,"Invalid first pivot index"),dn(d!=null,"Invalid second pivot index");let f=0;switch(s){case"keyboard":{{const b=t<0?d:c,y=n[b];dn(y,`Panel constraints not found for index ${b}`);const{collapsedSize:w=0,collapsible:S,minSize:_=0}=y;if(S){const E=a[b];if(dn(E!=null,`Previous layout not found for panel index ${b}`),Oi(E,w)){const T=_-E;xo(T,Math.abs(t))>0&&(t=t<0?0-T:T)}}}{const b=t<0?c:d,y=n[b];dn(y,`No panel constraints found for index ${b}`);const{collapsedSize:w=0,collapsible:S,minSize:_=0}=y;if(S){const E=a[b];if(dn(E!=null,`Previous layout not found for panel index ${b}`),Oi(E,_)){const T=E-w;xo(T,Math.abs(t))>0&&(t=t<0?0-T:T)}}}break}default:{const b=t<0?d:c,y=n[b];dn(y,`Panel constraints not found for index ${b}`);const w=a[b],{collapsible:S,collapsedSize:_,minSize:E}=y;if(S&&xo(w,E)<0)if(t>0){const T=E-_,R=T/2,N=w+t;xo(N,E)<0&&(t=xo(t,R)<=0?0:T)}else{const T=E-_,R=100-T/2,N=w-t;xo(N,E)<0&&(t=xo(100+t,R)>0?0:-T)}break}}{const b=t<0?1:-1;let y=t<0?d:c,w=0;for(;;){const _=a[y];dn(_!=null,`Previous layout not found for panel index ${y}`);const E=pf({panelConstraints:n[y],size:100})-_;if(w+=E,y+=b,y<0||y>=n.length)break}const S=Math.min(Math.abs(t),Math.abs(w));t=t<0?0-S:S}{let b=t<0?c:d;for(;b>=0&&b<n.length;){const y=Math.abs(t)-Math.abs(f),w=a[b];dn(w!=null,`Previous layout not found for panel index ${b}`);const S=w-y,_=pf({panelConstraints:n[b],size:S});if(!Oi(w,_)&&(f+=w-_,l[b]=_,f.toFixed(3).localeCompare(Math.abs(t).toFixed(3),void 0,{numeric:!0})>=0))break;t<0?b--:b++}}if(E5e(o,l))return i;{const b=t<0?d:c,y=a[b];dn(y!=null,`Previous layout not found for panel index ${b}`);const w=y+f,S=pf({panelConstraints:n[b],size:w});if(l[b]=S,!Oi(S,w)){let _=w-S,E=t<0?d:c;for(;E>=0&&E<n.length;){const T=l[E];dn(T!=null,`Previous layout not found for panel index ${E}`);const R=T+_,N=pf({panelConstraints:n[E],size:R});if(Oi(T,N)||(_-=N-T,l[E]=N),Oi(_,0))break;t>0?E--:E++}}}const p=Object.values(l).reduce((b,y)=>y+b,0);if(!Oi(p,100,.1))return i;const g=Object.keys(i);return l.reduce((b,y,w)=>(b[g[w]]=y,b),{})}function Md(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(e[n]===void 0||xo(t[n],e[n])!==0)return!1;return!0}function Ld({layout:t,panelConstraints:e}){const n=[...Object.values(t)],r=n.reduce((a,o)=>a+o,0);if(n.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);
83if(!Oi(r,100)&&n.length>0)for(let a=0;a<e.length;a++){const o=n[a];dn(o!=null,`No layout data found for index ${a}`);const l=100/r*o;n[a]=l}let i=0;for(let a=0;a<e.length;a++){const o=n[a];dn(o!=null,`No layout data found for index ${a}`);const l=pf({panelConstraints:e[a],size:o});o!=l&&(i+=o-l,n[a]=l)}if(!Oi(i,0))for(let a=0;a<e.length;a++){const o=n[a];dn(o!=null,`No layout data found for index ${a}`);const l=o+i,c=pf({panelConstraints:e[a],size:l});if(o!==c&&(i-=c-o,n[a]=c,Oi(i,0)))break}const s=Object.keys(t);return n.reduce((a,o,l)=>(a[s[l]]=o,a),{})}function oQ({groupId:t,panelId:e}){const n=()=>{const{mountedGroups:o}=fs();for(const[l,{defaultLayoutDeferred:c,derivedPanelConstraints:d,layout:f,separatorToPanels:p}]of o)if(l.id===t)return{defaultLayoutDeferred:c,derivedPanelConstraints:d,group:l,layout:f,separatorToPanels:p};throw Error(`Group ${t} not found`)},r=()=>{const o=n().derivedPanelConstraints.find(l=>l.panelId===e);if(o!==void 0)return o;throw Error(`Panel constraints not found for Panel ${e}`)},i=()=>{const o=n().group.panels.find(l=>l.id===e);if(o!==void 0)return o;throw Error(`Layout not found for Panel ${e}`)},s=()=>{const o=n().layout[e];if(o!==void 0)return o;throw Error(`Layout not found for Panel ${e}`)},a=o=>{const l=s();if(o===l)return;const{defaultLayoutDeferred:c,derivedPanelConstraints:d,group:f,layout:p,separatorToPanels:g}=n(),b=f.panels.findIndex(_=>_.id===e),y=b===f.panels.length-1,w=Wg({delta:y?l-o:o-l,initialLayout:p,panelConstraints:d,pivotIndices:y?[b-1,b]:[b,b+1],prevLayout:p,trigger:"imperative-api"}),S=Ld({layout:w,panelConstraints:d});Md(p,S)||Li(_=>({mountedGroups:new Map(_.mountedGroups).set(f,{defaultLayoutDeferred:c,derivedPanelConstraints:d,layout:S,separatorToPanels:g})}))};return{collapse:()=>{const{collapsible:o,collapsedSize:l}=r(),{mutableValues:c}=i(),d=s();o&&d!==l&&(c.expandToSize=d,a(l))},expand:()=>{const{collapsible:o,collapsedSize:l,minSize:c}=r(),{mutableValues:d}=i(),f=s();if(o&&f===l){let p=d.expandToSize??c;p===0&&(p=1),a(p)}},getSize:()=>{const{group:o}=n(),l=s(),{element:c}=i(),d=o.orientation==="horizontal"?c.offsetWidth:c.offsetHeight;return{asPercentage:l,inPixels:d}},isCollapsed:()=>{const{collapsible:o,collapsedSize:l}=r(),c=s();return o&&Oi(l,c)},resize:o=>{if(s()!==o){let l;switch(typeof o){case"number":{const{group:c}=n(),d=Xf({group:c});l=ja(o/d*100);break}case"string":{l=parseFloat(o);break}}a(l)}}}}function Uz(t){if(t.defaultPrevented)return;const{mountedGroups:e}=fs();L3(t,e).forEach(n=>{if(n.separator){const r=n.panels.find(i=>i.panelConstraints.defaultSize!==void 0);if(r){const i=r.panelConstraints.defaultSize,s=oQ({groupId:n.group.id,panelId:r.id});s&&i!==void 0&&(s.resize(i),t.preventDefault())}}})}function o1(t){const{mountedGroups:e}=fs();for(const[n]of e)if(n.separators.some(r=>r.element===t))return n;throw Error("Could not find parent Group for separator element")}function lQ({groupId:t}){const e=()=>{const{mountedGroups:n}=fs();for(const[r,i]of n)if(r.id===t)return{group:r,...i};throw Error(`Could not find Group with id "${t}"`)};return{getLayout(){const{defaultLayoutDeferred:n,layout:r}=e();return n?{}:r},setLayout(n){const{defaultLayoutDeferred:r,derivedPanelConstraints:i,group:s,layout:a,separatorToPanels:o}=e(),l=Ld({layout:n,panelConstraints:i});if(r)return a;
83if(!Md(a,l)){Li(d=>({mountedGroups:new Map(d.mountedGroups).set(s,{defaultLayoutDeferred:r,derivedPanelConstraints:i,layout:l,separatorToPanels:o})}));const c=s.panels.map(({id:d})=>d).join(",");s.inMemoryLayouts[c]=l}return l}}}function cQ(t){const{mountedGroups:e}=fs(),n=e.get(t);return dn(n,`Mounted Group ${t.id} not found`),n}function Vu(t,e){const n=o1(t),r=cQ(n),i=n.separators.find(d=>d.element===t);dn(i,"Matching separator not found");const s=r.separatorToPanels.get(i);dn(s,"Matching panels not found");const a=s.map(d=>n.panels.indexOf(d)),o=lQ({groupId:n.id}).getLayout(),l=Wg({delta:e,initialLayout:o,panelConstraints:r.derivedPanelConstraints,pivotIndices:a,prevLayout:o,trigger:"keyboard"}),c=Ld({layout:l,panelConstraints:r.derivedPanelConstraints});Md(o,c)||Li(d=>({mountedGroups:new Map(d.mountedGroups).set(n,{defaultLayoutDeferred:r.defaultLayoutDeferred,derivedPanelConstraints:r.derivedPanelConstraints,layout:c,separatorToPanels:r.separatorToPanels})}))}function jz(t){if(t.defaultPrevented)return;const e=t.currentTarget,n=o1(e);if(!n.disabled)switch(t.key){case"ArrowDown":{t.preventDefault(),n.orientation==="vertical"&&Vu(e,5);break}case"ArrowLeft":{t.preventDefault(),n.orientation==="horizontal"&&Vu(e,-5);break}case"ArrowRight":{t.preventDefault(),n.orientation==="horizontal"&&Vu(e,5);break}case"ArrowUp":{t.preventDefault(),n.orientation==="vertical"&&Vu(e,-5);break}case"End":{t.preventDefault(),Vu(e,100);break}case"Enter":{t.preventDefault();const r=o1(e),{derivedPanelConstraints:i,layout:s,separatorToPanels:a}=cQ(r),o=r.separators.find(f=>f.element===e);dn(o,"Matching separator not found");const l=a.get(o);dn(l,"Matching panels not found");const c=l[0],d=i.find(f=>f.panelId===c.id);if(dn(d,"Panel metadata not found"),d.collapsible){const f=s[c.id],p=d.collapsedSize===f?r.inMemoryLastExpandedPanelSizes[c.id]??d.minSize:d.collapsedSize;Vu(e,p-f)}break}case"F6":{t.preventDefault();const r=o1(e).separators.map(a=>a.element),i=Array.from(r).findIndex(a=>a===t.currentTarget);dn(i!==null,"Index not found");const s=t.shiftKey?i>0?i-1:r.length-1:i+1<r.length?i+1:0;r[s].focus();break}case"Home":{t.preventDefault(),Vu(e,-100);break}}}function Hz(t){if(t.defaultPrevented||t.pointerType==="mouse"&&t.button>0)return;const{mountedGroups:e}=fs(),n=L3(t,e),r=new Map;let i=!1;n.forEach(s=>{s.separator&&(i||(i=!0,s.separator.element.focus()));const a=e.get(s.group);a&&r.set(s.group,a.layout)}),Li({interactionState:{hitRegions:n,initialLayoutMap:r,pointerDownAtPoint:{x:t.clientX,y:t.clientY},state:"active"}}),n.length&&t.preventDefault()}const k5e=t=>t,Y2=()=>{},uQ=1,dQ=2,hQ=4,fQ=8,$z=3,Vz=12;let tv;function Gz(){return tv===void 0&&(tv=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(tv=!0)),tv}function C5e({cursorFlags:t,groups:e,state:n}){let r=0,i=0;switch(n){case"active":case"hover":e.forEach(s=>{if(!s.disableCursor)switch(s.orientation){case"horizontal":{r++;break}case"vertical":{i++;break}}})}if(r===0&&i===0)return null;switch(n){case"active":{if(t&&Gz()){const s=(t&uQ)!==0,a=(t&dQ)!==0,o=(t&hQ)!==0,l=(t&fQ)!==0;if(s)return o?"se-resize":l?"ne-resize":"e-resize";if(a)return o?"sw-resize":l?"nw-resize":"w-resize";if(o)return"s-resize";if(l)return"n-resize"}break}}return Gz()?r>0&&i>0?"move":r>0?"ew-resize":"ns-resize":r>0&&i>0?"grab":r>0?"col-resize":"row-resize"}const qz=new WeakMap;function B3(t){if(t.defaultView===null||t.defaultView===void 0)return;let{prevStyle:e,styleSheet:n}=qz.get(t)??{};n===void 0&&(n=new t.defaultView.CSSStyleSheet,t.adoptedStyleSheets.push(n));const{cursorFlags:r,interactionState:i}=fs();switch(i.state){case"active":case"hover":{const s=C5e({cursorFlags:r,groups:i.hitRegions.map(o=>o.group),state:i.state}),a=`*, *:hover {cursor: ${s} !important; ${i.state==="active"?"touch-action: none;":""} }`;if(e===a)return;e=a,s?n.cssRules.length===0?n.insertRule(a):n.replaceSync(a):n.cssRules.length===1&&n.deleteRule(0);break}case"inactive":{e=void 0,n.cssRules.length===1&&n.deleteRule(0);break}}qz.set(t,{prevStyle:e,styleSheet:n})}function pQ({document:t,event:e,hitRegions:n,initialLayoutMap:r,mountedGroups:i,pointerDownAtPoint:s,prevCursorFlags:a}){let o=0;const l=new Map(i);
83n.forEach(d=>{const{group:f,groupSize:p}=d,{disableCursor:g,orientation:b,panels:y}=f;let w=0;s?b==="horizontal"?w=(e.clientX-s.x)/p*100:w=(e.clientY-s.y)/p*100:b==="horizontal"?w=e.clientX<0?-100:100:w=e.clientY<0?-100:100;const S=r.get(f),{defaultLayoutDeferred:_,derivedPanelConstraints:E,layout:T,separatorToPanels:R}=i.get(f)??{defaultLayoutDeferred:!1};if(E&&S&&T&&R){const N=Wg({delta:w,initialLayout:S,panelConstraints:E,pivotIndices:d.panels.map(I=>y.indexOf(I)),prevLayout:T,trigger:"mouse-or-touch"});if(Md(N,T)){if(w!==0&&!g)switch(b){case"horizontal":{o|=w<0?uQ:dQ;break}case"vertical":{o|=w<0?hQ:fQ;break}}}else{l.set(d.group,{defaultLayoutDeferred:_,derivedPanelConstraints:E,layout:N,separatorToPanels:R});const I=d.group.panels.map(({id:P})=>P).join(",");d.group.inMemoryLayouts[I]=N}}});let c=0;e.movementX===0?c|=a&$z:c|=o&$z,e.movementY===0?c|=a&Vz:c|=o&Vz,Li({cursorFlags:c,mountedGroups:l}),B3(t)}function Wz(t){const{cursorFlags:e,interactionState:n,mountedGroups:r}=fs();n.state==="active"&&pQ({document:t.currentTarget,event:t,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:r,prevCursorFlags:e})}function Kz(t){if(t.defaultPrevented)return;const{cursorFlags:e,interactionState:n,mountedGroups:r}=fs();switch(n.state){case"active":{if(t.buttons===0){Li(i=>i.interactionState.state==="inactive"?i:{cursorFlags:0,interactionState:{state:"inactive"}}),Li(i=>({mountedGroups:new Map(i.mountedGroups)}));return}pQ({document:t.currentTarget,event:t,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:r,pointerDownAtPoint:n.pointerDownAtPoint,prevCursorFlags:e});break}default:{const i=L3(t,r);i.length===0?n.state!=="inactive"&&Li({interactionState:{state:"inactive"}}):Li({interactionState:{hitRegions:i,state:"hover"}}),B3(t.currentTarget);break}}}function Yz(t){if(t.relatedTarget instanceof HTMLIFrameElement){const{interactionState:e}=fs();e.state==="hover"&&Li({interactionState:{state:"inactive"}})}}function Xz(t){if(t.defaultPrevented||t.pointerType==="mouse"&&t.button>0)return;const{interactionState:e}=fs();e.state==="active"&&(Li({cursorFlags:0,interactionState:{state:"inactive"}}),e.hitRegions.length>0&&(B3(t.currentTarget),Li(n=>({mountedGroups:new Map(n.mountedGroups)})),t.preventDefault()))}function Zz(t){let e=0,n=0;const r={};for(const s of t)if(s.defaultSize!==void 0){e++;const a=ja(s.defaultSize);n+=a,r[s.panelId]=a}else r[s.panelId]=void 0;const i=t.length-e;if(i!==0){const s=ja((100-n)/i);for(const a of t)a.defaultSize===void 0&&(r[a.panelId]=s)}return r}function T5e(t,e,n){if(!n[0])return;const r=t.panels.find(l=>l.element===e);if(!r||!r.onResize)return;const i=Xf({group:t}),s=t.orientation==="horizontal"?r.element.offsetWidth:r.element.offsetHeight,a=r.mutableValues.prevSize,o={asPercentage:ja(s/i*100),inPixels:s};r.mutableValues.prevSize=o,r.onResize(o,r.id,a)}function A5e(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function R5e(t,e){const n=t.map(i=>i.id),r=Object.keys(e);if(n.length!==r.length)return!1;for(const i of n)if(!r.includes(i))return!1;return!0}const Xh=new Map;function N5e(t){let e=!0;dn(t.element.ownerDocument.defaultView,"Cannot register an unmounted Group");const n=t.element.ownerDocument.defaultView.ResizeObserver,r=new Set,i=new Set,s=new n(b=>{for(const y of b){const{borderBoxSize:w,target:S}=y;if(S===t.element){if(e){if(Xf({group:t})===0)return;Li(_=>{const E=_.mountedGroups.get(t);if(E){const T=Bz(t),R=E.defaultLayoutDeferred?Zz(T):E.layout,N=Ld({layout:R,panelConstraints:T});return!E.defaultLayoutDeferred&&Md(R,N)&&A5e(E.derivedPanelConstraints,T)?_:{mountedGroups:new Map(_.mountedGroups).set(t,{defaultLayoutDeferred:!1,derivedPanelConstraints:T,layout:N,separatorToPanels:E.separatorToPanels})}}return _})}}else T5e(t,S,w)}});s.observe(t.element),t.panels.forEach(b=>{dn(!r.has(b.id),`Panel ids must be unique; id "${b.id}" was used more than once`),r.add(b.id),b.onResize&&s.observe(b.element)});const a=Xf({group:t}),o=Bz(t),l=t.panels.map(({id:b})=>b).join(",");let c=t.defaultLayout;
83c&&(R5e(t.panels,c)||(c=void 0));const d=t.inMemoryLayouts[l]??c??Zz(o),f=Ld({layout:d,panelConstraints:o}),p=sQ(t),g=t.element.ownerDocument;return Li(b=>{const y=new Map;return Xh.set(g,(Xh.get(g)??0)+1),p.forEach(w=>{w.separator&&y.set(w.separator,w.panels)}),{mountedGroups:new Map(b.mountedGroups).set(t,{defaultLayoutDeferred:a===0,derivedPanelConstraints:o,layout:f,separatorToPanels:y})}}),t.separators.forEach(b=>{dn(!i.has(b.id),`Separator ids must be unique; id "${b.id}" was used more than once`),i.add(b.id),b.element.addEventListener("keydown",jz)}),Xh.get(g)===1&&(g.addEventListener("dblclick",Uz,!0),g.addEventListener("pointerdown",Hz,!0),g.addEventListener("pointerleave",Wz),g.addEventListener("pointermove",Kz),g.addEventListener("pointerout",Yz),g.addEventListener("pointerup",Xz,!0)),function(){e=!1,Xh.set(g,Math.max(0,(Xh.get(g)??0)-1)),Li(b=>{const y=new Map(b.mountedGroups);return y.delete(t),{mountedGroups:y}}),t.separators.forEach(b=>{b.element.removeEventListener("keydown",jz)}),Xh.get(g)||(g.removeEventListener("dblclick",Uz,!0),g.removeEventListener("pointerdown",Hz,!0),g.removeEventListener("pointerleave",Wz),g.removeEventListener("pointermove",Kz),g.removeEventListener("pointerout",Yz),g.removeEventListener("pointerup",Xz,!0)),s.disconnect()}}function O5e(){const[t,e]=A.useState({}),n=A.useCallback(()=>e({}),[]);return[t,n]}function P3(t){const e=A.useId();return`${t??e}`}const Kd=typeof window<"u"?A.useLayoutEffect:A.useEffect;function mg(t){const e=A.useRef(t);return Kd(()=>{e.current=t},[t]),A.useCallback((...n)=>e.current?.(...n),[e])}function F3(...t){return mg(e=>{t.forEach(n=>{if(n)switch(typeof n){case"function":{n(e);break}case"object":{n.current=e;break}}})})}function I5e(t){const e=A.useRef({...t});return Kd(()=>{for(const n in t)e.current[n]=t[n]},[t]),e.current}const mQ=A.createContext(null);function D5e(t,e){const n=A.useRef({getLayout:()=>({}),setLayout:k5e});A.useImperativeHandle(e,()=>n.current,[]),Kd(()=>{Object.assign(n.current,lQ({groupId:t}))})}function M5e({children:t,className:e,defaultLayout:n,disableCursor:r,disabled:i,elementRef:s,groupRef:a,id:o,onLayoutChange:l,onLayoutChanged:c,orientation:d="horizontal",resizeTargetMinimumSize:f={coarse:20,fine:10},style:p,...g}){const b=A.useRef({onLayoutChange:{},onLayoutChanged:{}}),y=mg(Z=>{Md(b.current.onLayoutChange,Z)||(b.current.onLayoutChange=Z,l?.(Z))}),w=mg(Z=>{Md(b.current.onLayoutChanged,Z)||(b.current.onLayoutChanged=Z,c?.(Z))}),S=P3(o),_=A.useRef(null),[E,T]=O5e(),R=A.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:f,separators:[]}),N=F3(_,s);D5e(S,a);const I=mg((Z,L)=>{const{interactionState:$,mountedGroups:D}=fs();for(const W of D.keys())if(W.id===Z){const G=D.get(W);if(G){let K=!1;return $.state==="active"&&(K=$.hitRegions.some(Y=>Y.group===W)),{flexGrow:G.layout[L]??1,pointerEvents:K?"none":void 0}}}return{flexGrow:n?.[L]??1}}),P=A.useMemo(()=>({getPanelStyles:I,id:S,orientation:d,registerPanel:Z=>{const L=R.current;return L.panels=LT(d,[...L.panels,Z]),T(),()=>{L.panels=L.panels.filter($=>$!==Z),T()}},registerSeparator:Z=>{const L=R.current;return L.separators=LT(d,[...L.separators,Z]),T(),()=>{L.separators=L.separators.filter($=>$!==Z),T()}}}),[I,S,T,d]),z=I5e({defaultLayout:n,disableCursor:r}),U=A.useRef(null);return Kd(()=>{const Z=_.current;if(Z===null)return;const L=R.current,$={defaultLayout:z.defaultLayout,disableCursor:!!z.disableCursor,disabled:!!i,element:Z,id:S,inMemoryLastExpandedPanelSizes:R.current.lastExpandedPanelSizes,inMemoryLayouts:R.current.layouts,orientation:d,panels:L.panels,resizeTargetMinimumSize:L.resizeTargetMinimumSize,separators:L.separators};U.current=$;const D=N5e($),W=fs().mountedGroups.get($);if(W){const{defaultLayoutDeferred:Y,derivedPanelConstraints:te,layout:q}=W;!Y&&te.length>0&&(y(q),w(q))}const G=Ol.addListener("interactionStateChange",Y=>{Y.state}),K=Ol.addListener("mountedGroupsChange",Y=>{const te=Y.get($);if(te){const{defaultLayoutDeferred:q,derivedPanelConstraints:j,layout:X}=te;if(q||j.length===0)return;const{interactionState:H}=fs(),ae=H.state!=="active";y(X),ae&&w(X)}});return()=>{U.current=null,D(),G(),K()}},[i,S,w,y,d,E,z]),A.useEffect(()=>{const Z=U.current;Z&&(Z.defaultLayout=n,Z.disableCursor=!!r)}),x.jsx(mQ.Provider,{value:P,children:x.jsx("div",{...g,className:e,"data-group":!0,"data-testid":S,id:S,ref:N,style:{height:"100%",width:"100%",overflow:"hidden",...p,display:"flex",flexDirection:d==="horizontal"?"row":"column",flexWrap:"nowrap"},children:t})})}M5e.displayName="Group";function z3(){const t=A.useContext(mQ);return dn(t,"Group Context not found;
83 did you render a Panel or Separator outside of a Group?"),t}function L5e(t,e){const{id:n}=z3(),r=A.useRef({collapse:Y2,expand:Y2,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:Y2});A.useImperativeHandle(e,()=>r.current,[]),Kd(()=>{Object.assign(r.current,oQ({groupId:n,panelId:t}))})}function B5e({children:t,className:e,collapsedSize:n="0%",collapsible:r=!1,defaultSize:i,elementRef:s,id:a,maxSize:o="100%",minSize:l="0%",onResize:c,panelRef:d,style:f,...p}){const g=!!a,b=P3(a),y=A.useRef(null),w=F3(y,s),{getPanelStyles:S,id:_,registerPanel:E}=z3(),T=c!==null,R=mg((I,P,z)=>{c?.(I,a,z)});Kd(()=>{const I=y.current;if(I!==null)return E({element:I,id:b,idIsStable:g,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:T?R:void 0,panelConstraints:{collapsedSize:n,collapsible:r,defaultSize:i,maxSize:o,minSize:l}})},[n,r,i,T,b,g,o,l,R,E]),L5e(b,d);const N=A.useSyncExternalStore(I=>(Ol.addListener("mountedGroupsChange",I),()=>{Ol.removeListener("mountedGroupsChange",I)}),()=>JSON.stringify(S(_,b)),()=>JSON.stringify(S(_,b)));return x.jsx("div",{...p,"data-panel":!0,"data-testid":b,id:b,ref:w,style:{...P5e,display:"flex",flexBasis:0,flexShrink:1,overflow:"hidden",...JSON.parse(N)},children:x.jsx("div",{className:e,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,...f},children:t})})}B5e.displayName="Panel";const P5e={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function F5e({layout:t,panelConstraints:e,panelId:n,panelIndex:r}){let i,s;const a=t[n],o=e.find(l=>l.panelId===n);if(o){const l=o.maxSize,c=o.collapsible?o.collapsedSize:o.minSize,d=[r,r+1];s=Ld({layout:Wg({delta:c-a,initialLayout:t,panelConstraints:e,pivotIndices:d,prevLayout:t}),panelConstraints:e})[n],i=Ld({layout:Wg({delta:l-a,initialLayout:t,panelConstraints:e,pivotIndices:d,prevLayout:t}),panelConstraints:e})[n]}return{valueControls:n,valueMax:i,valueMin:s,valueNow:a}}function z5e({children:t,className:e,elementRef:n,id:r,style:i,...s}){const a=P3(r),[o,l]=A.useState({}),[c,d]=A.useState("inactive"),f=A.useRef(null),p=F3(f,n),{id:g,orientation:b,registerSeparator:y}=z3(),w=b==="horizontal"?"vertical":"horizontal";return Kd(()=>{const S=f.current;if(S!==null){const _={element:S,id:a},E=y(_),T=Ol.addListener("interactionStateChange",N=>{d(N.state!=="inactive"&&N.hitRegions.some(I=>I.separator===_)?N.state:"inactive")}),R=Ol.addListener("mountedGroupsChange",N=>{N.forEach(({derivedPanelConstraints:I,layout:P,separatorToPanels:z},U)=>{if(U.id===g){const Z=z.get(_);if(Z){const L=Z[0],$=U.panels.indexOf(L);l(F5e({layout:P,panelConstraints:I,panelId:L.id,panelIndex:$}))}}})});return()=>{T(),R(),E()}}},[g,a,y]),x.jsx("div",{...s,"aria-controls":o.valueControls,"aria-orientation":w,"aria-valuemax":o.valueMax,"aria-valuemin":o.valueMin,"aria-valuenow":o.valueNow,children:t,className:e,"data-separator":c,"data-testid":a,id:a,ref:p,role:"separator",style:{flexBasis:"auto",...i,flexGrow:0,flexShrink:0},tabIndex:0})}z5e.displayName="Separator";let BT=[],gQ=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,n=0;e<t.length;e++)(e%2?gQ:BT).push(n=n+t[e])})();function U5e(t){if(t<768)return!1;for(let e=0,n=BT.length;;){let r=e+n>>1;if(t<BT[r])n=r;else if(t>=gQ[r])e=r+1;else return!0;
vendor: 30,315 bytes, lines 83-86
83if(e==n)return!1}}function Qz(t){return t>=127462&&t<=127487}const Jz=8205;function j5e(t,e,n=!0,r=!0){return(n?bQ:H5e)(t,e,r)}function bQ(t,e,n){if(e==t.length)return e;e&&yQ(t.charCodeAt(e))&&vQ(t.charCodeAt(e-1))&&e--;let r=X2(t,e);for(e+=eU(r);e<t.length;){let i=X2(t,e);if(r==Jz||i==Jz||n&&U5e(i))e+=eU(i),r=i;else if(Qz(i)){let s=0,a=e-2;for(;a>=0&&Qz(X2(t,a));)s++,a-=2;if(s%2==0)break;e+=2}else break}return e}function H5e(t,e,n){for(;e>0;){let r=bQ(t,e-2,n);if(r<e)return r;e--}return 0}function X2(t,e){let n=t.charCodeAt(e);if(!vQ(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return yQ(r)?(n-55296<<10)+(r-56320)+65536:n}function yQ(t){return t>=56320&&t<57344}function vQ(t){return t>=55296&&t<56320}function eU(t){return t<65536?1:2}let rn=class wQ{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=Zf(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),l1.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=Zf(this,e,n);let r=[];return this.decompose(e,n,r,0),l1.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new gg(this),s=new gg(e);for(let a=n,o=n;;){if(i.next(a),s.next(a),a=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(o+=i.value.length,i.done||o>=r)return!0}}iter(e=1){return new gg(this,e)}iterRange(e,n=this.length){return new SQ(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new _Q(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?wQ.empty:e.length<=32?new Jn(e):l1.from(Jn.split(e,[]))}};class Jn extends rn{constructor(e,n=$5e(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let s=0;;s++){let a=this.text[s],o=i+a.length;if((n?r:o)>=e)return new V5e(i,o,r,a);i=o+1,r++}}decompose(e,n,r,i){let s=e<=0&&n>=this.length?this:new Jn(tU(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let a=r.pop(),o=c1(s.text,a.text.slice(),0,s.length);if(o.length<=32)r.push(new Jn(o,a.length+s.length));else{let l=o.length>>1;r.push(new Jn(o.slice(0,l)),new Jn(o.slice(l)))}}else r.push(s)}replace(e,n,r){if(!(r instanceof Jn))return super.replace(e,n,r);[e,n]=Zf(this,e,n);let i=c1(this.text,c1(r.text,tU(this.text,0,e)),n),s=this.length+r.length-(n-e);return i.length<=32?new Jn(i,s):l1.from(Jn.split(i,[]),s)}sliceString(e,n=this.length,r=`
84`){[e,n]=Zf(this,e,n);let i="";for(let s=0,a=0;s<=n&&a<this.text.length;a++){let o=this.text[a],l=s+o.length;s>e&&a&&(i+=r),e<l&&n>s&&(i+=o.slice(Math.max(0,e-s),n-s)),s=l+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let s of e)r.push(s),i+=s.length+1,r.length==32&&(n.push(new Jn(r,i)),r=[],i=-1);return i>-1&&n.push(new Jn(r,i)),n}}let l1=class tf extends rn{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let s=0;;s++){let a=this.children[s],o=i+a.length,l=r+a.lines-1;if((n?l:o)>=e)return a.lineInner(e,n,r,i);i=o+1,r=l+1}}decompose(e,n,r,i){for(let s=0,a=0;a<=n&&s<this.children.length;s++){let o=this.children[s],l=a+o.length;if(e<=l&&n>=a){let c=i&((a<=e?1:0)|(l>=n?2:0));a>=e&&l<=n&&!c?r.push(o):o.decompose(e-a,n-a,r,c)}a=l+1}}replace(e,n,r){if([e,n]=Zf(this,e,n),r.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let a=this.children[i],o=s+a.length;if(e>=s&&n<=o){let l=a.replace(e-s,n-s,r),c=this.lines-a.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let d=this.children.slice();return d[i]=l,new tf(d,this.length-(n-e)+r.length)}return super.replace(s,o,l)}s=o+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=`
85`){[e,n]=Zf(this,e,n);let i="";for(let s=0,a=0;s<this.children.length&&a<=n;s++){let o=this.children[s],l=a+o.length;a>e&&s&&(i+=r),e<l&&n>a&&(i+=o.sliceString(e-a,n-a,r)),a=l+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof tf))return 0;let r=0,[i,s,a,o]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,s+=n){if(i==a||s==o)return r;let l=this.children[i],c=e.children[s];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let g of e)r+=g.lines;if(r<32){let g=[];for(let b of e)b.flatten(g);return new Jn(g,n)}let i=Math.max(32,r>>5),s=i<<1,a=i>>1,o=[],l=0,c=-1,d=[];function f(g){let b;if(g.lines>s&&g instanceof tf)for(let y of g.children)f(y);else g.lines>a&&(l>a||!l)?(p(),o.push(g)):g instanceof Jn&&l&&(b=d[d.length-1])instanceof Jn&&g.lines+b.lines<=32?(l+=g.lines,c+=g.length+1,d[d.length-1]=new Jn(b.text.concat(g.text),b.length+1+g.length)):(l+g.lines>i&&p(),l+=g.lines,c+=g.length+1,d.push(g))}function p(){l!=0&&(o.push(d.length==1?d[0]:tf.from(d,c)),c=-1,l=d.length=0)}for(let g of e)f(g);return p(),o.length==1?o[0]:new tf(o,n)}};rn.empty=new Jn([""],0);function $5e(t){let e=-1;for(let n of t)e+=n.length+1;return e}function c1(t,e,n=0,r=1e9){for(let i=0,s=0,a=!0;s<t.length&&i<=r;s++){let o=t[s],l=i+o.length;l>=n&&(l>r&&(o=o.slice(0,r-i)),i<n&&(o=o.slice(n-i)),a?(e[e.length-1]+=o,a=!1):e.push(o)),i=l+1}return e}function tU(t,e,n){return c1(t,[""],e,n)}class gg{constructor(e,n=1){this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[n>0?1:(e instanceof Jn?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],s=this.offsets[r],a=s>>1,o=i instanceof Jn?i.text.length:i.children.length;if(a==(n>0?o:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=`
86`,this;e--}else if(i instanceof Jn){let l=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[a+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Jn?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class SQ{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new gg(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class _Q{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(rn.prototype[Symbol.iterator]=function(){return this.iter()},gg.prototype[Symbol.iterator]=SQ.prototype[Symbol.iterator]=_Q.prototype[Symbol.iterator]=function(){return this});class V5e{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}}function Zf(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}function Cr(t,e,n=!0,r=!0){return j5e(t,e,n,r)}function G5e(t){return t>=56320&&t<57344}function q5e(t){return t>=55296&&t<56320}function Pa(t,e){let n=t.charCodeAt(e);if(!q5e(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return G5e(r)?(n-55296<<10)+(r-56320)+65536:n}function U3(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function El(t){return t<65536?1:2}const PT=/\r\n?|\n/;var di=(function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t})(di||(di={}));class zo{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;n<this.sections.length;n+=2)e+=this.sections[n];return e}get newLength(){let e=0;for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n+1];e+=r<0?this.sections[n]:r}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let n=0,r=0,i=0;n<this.sections.length;){let s=this.sections[n++],a=this.sections[n++];a<0?(e(r,i,s),i+=s):i+=a,r+=s}}iterChangedRanges(e,n=!1){FT(this,e,n)}get invertedDesc(){let e=[];for(let n=0;n<this.sections.length;){let r=this.sections[n++],i=this.sections[n++];i<0?e.push(r,i):e.push(i,r)}return new zo(e)}composeDesc(e){return this.empty?e:e.empty?this:xQ(this,e)}mapDesc(e,n=!1){return e.empty?this:zT(this,e,n)}mapPos(e,n=-1,r=di.Simple){let i=0,s=0;for(let a=0;a<this.sections.length;){let o=this.sections[a++],l=this.sections[a++],c=i+o;if(l<0){if(c>e)return s+(e-i);s+=o}else{if(r!=di.Simple&&c>=e&&(r==di.TrackDel&&i<e&&c>e||r==di.TrackBefore&&i<e||r==di.TrackAfter&&c>e))return null;if(c>e||c==e&&n<0&&!o)return e==i||n<0?s:s+l;s+=l}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,n=e){for(let r=0,i=0;r<this.sections.length&&i<=n;){let s=this.sections[r++],a=this.sections[r++],o=i+s;if(a>=0&&i<=n&&o>=e)return i<e&&o>n?"cover":!0;i=o}return!1}toString(){let e="";for(let n=0;n<this.sections.length;){let r=this.sections[n++],i=this.sections[n++];e+=(e?" ":"")+r+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new zo(e)}static create(e){return new zo(e)}}class Er extends zo{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return FT(this,(n,r,i,s,a)=>e=e.replace(i,i+(r-n),a),!1),e}mapDesc(e,n=!1){return zT(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,s=0;i<n.length;i+=2){let a=n[i],o=n[i+1];if(o>=0){n[i]=o,n[i+1]=a;let l=i>>1;for(;r.length<l;)r.push(rn.empty);r.push(a?e.slice(s,s+a):rn.empty)}s+=a}return new Er(n,r)}compose(e){return this.empty?e:e.empty?this:xQ(this,e,!0)}map(e,n=!1){return e.empty?this:zT(this,e,n,!0)}iterChanges(e,n=!1){FT(this,e,n)}get desc(){return zo.create(this.sections)}filter(e){let n=[],r=[],i=[],s=new Kg(this);e:for(let a=0,o=0;;){let l=a==e.length?1e9:e[a++];for(;o<l||o==l&&s.len==0;){if(s.done)break e;let d=Math.min(s.len,l-o);ci(i,d,-1);let f=s.ins==-1?-1:s.off==0?s.ins:0;ci(n,d,f),f>0&&zc(r,n,s.text),s.forward(d),o+=d}let c=e[a++];for(;o<c;){if(s.done)break e;let d=Math.min(s.len,c-o);ci(n,d,-1),ci(i,d,s.ins==-1?-1:s.off==0?s.ins:0),s.forward(d),o+=d}}return{changes:new Er(n,r),filtered:zo.create(i)}}toJSON(){let e=[];for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n],i=this.sections[n+1];i<0?e.push(r):i==0?e.push([r]):e.push([r].concat(this.inserted[n>>1].toJSON()))}return e}static of(e,n,r){let i=[],s=[],a=0,o=null;function l(d=!1){if(!d&&!i.length)return;a<n&&ci(i,n-a,-1);let f=new Er(i,s);o=o?o.compose(f.map(o)):f,i=[],s=[],a=0}function c(d){if(Array.isArray(d))for(let f of d)c(f);else if(d instanceof Er){if(d.length!=n)throw new RangeError(`Mismatched change set length (got ${d.length}, expected ${n})`);l(),o=o?o.compose(d.map(o)):d}else{let{from:f,to:p=f,insert:g}=d;if(f>p||f<0||p>n)throw new RangeError(`Invalid change range ${f} to ${p} (in doc of length ${n})`);let b=g?typeof g=="string"?rn.of(g.split(r||PT)):g:rn.empty,y=b.length;if(f==p&&y==0)return;f<a&&l(),f>a&&ci(i,f-a,-1),ci(i,p-f,y),zc(s,i,b),a=p}}return c(e),l(!o),o}static empty(e){return new Er(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;i<e.length;i++){let s=e[i];if(typeof s=="number")n.push(s,-1);else{if(!Array.isArray(s)||typeof s[0]!="number"||s.some((a,o)=>o&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)n.push(s[0],0);else{for(;r.length<i;)r.push(rn.empty);r[i]=rn.of(s.slice(1)),n.push(s[0],r[i].length)}}}return new Er(n,r)}static createSet(e,n){return new Er(e,n)}}function ci(t,e,n,r=!1){if(e==0&&n<=0)return;let i=t.length-2;i>=0&&n<=0&&n==t[i+1]?t[i]+=e:i>=0&&e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}function zc(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r<t.length)t[t.length-1]=t[t.length-1].append(n);else{for(;t.length<r;)t.push(rn.empty);t.push(n)}}function FT(t,e,n){let r=t.inserted;for(let i=0,s=0,a=0;a<t.sections.length;){let o=t.sections[a++],l=t.sections[a++];if(l<0)i+=o,s+=o;else{let c=i,d=s,f=rn.empty;for(;c+=o,d+=l,l&&r&&(f=f.append(r[a-2>>1])),!(n||a==t.sections.length||t.sections[a+1]<0);)o=t.sections[a++],l=t.sections[a++];e(i,c,s,d,f),i=c,s=d}}}function zT(t,e,n,r=!1){let i=[],s=r?[]:null,a=new Kg(t),o=new Kg(e);for(let l=-1;;){if(a.done&&o.len||o.done&&a.len)throw new Error("Mismatched change set lengths");if(a.ins==-1&&o.ins==-1){let c=Math.min(a.len,o.len);ci(i,c,-1),a.forward(c),o.forward(c)}else if(o.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(o.len<a.len||o.len==a.len&&!n))){let c=o.len;for(ci(i,o.ins,-1);c;){let d=Math.min(a.len,c);a.ins>=0&&l<a.i&&a.len<=d&&(ci(i,0,a.ins),s&&zc(s,i,a.text),l=a.i),a.forward(d),c-=d}o.next()}else if(a.ins>=0){let c=0,d=a.len;for(;d;)if(o.ins==-1){let f=Math.min(d,o.len);c+=f,d-=f,o.forward(f)}else if(o.ins==0&&o.len<d)d-=o.len,o.next();else break;ci(i,c,l<a.i?a.ins:0),s&&l<a.i&&zc(s,i,a.text),l=a.i,a.forward(a.len-d)}else{if(a.done&&o.done)return s?Er.createSet(i,s):zo.create(i);throw new Error("Mismatched change set lengths")}}}function xQ(t,e,n=!1){let r=[],i=n?[]:null,s=new Kg(t),a=new Kg(e);for(let o=!1;;){if(s.done&&a.done)return i?Er.createSet(r,i):zo.create(r);if(s.ins==0)ci(r,s.len,0,o),s.next();else if(a.len==0&&!a.done)ci(r,0,a.ins,o),i&&zc(i,r,a.text),a.next();else{if(s.done||a.done)throw new Error("Mismatched change set lengths");{let l=Math.min(s.len2,a.len),c=r.length;if(s.ins==-1){let d=a.ins==-1?-1:a.off?0:a.ins;ci(r,l,d,o),i&&d&&zc(i,r,a.text)}else a.ins==-1?(ci(r,s.off?0:s.len,l,o),i&&zc(i,r,s.textBit(l))):(ci(r,s.off?0:s.len,a.off?0:a.ins,o),i&&!a.off&&zc(i,r,a.text));o=(s.ins>l||a.ins>=0&&a.len>l)&&(o||r.length>c),s.forward2(l),a.forward(l)}}}}class Kg{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length?rn.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?rn.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class ud{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new ud(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return De.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return De.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return De.range(e.anchor,e.head)}static create(e,n,r){return new ud(e,n,r)}}class De{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:De.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(e.ranges[r],n))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new De([this.main],0)}addRange(e,n=!0){return De.create([e].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(e,n=this.mainIndex){let r=this.ranges.slice();return r[n]=e,De.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new De(e.ranges.map(n=>ud.fromJSON(n)),e.main)}static single(e,n=e){return new De([De.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;i<e.length;i++){let s=e[i];if(s.empty?s.from<=r:s.from<r)return De.normalized(e.slice(),n);r=s.to}return new De(e,n)}static cursor(e,n=0,r,i){return ud.create(e,e,(n==0?0:n<0?8:16)|(r==null?7:Math.min(6,r))|(i??16777215)<<6)}static range(e,n,r,i){let s=(r??16777215)<<6|(i==null?7:Math.min(6,i));return n<e?ud.create(n,e,48|s):ud.create(e,n,(n>e?8:0)|s)}static normalized(e,n=0){let r=e[n];e.sort((i,s)=>i.from-s.from),n=e.indexOf(r);for(let i=1;i<e.length;i++){let s=e[i],a=e[i-1];if(s.empty?s.from<=a.to:s.from<a.to){let o=a.from,l=Math.max(s.to,a.to);i<=n&&n--,e.splice(--i,2,s.anchor>s.head?De.range(l,o):De.range(o,l))}}return new De(e,n)}}function EQ(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let j3=0;class at{constructor(e,n,r,i,s){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=j3++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new at(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:H3),!!e.static,e.enables)}of(e){return new u1([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new u1(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new u1(e,this,2,n)}from(e,n){return n||(n=r=>r),this.compute([e],r=>n(r.field(e)))}}function H3(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}class u1{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=j3++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,s=this.id,a=e[s]>>1,o=this.type==2,l=!1,c=!1,d=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:(((n=e[f.id])!==null&&n!==void 0?n:1)&1)==0&&d.push(e[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||UT(f,d)){let g=r(f);if(o?!nU(g,f.values[a],i):!i(g,f.values[a]))return f.values[a]=g,1}return 0},reconfigure:(f,p)=>{let g,b=p.config.address[s];if(b!=null){let y=lw(p,b);if(this.dependencies.every(w=>w instanceof at?p.facet(w)===f.facet(w):w instanceof _i?p.field(w,!1)==f.field(w,!1):!0)||(o?nU(g=r(f),y,i):i(g=r(f),y)))return f.values[a]=y,0}else g=r(f);return f.values[a]=g,1}}}}function nU(t,e,n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1;return!0}function UT(t,e){let n=!1;for(let r of e)bg(t,r)&1&&(n=!0);return n}function W5e(t,e,n){let r=n.map(l=>t[l.id]),i=n.map(l=>l.type),s=r.filter(l=>!(l&1)),a=t[e.id]>>1;function o(l){let c=[];for(let d=0;d<r.length;d++){let f=lw(l,r[d]);if(i[d]==2)for(let p of f)c.push(p);else c.push(f)}return e.combine(c)}return{create(l){for(let c of r)bg(l,c);return l.values[a]=o(l),1},update(l,c){if(!UT(l,s))return 0;let d=o(l);return e.compare(d,l.values[a])?0:(l.values[a]=d,1)},reconfigure(l,c){let d=UT(l,r),f=c.config.facets[e.id],p=c.facet(e);if(f&&!d&&H3(n,f))return l.values[a]=p,0;let g=o(l);return e.compare(g,p)?(l.values[a]=p,0):(l.values[a]=g,1)}}}const nv=at.define({static:!0});class _i{constructor(e,n,r,i,s){this.id=e,this.createF=n,this.updateF=r,this.compareF=i,this.spec=s,this.provides=void 0}static define(e){let n=new _i(j3++,e.create,e.update,e.compare||((r,i)=>r===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(nv).find(r=>r.field==this);return(n?.create||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let s=r.values[n],a=this.updateF(s,i);return this.compareF(s,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>{let s=r.facet(nv),a=i.facet(nv),o;return(o=s.find(l=>l.field==this))&&o!=a.find(l=>l.field==this)?(r.values[n]=o.create(r),1):i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}}init(e){return[this,nv.of({field:this,create:e})]}get extension(){return this}}const td={lowest:4,low:3,default:2,high:1,highest:0};function Bm(t){return e=>new kQ(e,t)}const mu={highest:Bm(td.highest),high:Bm(td.high),default:Bm(td.default),low:Bm(td.low),lowest:Bm(td.lowest)};class kQ{constructor(e,n){this.inner=e,this.prec=n}}class Bd{of(e){return new jT(this,e)}reconfigure(e){return Bd.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class jT{constructor(e,n){this.compartment=e,this.inner=n}}class ow{constructor(e,n,r,i,s,a){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=s,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(e){let n=this.address[e.id];return n==null?e.default:this.staticValues[n>>1]}static resolve(e,n,r){let i=[],s=Object.create(null),a=new Map;for(let p of K5e(e,n,a))p instanceof _i?i.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),l=[],c=[];for(let p of i)o[p.id]=c.length<<1,c.push(g=>p.slot(g));let d=r?.config.facets;for(let p in s){let g=s[p],b=g[0].facet,y=d&&d[p]||[];if(g.every(w=>w.type==0))if(o[b.id]=l.length<<1|1,H3(y,g))l.push(r.facet(b));else{let w=b.combine(g.map(S=>S.value));l.push(r&&b.compare(w,r.facet(b))?r.facet(b):w)}else{for(let w of g)w.type==0?(o[w.id]=l.length<<1|1,l.push(w.value)):(o[w.id]=c.length<<1,c.push(S=>w.dynamicSlot(S)));o[b.id]=c.length<<1,c.push(w=>W5e(w,b,g))}}let f=c.map(p=>p(o));return new ow(e,a,f,o,l,s)}}function K5e(t,e,n){let r=[[],[],[],[],[]],i=new Map;function s(a,o){let l=i.get(a);if(l!=null){if(l<=o)return;let c=r[l].indexOf(a);c>-1&&r[l].splice(c,1),a instanceof jT&&n.delete(a.compartment)}if(i.set(a,o),Array.isArray(a))for(let c of a)s(c,o);else if(a instanceof jT){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;n.set(a.compartment,c),s(c,o)}else if(a instanceof kQ)s(a.inner,a.prec);else if(a instanceof _i)r[o].push(a),a.provides&&s(a.provides,o);else if(a instanceof u1)r[o].push(a),a.facet.extensions&&s(a.facet.extensions,td.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,o)}}return s(t,td.default),r.reduce((a,o)=>a.concat(o))}function bg(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}function lw(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const CQ=at.define(),HT=at.define({combine:t=>t.some(e=>e),static:!0}),TQ=at.define({combine:t=>t.length?t[0]:void 0,static:!0}),AQ=at.define(),RQ=at.define(),NQ=at.define(),OQ=at.define({combine:t=>t.length?t[0]:!1});class Gl{constructor(e,n){this.type=e,this.value=n}static define(){return new Y5e}}class Y5e{of(e){return new Gl(this,e)}}class X5e{constructor(e){this.map=e}of(e){return new Pt(this,e)}}class Pt{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new Pt(this.type,n)}is(e){return this.type==e}static define(e={}){return new X5e(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let s=i.map(n);s&&r.push(s)}return r}}Pt.reconfigure=Pt.define();Pt.appendConfig=Pt.define();class hr{constructor(e,n,r,i,s,a){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=s,this.scrollIntoView=a,this._doc=null,this._state=null,r&&EQ(r,n.newLength),s.some(o=>o.type==hr.time)||(this.annotations=s.concat(hr.time.of(Date.now())))}static create(e,n,r,i,s,a){return new hr(e,n,r,i,s,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(hr.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}hr.time=Gl.define();hr.userEvent=Gl.define();hr.addToHistory=Gl.define();hr.remote=Gl.define();function Z5e(t,e){let n=[];for(let r=0,i=0;;){let s,a;if(r<t.length&&(i==e.length||e[i]>=t[r]))s=t[r++],a=t[r++];else if(i<e.length)s=e[i++],a=e[i++];else return n;!n.length||n[n.length-1]<s?n.push(s,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function IQ(t,e,n){var r;let i,s,a;return n?(i=e.changes,s=Er.empty(e.changes.length),a=t.changes.compose(e.changes)):(i=e.changes.map(t.changes),s=t.changes.mapDesc(e.changes,!0),a=t.changes.compose(i)),{changes:a,selection:e.selection?e.selection.map(s):(r=t.selection)===null||r===void 0?void 0:r.map(i),effects:Pt.mapEffects(t.effects,i).concat(Pt.mapEffects(e.effects,s)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function $T(t,e,n){let r=e.selection,i=Nf(e.annotations);return e.userEvent&&(i=i.concat(hr.userEvent.of(e.userEvent))),{changes:e.changes instanceof Er?e.changes:Er.of(e.changes||[],n,t.facet(TQ)),selection:r&&(r instanceof De?r:De.single(r.anchor,r.head)),effects:Nf(e.effects),annotations:i,scrollIntoView:!!e.scrollIntoView}}function DQ(t,e,n){let r=$T(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(n=!1);for(let s=1;s<e.length;s++){e[s].filter===!1&&(n=!1);let a=!!e[s].sequential;r=IQ(r,$T(t,e[s],a?r.changes.newLength:t.doc.length),a)}let i=hr.create(t,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return J5e(n?Q5e(i):i)}function Q5e(t){let e=t.startState,n=!0;for(let i of e.facet(AQ)){let s=i(t);if(s===!1){n=!1;break}Array.isArray(s)&&(n=n===!0?s:Z5e(n,s))}if(n!==!0){let i,s;if(n===!1)s=t.changes.invertedDesc,i=Er.empty(e.doc.length);else{let a=t.changes.filter(n);i=a.changes,s=a.filtered.mapDesc(a.changes).invertedDesc}t=hr.create(e,i,t.selection&&t.selection.map(s),Pt.mapEffects(t.effects,s),t.annotations,t.scrollIntoView)}let r=e.facet(RQ);for(let i=r.length-1;i>=0;i--){let s=r[i](t);s instanceof hr?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof hr?t=s[0]:t=DQ(e,Nf(s),!1)}return t}function J5e(t){let e=t.startState,n=e.facet(NQ),r=t;for(let i=n.length-1;i>=0;i--){let s=n[i](t);s&&Object.keys(s).length&&(r=IQ(r,$T(e,s,t.changes.newLength),!0))}return r==t?t:hr.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}const eNe=[];function Nf(t){return t==null?eNe:Array.isArray(t)?t:[t]}var fr=(function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t})(fr||(fr={}));const tNe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let VT;try{VT=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function nNe(t){if(VT)return VT.test(t);for(let e=0;e<t.length;e++){let n=t[e];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||tNe.test(n)))return!0}return!1}function rNe(t){return e=>{if(!/\S/.test(e))return fr.Space;if(nNe(e))return fr.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return fr.Word;return fr.Other}}class Xt{constructor(e,n,r,i,s,a){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=s,a&&(a._state=this);for(let o=0;o<this.config.dynamicSlots.length;o++)bg(this,o<<1);this.computeSlot=null}field(e,n=!0){let r=this.config.address[e.id];if(r==null){if(n)throw new RangeError("Field is not present in this state");return}return bg(this,r),lw(this,r)}update(...e){return DQ(this,e,!0)}applyTransaction(e){let n=this.config,{base:r,compartments:i}=n;for(let o of e.effects)o.is(Bd.reconfigure)?(n&&(i=new Map,n.compartments.forEac
vendor: 3,213 bytes, lines 86-87
86h((l,c)=>i.set(c,l)),n=null),i.set(o.value.compartment,o.value.extension)):o.is(Pt.reconfigure)?(n=null,r=o.value):o.is(Pt.appendConfig)&&(n=null,r=Nf(r).concat(o.value));let s;n?s=e.startState.values.slice():(n=ow.resolve(r,i,this),s=new Xt(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=e.startState.facet(HT)?e.newSelection:e.newSelection.asSingle();new Xt(n,e.newDoc,a,s,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:De.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),s=[r.range],a=Nf(r.effects);for(let o=1;o<n.ranges.length;o++){let l=e(n.ranges[o]),c=this.changes(l.changes),d=c.map(i);for(let p=0;p<o;p++)s[p]=s[p].map(d);let f=i.mapDesc(c,!0);s.push(l.range.map(f)),i=i.compose(d),a=Pt.mapEffects(a,d).concat(Pt.mapEffects(Nf(l.effects),f))}return{changes:i,selection:De.create(s,n.mainIndex),effects:a}}changes(e=[]){return e instanceof Er?e:Er.of(e,this.doc.length,this.facet(Xt.lineSeparator))}toText(e){return rn.of(e.split(this.facet(Xt.lineSeparator)||PT))}sliceDoc(e=0,n=this.doc.length){return this.doc.sliceString(e,n,this.lineBreak)}facet(e){let n=this.config.address[e.id];return n==null?e.default:(bg(this,n),lw(this,n))}toJSON(e){let n={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let r in e){let i=e[r];i instanceof _i&&this.config.address[i.id]!=null&&(n[r]=i.spec.toJSON(this.field(e[r]),this))}return n}static fromJSON(e,n={},r){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(r){for(let s in r)if(Object.prototype.hasOwnProperty.call(e,s)){let a=r[s],o=e[s];i.push(a.init(l=>a.spec.fromJSON(o,l)))}}return Xt.create({doc:e.doc,selection:De.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=ow.resolve(e.extensions||[],new Map),r=e.doc instanceof rn?e.doc:rn.of((e.doc||"").split(n.staticFacet(Xt.lineSeparator)||PT)),i=e.selection?e.selection instanceof De?e.selection:De.single(e.selection.anchor,e.selection.head):De.single(0);return EQ(i,r.length),n.staticFacet(HT)||(i=i.asSingle()),new Xt(n,r,i,n.dynamicSlots.map(()=>null),(s,a)=>a.create(s),null)}get tabSize(){return this.facet(Xt.tabSize)}get lineBreak(){return this.facet(Xt.lineSeparator)||`
87`}get readOnly(){return this.facet(OQ)}phrase(e,...n){for(let r of this.facet(Xt.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>n.length?r:n[s-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let s of this.facet(CQ))for(let a of s(this,n,r))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){let n=this.languageDataAt("wordChars",e);return rNe(n.length?n[0]:"")}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),a=e-r,o=e-r;for(;a>0;){let l=Cr(n,a,!1);if(s(n.slice(l,a))!=fr.Word)break;a=l}for(;o<i;){let l=Cr(n,o);if(s(n.slice(o,l))!=fr.Word)break;o=l}return a==o?null:De.range(a+r,o+r)}
vendor: 10,166 bytes, line 87
87}Xt.allowMultipleSelections=HT;Xt.tabSize=at.define({combine:t=>t.length?t[0]:4});Xt.lineSeparator=TQ;Xt.readOnly=OQ;Xt.phrases=at.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}});Xt.languageData=CQ;Xt.changeFilter=AQ;Xt.transactionFilter=RQ;Xt.transactionExtender=NQ;Bd.reconfigure=Pt.define();function Yd(t,e,n={}){let r={};for(let i of t)for(let s of Object.keys(i)){let a=i[s],o=r[s];if(o===void 0)r[s]=a;else if(!(o===a||a===void 0))if(Object.hasOwnProperty.call(n,s))r[s]=n[s](o,a);else throw new Error("Config merge conflict for field "+s)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}class nu{eq(e){return this==e}range(e,n=e){return GT.create(e,n,this)}}nu.prototype.startSide=nu.prototype.endSide=0;nu.prototype.point=!1;nu.prototype.mapMode=di.TrackDel;function $3(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)}let GT=class MQ{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new MQ(e,n,r)}};function qT(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class V3{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let s=r?this.to:this.from;for(let a=i,o=s.length;;){if(a==o)return a;let l=a+o>>1,c=s[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==a)return c>=0?a:o;c>=0?o=l:a=l+1}}between(e,n,r,i){for(let s=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,s);s<a;s++)if(i(this.from[s]+e,this.to[s]+e,this.value[s])===!1)return!1}map(e,n){let r=[],i=[],s=[],a=-1,o=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],d=this.from[l]+e,f=this.to[l]+e,p,g;if(d==f){let b=n.mapPos(d,c.startSide,c.mapMode);if(b==null||(p=g=b,c.startSide!=c.endSide&&(g=n.mapPos(d,c.endSide),g<p)))continue}else if(p=n.mapPos(d,c.startSide),g=n.mapPos(f,c.endSide),p>g||p==g&&c.startSide>0&&c.endSide<=0)continue;(g-p||c.endSide-c.startSide)<0||(a<0&&(a=p),c.point&&(o=Math.max(o,g-p)),r.push(c),i.push(p-a),s.push(g-a))}return{mapped:r.length?new V3(i,s,r,o):null,pos:a}}}class Ut{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new Ut(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:s=this.length}=e,a=e.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(qT)),this.isEmpty)return n.length?Ut.of(n):this;let o=new LQ(this,null,-1).goto(0),l=0,c=[],d=new Pd;for(;o.value||l<n.length;)if(l<n.length&&(o.from-n[l].from||o.startSide-n[l].value.startSide)>=0){let f=n[l++];d.addInner(f.from,f.to,f.value)||c.push(f)}else o.rangeIndex==1&&o.chunkIndex<this.chunk.length&&(l==n.length||this.chunkEnd(o.chunkIndex)<n[l].from)&&(!a||i>this.chunkEnd(o.chunkIndex)||s<this.chunkPos[o.chunkIndex])&&d.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!a||i>o.to||s<o.from||a(o.from,o.to,o.value))&&(d.addInner(o.from,o.to,o.value)||c.push(GT.create(o.from,o.to,o.value))),o.next());return d.finishInner(this.nextLayer.isEmpty&&!c.length?Ut.empty:this.nextLayer.update({add:c,filter:a,filterFrom:i,filterTo:s}))}map(e){if(e.empty||this.isEmpty)return this;let n=[],r=[],i=-1;for(let a=0;a<this.chunk.length;a++){let o=this.chunkPos[a],l=this.chunk[a],c=e.touchesRange(o,o+l.length);if(c===!1)i=Math.max(i,l.maxPoint),n.push(l),r.push(e.mapPos(o));else if(c===!0){let{mapped:d,pos:f}=l.map(o,e);d&&(i=Math.max(i,d.maxPoint),n.push(d),r.push(f))}}let s=this.nextLayer.map(e);return n.length==0?s:new Ut(r,n,s||Ut.empty,i)}between(e,n,r){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],a=this.chunk[i];if(n>=s&&e<=s+a.length&&a.between(s,e-s,n-s,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return Yg.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return Yg.from(e).goto(n)}static compare(e,n,r,i,s=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=s),o=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=s),l=rU(a,o,r),c=new Pm(a,l,s),d=new Pm(o,l,s);r.iterGaps((f,p,g)=>iU(c,f,d,p,g,i)),r.empty&&r.length==0&&iU(c,0,d,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let s=e.filter(d=>!d.isEmpty&&n.indexOf(d)<0),a=n.filter(d=>!d.isEmpty&&e.indexOf(d)<0);if(s.length!=a.length)return!1;if(!s.length)return!0;let o=rU(s,a),l=new Pm(s,o,0).goto(r),c=new Pm(a,o,0).goto(r);for(;;){if(l.to!=c.to||!WT(l.active,c.active)||l.point&&(!c.point||!$3(l.point,c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(e,n,r,i,s=-1){let a=new Pm(e,null,s).goto(n),o=n,l=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let d=a.activeForPoint(a.to),f=a.pointFrom<n?d.length+1:a.point.startSide<0?d.length:Math.min(d.length,l);i.point(o,c,a.point,d,f,a.pointRank),l=Math.min(a.openEnd(c),d.length)}else c>o&&(i.span(o,c,a.active,l),l=a.openEnd(c));if(a.to>r)return l+(a.point&&a.to>r?1:0);o=a.to,a.next()}}static of(e,n=!1){let r=new Pd;for(let i of e instanceof GT?[e]:n?iNe(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return Ut.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=Ut.empty;i=i.nextLayer)n=new Ut(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}}Ut.empty=new Ut([],[],null,-1);function iNe(t){if(t.length>1)for(let e=t[0],n=1;n<t.length;n++){let r=t[n];if(qT(e,r)>0)return t.slice().sort(qT);e=r}return t}Ut.empty.nextLayer=Ut.empty;class Pd{finishChunk(e){this.chunks.push(new V3(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new Pd)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(Ut.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=Ut.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function rU(t,e,n){let r=new Map;for(let s of t)for(let a=0;a<s.chunk.length;a++)s.chunk[a].maxPoint<=0&&r.set(s.chunk[a],s.chunkPos[a]);let i=new Set;for(let s of e)for(let a=0;a<s.chunk.length;a++){let o=r.get(s.chunk[a]);o!=null&&(n?n.mapPos(o):o)==s.chunkPos[a]&&!n?.touchesRange(o,o+s.chunk[a].length)&&i.add(s.chunk[a])}return i}class LQ{constructor(e,n,r,i=0){this.layer=e,this.skip=n,this.minPoint=r,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,n=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,n,!1),this}gotoInner(e,n,r){for(;this.chunkIndex<this.layer.chunk.length;){let i=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(i)||this.layer.chunkEnd(this.chunkIndex)<e||i.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],n,!0);(!r||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,n){(this.to-e||this.endSide-n)<0&&this.gotoInner(e,n,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],n=this.layer.chunk[this.chunkIndex],r=e+n.from[this.rangeIndex];if(this.from=r,this.to=e+n.to[this.rangeIndex],this.value=n.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Yg{constructor(e){this.heap=e}static from(e,n=null,r=-1){let i=[];for(let s=0;s<e.length;s++)for(let a=e[s];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new LQ(a,n,r,s));return i.length==1?i[0]:new Yg(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)Z2(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)Z2(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Z2(this.heap,0)}}}function Z2(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];
vendor: 6,718 bytes, lines 87-89
87if(r+1<t.length&&i.compare(t[r+1])>=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}class Pm{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Yg.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){rv(this.active,e),rv(this.activeTo,e),rv(this.activeRank,e),this.minActive=sU(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:s}=this.cursor;for(;n<this.activeRank.length&&(s-this.activeRank[n]||i-this.activeTo[n])>0;)n++;iv(this.active,n,r),iv(this.activeTo,n,i),iv(this.activeRank,n,s),e&&iv(e,n,this.cursor.from),this.minActive=sU(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&rv(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=s,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=s.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(r){this.openStart=0;for(let i=r.length-1;i>=0&&r[i]<e;i--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let n=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}}function iU(t,e,n,r,i,s){t.goto(e),n.goto(r);let a=r+i,o=r,l=r-e,c=!!s.boundChange;for(let d=!1;;){let f=t.to+l-n.to,p=f||t.endSide-n.endSide,g=p<0?t.to+l:n.to,b=Math.min(g,a);if(t.point||n.point?(t.point&&n.point&&$3(t.point,n.point)&&WT(t.activeForPoint(t.to),n.activeForPoint(n.to))||s.comparePoint(o,b,t.point,n.point),d=!1):(d&&s.boundChange(o),b>o&&!WT(t.active,n.active)&&s.compareRange(o,b,t.active,n.active),c&&b<a&&(f||t.openEnd(g)!=n.openEnd(g))&&(d=!0)),g>a)break;o=g,p<=0&&t.next(),p>=0&&n.next()}}function WT(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!=e[n]&&!$3(t[n],e[n]))return!1;return!0}function rv(t,e){for(let n=e,r=t.length-1;n<r;n++)t[n]=t[n+1];t.pop()}function iv(t,e,n){for(let r=t.length-1;r>=e;r--)t[r+1]=t[r];t[e]=n}function sU(t,e){let n=-1,r=1e9;for(let i=0;i<e.length;i++)(e[i]-r||t[i].endSide-t[n].endSide)<0&&(n=i,r=e[i]);return n}function US(t,e,n=t.length){let r=0;for(let i=0;i<n&&i<t.length;)t.charCodeAt(i)==9?(r+=e-r%e,i++):(r++,i=Cr(t,i));return r}function sNe(t,e,n,r){for(let i=0,s=0;;){if(s>=e)return i;if(i==t.length)break;s+=t.charCodeAt(i)==9?n-s%n:1,i=Cr(t,i)}return t.length}const KT="ͼ",aU=typeof Symbol>"u"?"__"+KT:Symbol.for(KT),YT=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),oU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class ru{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function s(a,o,l,c){let d=[],f=/^@(\w+)\b/.exec(a[0]),p=f&&f[1]=="keyframes";if(f&&o==null)return l.push(a[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map(y=>a.map(w=>y.replace(/&/,w))).reduce((y,w)=>y.concat(w)),b,l);else if(b&&typeof b=="object"){if(!f)throw new RangeError("The value of a property ("+g+") should be a primitive value.");s(i(g),b,d,p)}else b!=null&&d.push(g.replace(/_.*/,"").replace(/[A-Z]/g,y=>"-"+y.toLowerCase())+": "+b+";")}(d.length||p)&&l.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+d.join(" ")+"}")}for(let a in e)s(i(a),e[a],this.rules)}getRules(){return this.rules.join(`
88`)}static newName(){let e=oU[aU]||1;return oU[aU]=e+1,KT+e.toString(36)}static mount(e,n,r){let i=e[YT],s=r&&r.nonce;i?s&&i.setNonce(s):i=new aNe(e,s),i.mount(Array.isArray(n)?n:[n],e)}}let lU=new Map;class aNe{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let s=lU.get(r);if(s)return e[YT]=s;this.sheet=new i.CSSStyleSheet,lU.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[YT]=this}mount(e,n){let r=this.sheet,i=0,s=0;for(let a=0;a<e.length;a++){let o=e[a],l=this.modules.indexOf(o);if(l<s&&l>-1&&(this.modules.splice(l,1),s--,l=-1),l==-1){if(this.modules.splice(s++,0,o),r)for(let c=0;c<o.rules.length;c++)r.insertRule(o.rules[c],i++)}else{for(;s<l;)i+=this.modules[s++].rules.length;i+=o.rules.length,s++}}if(r)n.adoptedStyleSheets.indexOf(this.sheet)<0&&(n.adoptedStyleSheets=[this.sheet,...n.adoptedStyleSheets]);else{let a="";for(let l=0;l<this.modules.length;l++)a+=this.modules[l].getRules()+`
89`;this.styleTag.textContent=a;let o=n.head||n;this.styleTag.parentNode!=o&&o.insertBefore(this.styleTag,o.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var iu={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Xg={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},oNe=typeof navigator<"u"&&/Mac/.test(navigator.platform),lNe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Qr=0;Qr<10;Qr++)iu[48+Qr]=iu[96+Qr]=String(Qr);for(var Qr=1;Qr<=24;Qr++)iu[Qr+111]="F"+Qr;
89for(var Qr=65;Qr<=90;Qr++)iu[Qr]=String.fromCharCode(Qr+32),Xg[Qr]=String.fromCharCode(Qr);for(var Q2 in iu)Xg.hasOwnProperty(Q2)||(Xg[Q2]=iu[Q2]);function cNe(t){var e=oNe&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||lNe&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Xg:iu)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function Mr(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;e<arguments.length;e++)BQ(t,arguments[e]);return t}function BQ(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var n=0;n<e.length;n++)BQ(t,e[n]);else throw new RangeError("Unsupported child node: "+e)}let Ii=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},XT=typeof document<"u"?document:{documentElement:{style:{}}};const ZT=/Edge\/(\d+)/.exec(Ii.userAgent),PQ=/MSIE \d/.test(Ii.userAgent),QT=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ii.userAgent),jS=!!(PQ||QT||ZT),cU=!jS&&/gecko\/(\d+)/i.test(Ii.userAgent),J2=!jS&&/Chrome\/(\d+)/.exec(Ii.userAgent),uNe="webkitFontSmoothing"in XT.documentElement.style,JT=!jS&&/Apple Computer/.test(Ii.vendor),uU=JT&&(/Mobile\/\w+/.test(Ii.userAgent)||Ii.maxTouchPoints>2);var nt={mac:uU||/Mac/.test(Ii.platform),windows:/Win/.test(Ii.platform),linux:/Linux|X11/.test(Ii.platform),ie:jS,ie_version:PQ?XT.documentMode||6:QT?+QT[1]:ZT?+ZT[1]:0,gecko:cU,gecko_version:cU?+(/Firefox\/(\d+)/.exec(Ii.userAgent)||[0,0])[1]:0,chrome:!!J2,chrome_version:J2?+J2[1]:0,ios:uU,android:/Android\b/.test(Ii.userAgent),webkit_version:uNe?+(/\bAppleWebKit\/(\d+)/.exec(Ii.userAgent)||[0,0])[1]:0,safari:JT,safari_version:JT?+(/\bVersion\/(\d+(\.\d+)?)/.exec(Ii.userAgent)||[0,0])[1]:0,tabSize:XT.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function G3(t,e){for(let n in t)n=="class"&&e.class?e.class+=" "+t.class:n=="style"&&e.style?e.style+=";"+t.style:e[n]=t[n];return e}const cw=Object.create(null);function q3(t,e,n){if(t==e)return!0;t||(t=cw),e||(e=cw);let r=Object.keys(t),i=Object.keys(e);if(r.length-0!=i.length-0)return!1;for(let s of r)if(s!=n&&(i.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function dNe(t,e){for(let n=t.attributes.length-1;n>=0;n--){let r=t.attributes[n].name;e[r]==null&&t.removeAttribute(r)}for(let n in e){let r=e[n];n=="style"?t.style.cssText=r:t.getAttribute(n)!=r&&t.setAttribute(n,r)}}function dU(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}function hNe(t){let e=Object.create(null);for(let n=0;n<t.attributes.length;n++){let r=t.attributes[n];e[r.name]=r.value}return e}class Xd{eq(e){return!1}updateDOM(e,n){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,n,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}
89var ei=(function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t})(ei||(ei={}));class Kt extends nu{constructor(e,n,r,i){super(),this.startSide=e,this.endSide=n,this.widget=r,this.spec=i}get heightRelevant(){return!1}static mark(e){return new $0(e)}static widget(e){let n=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return n+=r&&!e.inlineOrder?n>0?3e8:-4e8:n>0?1e8:-1e8,new Fd(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:s,end:a}=FQ(e,n);r=(s?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new Fd(e,r,i,n,e.widget||null,!0)}static line(e){return new V0(e)}static set(e,n=!1){return Ut.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Kt.none=Ut.empty;class $0 extends Kt{constructor(e){let{start:n,end:r}=FQ(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?G3(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||cw}eq(e){return this==e||e instanceof $0&&this.tagName==e.tagName&&q3(this.attrs,e.attrs)}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}$0.prototype.point=!1;class V0 extends Kt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof V0&&this.spec.class==e.spec.class&&q3(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}V0.prototype.mapMode=di.TrackBefore;V0.prototype.point=!0;class Fd extends Kt{constructor(e,n,r,i,s,a){super(n,r,s,e),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?di.TrackBefore:di.TrackAfter:di.TrackDel}get type(){return this.startSide!=this.endSide?ei.WidgetRange:this.startSide<=0?ei.WidgetBefore:ei.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Fd&&fNe(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}Fd.prototype.point=!0;function FQ(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}function fNe(t,e){return t==e||!!(t&&e&&t.compare(e))}function Of(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}class Zg extends nu{constructor(e,n){super(),this.tagName=e,this.attributes=n}eq(e){return e==this||e instanceof Zg&&this.tagName==e.tagName&&q3(this.attributes,e.attributes)}static create(e){return new Zg(e.tagName,e.attributes||cw)}static set(e,n=!1){return Ut.of(e,n)}}Zg.prototype.startSide=Zg.prototype.endSide=-1;function Qf(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function eA(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function yg(t,e){if(!e.anchorNode)return!1;try{return eA(t,e.anchorNode)}catch{return!1}}function d1(t){return t.nodeType==3?Qg(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function vg(t,e,n,r){return n?hU(t,e,n,r,-1)||hU(t,e,n,r,1):!1}function su(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function uw(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function hU(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Ul(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=su(t)+(i<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?Ul(t):0}else return!1}}function Ul(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function dw(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}
vendor: 10,831 bytes, line 89
89function pNe(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function zQ(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function mNe(t,e,n,r,i,s,a,o){let l=t.ownerDocument,c=l.defaultView||window;for(let d=t,f=!1;d&&!f;)if(d.nodeType==1){let p,g=d==l.body,b=1,y=1;if(g)p=pNe(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(f=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let _=d.getBoundingClientRect();({scaleX:b,scaleY:y}=zQ(d,_)),p={left:_.left,right:_.left+d.clientWidth*b,top:_.top,bottom:_.top+d.clientHeight*y}}let w=0,S=0;if(i=="nearest")e.top<p.top?(S=e.top-(p.top+a),n>0&&e.bottom>p.bottom+S&&(S=e.bottom-p.bottom+a)):e.bottom>p.bottom&&(S=e.bottom-p.bottom+a,n<0&&e.top-S<p.top&&(S=e.top-(p.top+a)));else{let _=e.bottom-e.top,E=p.bottom-p.top;S=(i=="center"&&_<=E?e.top+_/2-E/2:i=="start"||i=="center"&&n<0?e.top-a:e.bottom-E+a)-p.top}if(r=="nearest"?e.left<p.left?(w=e.left-(p.left+s),n>0&&e.right>p.right+w&&(w=e.right-p.right+s)):e.right>p.right&&(w=e.right-p.right+s,n<0&&e.left<p.left+w&&(w=e.left-(p.left+s))):w=(r=="center"?e.left+(e.right-e.left)/2-(p.right-p.left)/2:r=="start"==o?e.left-s:e.right-(p.right-p.left)+s)-p.left,w||S)if(g)c.scrollBy(w,S);else{let _=0,E=0;if(S){let T=d.scrollTop;d.scrollTop+=S/y,E=(d.scrollTop-T)*y}if(w){let T=d.scrollLeft;d.scrollLeft+=w/b,_=(d.scrollLeft-T)*b}e={left:e.left-_,top:e.top-E,right:e.right-_,bottom:e.bottom-E},_&&Math.abs(_-w)<1&&(r="nearest"),E&&Math.abs(E-S)<1&&(i="nearest")}if(g)break;(e.top<p.top||e.bottom>p.bottom||e.left<p.left||e.right>p.right)&&(e={left:Math.max(e.left,p.left),right:Math.min(e.right,p.right),top:Math.max(e.top,p.top),bottom:Math.min(e.bottom,p.bottom)}),d=d.assignedSlot||d.parentNode}else if(d.nodeType==11)d=d.host;else break}function gNe(t){let e=t.ownerDocument,n,r;for(let i=t.parentNode;i&&!(i==e.body||n&&r);)if(i.nodeType==1)!r&&i.scrollHeight>i.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}class bNe{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?Ul(n):0),r,Math.min(e.focusOffset,r?Ul(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}}let Zu=null;nt.safari&&nt.safari_version>=26&&(Zu=!1);function UQ(t){if(t.setActive)return t.setActive();if(Zu)return t.focus(Zu);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(Zu==null?{get preventScroll(){return Zu={preventScroll:!0},!0}}:void 0),!Zu){Zu=!1;for(let n=0;n<e.length;){let r=e[n++],i=e[n++],s=e[n++];r.scrollTop!=i&&(r.scrollTop=i),r.scrollLeft!=s&&(r.scrollLeft=s)}}}let fU;function Qg(t,e,n=e){let r=fU||(fU=document.createRange());return r.setEnd(t,n),r.setStart(t,e),r}function If(t,e,n,r){let i={key:e,code:e,keyCode:n,which:n,cancelable:!0};r&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=r);let s=new KeyboardEvent("keydown",i);s.synthetic=!0,t.dispatchEvent(s);let a=new KeyboardEvent("keyup",i);return a.synthetic=!0,t.dispatchEvent(a),s.defaultPrevented||a.defaultPrevented}function yNe(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function vNe(t,e){let n=e.focusNode,r=e.focusOffset;if(!n||e.anchorNode!=n||e.anchorOffset!=r)return!1;for(r=Math.min(r,Ul(n));;)if(r){if(n.nodeType!=1)return!1;let i=n.childNodes[r-1];i.contentEditable=="false"?r--:(n=i,r=Ul(n))}else{if(n==t)return!0;r=su(n),n=n.parentNode}}function jQ(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function HQ(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=Ul(n)}else if(n.parentNode&&!uw(n))r=su(n),n=n.parentNode;else return null}}function $Q(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r<n.nodeValue.length)return{node:n,offset:r};if(n.nodeType==1&&r<n.childNodes.length){if(n.contentEditable=="false")return null;n=n.childNodes[r],r=0}else if(n.parentNode&&!uw(n))r=su(n)+1,n=n.parentNode;else return null}}class Ha{constructor(e,n,r=!0){this.node=e,this.offset=n,this.precise=r}static before(e,n){return new Ha(e.parentNode,su(e),n)}static after(e,n){return new Ha(e.parentNode,su(e)+1,n)}}var _n=(function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t})(_n||(_n={}));const zd=_n.LTR,W3=_n.RTL;function VQ(t){let e=[];for(let n=0;n<t.length;n++)e.push(1<<+t[n]);return e}const wNe=VQ("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),SNe=VQ("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),tA=Object.create(null),po=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),n=t.charCodeAt(1);tA[e]=n,tA[n]=-e}function GQ(t){return t<=247?wNe[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?SNe[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}const _Ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Tl{get dir(){return this.level%2?W3:zd}constructor(e,n,r){this.from=e,this.to=n,this.level=r}side(e,n){return this.dir==n==e?this.to:this.from}forward(e,n){return e==(this.dir==n)}static find(e,n,r,i){let s=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o.from<=n&&o.to>=n){if(o.level==r)return a;(s<0||(i!=0?i<0?o.from<n:o.to>n:e[s].level>o.level))&&(s=a)}}if(s<0)throw new RangeError("Index out of range");return s}}function qQ(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],i=e[n];if(r.from!=i.from||r.to!=i.to||r.direction!=i.direction||!qQ(r.inner,i.inner))return!1}return!0}const mn=[];function xNe(t,e,n,r,i){for(let s=0;s<=r.length;s++){let a=s?r[s-1].to:e,o=s<r.length?r[s].from:n,l=s?256:i;for(let c=a,d=l,f=l;c<o;c++){let p=GQ(t.charCodeAt(c));p==512?p=d:p==8&&f==4&&(p=16),mn[c]=p==4?2:p,p&7&&(f=p),d=p}for(let c=a,d=l,f=l;c<o;c++){let p=mn[c];if(p==128)c<o-1&&d==mn[c+1]&&d&24?p=mn[c]=d:mn[c]=256;else if(p==64){let g=c+1;for(;g<o&&mn[g]==64;)g++;let b=c&&d==8||g<n&&mn[g]==8?f==1?1:8:256;for(let y=c;y<g;y++)mn[y]=b;c=g-1}else p==8&&f==1&&(mn[c]=1);d=p,p&7&&(f=p)}}}function ENe(t,e,n,r,i){let s=i==1?2:1;for(let a=0,o=0,l=0;a<=r.length;a++){let c=a?r[a-1].to:e,d=a<r.length?r[a].from:n;for(let f=c,p,g,b;f<d;f++)if(g=tA[p=t.charCodeAt(f)])if(g<0){for(let y=o-3;y>=0;y-=3)if(po[y+1]==-g){let w=po[y+2],S=w&2?i:w&4?w&1?s:i:0;S&&(mn[f]=mn[po[y]]=S),o=y;break}}else{if(po.length==189)break;po[o++]=f,po[o++]=p,po[o++]=l}else if((b=mn[f])==2||b==1){let y=b==i;l=y?0:1;for(let w=o-3;w>=0;w-=3){let S=po[w+2];if(S&2)break;if(y)po[w+2]|=2;else{if(S&4)break;po[w+2]|=4}}}}}function kNe(t,e,n,r){for(let i=0,s=r;i<=n.length;i++){let a=i?n[i-1].to:t,o=i<n.length?n[i].from:e;for(let l=a;l<o;){let c=mn[l];if(c==256){let d=l+1;for(;;)if(d==o){if(i==n.length)break;d=n[i++].to,o=i<n.length?n[i].from:e}else if(mn[d]==256)d++;else break;let f=s==1,p=(d<e?mn[d]:r)==1,g=f==p?f?1:2:r;for(let b=d,y=i,w=y?n[y-1].to:t;b>l;)b==w&&(b=n[--y].from,w=y?n[y-1].to:t),mn[--b]=g;l=d}else s=c,l++}}}function nA(t,e,n,r,i,s,a){let o=r%2?2:1;if(r%2==i%2)for(let l=e,c=0;l<n;){let d=!0,f=!1;if(c==s.length||l<s[c].from){let y=mn[l];y!=o&&(d=!1,f=y==16)}let p=!d&&o==1?[]:null,g=d?r:r+1,b=l;e:for(;;)if(c<s.length&&b==s[c].from){if(f)break e;let y=s[c];if(!d)for(let w=y.to,S=c+1;;){if(w==n)break e;if(S<s.length&&s[S].from==w)w=s[S++].to;else{if(mn[w]==o)break e;break}}if(c++,p)p.push(y);else{y.from>l&&a.push(new Tl(l,y.from,g));let w=y.direction==zd!=!(g%2);rA(t,w?r+1:r,i,y.inner,y.from,y.to,a),l=y.to}b=y.to}else{if(b==n||(d?mn[b]!=o:mn[b]==o))break;b++}p?nA(t,l,b,r+1,i,p,a):l<b&&a.push(new Tl(l,b,g)),l=b}else for(let l=n,c=s.length;l>e;){let d=!0,f=!1;if(!c||l>s[c-1].to){let y=mn[l-1];y!=o&&(d=!1,f=y==16)}let p=!d&&o==1?[]:null,g=d?r:r+1,b=l;e:for(;;)if(c&&b==s[c-1].to){if(f)break e;let y=s[--c];if(!d)for(let w=y.from,S=c;;){if(w==e)break e;if(S&&s[S-1].to==w)w=s[--S].from;else{if(mn[w-1]==o)break e;break}}if(p)p.push(y);else{y.to<l&&a.push(new Tl(y.to,l,g));let w=y.direction==zd!=!(g%2);rA(t,w?r+1:r,i,y.inner,y.from,y.to,a),l=y.from}b=y.from}else{if(b==e||(d?mn[b-1]!=o:mn[b-1]==o))break;b--}p?nA(t,b,l,r+1,i,p,a):b<l&&a.push(new Tl(b,l,g)),l=b}}function rA(t,e,n,r,i,s,a){let o=e%2?2:1;xNe(t,i,s,r,o),ENe(t,i,s,r,o),kNe(i,s,r,o),nA(t,i,s,e,n,r,a)}function CNe(t,e,n){if(!t)return[new Tl(0,0,e==W3?1:0)];if(e==zd&&!n.length&&!_Ne.test(t))return WQ(t.length);if(n.length)for(;t.length>mn.length;)mn[mn.length]=256;let r=[],i=e==zd?0:1;return rA(t,i,i,n,0,t.length,r),r}function WQ(t){return[new Tl(0,t,0)]}let KQ="";function TNe(t,e,n,r,i){var s;let a=r.head-t.from,o=Tl.find(e,a,(s=r.bidiLevel)!==null&&s!==void 0?s:-1,r.assoc),l=e[o],c=l.side(i,n);if(a==c){let p=o+=i?1:-1;if(p<0||p>=e.length)return null;l=e[o=p],a=l.side(!i,n),c=l.side(i,n)}let d=Cr(t.text,a,l.forward(i,n));(d<l.from||d>l.to)&&(d=c),KQ=t.text.slice(Math.min(a,d),Math.max(a,d));let f=o==(i?e.length-1:0)?null:e[o+(i?1:-1)];return f&&d==c&&f.level+(i?0:1)<l.level?De.cursor(f.side(!i,n)+t.from,f.forward(i,n)?1:-1,f.level):De.cursor(d+t.from,l.forward(i,n)?-1:1,l.level)}function ANe(t,e,n){for(let r=e;r<n;r++){let i=GQ(t.charCodeAt(r));if(i==1)return zd;if(i==2||i==4)return W3}return zd}const YQ=at.define(),XQ=at.define(),ZQ=at.define(),QQ=at.define(),iA=at.define(),JQ=at.define(),eJ=at.define(),K3=at.define(),Y3=at.define(),tJ=at.define({combine:t=>t.some(e=>e)}),nJ=at.define({combine:t=>t.some(e=>e)}),rJ=at.define();class Df{constructor(e,n="nearest",r="nearest",i=5,s=5,a=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=s,this.isSnapshot=a}map(e){return e.empty?this:new Df(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Df(De.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const sv=Pt.define({map:(t,e)=>t.map(e)}),iJ=Pt.define();function Bs(t,e,n){let r=t.facet(QQ);
vendor: 10,490 bytes, line 89
89r.length?r[0](e):window.onerror&&window.onerror(String(e),n,void 0,void 0,e)||(n?console.error(n+":",e):console.error(e))}const kl=at.define({combine:t=>t.length?t[0]:!0});let RNe=0;const mf=at.define({combine(t){return t.filter((e,n)=>{for(let r=0;r<n;r++)if(t[r].plugin==e.plugin)return!1;return!0})}});class ti{constructor(e,n,r,i,s){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.baseExtensions=s(this),this.extension=this.baseExtensions.concat(mf.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(mf.of({plugin:this,arg:e}))}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:s,decorations:a}=n||{};return new ti(RNe++,e,r,i,o=>{let l=[];return a&&l.push($S.of(c=>{let d=c.plugin(o);return d?a(d):Kt.none})),s&&l.push(s(o)),l})}static fromClass(e,n){return ti.define((r,i)=>new e(r,i),n)}}class ek{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Bs(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(n){Bs(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Bs(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const sJ=at.define(),HS=at.define(),$S=at.define(),aJ=at.define(),X3=at.define(),G0=at.define(),oJ=at.define();function pU(t,e){let n=t.state.facet(oJ);if(!n.length)return n;let r=n.map(s=>s instanceof Function?s(t):s),i=[];return Ut.spans(r,e.from,e.to,{point(){},span(s,a,o,l){let c=s-e.from,d=a-e.from,f=i;for(let p=o.length-1;p>=0;p--,l--){let g=o[p].spec.bidiIsolate,b;if(g==null&&(g=ANe(e.text,c,d)),l>0&&f.length&&(b=f[f.length-1]).to==c&&b.direction==g)b.to=d,f=b.inner;else{let y={from:c,to:d,direction:g,inner:[]};f.push(y),f=y.inner}}}}),i}const lJ=at.define();function Z3(t){let e=0,n=0,r=0,i=0;for(let s of t.state.facet(lJ)){let a=s(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:n,top:r,bottom:i}}const Zm=at.define();class pa{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new pa(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toA<r.fromA)break;r=r.join(i),e.splice(n-1,1)}}return e.splice(n,0,r),e}static extendWithRanges(e,n){if(n.length==0)return e;let r=[];for(let i=0,s=0,a=0;;){let o=i<e.length?e[i].fromB:1e9,l=s<n.length?n[s]:1e9,c=Math.min(o,l);if(c==1e9)break;let d=c+a,f=c,p=d;for(;;)if(s<n.length&&n[s]<=f){let g=n[s+1];s+=2,f=Math.max(f,g);for(let b=i;b<e.length&&e[b].fromB<=f;b++)a=e[b].toA-e[b].toB;p=Math.max(p,g+a)}else if(i<e.length&&e[i].fromB<=f){let g=e[i++];f=Math.max(f,g.toB),p=Math.max(p,g.toA),a=g.toA-g.toB}else break;r.push(new pa(d,p,c,f))}return r}}class hw{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Er.empty(this.startState.doc.length);for(let s of r)this.changes=this.changes.compose(s.changes);let i=[];this.changes.iterChangedRanges((s,a,o,l)=>i.push(new pa(s,a,o,l))),this.changedRanges=i}static create(e,n,r){return new hw(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const NNe=[];class mr{constructor(e,n,r=0){this.dom=e,this.length=n,this.flags=r,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return NNe}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let n=this.domAttrs;n&&dNe(this.dom,n)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,n=this.posAtStart){let r=n;for(let i of this.children){if(i==e)return r;r+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,n){return null}domPosFor(e,n){let r=su(this.dom),i=this.length?e>0:n>0;return new Ha(this.parent.dom,r+(i?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof GS)return e;return null}static get(e){return e.cmTile}}class VS extends mr{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let n=this.dom,r=null,i,s=e?.node==n?e:null,a=0;for(let o of this.children){if(o.sync(e),a+=o.length+o.breakAfter,i=r?r.nextSibling:n.firstChild,s&&i!=o.dom&&(s.written=!0),o.dom.parentNode==n)for(;i&&i!=o.dom;)i=mU(i);else n.insertBefore(o.dom,i);r=o.dom}for(i=r?r.nextSibling:n.firstChild,s&&i&&(s.written=!0);i;)i=mU(i);this.length=a}}function mU(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class GS extends VS{constructor(e,n){super(n),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let n=mr.get(e);if(n&&this.owns(n))return n;e=e.parentNode}}blockTiles(e){for(let n=[],r=this,i=0,s=0;;)if(i==r.children.length){if(!n.length)return;r=r.parent,r.breakAfter&&s++,i=n.pop()}else{let a=r.children[i++];if(a instanceof Gc)n.push(i),r=a,i=0;else{let o=s+a.length,l=e(a,s);if(l!==void 0)return l;s=o+a.breakAfter}}}resolveBlock(e,n){let r,i=-1,s,a=-1;if(this.blockTiles((o,l)=>{let c=l+o.length;if(e>=l&&e<=c){if(o.isWidget()&&n>=-1&&n<=1){if(o.flags&32)return!0;o.flags&16&&(r=void 0)}(l<e||e==c&&(n<-1?o.length:o.covers(1)))&&(!r||!o.isWidget()&&r.isWidget())&&(r=o,i=e-l),(c>e||e==l&&(n>1?o.length:o.covers(-1)))&&(!s||!o.isWidget()&&s.isWidget())&&(s=o,a=e-l)}}),!r&&!s)throw new Error("No tile at position "+e);return r&&n<0||!s?{tile:r,offset:i}:{tile:s,offset:a}}}class Gc extends VS{constructor(e,n){super(e),this.wrapper=n}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,n){let r=new Gc(n||document.createElement(e.tagName),e);return n||(r.flags|=4),r}}class Jf extends VS{constructor(e,n){super(e),this.attrs=n}isLine(){return!0}static start(e,n,r){let i=new Jf(n||document.createElement("div"),e);return(!n||!r)&&(i.flags|=4),i}get domAttrs(){return this.attrs}resolveInline(e,n,r){let i=null,s=-1,a=null,o=-1;function l(d,f){for(let p=0,g=0;p<d.children.length&&g<=f;p++){let b=d.children[p],y=g+b.length;y>=f&&(b.isComposite()?l(b,f-g):(!a||a.isHidden&&(n>0||r&&INe(a,b)))&&(y>f||b.flags&32)?(a=b,o=f-g):(g<f||b.flags&16&&!b.isHidden)&&(i=b,s=f-g)),g=y}}l(this,e);let c=(n<0?i:a)||i||a;return c?{tile:c,offset:c==i?s:o}:null}coordsIn(e,n){let r=this.resolveInline(e,n,!0);return r?r.tile.coordsIn(Math.max(0,r.offset),n):ONe(this)}domIn(e,n){let r=this.resolveInline(e,n);if(r){let{tile:i,offset:s}=r;if(this.dom.contains(i.dom))return i.isText()?new Ha(i.dom,Math.min(i.dom.nodeValue.length,s)):i.domPosFor(s,i.flags&16?1:i.flags&32?-1:n);let a=r.tile.parent,o=!1;for(let l of a.children){if(o)return new Ha(l.dom,0);l==r.tile&&(o=!0)}}return new Ha(this.dom,0)}}function ONe(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let n=d1(e);return n[n.length-1]||null}function INe(t,e){let n=t.coordsIn(0,1),r=e.coordsIn(0,1);return n&&r&&r.top<n.bottom}class ls extends VS{constructor(e,n){super(e),this.mark=n}get domAttrs(){return this.mark.attrs}static of(e,n){let r=new ls(n||document.createElement(e.tagName),e);return n||(r.flags|=4),r}}class dd extends mr{constructor(e,n){super(e,n.length),this.text=n}sync(e){this.flags&2||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,n){let r=this.dom.nodeValue.length;e>r&&(e=r);let i=e,s=e,a=0;e==0&&n<0||e==r&&n>=0?nt.chrome||nt.gecko||(e?(i--,a=1):s<r&&(s++,a=-1)):n<0?i--:s<r&&s++;let o=Qg(this.dom,i,s).getClientRects();if(!o.length)return null;let l=o[(a?a<0:n>=0)?0:o.length-1];return nt.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(o,c=>c.width)||l),a?dw(l,a<0):l||null}static of(e,n){let r=new dd(n||document.createTextNode(e),e);return n||(r.flags|=2),r}}class Ud extends mr{constructor(e,n,r,i){super(e,n,i),this.widget=r}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,n){return this.coordsInWidget(e,n,!1)}coordsInWidget(e,n,r){let i=this.widget.coordsAt(this.dom,e,n);if(i)return i;if(r)return dw(this.dom.getBoundingClientRect(),this.length?e==0:n<=0);{let s=this.dom.getClientRects(),a=null;if(!s.length)return null;let o=this.flags&16?!0:this.flags&32?!1:e>0;for(let l=o?s.length-1:0;a=s[l],!(e>0?l==0:l==s.length-1||a.top<a.bottom);l+=o?-1:1);return dw(a,!o)}}get overrideDOMText(){if(!this.length)return rn.empty;let{root:e}=this;if(!e)return rn.empty;let n=this.posAtStart;return e.view.state.doc.slice(n,n+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(e,n,r,i,s){return s||(s=e.toDOM(n),e.editable||(s.contentEditable="false")),new Ud(s,r,e,i)}}class fw extends mr{constructor(e){let n=document.createElement("img");
89n.className="cm-widgetBuffer",n.setAttribute("aria-hidden","true"),super(n,0,e)}get isHidden(){return!0}get overrideDOMText(){return rn.empty}coordsIn(e){return this.dom.getBoundingClientRect()}}class DNe{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,n,r){let{tile:i,index:s,beforeBreak:a,parents:o}=this;for(;e||n>0;)if(i.isComposite())if(a){if(!e)break;r&&r.break(),e--,a=!1}else if(s==i.children.length){if(!e&&!o.length)break;r&&r.leave(i),a=!!i.breakAfter,{tile:i,index:s}=o.pop(),s++}else{let l=i.children[s],c=l.breakAfter;(n>0?l.length<=e:l.length<e)&&(!r||r.skip(l,0,l.length)!==!1||!l.isComposite)?(a=!!c,s++,e-=l.length):(o.push({tile:i,index:s}),i=l,s=0,r&&l.isComposite()&&r.enter(l))}else if(s==i.length)a=!!i.breakAfter,{tile:i,index:s}=o.pop(),s++;else if(e){let l=Math.min(e,i.length-s);r&&r.skip(i,s,s+l),e-=l,s+=l}else break;return this.tile=i,this.index=s,this.beforeBreak=a,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class MNe{constructor(e,n,r,i){this.from=e,this.to=n,this.wrapper=r,this.rank=i}}class LNe{constructor(e,n,r){this.cache=e,this.root=n,this.blockWrappers=r,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,n,r,i){var s;this.flushBuffer();let a=this.ensureMarks(n,r),o=a.lastChild;if(o&&o.isText()&&!(o.flags&8)&&o.length+e.length<512){this.cache.reused.set(o,2);let l=a.children[a.children.length-1]=new dd(o.dom,o.text+e);l.parent=a}else a.append(i||dd.of(e,(s=this.cache.find(dd))===null||s===void 0?void 0:s.dom));this.pos+=e.length,this.afterWidget=null}addComposition(e,n){let r=this.curLine;r.dom!=n.line.dom&&(r.setDOM(this.cache.reused.has(n.line)?tk(n.line.dom):n.line.dom),this.cache.reused.set(n.line,2));let i=r;for(let o=n.marks.length-1;o>=0;o--){let l=n.marks[o],c=i.lastChild;if(c instanceof ls&&c.mark.eq(l.mark))c.dom!=l.dom&&c.setDOM(tk(l.dom)),i=c;else{if(this.cache.reused.get(l)){let f=mr.get(l.dom);f&&f.setDOM(tk(l.dom))}let d=ls.of(l.mark,l.dom);i.append(d),i=d}this.cache.reused.set(l,2)}let s=mr.get(e.text);s&&this.cache.reused.set(s,2);let a=new dd(e.text,e.text.nodeValue);a.flags|=8,i.append(a)}addInlineWidget(e,n,r){let i=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);i||this.flushBuffer();let s=this.ensureMarks(n,r);!i&&!(e.flags&16)&&s.append(this.getBuffer(1)),s.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,n,r){this.flushBuffer(),this.ensureMarks(n,r).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let n=this.afterWidget||this.lastBlock;n.length+=e,this.pos+=e}addLineStart(e,n){var r;e||(e=cJ);let i=Jf.start(e,n||((r=this.cache.find(Jf))===null||r===void 0?void 0:r.dom),!!n);this.getBlockPos().append(this.lastBlock=this.curLine=i)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,n){var r;let i=this.curLine;for(let s=e.length-1;s>=0;s--){let a=e[s],o;if(n>0&&(o=i.lastChild)&&o instanceof ls&&o.mark.eq(a))i=o,n--;else{let l=ls.of(a,(r=this.cache.find(ls,c=>c.mark.eq(a)))===null||r===void 0?void 0:r.dom);i.append(l),i=l,n=0}}return i}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!gU(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(nt.ios&&gU(this.curLine,!0))
vendor: 20,334 bytes, line 89
89)&&this.curLine.append(this.cache.findWidget(nk,0,32)||new Ud(nk.toDOM(),0,nk,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let n=new MNe(e.from,e.to,e.value,e.rank),r=this.wrappers.length;for(;r>0&&(this.wrappers[r-1].rank-n.rank||this.wrappers[r-1].to-n.to)<0;)r--;this.wrappers.splice(r,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let n=this.root;for(let r of this.wrappers){let i=n.lastChild;if(r.from<this.pos&&i instanceof Gc&&i.wrapper.eq(r.wrapper))n=i;else{let s=Gc.of(r.wrapper,(e=this.cache.find(Gc,a=>a.wrapper.eq(r.wrapper)))===null||e===void 0?void 0:e.dom);n.append(s),n=s}}return n}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let n=2|(e<0?16:32),r=this.cache.find(fw,void 0,1);return r&&(r.flags=n),r||new fw(n)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class BNe{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:i,lineBreak:s,done:a}=this.cursor.next(this.skipCount);if(this.skipCount=0,a)throw new Error("Ran out of text content when drawing inline views");this.text=i;let o=this.textOff=Math.min(e,i.length);return s?null:i.slice(0,o)}let n=Math.min(this.text.length,this.textOff+e),r=this.text.slice(this.textOff,n);return this.textOff=n,r}}const pw=[Ud,Jf,dd,ls,fw,Gc,GS];for(let t=0;t<pw.length;t++)pw[t].bucket=t;class PNe{constructor(e){this.view=e,this.buckets=pw.map(()=>[]),this.index=pw.map(()=>0),this.reused=new Map}add(e){let n=e.constructor.bucket,r=this.buckets[n];r.length<6?r.push(e):r[this.index[n]=(this.index[n]+1)%6]=e}find(e,n,r=2){let i=e.bucket,s=this.buckets[i],a=this.index[i];for(let o=s.length-1;o>=0;o--){let l=(o+a)%s.length,c=s[l];if((!n||n(c))&&!this.reused.has(c))return s.splice(l,1),l<a&&this.index[i]--,this.reused.set(c,r),c}return null}findWidget(e,n,r){let i=this.buckets[0];if(i.length)for(let s=0,a=0;;s++){if(s==i.length){if(a)return null;a=1,s=0}let o=i[s];if(!this.reused.has(o)&&(a==0?o.widget.compare(e):o.widget.constructor==e.constructor&&e.updateDOM(o.dom,this.view)))return i.splice(s,1),s<this.index[0]&&this.index[0]--,o.widget==e&&o.length==n&&(o.flags&497)==r?(this.reused.set(o,1),o):(this.reused.set(o,2),new Ud(o.dom,n,e,o.flags&-498|r))}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,n=2){if(!this.reused.has(e))return this.reused.set(e,n),e.dom}clear(){for(let e=0;e<this.buckets.length;e++)this.buckets[e].length=this.index[e]=0}}class FNe{constructor(e,n,r,i,s){this.view=e,this.decorations=i,this.disallowBlockEffectsFor=s,this.openWidget=!1,this.openMarks=0,this.cache=new PNe(e),this.text=new BNe(e.state.doc),this.builder=new LNe(this.cache,new GS(e,e.contentDOM),Ut.iter(r)),this.cache.reused.set(n,2),this.old=new DNe(n),this.reuseWalker={skip:(a,o,l)=>{if(this.cache.add(a),a.isComposite())return!1},enter:a=>this.cache.add(a),leave:()=>{},break:()=>{}}}run(e,n){let r=n&&this.getCompositionContext(n.text);for(let i=0,s=0,a=0;;){let o=a<e.length?e[a++]:null,l=o?o.fromA:this.old.root.length;if(l>i){let c=l-i;this.preserve(c,!a,!o),i=l,s+=c}if(!o)break;n&&o.fromA<=n.range.fromA&&o.toA>=n.range.toA?(this.forward(o.fromA,n.range.fromA,n.range.fromA<n.range.toA?1:-1),this.emit(s,n.range.fromB),this.cache.clear(),this.builder.addComposition(n,r),this.text.skip(n.range.toB-n.range.fromB),this.forward(n.range.fromA,o.toA),this.emit(n.range.toB,o.toB)):(this.forward(o.fromA,o.toA),this.emit(s,o.toB)),s=o.toB,i=o.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,n,r){let i=jNe(this.old),s=this.openMarks;this.old.advance(e,r?1:-1,{skip:(a,o,l)=>{if(a.isWidget())if(this.openWidget)this.builder.continueWidget(l-o);else{let c=l>0||o<a.length?Ud.of(a.widget,this.view,l-o,a.flags&496,this.cache.maybeReuse(a)):this.cache.reuse(a);c.flags&256?(c.flags&=-2,this.builder.addBlockWidget(c)):(this.builder.ensureLine(null),this.builder.addInlineWidget(c,i,s),s=i.length)}else if(a.isText())this.builder.ensureLine(null),!o&&l==a.length?this.builder.addText(a.text,i,s,this.cache.reuse(a)):(this.cache.add(a),this.builder.addText(a.text.slice(o,l),i,s)),s=i.length;else if(a.isLine())a.flags&=-2,this.cache.reused.set(a,1),this.builder.addLine(a);else if(a instanceof fw)this.cache.add(a);else if(a instanceof ls)this.builder.ensureLine(null),this.builder.addMark(a,i,s),this.cache.reused.set(a,1),s=i.length;else return!1;this.openWidget=!1},enter:a=>{a.isLine()?this.builder.addLineStart(a.attrs,this.cache.maybeReuse(a)):(this.cache.add(a),a instanceof ls&&i.unshift(a.mark)),this.openWidget=!1},leave:a=>{a.isLine()?i.length&&(i.length=s=0):a instanceof ls&&(i.shift(),s=Math.min(s,i.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,n){let r=null,i=this.builder,s=0,a=Ut.spans(this.decorations,e,n,{point:(o,l,c,d,f,p)=>{if(c instanceof Fd){if(this.disallowBlockEffectsFor[p]){if(c.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(o).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(s=d.length,f>d.length)i.continueWidget(l-o);else{let g=c.widget||(c.block?ep.block:ep.inline),b=zNe(c),y=this.cache.findWidget(g,l-o,b)||Ud.of(g,this.view,l-o,b);c.block?(c.startSide>0&&i.addLineStartIfNotCovered(r),i.addBlockWidget(y)):(i.ensureLine(r),i.addInlineWidget(y,d,f))}r=null}else r=UNe(r,c);l>o&&this.text.skip(l-o)},span:(o,l,c,d)=>{for(let f=o;f<l;){let p=this.text.next(Math.min(512,l-f));p==null?(i.addLineStartIfNotCovered(r),i.addBreak(),f++):(i.ensureLine(r),i.addText(p,c,f==o?d:c.length),f+=p.length),r=null}}});i.addLineStartIfNotCovered(r),this.openWidget=a>s,this.openMarks=a}forward(e,n,r=1){n-e<=10?this.old.advance(n-e,r,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(n-e-10,-1),this.old.advance(5,r,this.reuseWalker))}getCompositionContext(e){let n=[],r=null;for(let i=e.parentNode;;i=i.parentNode){let s=mr.get(i);if(i==this.view.contentDOM)break;s instanceof ls?n.push(s):s?.isLine()?r=s:i.nodeName=="DIV"&&!r&&i!=this.view.contentDOM?r=new Jf(i,cJ):n.push(ls.of(new $0({tagName:i.nodeName.toLowerCase(),attributes:hNe(i)}),i))}return{line:r,marks:n}}}function gU(t,e){let n=r=>{for(let i of r.children)if((e?i.isText():i.length)||n(i))return!0;return!1};return n(t)}function zNe(t){let e=t.isReplace?(t.startSide<0?64:0)|(t.endSide>0?128:0):t.startSide>0?32:16;return t.block&&(e|=256),e}const cJ={class:"cm-line"};function UNe(t,e){let n=e.spec.attributes,r=e.spec.class;return!n&&!r||(t||(t={class:"cm-line"}),n&&G3(n,t),r&&(t.class+=" "+r)),t}function jNe(t){let e=[];for(let n=t.parents.length;n>1;n--){let r=n==t.parents.length?t.tile:t.parents[n].tile;r instanceof ls&&e.push(r.mark)}return e}function tk(t){let e=mr.get(t);return e&&e.setDOM(t.cloneNode()),t}class ep extends Xd{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}ep.inline=new ep("span");ep.block=new ep("div");const nk=new class extends Xd{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class bU{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=Kt.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new GS(e,e.contentDOM),this.updateInner([new pa(0,0,0,e.state.doc.length)],null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:d,toA:f})=>f<this.minWidthFrom||d>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!XNe(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let s=i>-1?$Ne(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){let{from:d,to:f}=this.hasComposition;r=new pa(d,f,e.changes.mapPos(d,-1),e.changes.mapPos(f,1)).addToSet(r.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(nt.ie||nt.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,o=this.blockWrappers;this.updateDeco();let l=qNe(a,this.decorations,e.changes);l.length&&(r=pa.extendWithRanges(r,l));let c=KNe(o,this.blockWrappers,e.changes);return c.length&&(r=pa.extendWithRanges(r,c)),s&&!r.some(d=>d.fromA<=s.range.fromA&&d.toA>=s.range.toA)&&(r=s.range.addToSet(r.slice())),this.tile.flags&2&&r.length==0?!1:(this.updateInner(r,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n){this.view.viewState.mustMeasureContent=!0;let{observer:r}=this.view;r.ignore(()=>{if(n||e.length){let a=this.tile,o=new FNe(this.view,a,this.blockWrappers,this.decorations,this.dynamicDecorationMap);this.tile=o.run(e,n),sA(a,o.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=nt.chrome||nt.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||r.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.tile.children)s.isWidget()&&s.widget instanceof rk&&i.push(s.dom);r.updateGaps(i)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let n of e.transactions)for(let r of n.effects)r.is(iJ)&&(this.editContextFormatting=r.value)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:r}=this.tile,i=this.view.root.activeElement,s=i==r,a=!s&&!(this.view.state.facet(kl)||r.tabIndex>-1)&&yg(r,this.view.observer.selectionRange)&&!(i&&r.contains(i));if(!(s||n||a))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,c,d;if(l.empty?d=c=this.inlineDOMNearPos(l.anchor,l.assoc||1):(d=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),c=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),nt.gecko&&l.empty&&!this.hasComposition&&HNe(c)){let p=document.createTextNode("");this.view.observer.ignore(()=>c.node.insertBefore(p,c.node.childNodes[c.offset]||null)),c=d=new Ha(p,0),o=!0}let f=this.view.observer.selectionRange;(o||!f.focusNode||(!vg(c.node,c.offset,f.anchorNode,f.anchorOffset)||!vg(d.node,d.offset,f.focusNode,f.focusOffset))&&!this.suppressWidgetCursorChange(f,l))&&(this.view.observer.ignore(()=>{nt.android&&nt.chrome&&r.contains(f.focusNode)&&YNe(f.focusNode,r)&&(r.blur(),r.focus({preventScroll:!0}));let p=Qf(this.view.root);if(p)if(l.empty){if(nt.gecko){let g=VNe(c.node,c.offset);if(g&&g!=3){let b=(g==1?HQ:$Q)(c.node,c.offset);b&&(c=new Ha(b.node,b.offset))}}p.collapse(c.node,c.offset),l.bidiLevel!=null&&p.caretBidiLevel!==void 0&&(p.caretBidiLevel=l.bidiLevel)}else if(p.extend){p.collapse(c.node,c.offset);try{p.extend(d.node,d.offset)}catch{}}else{let g=document.createRange();l.anchor>l.head&&([c,d]=[d,c]),g.setEnd(d.node,d.offset),g.setStart(c.node,c.offset),p.removeAllRanges(),p.addRange(g)}a&&this.view.root.activeElement==r&&(r.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(c,d)),this.impreciseAnchor=c.precise?null:new Ha(f.anchorNode,f.anchorOffset),this.impreciseHead=d.precise?null:new Ha(f.focusNode,f.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&vg(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=Qf(e.root),{anchorNode:i,anchorOffset:s}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=this.lineAt(n.head,n.assoc);if(!a)return;let o=a.posAtStart;if(n.head==o||n.head==o+a.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let d=this.domAtPos(n.head+n.assoc,n.assoc);r.collapse(d.node,d.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,s)}posFromDOM(e,n){let r=this.tile.nearest(e);if(!r)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let i=r.posAtStart;if(r.isComposite()){let s;if(e==r.dom)s=r.dom.childNodes[n];else{let a=Ul(e)==0?0:n==0?-1:1;for(;;){let o=e.parentNode;if(o==r.dom)break;a==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?a=-1:a=1),e=o}a<0?s=e:s=e.nextSibling}if(s==r.dom.firstChild)return i;for(;s&&!mr.get(s);)s=s.nextSibling;if(!s)return i+r.length;for(let a=0,o=i;;a++){let l=r.children[a];if(l.dom==s)return o;o+=l.length+l.breakAfter}}else return r.isText()?e==r.dom?i+n:i+(n?r.length:0):i}domAtPos(e,n){let{tile:r,offset:i}=this.tile.resolveBlock(e,n);return r.isWidget()?r.domPosFor(e,n):r.domIn(i,n)}inlineDOMNearPos(e,n){let r,i=-1,s=!1,a,o=-1,l=!1;return this.tile.blockTiles((c,d)=>{if(c.isWidget()){if(c.flags&32&&d>=e)return!0;c.flags&16&&(s=!0)}else{let f=d+c.length;if(d<=e&&(r=c,i=e-d,s=f<e),f>=e&&!a&&(a=c,o=e-d,l=d>e),d>e&&a)return!0}}),!r&&!a?this.domAtPos(e,n):(s&&a?r=null:l&&r&&(a=null),r&&n<0||!a?r.domIn(i,n):a.domIn(o,n))}coordsAt(e,n){let{tile:r,offset:i}=this.tile.resolveBlock(e,n);return r.isWidget()?r.widget instanceof rk?null:r.coordsInWidget(i,n,!0):r.coordsIn(i,n)}lineAt(e,n){let{tile:r}=this.tile.resolveBlock(e,n);return r.isLine()?r:null}coordsForChar(e){let{tile:n,offset:r}=this.tile.resolveBlock(e,1);if(!n.isLine())return null;function i(s,a){if(s.isComposite())for(let o of s.children){if(o.length>=a){let l=i(o,a);if(l)return l}if(a-=o.length,a<0)break}else if(s.isText()&&a<s.length){let o=Cr(s.text,a);if(o==a)return null;let l=Qg(s.dom,a,o).getClientRects();for(let c=0;c<l.length;c++){let d=l[c];if(c==l.length-1||d.top<d.bottom&&d.left<d.right)return d}}return null}return i(n,r)}measureVisibleLineHeights(e){let n=[],{from:r,to:i}=e,s=this.view.contentDOM.clientWidth,a=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,l=this.view.textDirection==_n.LTR,c=0,d=(f,p,g)=>{for(let b=0;b<f.children.length&&!(p>i);b++){let y=f.children[b],w=p+y.length,S=y.dom.getBoundingClientRect(),{height:_}=S;if(g&&!b&&(c+=S.top-g.top),y instanceof Gc)w>r&&d(y,p,S);else if(p>=r&&(c>0&&n.push(-c),n.push(_+c),c=0,a)){let E=y.dom.lastChild,T=E?d1(E):[];if(T.length){let R=T[T.length-1],N=l?R.right-S.left:S.right-R.left;N>o&&(o=N,this.minWidth=s,this.minWidthFrom=p,this.minWidthTo=w)}}g&&b==f.children.length-1&&(c+=g.bottom-S.bottom),p=w+y.breakAfter}};return d(this.tile,0,null),n}textDirectionAt(e){let{tile:n}=this.tile.resolveBlock(e,1);return getComputedStyle(n.dom).direction=="rtl"?_n.RTL:_n.LTR}measureTextSize(){let e=this.tile.blockTiles(a=>{if(a.isLine()&&a.children.length&&a.length<=20){let o=0,l;for(let c of a.children){if(!c.isText()||/[^ -~]/.test(c.text))return;let d=d1(c.dom);if(d.length!=1)return;o+=d[0].width,l=d[0].height}if(o)return{lineHeight:a.dom.getBoundingClientRect().height,charWidth:o/a.length,textHeight:l}}});if(e)return e;let n=document.createElement("div"),r,i,s;return n.className="cm-line",n.style.width="99999px",n.style.position="absolute",n.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(n);let a=d1(n.firstChild)[0];r=n.getBoundingClientRect().height,i=a&&a.width?a.width/27:7,s=a&&a.height?a.height:r,n.remove()}),{lineHeight:r,charWidth:i,textHeight:s}}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let s=i==n.viewports.length?null:n.viewports[i],a=s?s.from-1:this.view.state.doc.length;if(a>r){let o=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(Kt.replace({widget:new rk(o),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!s)break;r=s.to+1}return Kt.set(e)}updateDeco(){let e=1,n=this.view.state.facet($S).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),r=!1,i=this.view.state.facet(X3).map((s,a)=>{let o=typeof s=="function";return o&&(r=!0),o?s(this.view):s});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(Ut.join(i))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(aJ).map(s=>typeof s=="function"?s(this.view):s)}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(rJ))try{if(c(this.view,e.range,e))return!0}catch(d){Bs(this.view.state,d,"scroll handler")}let{range:n}=e,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let s=Z3(this.view),a={left:r.left-s.left,top:r.top-s.top,right:r.right+s.right,bottom:r.bottom+s.bottom},{offsetWidth:o,offsetHeight:l}=this.view.scrollDOM;mNe(this.view.scrollDOM,a,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,o),-o),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==_n.LTR)}lineHasWidget(e){let n=r=>r.isWidget()||r.children.some(n);return n(this.tile.resolveBlock(e,1).tile)}destroy(){sA(this.tile)}}function sA(t,e){let n=e?.get(t);if(n!=1){n==null&&t.destroy();for(let r of t.children)sA(r,e)}}function HNe(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}function uJ(t,e){let n=t.observer.selectionRange;if(!n.focusNode)return null;let r=HQ(n.focusNode,n.focusOffset),i=$Q(n.focusNode,n.focusOffset),s=r||i;if(i&&r&&i.node!=r.node){let o=mr.get(i.node);if(!o||o.isText()&&o.text!=i.node.nodeValue)s=i;else if(t.docView.lastCompositionAfterCursor){let l=mr.get(r.node);!l||l.isText()&&l.text!=r.node.nodeValue||(s=i)}}if(t.docView.lastCompositionAfterCursor=s!=r,!s)return null;let a=e-s.offset;return{from:a,to:a+s.node.nodeValue.length,node:s.node}}function $Ne(t,e,n){let r=uJ(t,n);if(!r)return null;let{node:i,from:s,to:a}=r,o=i.nodeValue;if(/[\n\r]/.test(o)||t.state.doc.sliceString(r.from,r.to)!=o)return null;let l=e.invertedDesc;return{range:new pa(l.mapPos(s),l.mapPos(a),s,a),text:i}}function VNe(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}let GNe=class{constructor(){this.changes=[]}compareRange(e,n){Of(e,n,this.changes)}comparePoint(e,n){Of(e,n,this.changes)}boundChange(e){Of(e,e,this.changes)}};function qNe(t,e,n){let r=new GNe;return Ut.compare(t,e,n,r),r.changes}class WNe{constructor(){this.changes=[]}compareRange(e,n){Of(e,n,this.changes)}comparePoint(){}boundChange(e){Of(e,e,this.changes)}}function KNe(t,e,n){let r=new WNe;return Ut.compare(t,e,n,r),r.changes}function YNe(t,e){for(let n=t;n&&n!=e;
89n=n.assignedSlot||n.parentNode)if(n.nodeType==1&&n.contentEditable=="false")return!0;return!1}function XNe(t,e){let n=!1;return e&&t.iterChangedRanges((r,i)=>{r<e.to&&i>e.from&&(n=!0)}),n}class rk extends Xd{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function ZNe(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),s=e-i.from;if(i.length==0)return De.cursor(e);s==0?n=1:s==i.length&&(n=-1);let a=s,o=s;n<0?a=Cr(i.text,s,!1):o=Cr(i.text,s);let l=r(i.text.slice(a,o));for(;a>0;){let c=Cr(i.text,a,!1);if(r(i.text.slice(c,a))!=l)break;a=c}for(;o<i.length;){let c=Cr(i.text,o);if(r(i.text.slice(o,c))!=l)break;o=c}return De.range(a+i.from,o+i.from)}function QNe(t,e,n,r,i){let s=Math.round((r-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&n.height>t.defaultLineHeight*1.5){let o=t.viewState.heightOracle.textHeight,l=Math.floor((i-n.top-(t.defaultLineHeight-o)*.5)/o);s+=l*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+sNe(a,s,t.state.tabSize)}function aA(t,e,n){let r=t.lineBlockAt(e);if(Array.isArray(r.type)){let i;for(let s of r.type){if(s.from>e)break;if(!(s.to<e)){if(s.from<e&&s.to>e)return s;(!i||s.type==ei.Text&&(i.type!=s.type||(n<0?s.from<e:s.to>e)))&&(i=s)}}return i||r}return r}function JNe(t,e,n,r){let i=aA(t,e.head,e.assoc||-1),s=!r||i.type!=ei.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(s){let a=t.dom.getBoundingClientRect(),o=t.textDirectionAt(i.from),l=t.posAtCoords({x:n==(o==_n.LTR)?a.right-1:a.left+1,y:(s.top+s.bottom)/2});if(l!=null)return De.cursor(l,n?-1:1)}return De.cursor(n?i.to:i.from,n?-1:1)}function yU(t,e,n,r){let i=t.state.doc.lineAt(e.head),s=t.bidiSpans(i),a=t.textDirectionAt(i.from);for(let o=e,l=null;;){let c=TNe(i,s,a,o,n),d=KQ;if(!c){if(i.number==(n?t.state.doc.lines:1))return o;d=`
90`,i=t.state.doc.line(i.number+(n?1:-1)),s=t.bidiSpans(i),c=t.visualLineSide(i,!n)}if(l){if(!l(d))return o}else{if(!r)return c;l=r(d)}o=c}}function eOe(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return s=>{let a=r(s);return i==fr.Space&&(i=a),i==a}}function tOe(t,e,n,r){let i=e.head,s=n?1:-1;if(i==(n?t.state.doc.length:0))return De.cursor(i,e.assoc);let a=e.goalColumn,o,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),d=t.documentTop;if(c)a==null&&(a=c.left-l.left),o=s<0?c.top:c.bottom;else{let b=t.viewState.lineBlockAt(i);a==null&&(a=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-b.from))),o=(s<0?b.top:b.bottom)+d}let f=l.left+a,p=r??t.viewState.heightOracle.textHeight>>1,g=oA(t,{x:f,y:o+p*s},!1,s);return De.cursor(g.pos,g.assoc,void 0,a)}function wg(t,e,n){for(;;){let r=0;for(let i of t)i.between(e-1,e+1,(s,a,o)=>{if(e>s&&e<a){let l=r||n||(e-s<a-e?-1:1);e=l<0?s:a,r=l}});if(!r)return e}}function dJ(t,e){let n=null;for(let r=0;r<e.ranges.length;r++){let i=e.ranges[r],s=null;if(i.empty){let a=wg(t,i.from,0);a!=i.from&&(s=De.cursor(a,-1))}else{let a=wg(t,i.from,-1),o=wg(t,i.to,1);(a!=i.from||o!=i.to)&&(s=De.range(i.from==i.anchor?a:o,i.from==i.head?a:o))}s&&(n||(n=e.ranges.slice()),n[r]=s)}return n?De.create(n,e.mainIndex):e}function ik(t,e,n){let r=wg(t.state.facet(G0).map(i=>i(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:De.cursor(r,r<n.from?1:-1)}class Co{constructor(e,n){this.pos=e,this.assoc=n}}function oA(t,e,n,r){let i=t.contentDOM.getBoundingClientRect(),s=i.top+t.viewState.paddingTop,{x:a,y:o}=e,l=o-s,c;for(;;){if(l<0)return new Co(0,1);if(l>t.viewState.docHeight)return new Co(t.state.doc.length,-1);if(c=t.elementAtHeight(l),r==null)break;if(c.type==ei.Text){if(r<0?c.to<t.viewport.from:c.from>t.viewport.to)break;let p=t.docView.coordsAt(r<0?c.from:c.to,r);if(p&&(r<0?p.top<=l+s:p.bottom>=l+s))break}let f=t.viewState.heightOracle.textHeight/2;l=r>0?c.bottom+f:c.top-f}if(t.viewport.from>=c.to||t.viewport.to<=c.from){if(n)return null;if(c.type==ei.Text){let f=QNe(t,i,c,a,o);return new Co(f,f==c.from?1:-1)}}
90if(c.type!=ei.Text)return l<(c.top+c.bottom)/2?new Co(c.from,1):new Co(c.to,-1);let d=t.docView.lineAt(c.from,2);return(!d||d.length!=c.length)&&(d=t.docView.lineAt(c.from,-2)),hJ(t,d,c.from,a,o)}function hJ(t,e,n,r,i){let s=-1,a=null,o=1e9,l=1e9,c=i,d=i,f=(p,g)=>{for(let b=0;b<p.length;b++){let y=p[b];if(y.top==y.bottom)continue;let w=y.left>r?y.left-r:y.right<r?r-y.right:0,S=y.top>i?y.top-i:y.bottom<i?i-y.bottom:0;y.top<=d&&y.bottom>=c&&(c=Math.min(y.top,c),d=Math.max(y.bottom,d),S=0),(s<0||(S-l||w-o)<0)&&(s>=0&&l&&o<w&&a.top<=d-2&&a.bottom>=c+2?l=0:(s=g,o=w,l=S,a=y))}};if(e.isText()){for(let g=0;g<e.length;){let b=Cr(e.text,g);if(f(Qg(e.dom,g,b).getClientRects(),g),!o&&!l)break;g=b}return r>(a.left+a.right)/2==(vU(t,s+n)==_n.LTR)?new Co(n+Cr(e.text,s),-1):new Co(n+s,1)}else{if(!e.length)return new Co(n,1);for(let y=0;y<e.children.length;y++){let w=e.children[y];if(w.flags&48)continue;let S=(w.dom.nodeType==1?w.dom:Qg(w.dom,0,w.length)).getClientRects();if(f(S,y),!o&&!l)break}let p=e.children[s],g=e.posBefore(p,n);return p.isComposite()||p.isText()?hJ(t,p,g,Math.max(a.left,Math.min(a.right,r)),i):r>
90(a.left+a.right)/2==(vU(t,s+n)==_n.LTR)?new Co(g+p.length,-1):new Co(g,1)}}function vU(t,e){let n=t.state.doc.lineAt(e);return t.bidiSpans(n)[Tl.find(t.bidiSpans(n),e-n.from,-1,1)].dir}const Qm="ï¿¿";class nOe{constructor(e,n){this.points=e,this.view=n,this.text="",this.lineSeparator=n.state.facet(Xt.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Qm}readRange(e,n){if(!e)return this;let r=e.parentNode;for(let i=e;;){this.findPointBefore(r,i);let s=this.text.length;this.readNode(i);let a=mr.get(i),o=i.nextSibling;if(o==n){a?.breakAfter&&!o&&r!=this.view.contentDOM&&this.lineBreak();break}let l=mr.get(o);(a&&l?a.breakAfter:(a?a.breakAfter:uw(i))||uw(o)&&(i.nodeName!="BR"||a?.isWidget())&&this.text.length>s)&&!iOe(o,n)&&this.lineBreak(),i=o}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,a=1,o;if(this.lineSeparator?(s=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(o=i.exec(n))&&(s=o.index,a=o[0].length),this.append(n.slice(r,s<0?n.length:s)),s<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=a-1);r=s+a}}readNode(e){let n=mr.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(rOe(e,r.node,r.offset)?n:0))}}function rOe(t,e,n){for(;;){if(!e||n<Ul(e))return!1;if(e==t)return!0;n=su(e)+1,e=e.parentNode}}function iOe(t,e){let n;for(;!(t==e||!t);t=t.nextSibling){let r=mr.get(t);if(!r?.isWidget())return!1;r&&(n||(n=[])).push(r)}if(n)for(let r of n){let i=r.overrideDOMText;if(i?.length)return!1}return!0}class wU{constructor(e,n){this.node=e,this.offset=n,this.pos=-1}}class sOe{constructor(e,n,r,i){this.typeOver=i,this.bounds=null,this.text="",this.domChanged=n>-1;let{impreciseHead:s,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=fJ(e.docView.tile,n,r,0))){let o=s||a?[]:oOe(e),l=new nOe(o,e);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=lOe(o,this.bounds.from)}else{let o=e.observer.selectionRange,l=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!eA(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),c=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!eA(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset),d=e.viewport;if((nt.ios||nt.chrome)&&e.state.selection.main.empty&&l!=c&&(d.from>0||d.to<e.state.doc.length)){let f=Math.min(l,c),p=Math.max(l,c),g=d.from-f,b=d.to-p;(g==0||g==1||f==0)&&(b==0||b==-1||p==e.state.doc.length)&&(l=0,c=e.state.doc.length)}e.inputState.composing>-1&&e.state.selection.ranges.length>1?this.newSel=e.state.selection.replaceRange(De.range(c,l)):this.newSel=De.single(c,l)}}}function fJ(t,e,n,r){if(t.isComposite()){let i=-1,s=-1,a=-1,o=-1;for(let l=0,c=r,d=r;l<t.children.length;l++){let f=t.children[l],p=c+f.length;if(c<e&&p>n)return fJ(f,e,n,c);if(p>=e&&i==-1&&(i=l,s=c),c>n&&f.dom.parentNode==t.dom){a=l,o=d;break}d=p,c=p+f.breakAfter}return{from:s,to:o<0?r+t.length:o,startDOM:(i?t.children[i-1].dom.nextSibling:null)||t.dom.firstChild,endDOM:a<t.children.length&&a>=0?t.children[a].dom:null}}else return t.isText()?{from:r,to:r+t.length,startDOM:t.dom,endDOM:t.dom.nextSibling}:null}function pJ(t,e){let n,{newSel:r}=e,i=t.state.selection.main,s=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:o}=e.bounds,l=i.from,c=null;(s===8||nt.android&&e.text.length<o-a)&&(l=i.to,c="end");let d=mJ(t.state.doc.sliceString(a,o,Qm),e.text,l-a,c);d&&(nt.chrome&&s==13&&d.toB==d.from+2&&e.text.slice(d.from,d.toB)==Qm+Qm&&d.toB--,n={from:a+d.from,to:a+d.toA,insert:rn.of(e.text.slice(d.from,d.toB).split(Qm))})}else r&&(!t.hasFocus&&t.state.facet(kl)||mw(r,i))&&(r=null);if(!n&&!r)return!1;if(!n&&e.typeOver&&!i.empty&&r&&r.main.empty?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,i.to)}:(nt.mac||nt.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=De.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:rn.of([n.insert.toString().replace("."," ")])}):n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:t.state.doc.lineAt(i.from).to<i.to&&t.docView.lineHasWidget(i.to)&&t.inputState.insertingTextAt>Date.now()-50?n={from:i.from,to:i.to,insert:t.state.toText(t.inputState.insertingText)}:nt.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==`
91 `&&t.lineWrapping&&(r&&(r=De.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:rn.of([" "])}),n)return Q3(t,n,r,s);if(r&&!mw(r,i)){let a=!1,o="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),o=t.inputState.lastSelectionOrigin,o=="select.pointer"&&(r=dJ(t.state.facet(G0).map(l=>
vendor: 2,899 bytes, line 91
91l(t)),r))),t.dispatch({selection:r,scrollIntoView:a,userEvent:o}),!0}else return!1}function Q3(t,e,n,r=-1){if(nt.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(nt.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&If(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||r==8&&e.insert.length<e.to-e.from&&e.to>i.head)&&If(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&If(t.contentDOM,"Delete",46)))return!0;let s=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,o=()=>a||(a=aOe(t,e,n));return t.state.facet(JQ).some(l=>l(t,e.from,e.to,s,o))||t.dispatch(o()),!0}function aOe(t,e,n){let r,i=t.state,s=i.selection.main,a=-1;if(e.from==e.to&&e.from<s.from||e.from>s.to){let l=e.from<s.from?-1:1,c=l<0?s.from:s.to,d=wg(i.facet(G0).map(f=>f(t)),c,l);e.from==d&&(a=d)}if(a>-1)r={changes:e,selection:De.cursor(e.from+e.insert.length,-1)};else if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=s.from<e.from?i.sliceDoc(s.from,e.from):"",c=s.to>e.to?i.sliceDoc(e.to,s.to):"";r=i.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+c))}else{let l=i.changes(e),c=n&&n.main.to<=l.newLength?n.main:void 0;if(i.selection.ranges.length>1&&(t.inputState.composing>=0||t.inputState.compositionPendingChange)&&e.to<=s.to+10&&e.to>=s.to-10){let d=t.state.sliceDoc(e.from,e.to),f,p=n&&uJ(t,n.main.head);if(p){let b=e.insert.length-(e.to-e.from);f={from:p.from,to:p.to-b}}else f=t.state.doc.lineAt(s.head);let g=s.to-e.to;r=i.changeByRange(b=>{if(b.from==s.from&&b.to==s.to)return{changes:l,range:c||b.map(l)};let y=b.to-g,w=y-d.length;if(t.state.sliceDoc(w,y)!=d||y>=f.from&&w<=f.to)return{range:b};let S=i.changes({from:w,to:y,insert:e.insert}),_=b.to-s.to;return{changes:S,range:c?De.range(Math.max(0,c.anchor+_),Math.max(0,c.head+_)):b.map(S)}})}else r={changes:l,selection:c&&i.selection.replaceRange(c)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:o,scrollIntoView:!0})}function mJ(t,e,n,r){let i=Math.min(t.length,e.length),s=0;for(;s<i&&t.charCodeAt(s)==e.charCodeAt(s);)s++;if(s==i&&t.length==e.length)return null;let a=t.length,o=e.length;for(;a>0&&o>0&&t.charCodeAt(a-1)==e.charCodeAt(o-1);)a--,o--;if(r=="end"){let l=Math.max(0,s-Math.min(a,o));n-=a+l-s}if(a<s&&t.length<e.length){let l=n<=s&&n>=a?s-n:0;s-=l,o=s+(o-a),a=s}else if(o<s){let l=n<=s&&n>=o?s-n:0;s-=l,a=s+(a-o),o=s}return{from:s,toA:a,toB:o}}function oOe(t){let e=[];
vendor: 15,153 bytes, line 91
91if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:s}=t.observer.selectionRange;return n&&(e.push(new wU(n,r)),(i!=n||s!=r)&&e.push(new wU(i,s))),e}function lOe(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?De.single(n+e,r+e):null}function mw(t,e){return e.head==t.main.head&&e.anchor==t.main.anchor}class cOe{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,nt.safari&&e.contentDOM.addEventListener("input",()=>null),nt.gecko&&EOe(e.contentDOM.ownerDocument)}handleEvent(e){!bOe(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=uOe(e),r=this.handlers,i=this.view.contentDOM;for(let s in n)if(s!="scroll"){let a=!n[s].handlers.length,o=r[s];o&&a!=!o.handlers.length&&(i.removeEventListener(s,this.handleEvent),o=null),o||i.addEventListener(s,this.handleEvent,{passive:a})}for(let s in r)s!="scroll"&&!n[s]&&i.removeEventListener(s,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&bJ.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),nt.android&&nt.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let n;return nt.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((n=gJ.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||dOe.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,If(this.view.contentDOM,n.key,n.keyCode,n instanceof KeyboardEvent?n:void 0))}ignoreDuringComposition(e){return!/^key/.test(e.type)||e.synthetic?!1:this.composing>0?!0:nt.safari&&!nt.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function SU(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){Bs(n.state,i)}}}function uOe(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let i=r.spec,s=i&&i.plugin.domEventHandlers,a=i&&i.plugin.domEventObservers;if(s)for(let o in s){let l=s[o];l&&n(o).handlers.push(SU(r.value,l))}if(a)for(let o in a){let l=a[o];l&&n(o).observers.push(SU(r.value,l))}}for(let r in Ja)n(r).handlers.push(Ja[r]);for(let r in Ea)n(r).observers.push(Ea[r]);return e}const gJ=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],dOe="dthko",bJ=[16,17,18,20,91,92,224,225],av=6;function ov(t){return Math.max(0,t)*.7+8}function hOe(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class fOe{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=gNe(e.contentDOM),this.atoms=e.state.facet(G0).map(a=>a(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(Xt.allowMultipleSelections)&&pOe(e,n),this.dragging=gOe(e,n)&&wJ(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&hOe(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,i=0,s=0,a=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:o}=this.scrollParents.y.getBoundingClientRect());let l=Z3(this.view);e.clientX-l.left<=i+av?n=-ov(i-e.clientX):e.clientX+l.right>=a-av&&(n=ov(e.clientX-a)),e.clientY-l.top<=s+av?r=-ov(s-e.clientY):e.clientY+l.bottom>=o-av&&(r=ov(e.clientY-o)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:n}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(e||n)&&this.view.win.scrollBy(e,n),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:n}=this,r=dJ(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!r.eq(n.state.selection,this.dragging===!1))&&this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(n=>n.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function pOe(t,e){let n=t.state.facet(YQ);return n.length?n[0](e):nt.mac?e.metaKey:e.ctrlKey}function mOe(t,e){let n=t.state.facet(XQ);return n.length?n[0](e):nt.mac?!e.altKey:!e.ctrlKey}function gOe(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=Qf(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let s=0;s<i.length;s++){let a=i[s];if(a.left<=e.clientX&&a.right>=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function bOe(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=mr.get(n))&&r.isWidget()&&!r.isHidden&&r.widget.ignoreEvent(e))return!1;return!0}const Ja=Object.create(null),Ea=Object.create(null),yJ=nt.ie&&nt.ie_version<15||nt.ios&&nt.webkit_version<604;function yOe(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),vJ(t,n.value)},50)}function qS(t,e,n){for(let r of t.facet(e))n=r(n,t);return n}function vJ(t,e){e=qS(t.state,K3,e);let{state:n}=t,r,i=1,s=n.toText(e),a=s.lines==n.selection.ranges.length;if(lA!=null&&n.selection.ranges.every(l=>l.empty)&&lA==s.toString()){let l=-1;r=n.changeByRange(c=>{let d=n.doc.lineAt(c.from);if(d.from==l)return{range:c};l=d.from;let f=n.toText((a?s.line(i++).text:e)+n.lineBreak);return{changes:{from:d.from,insert:f},range:De.cursor(c.from+f.length)}})}else a?r=n.changeByRange(l=>{let c=s.line(i++);return{changes:{from:l.from,to:l.to,insert:c.text},range:De.cursor(l.from+c.length)}}):r=n.replaceSelection(s);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}Ea.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Ja.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);Ea.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Ea.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Ja.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(ZQ))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=wOe(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new fOe(t,e,n,r)),r&&t.observer.ignore(()=>{UQ(t.contentDOM);let s=t.root.activeElement;s&&!s.contains(t.contentDOM)&&s.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}else t.inputState.setSelectionOrigin("select.pointer");return!1};function _U(t,e,n,r){if(r==1)return De.cursor(e,n);if(r==2)return ZNe(t.state,e,n);{let i=t.docView.lineAt(e,n),s=t.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:s.from,o=i?i.posAtEnd:s.to;return o<t.state.doc.length&&o==s.to&&o++,De.range(a,o)}}const vOe=nt.ie&&nt.ie_version<=11;let xU=null,EU=0,kU=0;function wJ(t){if(!vOe)return t.detail;let e=xU,n=kU;return xU=t,kU=Date.now(),EU=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(EU+1)%3:1}function wOe(t,e){let n=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),r=wJ(e),i=t.state.selection;return{update(s){s.docChanged&&(n.pos=s.changes.mapPos(n.pos),i=i.map(s.changes))},get(s,a,o){let l=t.posAndSideAtCoords({x:s.clientX,y:s.clientY},!1),c,d=_U(t,l.pos,l.assoc,r);if(n.pos!=l.pos&&!a){let f=_U(t,n.pos,n.assoc,r),p=Math.min(f.from,d.from),g=Math.max(f.to,d.to);d=p<d.from?De.range(p,g):De.range(g,p)}return a?i.replaceRange(i.main.extend(d.from,d.to)):o&&r==1&&i.ranges.length>1&&(c=SOe(i,l.pos))?c:o?i.addRange(d):De.create([d])}}}function SOe(t,e){for(let n=0;n<t.ranges.length;n++){let{from:r,to:i}=t.ranges[n];if(r<=e&&i>=e)return De.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}Ja.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.tile.nearest(e.target);if(i&&i.isWidget()){let s=i.posAtStart,a=s+i.length;(s>=n.to||a<=n.from)&&(n=De.range(s,a))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",qS(t.state,Y3,t.state.sliceDoc(n.from,n.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Ja.dragend=t=>(t.inputState.draggedContent=null,!1);function CU(t,e,n,r){if(n=qS(t.state,K3,n),!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,a=r&&s&&mOe(t,e)?{from:s.from,to:s.to}:null,o={from:i,insert:n},l=t.state.changes(a?[a,o]:o);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Ja.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,s=()=>{++i==n.length&&CU(t,e,r.filter(a=>a!=null).join(t.state.lineBreak),!1)};for(let a=0;a<n.length;a++){let o=new FileReader;o.onerror=s,o.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(r[a]=o.result),s()},o.readAsText(n[a])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return CU(t,e,r,!0),!0}return!1};Ja.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=yJ?null:e.clipboardData;return n?(vJ(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(yOe(t),!1)};function _Oe(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function xOe(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:s}of t.selection.ranges){let a=t.doc.lineAt(s);a.number>i&&(e.push(a.text),n.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),i=a.number}r=!0}return{text:qS(t,Y3,e.join(t.lineBreak)),ranges:n,linewise:r}}let lA=null;Ja.copy=Ja.cut=(t,e)=>{let n=Qf(t.root);if(n&&!yg(t.contentDOM,n))return!1;let{text:r,ranges:i,linewise:s}=xOe(t.state);if(!r&&!s)return!1;lA=s?r:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let a=yJ?null:e.clipboardData;return a?(a.clearData(),a.setData("text/plain",r),!0):(_Oe(t,r),!1)};const SJ=Gl.define();function _J(t,e){let n=[];for(let r of t.facet(eJ)){let i=r(t,e);i&&n.push(i)}return n.length?t.update({effects:n,annotations:SJ.of(!0)}):null}function xJ(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=_J(t.state,e);n?t.dispatch(n):t.update([])}},10)}Ea.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),xJ(t)};Ea.blur=t=>{t.observer.clearSelectionRange(),xJ(t)};Ea.compositionstart=Ea.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};Ea.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,nt.chrome&&nt.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};Ea.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Ja.beforeinput=(t,e)=>{var n,r;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(t.inputState.insertingText=e.data,t.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&t.observer.editContext){let s=(n=e.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),a=e.getTargetRanges();if(s&&a.length){let o=a[0],l=t.posAtDOM(o.startContainer,o.startOffset),c=t.posAtDOM(o.endContainer,o.endOffset);return Q3(t,{from:l,to:c,insert:t.state.toText(s)},null),!0}}let i;if(nt.chrome&&nt.android&&(i=gJ.find(s=>
91s.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let s=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var a;(((a=window.visualViewport)===null||a===void 0?void 0:a.height)||0)>s+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return nt.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),nt.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>Ea.compositionend(t,e),20),!1};const TU=new Set;function EOe(t){TU.has(t)||(TU.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const AU=["pre-wrap","normal","pre-line","break-spaces"];let tp=!1;function RU(){tp=!1}class kOe{constructor(e){this.lineWrapping=e,this.doc=rn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return AU.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r<e.length;r++){let i=e[r];i<0?r++:this.heightSamples[Math.floor(i*10)]||(n=!0,this.heightSamples[Math.floor(i*10)]=!0)}return n}refresh(e,n,r,i,s,a){let o=AU.indexOf(e)>-1,l=Math.abs(n-this.lineHeight)>.3||this.lineWrapping!=o||Math.abs(r-this.charWidth)>.1;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=s,l){this.heightSamples={};for(let c=0;c<a.length;c++){let d=a[c];d<0?c++:this.heightSamples[Math.floor(d*10)]=!0}}return l}}class COe{constructor(e,n){this.from=e,this.heights=n,this.index=0}get more(){return this.index<this.heights.length}}class za{constructor(e,n,r,i,s){this.from=e,this.length=n,this.top=r,this.height=i,this._content=s}get type(){return typeof this._content=="number"?ei.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Fd?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new za(this.from,this.length+e.length,this.top,this.height+e.height,n)}}var Sn=(function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t})(Sn||(Sn={}));const h1=.001;class Fi{constructor(e,n,r=2){this.length=e,this.height=n,this.flags=r}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>h1&&(tp=!0),this.height=e)}replace(e,n,r){return Fi.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let s=this,a=r.doc;for(let o=i.length-1;o>=0;o--){let{fromA:l,toA:c,fromB:d,toB:f}=i[o],p=s.lineAt(l,Sn.ByPosNoHeight,r.setDoc(n),0,0),g=p.to>=c?p:s.lineAt(c,Sn.ByPosNoHeight,r,0,0);for(f+=g.to-c,c=g.to;o>0&&p.from<=i[o-1].toA;)l=i[o-1].fromA,d=i[o-1].fromB,o--,l<p.from&&(p=s.lineAt(l,Sn.ByPosNoHeight,r,0,0));d+=p.from-l,l=p.from;let b=J3.build(r.setDoc(a),e,d,f);s=gw(s,s.replace(l,c,b))}return s.updateHeight(r,0)}static empty(){return new Is(0,0,0)}static of(e){if(e.length==1)return e[0];let n=0,r=e.length,i=0,s=0;for(;;)if(n==r)if(i>s*2){let o=e[n-1];o.break?e.splice(--n,1,o.left,null,o.right):e.splice(--n,1,o.left,o.right),r+=1+o.break,i-=o.size}else if(s>i*2){let o=e[r];o.break?e.splice(r,1,o.left,null,o.right):e.splice(r,1,o.left,o.right),r+=2+o.break,s-=o.size}else break;else if(i<s){let o=e[n++];o&&(i+=o.size)}else{let o=e[--r];o&&(s+=o.size)}let a=0;return e[n-1]==null?(a=1,n--):e[n]==null&&(a=1,r++),new AOe(Fi.of(e.slice(0,n)),a,Fi.of(e.slice(r)))}}function gw(t,e){return t==e?t:(t.constructor!=e.constructor&&(tp=!0),e)}Fi.prototype.size=1;const TOe=Kt.replace({});class EJ extends Fi{constructor(e,n,r){super(e,n),this.deco=r,this.spaceAbove=0}mainBlock(e,n){return new za(n,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,n,r,i){return this.spaceAbove&&e<r+this.spaceAbove?new za(i,0,r,this.spaceAbove,TOe):this.mainBlock(r,i)}lineAt(e,n,r,i,s){let a=this.mainBlock(i,s);return this.spaceAbove?this.blockAt(0,r,i,s).join(a):a}forEachLine(e,n,r,i,s,a){e<=s+this.length&&n>=s&&a(this.lineAt(0,Sn.ByPos,r,i,s))}
vendor: 9,552 bytes, line 91
91setMeasuredHeight(e){let n=e.heights[e.index++];n<0?(this.spaceAbove=-n,n=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(n)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setMeasuredHeight(i),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Is extends EJ{constructor(e,n,r){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=r}mainBlock(e,n){return new za(n,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof Is||i instanceof Xr&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof Xr?i=new Is(i.length,this.height,this.spaceAbove):i.height=this.height,this.outdated||(i.outdated=!1),i):Fi.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setMeasuredHeight(i):(r||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Xr extends Fi{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,s=i-r+1,a,o=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*s);a=l/s,this.length>s+1&&(o=(this.height-l)/(this.length-s-1))}else a=this.height/s;return{firstLine:r,lastLine:i,perLine:a,perChar:o}}blockAt(e,n,r,i){let{firstLine:s,lastLine:a,perLine:o,perChar:l}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+(e<n.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-r)/this.height))*this.length)),d=n.doc.lineAt(c),f=o+d.length*l,p=Math.max(r,e-f/2);return new za(d.from,d.length,p,f,0)}else{let c=Math.max(0,Math.min(a-s,Math.floor((e-r)/o))),{from:d,length:f}=n.doc.line(s+c);return new za(d,f,r+o*c,o,0)}}lineAt(e,n,r,i,s){if(n==Sn.ByHeight)return this.blockAt(e,r,i,s);if(n==Sn.ByPosNoHeight){let{from:g,to:b}=r.doc.lineAt(e);return new za(g,b-g,0,0,0)}let{firstLine:a,perLine:o,perChar:l}=this.heightMetrics(r,s),c=r.doc.lineAt(e),d=o+c.length*l,f=c.number-a,p=i+o*f+l*(c.from-s-f);return new za(c.from,c.length,Math.max(i,Math.min(p,i+this.height-d)),d,0)}forEachLine(e,n,r,i,s,a){e=Math.max(e,s),n=Math.min(n,s+this.length);let{firstLine:o,perLine:l,perChar:c}=this.heightMetrics(r,s);for(let d=e,f=i;d<=n;){let p=r.doc.lineAt(d);if(d==e){let b=p.number-o;f+=l*b+c*(e-s-b)}let g=l+c*p.length;a(new za(p.from,p.length,f,g,0)),f+=g,d=p.to+1}}replace(e,n,r){let i=this.length-n;if(i>0){let s=r[r.length-1];s instanceof Xr?r[r.length-1]=new Xr(s.length+i):r.push(null,new Xr(i-1))}if(e>0){let s=r[0];s instanceof Xr?r[0]=new Xr(e+s.length):r.unshift(new Xr(e-1),null)}return Fi.of(r)}decomposeLeft(e,n){n.push(new Xr(e-1),null)}decomposeRight(e,n){n.push(null,new Xr(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let s=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],o=Math.max(n,i.from),l=-1;for(i.from>n&&a.push(new Xr(i.from-n-1).updateHeight(e,n));o<=s&&i.more;){let d=e.doc.lineAt(o).length;a.length&&a.push(null);let f=i.heights[i.index++],p=0;f<0&&(p=-f,f=i.heights[i.index++]),l==-1?l=f:Math.abs(f-l)>=h1&&(l=-2);let g=new Is(d,f,p);g.outdated=!1,a.push(g),o+=d+1}o<=s&&a.push(null,new Xr(s-o).updateHeight(e,o));let c=Fi.of(a);return(l<0||Math.abs(c.height-this.height)>=h1||Math.abs(l-this.heightMetrics(e,n).perLine)>=h1)&&(tp=!0),gw(this,c)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class AOe extends Fi{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let s=r+this.left.height;return e<s?this.left.blockAt(e,n,r,i):this.right.blockAt(e,n,s,i+this.left.length+this.break)}lineAt(e,n,r,i,s){let a=i+this.left.height,o=s+this.left.length+this.break,l=n==Sn.ByHeight?e<a:e<o,c=l?this.left.lineAt(e,n,r,i,s):this.right.lineAt(e,n,r,a,o);if(this.break||(l?c.to<o:c.from>o))return c;let d=n==Sn.ByPosNoHeight?Sn.ByPosNoHeight:Sn.ByPos;return l?c.join(this.right.lineAt(o,d,r,a,o)):this.left.lineAt(o,d,r,i,s).join(c)}forEachLine(e,n,r,i,s,a){let o=i+this.left.height,l=s+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,n,r,i,s,a),n>=l&&this.right.forEachLine(e,n,r,o,l,a);else{let c=this.lineAt(l,Sn.ByPos,r,i,s);e<c.from&&this.left.forEachLine(e,c.from-1,r,i,s,a),c.to>=e&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,o,l,a)}}replace(e,n,r){let i=this.left.length+this.break;if(n<i)return this.balanced(this.left.replace(e,n,r),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let s=[];e>0&&this.decomposeLeft(e,s);let a=s.length;for(let o of r)s.push(o);if(e>0&&NU(s,a-1),n<this.length){let o=s.length;this.decomposeRight(n,s),NU(s,o)}return Fi.of(s)}decomposeLeft(e,n){let r=this.left.length;if(e<=r)return this.left.decomposeLeft(e,n);n.push(this.left),this.break&&(r++,e>=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e<r&&this.left.decomposeRight(e,n),this.break&&e<i&&n.push(null),n.push(this.right)}balanced(e,n){return e.size>2*n.size||n.size>2*e.size?Fi.of(this.break?[e,null,n]:[e,n]):(this.left=gw(this.left,e),this.right=gw(this.right,n),this.setHeight(e.height+n.height),this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:s,right:a}=this,o=n+s.length+this.break,l=null;return i&&i.from<=n+s.length&&i.more?l=s=s.updateHeight(e,n,r,i):s.updateHeight(e,n,r),i&&i.from<=o+a.length&&i.more?l=a=a.updateHeight(e,o,r,i):a.updateHeight(e,o,r),l?this.balanced(s,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function NU(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof Xr&&(r=t[e+1])instanceof Xr&&t.splice(e-1,3,new Xr(n.length+1+r.length))}const ROe=5;class J3{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Is?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new Is(r-this.pos,-1,0)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e<n||r.heightRelevant){let i=r.widget?r.widget.estimatedHeight:0,s=r.widget?r.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let a=n-e;r.block?this.addBlock(new EJ(a,i,r)):(a||s||i>=ROe)&&this.addLineDeco(i,s,a)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Is(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,n){let r=new Xr(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Is)return e;let n=new Is(0,-1,0);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Is)&&!this.isCovered?this.nodes.push(new Is(0,-1,0)):(this.writtenTo<this.pos||n==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let r=e;for(let i of this.nodes)i instanceof Is&&i.updateHeight(this.oracle,r),r+=i?i.length:1;return this.nodes}static build(e,n,r,i){let s=new J3(r,e);return Ut.spans(n,r,i,s,0),s.finish(r)}}function NOe(t,e,n){let r=new OOe;return Ut.compare(t,e,n,r,0),r.changes}class OOe{constructor(){this.changes=[]}compareRange(){}comparePoint(e,n,r,i){(e<n||r&&r.heightRelevant||i&&i.heightRelevant)&&Of(e,n,this.changes,5)}}function IOe(t,e){let n=t.getBoundingClientRect(),r=t.ownerDocument,i=r.defaultView||window,s=Math.max(0,n.left),a=Math.min(i.innerWidth,n.right),o=Math.max(0,n.top),l=Math.min(i.innerHeight,n.bottom);for(let c=t.parentNode;c&&c!=r.body;)if(c.nodeType==1){let d=c,f=window.getComputedStyle(d);if((d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth)&&f.overflow!="visible"){let p=d.getBoundingClientRect();s=Math.max(s,p.left),a=Math.min(a,p.right),o=Math.max(o,p.top),l=Math.min(c==t.parentNode?i.innerHeight:l,p.bottom)}c=f.position=="absolute"||f.position=="fixed"?d.offsetParent:d.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-n.left,right:Math.max(s,a)-n.left,top:o-(n.top+e),bottom:Math.max(o,l)-(n.top+e)}}function DOe(t){let e=t.getBoundingClientRect(),n=t.ownerDocument.defaultView||window;return e.left<n.innerWidth&&e.right>
vendor: 25,181 bytes, line 91
910&&e.top<n.innerHeight&&e.bottom>0}function MOe(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class sk{constructor(e,n,r,i){this.from=e,this.to=n,this.size=r,this.displaySize=i}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=n[r];if(i.from!=s.from||i.to!=s.to||i.size!=s.size)return!1}return!0}draw(e,n){return Kt.replace({widget:new LOe(this.displaySize*(n?e.scaleY:e.scaleX),n)}).range(this.from,this.to)}}class LOe extends Xd{constructor(e,n){super(),this.size=e,this.vertical=n}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class OU{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=IU,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=_n.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let n=e.facet(HS).some(r=>typeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new kOe(n),this.stateDeco=DU(e),this.heightMap=Fi.empty().applyChanges(this.stateDeco,rn.empty,this.heightOracle.setDoc(e.doc),[new pa(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Kt.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:s,to:a})=>i>=s&&i<=a)){let{from:s,to:a}=this.lineBlockAt(i);e.push(new lv(s,a))}}return this.viewports=e.sort((r,i)=>r.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?IU:new e5(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Jm(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=DU(this.state);let i=e.changedRanges,s=pa.extendWithRanges(i,NOe(r,this.stateDeco,e?e.changes:Er.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);RU(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=a||tp)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=a);let l=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.head<l.from||n.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(nJ)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,s=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?_n.RTL:_n.LTR;let a=this.heightOracle.mustRefreshForWrapping(s)||this.mustMeasureContent,o=n.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,d=0;if(o.width&&o.height){let{scaleX:T,scaleY:R}=zQ(n,o);(T>.005&&Math.abs(this.scaleX-T)>.005||R>.005&&Math.abs(this.scaleY-R)>.005)&&(this.scaleX=T,this.scaleY=R,c|=16,a=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,p=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=p)&&(this.paddingTop=f,this.paddingBottom=p,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let g=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=g&&(this.scrollAnchorHeight=-1,this.scrollTop=g),this.scrolledToBottom=jQ(e.scrollDOM);let b=(this.printing?MOe:IOe)(n,this.paddingTop),y=b.top-this.pixelViewport.top,w=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let S=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(S!=this.inView&&(this.inView=S,S&&(l=!0)),!this.inView&&!this.scrollTarget&&!DOe(e.dom))return 0;let _=o.width;if((this.contentDOMWidth!=_||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let T=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(T)&&(a=!0),a||i.lineWrapping&&Math.abs(_-this.contentDOMWidth)>i.charWidth){let{lineHeight:R,charWidth:N,textHeight:I}=e.docView.measureTextSize();a=R>0&&i.refresh(s,R,N,I,Math.max(5,_/N),T),a&&(e.docView.minWidth=0,c|=16)}y>0&&w>0?d=Math.max(y,w):y<0&&w<0&&(d=Math.min(y,w)),RU();for(let R of this.viewports){let N=R.from==this.viewport.from?T:e.docView.measureVisibleLineHeights(R);this.heightMap=(a?Fi.empty().applyChanges(this.stateDeco,rn.empty,this.heightOracle,[new pa(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new COe(R.from,N))}tp&&(c|=2)}let E=!this.viewportIsAppropriate(this.viewport,d)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return E&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(d,this.scrollTarget),c|=this.updateForViewport()),(c&2||E)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,s=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,l=new lv(i.lineAt(a-r*1e3,Sn.ByHeight,s,0,0).from,i.lineAt(o+(1-r)*1e3,Sn.ByHeight,s,0,0).to);if(n){let{head:c}=n.range;if(c<l.from||c>l.to){let d=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,Sn.ByPos,s,0,0),p;n.y=="center"?p=(f.top+f.bottom)/2-d/2:n.y=="start"||n.y=="nearest"&&c<l.from?p=f.top:p=f.bottom-d,l=new lv(i.lineAt(p-1e3/2,Sn.ByHeight,s,0,0).from,i.lineAt(p+d+1e3/2,Sn.ByHeight,s,0,0).to)}}return l}mapViewport(e,n){let r=n.mapPos(e.from,-1),i=n.mapPos(e.to,1);return new lv(this.heightMap.lineAt(r,Sn.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,Sn.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:n},r=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,Sn.ByPos,this.heightOracle,0,0),{bottom:s}=this.heightMap.lineAt(n,Sn.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:o}=this;return(e==0||i<=a-Math.max(10,Math.min(-r,250)))&&(n==this.state.doc.length||s>=o+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&s<o+2*1e3}mapLineGaps(e,n){if(!e.length||n.empty)return e;let r=[];for(let i of e)n.touchesRange(i.from,i.to)||r.push(new sk(n.mapPos(i.from),n.mapPos(i.to),i.size,i.displaySize));return r}ensureLineGaps(e,n){let r=this.heightOracle.lineWrapping,i=r?1e4:2e3,s=i>>1,a=i<<1;if(this.defaultTextDirection!=_n.LTR&&!r)return[];let o=[],l=(d,f,p,g)=>{if(f-d<s)return;let b=this.state.selection.main,y=[b.from];b.empty||y.push(b.to);for(let S of y)if(S>d&&S<f){l(d,S-10,p,g),l(S+10,f,p,g);return}let w=POe(e,S=>S.from>=p.from&&S.to<=p.to&&Math.abs(S.from-d)<s&&Math.abs(S.to-f)<s&&!y.some(_=>S.from<_&&S.to>_));if(!w){if(f<p.to&&n&&r&&n.visibleRanges.some(E=>E.from<=f&&E.to>=f)){let E=n.moveToLineBoundary(De.cursor(f),!1,!0).head;E>d&&(f=E)}let S=this.gapSize(p,d,f,g),_=r||S<2e6?S:2e6;w=new sk(d,f,S,_)}o.push(w)},c=d=>{if(d.length<a||d.type!=ei.Text)return;let f=BOe(d.from,d.to,this.stateDeco);if(f.total<a)return;let p=this.scrollTarget?this.scrollTarget.range.head:null,g,b;if(r){let y=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,w,S;if(p!=null){let _=uv(f,p),E=((this.visibleBottom-this.visibleTop)/2+y)/d.height;w=_-E,S=_+E}else w=(this.visibleTop-d.top-y)/d.height,S=(this.visibleBottom-d.top+y)/d.height;g=cv(f,w),b=cv(f,S)}else{let y=f.total*this.heightOracle.charWidth,w=i*this.heightOracle.charWidth,S=0;if(y>2e6)for(let N of e)N.from>=d.from&&N.from<d.to&&N.size!=N.displaySize&&N.from*this.heightOracle.charWidth+S<this.pixelViewport.left&&(S=N.size-N.displaySize);let _=this.pixelViewport.left+S,E=this.pixelViewport.right+S,T,R;if(p!=null){let N=uv(f,p),I=((E-_)/2+w)/y;T=N-I,R=N+I}else T=(_-w)/y,R=(E+w)/y;g=cv(f,T),b=cv(f,R)}g>d.from&&l(d.from,g,d,f),b<d.to&&l(b,d.to,d,f)};for(let d of this.viewportLines)Array.isArray(d.type)?d.type.forEach(c):c(d);return o}gapSize(e,n,r,i){let s=uv(i,r)-uv(i,n);return this.heightOracle.lineWrapping?e.height*s:i.total*this.heightOracle.charWidth*s}updateLineGaps(e){sk.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Kt.set(e.map(n=>n.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let n=this.stateDeco;this.lineGaps.length&&(n=n.concat(this.lineGapDeco));let r=[];Ut.spans(n,this.viewport.from,this.viewport.to,{span(s,a){r.push({from:s,to:a})},point(){}},20);let i=0;if(r.length!=this.visibleRanges.length)i=12;else for(let s=0;s<r.length&&!(i&8);s++){let a=this.visibleRanges[s],o=r[s];(a.from!=o.from||a.to!=o.to)&&(i|=4,e&&e.mapPos(a.from,-1)==o.from&&e.mapPos(a.to,1)==o.to||(i|=8))}return this.visibleRanges=r,i}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||Jm(this.heightMap.lineAt(e,Sn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=e&&n.bottom>=e)||Jm(this.heightMap.lineAt(this.scaler.fromDOM(e),Sn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return Jm(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class lv{constructor(e,n){this.from=e,this.to=n}}function BOe(t,e,n){let r=[],i=t,s=0;return Ut.spans(n,t,e,{span(){},point(a,o){a>i&&(r.push({from:i,to:a}),s+=a-i),i=o}},20),i<e&&(r.push({from:i,to:e}),s+=e-i),{total:s,ranges:r}}function cv({total:t,ranges:e},n){if(n<=0)return e[0].from;if(n>=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:s,to:a}=e[i],o=a-s;if(r<=o)return s+r;r-=o}}function uv(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}function POe(t,e){for(let n of t)if(e(n))return n}const IU={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};function DU(t){let e=t.facet($S).filter(r=>typeof r!="function"),n=t.facet(X3).filter(r=>typeof r!="function");return n.length&&e.push(Ut.join(n)),e}class e5{constructor(e,n,r){let i=0,s=0,a=0;this.viewports=r.map(({from:o,to:l})=>{let c=n.lineAt(o,Sn.ByPos,e,0,0).top,d=n.lineAt(l,Sn.ByPos,e,0,0).bottom;return i+=d-c,{from:o,to:l,top:c,bottom:d,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let o of this.viewports)o.domTop=a+(o.top-s)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),s=o.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let s=n<this.viewports.length?this.viewports[n]:null;if(!s||e<s.top)return i+(e-r)*this.scale;if(e<=s.bottom)return s.domTop+(e-s.top);r=s.bottom,i=s.domBottom}}fromDOM(e){for(let n=0,r=0,i=0;;n++){let s=n<this.viewports.length?this.viewports[n]:null;if(!s||e<s.domTop)return r+(e-i)/this.scale;if(e<=s.domBottom)return s.top+(e-s.domTop);r=s.bottom,i=s.domBottom}}eq(e){return e instanceof e5?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((n,r)=>n.from==e.viewports[r].from&&n.to==e.viewports[r].to):!1}}function Jm(t,e){if(e.scale==1)return t;let n=e.toDOM(t.top),r=e.toDOM(t.bottom);return new za(t.from,t.length,n,r-n,Array.isArray(t._content)?t._content.map(i=>Jm(i,e)):t._content)}const dv=at.define({combine:t=>t.join(" ")}),cA=at.define({combine:t=>t.indexOf(!0)>-1}),uA=ru.newName(),kJ=ru.newName(),CJ=ru.newName(),TJ={"&light":"."+kJ,"&dark":"."+CJ};function dA(t,e,n){return new ru(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}const FOe=dA("."+uA,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},TJ),zOe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ak=nt.ie&&nt.ie_version<=11;class UOe{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new bNe,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(nt.ie&&nt.ie_version<=11||nt.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&nt.android&&e.constructor.EDIT_CONTEXT!==!1&&!(nt.chrome&&nt.chrome_version<126)&&(this.editContext=new HOe(e),e.state.facet(kl)&&(e.contentDOM.editContext=this.editContext.editContext)),ak&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(n=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(kl)?r.root.activeElement!=this.dom:!yg(this.dom,i))return;let s=i.anchorNode&&r.docView.tile.nearest(i.anchorNode);if(s&&s.isWidget()&&s.widget.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(nt.ie&&nt.ie_version<=11||nt.android&&nt.chrome)&&!r.state.selection.main.empty&&i.focusNode&&vg(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=Qf(e.root);if(!n)return!1;let r=nt.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&jOe(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=yg(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&vNe(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),i&&(this.selectionChanged=!0),!0)}setSelectionRange(e,n){this.selectionRange.set(e.node,e.offset,n.node,n.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,n=null;for(let r=this.dom;r;)if(r.nodeType==1)!n&&e<this.scrollTargets.length&&this.scrollTargets[e]==r?e++:n||(n=this.scrollTargets.slice(0,e)),n&&n.push(r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;if(e<this.scrollTargets.length&&!n&&(n=this.scrollTargets.slice(0,e)),n){for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);for(let r of this.scrollTargets=n)r.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,zOe),ak&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),ak&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,n){var r;if(!this.delayedAndroidKey){let i=()=>{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&If(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange<Date.now()-50||!!(!((r=this.delayedAndroidKey)===null||r===void 0)&&r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let s of e){let a=this.readMutation(s);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&yg(this.dom,this.selectionRange);
vendor: 5,159 bytes, lines 91-92
91if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new sOe(this.view,e,n,r);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=pJ(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!mw(this.view.state.selection,n.newSel.main))&&this.view.update([]),i}readMutation(e){let n=this.view.docView.tile.nearest(e.target);if(!n||n.isWidget())return null;if(n.markDirty(e.type=="attributes"),e.type=="childList"){let r=MU(n,e.previousSibling||e.target.previousSibling,-1),i=MU(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(kl)!=e.state.facet(kl)&&(e.view.contentDOM.editContext=e.state.facet(kl)?this.editContext.editContext:null))}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function MU(t,e,n){for(;e;){let r=mr.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}function LU(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,s=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor,1);return vg(a.node,a.offset,i,s)&&([n,r,i,s]=[i,s,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:s}}function jOe(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return LU(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?LU(t,n):null}class HOe{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let n=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let i=e.state.selection.main,{anchor:s,head:a}=i,o=this.toEditorPos(r.updateRangeStart),l=this.toEditorPos(r.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:r.updateRangeStart,editorBase:o,drifted:!1});let c=l-o>r.text.length;o==this.from&&s<this.from?o=s:l==this.to&&s>this.to&&(l=s);let d=mJ(e.state.sliceDoc(o,l),r.text,(c?i.from:i.to)-o,c?"end":null);if(!d){let p=De.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd));mw(p,i)||e.dispatch({selection:p,userEvent:"select"});return}let f={from:d.from+o,to:d.toA+o,insert:rn.of(r.text.slice(d.from,d.toB).split(`
92`))};if((nt.mac||nt.android)&&f.from==a-1&&/^\. ?$/.test(r.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(f={from:o,to:l,insert:rn.of([r.text.replace("."," ")])}),this.pendingContextChange=f,!e.state.readOnly){let p=this.to-this.from+(f.to-f.from+f.insert.length);Q3(e,f,De.single(this.toEditorPos(r.selectionStart,p),this.toEditorPos(r.selectionEnd,p)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),f.from<f.to&&!f.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(n.text.slice(Math.max(0,r.updateRangeStart-1),Math.min(n.text.length,r.updateRangeStart+1)))&&this.handlers.compositionend(r)}
vendor: 4,486 bytes, line 92
92,this.handlers.characterboundsupdate=r=>{let i=[],s=null;for(let a=this.toEditorPos(r.rangeStart),o=this.toEditorPos(r.rangeEnd);a<o;a++){let l=e.coordsForChar(a);s=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||s||new DOMRect,i.push(s)}n.updateCharacterBounds(r.rangeStart,i)},this.handlers.textformatupdate=r=>{let i=[];for(let s of r.getTextFormats()){let a=s.underlineStyle,o=s.underlineThickness;if(!/none/i.test(a)&&!/none/i.test(o)){let l=this.toEditorPos(s.rangeStart),c=this.toEditorPos(s.rangeEnd);if(l<c){let d=`text-decoration: underline ${/^[a-z]/.test(a)?a+" ":a=="Dashed"?"dashed ":a=="Squiggle"?"wavy ":""}${/thin/i.test(o)?1:2}px`;i.push(Kt.mark({attributes:{style:d}}).range(l,c))}}}e.dispatch({effects:iJ.of(Kt.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:r}=this.composing;this.composing=null,r&&this.reset(e.state)}};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let i=Qf(r.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let n=0,r=!1,i=this.pendingContextChange;return e.changes.iterChanges((s,a,o,l,c)=>{if(r)return;let d=c.length-(a-s);if(i&&a>=i.to)if(i.from==s&&i.to==a&&i.insert.eq(c)){i=this.pendingContextChange=null,n+=d,this.to+=d;return}else i=null,this.revertPending(e.state);if(s+=n,a+=n,a<=this.from)this.from+=d,this.to+=d;else if(s<this.to){if(s<this.from||a>this.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(a),c.toString()),this.to+=d}n+=d}),i&&!r&&this.revertPending(e.state),!r}update(e){let n=this.pendingContextChange,r=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(r.from,r.to)&&e.transactions.some(i=>!i.isUserEvent("input.type")&&i.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||n)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:n}=e.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(e.doc.length,n+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),e.doc.sliceString(n.from,n.to))}setSelection(e){let{main:n}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),i=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(r,i)}rangeIsValid(e){let{head:n}=e.selection.main;return!(this.from>0&&n-this.from<500||this.to<e.doc.length&&this.to-n<500||this.to-this.from>1e4*3)}toEditorPos(e,n=this.to-this.from){e=Math.min(e,n);let r=this.composing;return r&&r.drifted?r.editorBase+(e-r.contextBase):e+this.from}toContextPos(e){let n=this.composing;return n&&n.drifted?n.contextBase+(e-n.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class st{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="
92cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(s=>r(s,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||yNe(e.parent)||document,this.viewState=new OU(e.state||Xt.create(e)),e.scrollTo&&e.scrollTo.is(sv)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(mf).map(i=>new ek(i));for(let i of this.plugins)i.update(this);this.observer=new UOe(this),this.inputState=new cOe(this),this.inputState.ensureHandlers(this.plugins),this.docView=new bU(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent=!0,this.requestMeasure()})}dispatch(...e){let n=e.length==1&&e[0]instanceof hr?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,s=this.state;for(let p of e){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let a=this.hasFocus,o=0,l=null;e.some(p=>p.annotation(SJ))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=_J(s,a),l||(o=1));let c=this.observer.delayedAndroidKey,d=null;if(c?(this.observer.clearDelayedAndroidKey(),d=this.observer.readChange(),(d&&!this.state.doc.eq(s.doc)||
vendor: 16,362 bytes, line 92
92!this.state.selection.eq(s.selection))&&(d=null)):this.observer.clear(),s.facet(Xt.phrases)!=this.state.facet(Xt.phrases))return this.setState(s);i=hw.create(this,s,e),i.flags|=o;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(f&&(f=f.map(p.changes)),p.scrollIntoView){let{main:g}=p.state.selection;f=new Df(g.empty?g:De.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(sv)&&(f=g.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=bw.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(Zm)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(dv)!=i.state.facet(dv)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let p of this.state.facet(iA))try{p(i)}catch(g){Bs(this.state,g,"update listener")}(l||d)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),d&&!pJ(this,d)&&c.force&&If(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new OU(e),this.plugins=e.facet(mf).map(r=>new ek(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new bU(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(mf),r=e.state.facet(mf);if(n!=r){let i=[];for(let s of r){let a=n.indexOf(s);if(a<0)i.push(new ek(s));else{let o=this.plugins[a];o.mustUpdate=e,i.push(o)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this);n!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let n=e.value;if(n&&n.docViewUpdate)try{n.docViewUpdate(this)}catch(r){Bs(this.state,r,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(a<0)if(jQ(r))s=-1,a=this.viewState.heightMap.height;else{let g=this.viewState.scrollAnchorAt(i);s=g.from,a=g.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(g=>{try{return g.read(this)}catch(b){return Bs(this.state,b),BU}}),f=hw.create(this,this.state,[]),p=!1;f.flags|=l,n?n.flags|=l:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),p=this.docView.update(f),p&&this.docViewUpdate());for(let g=0;g<c.length;g++)if(d[g]!=BU)try{let b=c[g];b.write&&b.write(d[g],this)}catch(b){Bs(this.state,b)}if(p&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,a=-1;continue}else{let b=(s<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(s).top)-a;if(b>1||b<-1){i=i+b,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let o of this.state.facet(iA))o(n)}get themeClasses(){return uA+" "+(this.state.facet(cA)?CJ:kJ)+" "+this.state.facet(dv)}updateAttrs(){let e=PU(this,sJ,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(kl)?"true":"false",class:"cm-content",style:`${nt.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),PU(this,HS,n);let r=this.observer.ignore(()=>{let i=dU(this.contentDOM,this.contentAttrs,n),s=dU(this.dom,this.editorAttrs,e);return i||s});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(st.announce)){n&&(this.announceDOM.textContent=""),n=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(Zm);let e=this.state.facet(st.cspNonce);ru.mount(this.root,this.styleModules.concat(FOe).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;n<this.measureRequests.length;n++)if(this.measureRequests[n].key===e.key){this.measureRequests[n]=e;return}}this.measureRequests.push(e)}}plugin(e){let n=this.pluginMap.get(e);return(n===void 0||n&&n.plugin!=e)&&this.pluginMap.set(e,n=this.plugins.find(r=>r.plugin==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return ik(this,e,yU(this,e,n,r))}moveByGroup(e,n){return ik(this,e,yU(this,e,n,r=>eOe(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),s=r[n?r.length-1:0];return De.cursor(s.side(n,i)+e.from,s.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return JNe(this,e,n,r)}moveVertically(e,n,r){return ik(this,e,tOe(this,e,n,r))}domAtPos(e,n=1){return this.docView.domAtPos(e,n)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){this.readMeasured();let r=oA(this,e,n);return r&&r.pos}posAndSideAtCoords(e,n=!0){return this.readMeasured(),oA(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i),a=s[Tl.find(s,e-i.from,-1,n)];return dw(r,a.dir==_n.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(tJ)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>$Oe)return WQ(e.length);let n=this.textDirectionAt(e.from),r;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==n&&(s.fresh||qQ(s.isolates,r=pU(this,e))))return s.order;r||(r=pU(this,e));let i=CNe(e.text,n,r);return this.bidiCache.push(new bw(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||nt.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{UQ(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return sv.of(new Df(typeof e=="number"?De.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return sv.of(new Df(De.cursor(r.from),"start","start",r.top-e,n,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return ti.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return ti.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=ru.newName(),i=[dv.of(r),Zm.of(dA(`.${r}`,e))];return n&&n.dark&&i.push(cA.of(!0)),i}static baseTheme(e){return mu.lowest(Zm.of(dA("."+uA,e,TJ)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&mr.get(r)||mr.get(e);return((n=i?.root)===null||n===void 0?void 0:n.view)||null}}st.styleModule=Zm;st.inputHandler=JQ;st.clipboardInputFilter=K3;st.clipboardOutputFilter=Y3;st.scrollHandler=rJ;st.focusChangeEffect=eJ;st.perLineTextDirection=tJ;st.exceptionSink=QQ;st.updateListener=iA;st.editable=kl;st.mouseSelectionStyle=ZQ;st.dragMovesSelection=XQ;st.clickAddsSelectionRange=YQ;st.decorations=$S;st.blockWrappers=aJ;st.outerDecorations=X3;st.atomicRanges=G0;st.bidiIsolatedRanges=oJ;st.scrollMargins=lJ;st.darkTheme=cA;st.cspNonce=at.define({combine:t=>t.length?t[0]:""});st.contentAttributes=HS;st.editorAttributes=sJ;st.lineWrapping=st.contentAttributes.of({class:"cm-lineWrapping"});st.announce=Pt.define();const $Oe=4096,BU={};class bw{constructor(e,n,r,i,s,a){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=s,this.order=a}static update(e,n){if(n.empty&&!e.some(s=>s.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:_n.LTR;for(let s=Math.max(0,e.length-10);s<e.length;s++){let a=e[s];a.dir==i&&!n.touchesRange(a.from,a.to)&&r.push(new bw(n.mapPos(a.from,1),n.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))}return r}}function PU(t,e,n){for(let r=t.state.facet(e),i=r.length-1;i>=0;i--){let s=r[i],a=typeof s=="function"?s(t):s;a&&G3(a,n)}return n}const VOe=nt.mac?"mac":nt.windows?"win":nt.linux?"linux":"key";function GOe(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,s,a,o;for(let l=0;l<n.length-1;++l){const c=n[l];if(/^(cmd|meta|m)$/i.test(c))o=!0;else if(/^a(lt)?$/i.test(c))i=!0;else if(/^(c|ctrl|control)$/i.test(c))s=!0;else if(/^s(hift)?$/i.test(c))a=!0;else if(/^mod$/i.test(c))e=="mac"?o=!0:s=!0;else throw new Error("Unrecognized modifier name: "+c)}return i&&(r="Alt-"+r),s&&(r="Ctrl-"+r),o&&(r="Meta-"+r),a&&(r="Shift-"+r),r}function hv(t,e,n){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n!==!1&&e.shiftKey&&(t="Shift-"+t),t}const qOe=mu.default(st.domEventHandlers({keydown(t,e){return RJ(AJ(e.state),t,e,"editor")}})),WS=at.define({enables:qOe}),FU=new WeakMap;function AJ(t){let e=t.facet(WS),n=FU.get(e);return n||FU.set(e,n=YOe(e.reduce((r,i)=>r.concat(i),[]))),n}function WOe(t,e,n){return RJ(AJ(t.state),e,t,n)}let Bc=null;const KOe=4e3;function YOe(t,e=VOe){let n=Object.create(null),r=Object.create(null),i=(a,o)=>{let l=r[a];if(l==null)r[a]=o;else if(l!=o)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},s=(a,o,l,c,d)=>{var f,p;let g=n[a]||(n[a]=Object.create(null)),b=o.split(/ (?!$)/).map(S=>GOe(S,e));for(let S=1;S<b.length;S++){let _=b.slice(0,S).join(" ");i(_,!0),g[_]||(g[_]={preventDefault:!0,stopPropagation:!1,run:[E=>{let T=Bc={view:E,prefix:_,scope:a};return setTimeout(()=>{Bc==T&&(Bc=null)},KOe),!0}]})}let y=b.join(" ");i(y,!1);let w=g[y]||(g[y]={preventDefault:!1,stopPropagation:!1,run:((p=(f=g._any)===null||f===void 0?void 0:f.run)===null||p===void 0?void 0:p.slice())||[]});l&&w.run.push(l),c&&(w.preventDefault=!0),d&&(w.stopPropagation=!0)};for(let a of t){let o=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of o){let d=n[c]||(n[c]=Object.create(null));d._any||(d._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=a;for(let p in d)d[p].run.push(g=>f(g,hA))}let l=a[e]||a.key;if(l)for(let c of o)s(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&s(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return n}let hA=null;function RJ(t,e,n,r){hA=e;let i=cNe(e),s=Pa(i,0),a=El(s)==i.length&&i!=" ",o="",l=!1,c=!1,d=!1;Bc&&Bc.view==n&&Bc.scope==r&&(o=Bc.prefix+" ",bJ.indexOf(e.keyCode)<0&&(c=!0,Bc=null));let f=new Set,p=w=>{if(w){for(let S of w.run)if(!f.has(S)&&(f.add(S),S(n)))return w.stopPropagation&&(d=!0),!0;w.preventDefault&&(w.stopPropagation&&(d=!0),c=!0)}return!1},g=t[r],b,y;return g&&(p(g[o+hv(i,e,!a)])?l=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(nt.windows&&e.ctrlKey&&e.altKey)&&!(nt.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(b=iu[e.keyCode])&&b!=i?(p(g[o+hv(b,e,!0)])||e.shiftKey&&(y=Xg[e.keyCode])!=i&&y!=b&&p(g[o+hv(y,e,!1)]))&&(l=!0):a&&e.shiftKey&&p(g[o+hv(i,e,!0)])&&(l=!0),!l&&p(g._any)&&(l=!0)),c&&(l=!0),l&&d&&e.stopPropagation(),hA=null,l}class q0{constructor(e,n,r,i,s){this.className=e,this.left=n,this.top=r,this.width=i,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let s=NJ(e);return[new q0(n,i.left-s.left,i.top-s.top,null,i.bottom-i.top)]}else return XOe(e,n,r)}}function NJ(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==_n.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function zU(t,e,n,r){let i=t.coordsAtPos(e,n*2);if(!i)return r;let s=t.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,o=t.posAtCoords({x:s.left+1,y:a}),l=t.posAtCoords({x:s.right-1,y:a});return o==null||l==null?r:{from:Math.max(r.from,Math.min(o,l)),to:Math.min(r.to,Math.max(o,l))}}function XOe(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),s=t.textDirection==_n.LTR,a=t.contentDOM,o=a.getBoundingClientRect(),l=NJ(t),c=a.querySelector(".cm-line"),d=c&&window.getComputedStyle(c),f=o.left+(d?parseInt(d.paddingLeft)+Math.min(0,parseInt(d.textIndent)):0),p=o.right-(d?parseInt(d.paddingRight):0),g=aA(t,r,1),b=aA(t,i,-1),y=g.type==ei.Text?g:null,w=b.type==ei.Text?b:null;if(y&&(t.lineWrapping||g.widgetLineBreaks)&&(y=zU(t,r,1,y)),w&&(t.lineWrapping||b.widgetLineBreaks)&&(w=zU(t,i,-1,w)),y&&w&&y.from==w.from&&y.to==w.to)return _(E(n.from,n.to,y));{let R=y?E(n.from,null,y):T(g,!1),N=w?E(null,n.to,w):T(b,!0),I=[];return(y||g).to<(w||b).from-(y&&w?1:0)||g.widgetLineBreaks>1&&R.bottom+t.defaultLineHeight/2<N.top?I.push(S(f,R.bottom,p,N.top)):R.bottom<N.top&&t.elementAtHeight((R.bottom+N.top)/2).type==ei.Text&&(R.bottom=N.top=(R.bottom+N.top)/2),_(R).concat(I
92).concat(_(N))}function S(R,N,I,P){return new q0(e,R-l.left,N-l.top,Math.max(0,I-R),P-N)}function _({top:R,bottom:N,horizontal:I}){let P=[];for(let z=0;z<I.length;z+=2)P.push(S(I[z],R,I[z+1],N));return P}function E(R,N,I){let P=1e9,z=-1e9,U=[];function Z(D,W,G,K,Y){let te=t.coordsAtPos(D,D==I.to?-2:2),q=t.coordsAtPos(G,G==I.from?2:-2);!te||!q||(P=Math.min(te.top,q.top,P),z=Math.max(te.bottom,q.bottom,z),Y==_n.LTR?U.push(s&&W?f:te.left,s&&K?p:q.right):U.push(!s&&K?f:q.left,!s&&W?p:te.right))}let L=R??I.from,$=N??I.to;for(let D of t.visibleRanges)if(D.to>L&&D.from<$)for(let W=Math.max(D.from,L),G=Math.min(D.to,$);;){let K=t.state.doc.lineAt(W);for(let Y of t.bidiSpans(K)){let te=Y.from+K.from,q=Y.to+K.from;if(te>=G)break;q>W&&Z(Math.max(te,W),R==null&&te<=L,Math.min(q,G),N==null&&q>=$,Y.dir)}if(W=K.to+1,W>=G)break}return U.length==0&&Z(L,R==null,$,N==null,t.textDirection),{top:P,bottom:z,horizontal:U}}function T(R,N){let I=o.top+(N?R.top:R.bottom);return{top:I,bottom:I,horizontal:[]}}}function ZOe(t,e){return t.constructor==e.constructor&&t.eq(e)}class QOe{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(f1)!=e.state.facet(f1)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(f1);for(;n<r.length&&r[n]!=this.layer;)n++;this.dom.style.zIndex=String((this.layer.above?150:-1)-n)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:n}=this.view;(e!=this.scaleX||n!=this.scaleY)&&(this.scaleX=e,this.scaleY=n,this.dom.style.transform=`scale(${1/e}, ${1/n})`)}draw(e){if(e.length!=this.drawn.length||e.some((n,r)=>!ZOe(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e,nt.safari&&nt.safari_version>=26&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const f1=at.define();function OJ(t){return[ti.define(e=>new QOe(e,t)),f1.of(t)]}const Jg=at.define({combine(t){return Yd(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function JOe(t={}){return[Jg.of(t),e6e,t6e,n6e,nJ.of(!0)]}function IJ(t){return t.startState.facet(Jg)!=t.state.facet(Jg)}const e6e=OJ({above:!0,markers(t){let{state:e}=t,n=e.facet(Jg),r=[];for(let i of e.selection.ranges){let s=i==e.selection.main;if(i.empty||n.drawRangeCursor){let a=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=i.empty?i:De.cursor(i.head,i.head>i.anchor?-1:1);for(let l of q0.forRange(t,a,o))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=IJ(t);return n&&UU(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){UU(e.state,t)},class:"cm-cursorLayer"});function UU(t,e){e.style.animationDuration=t.facet(Jg).cursorBlinkRate+"ms"}const t6e=OJ({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:q0.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||IJ(t)},class:"cm-selectionLayer"}),n6e=mu.highest(st.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),DJ=Pt.define({map(t,e){return t==null?null:e.mapPos(t)}}),eg=_i.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,r)=>r.is(DJ)?r.value:n,t)}}),r6e=ti.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(eg);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="
92cm-dropCursor"),(t.startState.field(eg)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(eg),n=e!=null&&t.coordsAtPos(e);if(!n)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:n.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:n.bottom-n.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:n}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/n+"px",this.cursor.style.height=t.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(eg)!=t&&this.view.dispatch({effects:DJ.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function i6e(){return[eg,r6e]}const jU=ti.fromClass(class{constructor(){this.height=1e3,this.attrs={style:"padding-bottom: 1000px"}}update(t){let{view:e}=t,n=e.viewState.editorHeight-e.defaultLineHeight-e.documentPadding.top-.5;n>=0&&n!=this.height&&(this.height=n,this.attrs={style:`padding-bottom: ${n}px`})}});function s6e(){return[jU,HS.of(t=>{var e;return((e=t.plugin(jU))===null||e===void 0?void 0:e.attrs)||null})]}function a6e(){return l6e}const o6e=Kt.line({class:"cm-activeLine"}),l6e=ti.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(o6e.range(i.from)),e=i.from)}return Kt.set(n)}},{decorations:t=>t.decorations}),fv="-10000px";class c6e{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(a=>a);let s=null;this.tooltipViews=this.tooltips.map(a=>s=r(a,s))}update(e,n){var r;let i=e.state.facet(this.facet),s=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let a=[],o=n?[]:null;for(let l=0;l<s.length;l++){let c=s[l],d=-1;if(c){for(let f=0;f<this.tooltips.length;f++){let p=this.tooltips[f];p&&p.create==c.create&&(d=f)}if(d<0)a[l]=this.createTooltipView(c,l?a[l-1]:null),o&&(o[l]=!!c.above);else{let f=a[l]=this.tooltipViews[d];o&&(o[l]=n[d]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)a.indexOf(l)<0&&(this.removeTooltipView(l),(r=l.destroy)===null||r===void 0||r.call(l));return n&&(o.forEach((l,c)=>n[c]=l),n.length=o.length),this.input=i,this.tooltips=s,this.tooltipViews=a,!0}}function u6e(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const ok=at.define({combine:t=>{var e,n,r;return{position:nt.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||u6e}}}),HU=new WeakMap,MJ=ti.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(ok);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new c6e(t,LJ,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.theme
vendor: 8,826 bytes, line 92
92Classes,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(ok);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.appendChild(i)}return n.dom.style.position=this.position,n.dom.style.top=fv,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(nt.safari){let a=s.getBoundingClientRect();n=Math.abs(a.top+1e4)>1||Math.abs(a.left)>1}else n=!!s.offsetParent&&s.offsetParent!=this.container.ownerDocument.body}if(n||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(t=s.width/this.parent.offsetWidth,e=s.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),i=Z3(this.view);return{visible:{left:r.left+i.left,top:r.top+i.top,right:r.right-i.right,bottom:r.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,a)=>{let o=this.manager.tooltipViews[a];return o.getCoords?o.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(ok).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{visible:n,space:r,scaleX:i,scaleY:s}=t,a=[];for(let o=0;o<this.manager.tooltips.length;o++){let l=this.manager.tooltips[o],c=this.manager.tooltipViews[o],{dom:d}=c,f=t.pos[o],p=t.size[o];if(!f||l.clip!==!1&&(f.bottom<=Math.max(n.top,r.top)||f.top>=Math.min(n.bottom,r.bottom)||f.right<Math.max(n.left,r.left)-.1||f.left>Math.min(n.right,r.right)+.1)){d.style.top=fv;continue}let g=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,y=p.right-p.left,w=(e=HU.get(c))!==null&&e!==void 0?e:p.bottom-p.top,S=c.offset||h6e,_=this.view.textDirection==_n.LTR,E=p.width>r.right-r.left?_?r.left:r.right-p.width:_?Math.max(r.left,Math.min(f.left-(g?14:0)+S.x,r.right-y)):Math.min(Math.max(r.left,f.left-y+(g?14:0)-S.x),r.right-y),T=this.above[o];!l.strictSide&&(T?f.top-w-b-S.y<r.top:f.bottom+w+b+S.y>r.bottom)&&T==r.bottom-f.bottom>f.top-r.top&&(T=this.above[o]=!T);let R=(T?f.top-r.top:r.bottom-f.bottom)-b;if(R<w&&c.resize!==!1){if(R<this.view.defaultLineHeight){d.style.top=fv;continue}HU.set(c,w),d.style.height=(w=R)/s+"px"}else d.style.height&&(d.style.height="");let N=T?f.top-w-b-S.y:f.bottom+b+S.y,I=E+y;if(c.overlap!==!0)for(let P of a)P.left<I&&P.right>E&&P.top<N+w&&P.bottom>N&&(N=T?P.top-w-2-b:P.bottom+b+2);if(this.position=="absolute"?(d.style.top=(N-t.parent.top)/s+"px",$U(d,(E-t.parent.left)/i)):(d.style.top=N/s+"px",$U(d,E/i)),g){let P=f.left+(_?S.x:-S.x)-(E+14-7);g.style.left=P/i+"px"}c.overlap!==!0&&a.push({left:E,top:N,right:I,bottom:N+w}),d.classList.toggle("cm-tooltip-above",T),d.classList.toggle("cm-tooltip-below",!T),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=fv}},{eventObservers:{scroll(){this.maybeMeasure()}}});function $U(t,e){let n=parseInt(t.style.left,10);(isNaN(n)||Math.abs(e-n)>1)&&(t.style.left=e+"px")}const d6e=st.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),h6e={x:0,y:0},LJ=at.define({enables:[MJ,d6e]});function BJ(t,e){let n=t.plugin(MJ);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}const VU=at.define({combine(t){let e,n;for(let r of t)e=e||r.topContainer,n=n||r.bottomContainer;return{topContainer:e,bottomContainer:n}}});function PJ(t,e){let n=t.plugin(FJ),r=n?n.specs.indexOf(e):-1;return r>-1?n.panels[r]:null}const FJ=ti.fromClass(class{constructor(t){this.input=t.state.facet(yw),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(VU);this.top=new pv(t,!0,e.topContainer),this.bottom=new pv(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(VU);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new pv(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new pv(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(yw);if(n!=this.input){let r=n.filter(l=>l),i=[],s=[],a=[],o=[];for(let l of r){let c=this.specs.indexOf(l),d;c<0?(d=l(t.view),o.push(d)):(d=this.panels[c],d.update&&d.update(t)),i.push(d),(d.top?s:a).push(d)}this.specs=r,this.panels=i,this.top.sync(s),this.bottom.sync(a);for(let l of o)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>st.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class pv{constructor(e,n,r){this.view=e,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=GU(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=GU(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}
vendor: 5,173 bytes, line 92
92syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function GU(t){let e=t.nextSibling;return t.remove(),e}const yw=at.define({enables:FJ});function f6e(t,e){let n,r=new Promise(a=>n=a),i=a=>p6e(a,e,n);t.state.field(lk,!1)?t.dispatch({effects:zJ.of(i)}):t.dispatch({effects:Pt.appendConfig.of(lk.init(()=>[i]))});let s=UJ.of(i);return{close:s,result:r.then(a=>((t.win.queueMicrotask||(l=>t.win.setTimeout(l,10)))(()=>{t.state.field(lk).indexOf(i)>-1&&t.dispatch({effects:s})}),a))}}const lk=_i.define({create(){return[]},update(t,e){for(let n of e.effects)n.is(zJ)?t=[n.value].concat(t):n.is(UJ)&&(t=t.filter(r=>r!=n.value));return t},provide:t=>yw.computeN([t],e=>e.field(t))}),zJ=Pt.define(),UJ=Pt.define();function p6e(t,e,n){let r=e.content?e.content(t,()=>a(null)):null;if(!r){if(r=Mr("form"),e.input){let o=Mr("input",e.input);/^(text|password|number|email|tel|url)$/.test(o.type)&&o.classList.add("cm-textfield"),o.name||(o.name="input"),r.appendChild(Mr("label",(e.label||"")+": ",o))}else r.appendChild(document.createTextNode(e.label||""));r.appendChild(document.createTextNode(" ")),r.appendChild(Mr("button",{class:"cm-button",type:"submit"},e.submitLabel||"OK"))}let i=r.nodeName=="FORM"?[r]:r.querySelectorAll("form");for(let o=0;o<i.length;o++){let l=i[o];l.addEventListener("keydown",c=>{c.keyCode==27?(c.preventDefault(),a(null)):c.keyCode==13&&(c.preventDefault(),a(l))}),l.addEventListener("submit",c=>{c.preventDefault(),a(l)})}let s=Mr("div",r,Mr("button",{onclick:()=>a(null),"aria-label":t.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));e.class&&(s.className=e.class),s.classList.add("cm-dialog");function a(o){s.contains(s.ownerDocument.activeElement)&&t.focus(),n(o)}return{dom:s,top:e.top,mount:()=>{if(e.focus){let o;typeof e.focus=="string"?o=r.querySelector(e.focus):o=r.querySelector("input")||r.querySelector("button"),o&&"select"in o?o.select():o&&"focus"in o&&o.focus()}}}}class jl extends nu{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}jl.prototype.elementClass="";jl.prototype.toDOM=void 0;jl.prototype.mapMode=di.TrackBefore;jl.prototype.startSide=jl.prototype.endSide=-1;jl.prototype.point=!0;const p1=at.define(),m6e=at.define(),g6e={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Ut.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},Sg=at.define();function b6e(t){return[jJ(),Sg.of({...g6e,...t})]}const qU=at.define({combine:t=>t.some(e=>e)});function jJ(t){return[y6e]}const y6e=ti.fromClass(class{constructor(t){this.view=t,this.domAfter=null,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Sg).map(e=>new KU(t,e)),this.fixed=!t.state.facet(qU);for(let e of this.gutters)e.config.side=="after"?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}if(t.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(qU)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=Ut.iter(this.view.state.facet(p1),this.view.viewport.from),r=[],i=this.gutters.map(s=>new v6e(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(s.type)){let a=!0;for(let o of s.type)if(o.type==ei.Text&&a){fA(n,r,o.from);for(let l of i)l.line(this.view,o,r);a=!1}else if(o.widget)for(let l of i)l.widget(this.view,o)}else if(s.type==ei.Text){fA(n,r,s.from);for(let a of i)a.line(this.view,s,r)}else if(s.widget)for(let a of i)a.widget(this.view,s);for(let s of i)s.finish();t&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(t){let e=t.startState.facet(Sg),n=t.state.facet(Sg),r=t.docChanged||t.height
vendor: 5,115 bytes, line 92
92Changed||t.viewportChanged||!Ut.eq(t.startState.facet(p1),t.state.facet(p1),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let s of n){let a=e.indexOf(s);a<0?i.push(new KU(this.view,s)):(this.gutters[a].update(t),i.push(this.gutters[a]))}for(let s of this.gutters)s.dom.remove(),i.indexOf(s)<0&&s.destroy();for(let s of i)s.config.side=="after"?this.getDOMAfter().appendChild(s.dom):this.dom.appendChild(s.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:t=>st.scrollMargins.of(e=>{let n=e.plugin(t);if(!n||n.gutters.length==0||!n.fixed)return null;let r=n.dom.offsetWidth*e.scaleX,i=n.domAfter?n.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==_n.LTR?{left:r,right:i}:{right:r,left:i}})});function WU(t){return Array.isArray(t)?t:[t]}function fA(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class v6e{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=Ut.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,s=(n.top-this.height)/e.scaleY,a=n.height/e.scaleY;if(this.i==i.elements.length){let o=new HJ(e,a,s,r);i.elements.push(o),i.dom.appendChild(o.dom)}else i.elements[this.i].update(e,a,s,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];fA(this.cursor,i,n.from),r.length&&(i=i.concat(r));let s=this.gutter.config.lineMarker(e,n,i);s&&i.unshift(s);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n),i=r?[r]:null;for(let s of e.state.facet(m6e)){let a=s(e,n.widget,n);a&&(i||(i=[])).push(a)}i&&this.addElement(e,n,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class KU{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let s=i.target,a;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=i.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);n.domEventHandlers[r](e,o,i)&&i.preventDefault()});this.markers=WU(n.markers(e)),n.initialSpacer&&(this.spacer=new HJ(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=WU(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!Ut.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class HJ{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),w6e(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let s=0,a=0;;){let o=a,l=s<n.length?n[s++]:null,c=!1;if(l){let d=l.elementClass;d&&(r+=" "+d);for(let f=a;f<this.markers.length;f++)if(this.markers[f].compare(l)){o=f,c=!0;break}}else o=this.markers.length;for(;a<o;){let d=this.markers[a++];if(d.toDOM){d.destroy(i);let f=i.nextSibling;i.remove(),i=f}}if(!l)break;l.toDOM&&(c?i=i.nextSibling:this.dom.insertBefore(l.toDOM(e),i)),c&&a++}this.dom.className=r,this.markers=n}destroy(){this.setMarkers(null,[])}}function w6e(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].compare(e[n]))return!1;return!0}const S6e=at.define(),_6e=at.define(),gf=at.define({combine(t){return Yd(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,n){let r=Object.assign({},e);for(let i in n){let s=r[i],a=n[i];r[i]=s?(o,l,c)=>s(o,l,c)||a(o,l,c):a}return r}})}});class ck extends jl{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function uk(t,e){return t.state.facet(gf).formatNumber(e,t.state)}const x6e=Sg.compute([gf],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(S6e)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new ck(uk(e,e.state.doc.lineAt(n.from).number))},widgetMarker:(e,n,r)=>{for(let i of e.state.facet(_6e)){let s=i(e,n,r);if(s)return s}return null},lineMarkerChange:e=>e.startState.facet(gf)!=e.state.facet(gf),initialSpacer(e){return new ck(uk(e,YU(e.state.doc.lines)))},updateSpacer(e,n){let r=uk(n.view,YU(n.view.state.doc.lines));return r==e.number?e:new ck(r)},domEventHandlers:t.facet(gf).domEventHandlers,side:"before"}));function E6e(t={}){return[gf.of(t),jJ(),x6e]}
92function YU(t){let e=9;for(;e<t;)e=e*10+9;return e}const k6e=new class extends jl{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},C6e=p1.compute(["selection"],t=>{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(k6e.range(i)))}return Ut.of(e)});function T6e(){return C6e}const A6e=1024;let R6e=0,ma=class{constructor(e,n){this.from=e,this.to=n}};class Ht{constructor(e={}){this.id=R6e++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ps.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}}Ht.closedBy=new Ht({deserialize:t=>t.split(" ")});Ht.openedBy=new Ht({deserialize:t=>t.split(" ")});Ht.group=new Ht({deserialize:t=>t.split(" ")});Ht.isolate=new Ht({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Ht.contextHash=new Ht({perNode:!0});Ht.lookAhead=new Ht({perNode:!0});Ht.mounted=new Ht({perNode:!0});class Mf{constructor(e,n,r,i=!1){this.tree=e,this.overlay=n,this.parser=r,this.bracketed=i}static get(e){return e&&e.props&&e.props[Ht.mounted.id]}}const N6e=Object.create(null);class ps{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):N6e,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new ps(e.name||"",n,e.id,r);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[s[0].id]=s[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(Ht.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(Ht.group),s=-1;s<(i?i.length:0);s++){let a=n[s<0?r.name:i[s]];if(a)return a}}}}ps.none=new ps("",Object.create(null),0,8);class $J{constructor(e){this.types=e;for(let n=0;n<e.length;n++)if(e[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let n=[];for(let r of this.types){let i=null;for(let s of e){let a=s(r);if(a){i||(i=Object.assign({},r.props));let o=a[1],l=a[0];l.combine&&l.id in i&&(o=l.combine(i[l.id],o)),i[l.id]=o}}n.push(i?new ps(r.name,i,r.id,r.flags):r)}return new $J(n)}}const mv=new WeakMap,XU=new WeakMap;var gn;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays",t[t.EnterBracketed=16]="EnterBracketed"})(gn||(gn={}));class pr{constructor(e,n,r,i,s){if(this.type=e,this.children=n,this.positions=r,this.length=i,this.props=null,s&&s.length){this.props=Object.create(null);for(let[a,o]of s)this.props[typeof a=="number"?a:a.id]=o}}toString(){let e=Mf.get(this);if(e&&!e.overlay)return e.tree.toString();let n="";for(let r of this.children){let i=r.toString();i&&(n&&(n+=","),n+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}cursor(e=0){return new vw(this.topNode,e)}cursorAt(e,n=0,r=0){let i=mv.get(this)||this.topNode,s=new vw(i);return s.moveTo(e,n),mv.set(this,s._tree),s}get topNode(){return new bi(this,0,0,null)}resolve(e,n=0){let r=e0(mv.get(this)||this.topNode,e,n,!1);return mv.set(this,r),r}resolveInner(e,n=0){let r=e0(XU.get(this)||this.topNode,e,n,!0);return XU.set(this,r),r}resolveStack(e,n=0){return D6e(this,e,n)}iterate(e){let{enter:n,leave:r,from:i=0,to:s=this.length}=e,a=e.mode||0,o=(a&gn.IncludeAnonymous)>0;for(let l=this.cursor(a|gn.IncludeAnonymous);;){let c=!1;if(l.from<=s&&l.to>
vendor: 6,403 bytes, line 92
92=i&&(!o&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(o||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:r5(ps.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new pr(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new pr(ps.none,n,r,i)))}static build(e){return M6e(e)}}pr.empty=new pr(ps.none,[],[],0);class t5{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new t5(this.buffer,this.index)}}class au{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return ps.none}toString(){let e=[];for(let n=0;n<this.buffer.length;)e.push(this.childString(n)),n=this.buffer[n+3];return e.join(",")}childString(e){let n=this.buffer[e],r=this.buffer[e+3],i=this.set.types[n],s=i.name;if(/\W/.test(s)&&!i.isError&&(s=JSON.stringify(s)),e+=4,r==e)return s;let a=[];for(;e<r;)a.push(this.childString(e)),e=this.buffer[e+3];return s+"("+a.join(",")+")"}findChild(e,n,r,i,s){let{buffer:a}=this,o=-1;for(let l=e;l!=n&&!(VJ(s,i,a[l+1],a[l+2])&&(o=l,r>0));l=a[l+3]);return o}slice(e,n,r){let i=this.buffer,s=new Uint16Array(n-e),a=0;for(let o=e,l=0;o<n;){s[l++]=i[o++],s[l++]=i[o++]-r;let c=s[l++]=i[o++]-r;s[l++]=i[o++]-e,a=Math.max(a,c)}return new au(s,a,this.set)}}function VJ(t,e,n,r){switch(t){case-2:return n<e;case-1:return r>=e&&n<e;case 0:return n<e&&r>e;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function e0(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to<e);){let a=!r&&t instanceof bi&&t.index<0?null:t.parent;if(!a)return t;t=a}let s=r?0:gn.IgnoreOverlays;if(r)for(let a=t,o=a.parent;o;a=o,o=a.parent)a instanceof bi&&a.index<0&&((i=o.enter(e,n,s))===null||i===void 0?void 0:i.from)!=a.from&&(t=o);for(;;){let a=t.enter(e,n,s);if(!a)return t;t=a}}class GJ{cursor(e=0){return new vw(this,e)}getChild(e,n=null,r=null){let i=ZU(this,e,n,r);return i.length?i[0]:null}getChildren(e,n=null,r=null){return ZU(this,e,n,r)}resolve(e,n=0){return e0(this,e,n,!1)}resolveInner(e,n=0){return e0(this,e,n,!0)}matchContext(e){return pA(this.parent,e)}enterUnfinishedNodesBefore(e){let n=this.childBefore(e),r=this;for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(r=n,n=i.prevSibling):n=i}return r}get node(){return this}get next(){return this.parent}}class bi extends GJ{constructor(e,n,r,i){super(),this._tree=e,this.from=n,this.index=r,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,i,s=0){for(let a=this;;){for(let{children:o,positions:l}=a._tree,c=n>0?o.length:-1;e!=c;e+=n){let d=o[e],f=l[e]+a.from,p;if(!(!(s&gn.EnterBracketed&&d instanceof pr&&(p=Mf.get(d))&&!p.overlay&&p.bracketed&&r>=f&&r<=f+d.length)&&!VJ(i,r,f,f+d.length))){if(d instanceof au){if(s&gn.ExcludeBuffers)continue;let g=d.findChild(0,d.buffer.length,n,r-f,i);if(g>-1)return new No(new O6e(a,d,e,f),null,g)}else if(s&gn.IncludeAnonymous||!d.type.isAnonymous||n5(d)){let g;if(!(s&gn.IgnoreMounts)&&(g=Mf.get(d))&&!g.overlay)return new bi(g.tree,f,e,a);let b=new bi(d,f,e,a);return s&gn.IncludeAnonymous||!b.type.isAnonymous?b:b.nextChild(n<0?d.children.length-1:0,n,r,i,s)}}}if(s&gn.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+n:e=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,n,r=0){let i;if(!(r&gn.IgnoreOverlays)&&(i=Mf.get(this._tree))&&i.overlay){let s=e-this.from,a=r&gn.EnterBracketed&&i.bracketed;for(let{from:o,to:l}of i.overlay)if((n>0||a?o<=s:o<s)&&(n<0||a?l>=s:l>s))return new bi(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function ZU(t,e,n,r){let i=t.cursor(),s=[];if(!i.firstChild())return s;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return s}for(;;){if(r!=null&&i.type.is(r))return s;if(i.type.is(e)&&s.push(i.node),!i.nextSibling())return r==null?s:[]}}function pA(t,e,n=e.length-1){for(let r=t;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}class O6e{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}}class No extends GJ{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return s<0?null:new No(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,n,r=0){if(r&gn.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return s<0?null:new No(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.
vendor: 1,652 bytes, line 92
92index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new No(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new No(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,s=r.buffer[this.index+3];if(s>i){let a=r.buffer[this.index+1];e.push(r.slice(i,s,a)),n.push(0)}return new pr(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function qJ(t){if(!t.length)return null;let e=0,n=t[0];for(let s=1;s<t.length;s++){let a=t[s];(a.from>n.from||a.to<n.to)&&(n=a,e=s)}let r=n instanceof bi&&n.index<0?null:n.parent,i=t.slice();return r?i[e]=r:i.splice(e,1),new I6e(i,n)}class I6e{constructor(e,n){this.heads=e,this.node=n}get next(){return qJ(this.heads)}}function D6e(t,e,n){let r=t.resolveInner(e,n),i=null;for(let s=r instanceof bi?r:r.context.parent;s;s=s.parent)if(s.index<0){let a=s.parent;(i||(i=[r])).push(a.resolve(e,n)),s=a}else{let a=Mf.get(s.tree);if(a&&a.overlay&&a.overlay[0].from<=e&&a.overlay[a.overlay.length-1].to>=e){let o=new bi(a.tree,a.overlay[0].from+s.from,-1,s);(i||(i=[r])).push(e0(o,e,n,!1))}}return i?qJ(i):r}class vw{get name(){return this.type.name}constructor(e,n=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=n&~gn.EnterBracketed,e instanceof bi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 39,269 bytes, line 92
92for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof bi?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&gn.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&gn.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&gn.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let s=0;s<this.index;s++)if(i.buffer.buffer[s+3]<this.index)return!1;({index:n,parent:r}=i)}else({index:n,_parent:r}=this._tree);for(;r;{index:n,_parent:r}=r)if(n>-1)for(let s=n+e,a=e<0?-1:r._tree.children.length;s!=a;s+=e){let o=r._tree.children[s];if(this.mode&gn.IncludeAnonymous||o instanceof au||!o.type.isAnonymous||n5(o))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,n););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,n=null,r=0;if(e&&e.context==this.buffer)e:for(let i=this.index,s=this.stack.length;s>=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=s+1;break e}i=this.stack[--s]}for(let i=r;i<this.stack.length;i++)n=new No(this.buffer,n,this.stack[i]);return this.bufferNode=new No(this.buffer,n,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,n){for(let r=0;;){let i=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&n&&n(this),i=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,i=!0}}}matchContext(e){if(!this.buffer)return pA(this.node.parent,e);let{buffer:n}=this.buffer,{types:r}=n.set;for(let i=e.length-1,s=this.stack.length-1;i>=0;s--){if(s<0)return pA(this._tree,e,i);let a=r[n.buffer[this.stack[s]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}}function n5(t){return t.children.some(e=>e instanceof au||!e.type.isAnonymous||n5(e))}function M6e(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=A6e,reused:s=[],minRepeatType:a=r.types.length}=t,o=Array.isArray(n)?new t5(n,n.length):n,l=r.types,c=0,d=0;function f(R,N,I,P,z,U){let{id:Z,start:L,end:$,size:D}=o,W=d,G=c;if(D<0)if(o.next(),D==-1){let j=s[Z];I.push(j),P.push(L-R);return}else if(D==-3){c=Z;return}else if(D==-4){d=Z;return}else throw new RangeError(`Unrecognized record size: ${D}`);let K=l[Z],Y,te,q=L-R;if($-L<=i&&(te=w(o.pos-N,z))){let j=new Uint16Array(te.size-te.skip),X=o.pos-te.size,H=j.length;for(;o.pos>X;)H=S(te.start,j,H);Y=new au(j,$-te.start,r),q=te.start-R}else{let j=o.pos-D;o.next();let X=[],H=[],ae=Z>=a?Z:-1,le=0,Ee=$;for(;o.pos>j;)ae>=0&&o.id==ae&&o.size>=0?(o.end<=Ee-i&&(b(X,H,L,le,o.end,Ee,ae,W,G),le=X.length,Ee=o.end),o.next()):U>2500?p(L,j,X,H):f(L,j,X,H,ae,U+1);if(ae>=0&&le>0&&le<X.length&&b(X,H,L,le,L,Ee,ae,W,G),X.reverse(),H.reverse(),ae>-1&&le>0){let me=g(K,G);Y=r5(K,X,H,0,X.length,0,$-L,me,me)}else Y=y(K,X,H,$-L,W-$,G)}I.push(Y),P.push(q)}function p(R,N,I,P){let z=[],U=0,Z=-1;for(;o.pos>N;){let{id:L,start:$,end:D,size:W}=o;if(W>4)o.next();else{if(Z>-1&&$<Z)break;Z<0&&(Z=D-i),z.push(L,$,D),U++,o.next()}}if(U){let L=new Uint16Array(U*4),$=z[z.length-2];for(let D=z.length-3,W=0;D>=0;D-=3)L[W++]=z[D],L[W++]=z[D+1]-$,L[W++]=z[D+2]-$,L[W++]=W;I.push(new au(L,z[2]-$,r)),P.push($-R)}}function g(R,N){return(I,P,z)=>{let U=0,Z=I.length-1,L,$;if(Z>=0&&(L=I[Z])instanceof pr){if(!Z&&L.type==R&&L.length==z)return L;($=L.prop(Ht.lookAhead))&&(U=P[Z]+L.length+$)}return y(R,I,P,z,U,N)}}function b(R,N,I,P,z,U,Z,L,$){let D=[],W=[];for(;R.length>P;)D.push(R.pop()),W.push(N.pop()+I-z);R.push(y(r.types[Z],D,W,U-z,L-U,$)),N.push(z-I)}function y(R,N,I,P,z,U,Z){if(U){let L=[Ht.contextHash,U];Z=Z?[L].concat(Z):[L]}if(z>25){let L=[Ht.lookAhead,z];Z=Z?[L].concat(Z):[L]}return new pr(R,N,I,P,Z)}function w(R,N){let I=o.fork(),P=0,z=0,U=0,Z=I.end-i,L={size:0,start:0,skip:0};e:for(let $=I.pos-R;I.pos>$;){let D=I.size;if(I.id==N&&D>=0){L.size=P,L.start=z,L.skip=U,U+=4,P+=4,I.next();continue}let W=I.pos-D;if(D<0||W<$||I.start<Z)break;let G=I.id>=a?4:0,K=I.start;for(I.next();I.pos>W;){if(I.size<0)if(I.size==-3||I.size==-4)G+=4;else break e;else I.id>=a&&(G+=4);I.next()}z=K,P+=D,U+=G}return(N<0||P==R)&&(L.size=P,L.start=z,L.skip=U),L.size>4?L:void 0}function S(R,N,I){let{id:P,start:z,end:U,size:Z}=o;if(o.next(),Z>=0&&P<a){let L=I;if(Z>4){let $=o.pos-(Z-4);for(;o.pos>$;)I=S(R,N,I)}N[--I]=L,N[--I]=U-R,N[--I]=z-R,N[--I]=P}else Z==-3?c=P:Z==-4&&(d=P);return I}let _=[],E=[];for(;o.pos>0;)f(t.start||0,t.bufferStart||0,_,E,-1,0);let T=(e=t.length)!==null&&e!==void 0?e:_.length?E[0]+_[0].length:0;return new pr(l[t.topID],_.reverse(),E.reverse(),T)}const QU=new WeakMap;function m1(t,e){if(!t.isAnonymous||e instanceof au||e.type!=t)return 1;let n=QU.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof pr)){n=1;break}n+=m1(t,r)}QU.set(e,n)}return n}function r5(t,e,n,r,i,s,a,o,l){let c=0;for(let b=r;b<i;b++)c+=m1(t,e[b]);let d=Math.ceil(c*1.5/8),f=[],p=[];function g(b,y,w,S,_){for(let E=w;E<S;){let T=E,R=y[E],N=m1(t,b[E]);for(E++;E<S;E++){let I=m1(t,b[E]);if(N+I>=d)break;N+=I}if(E==T+1){if(N>d){let I=b[T];g(I.children,I.positions,0,I.children.length,y[T]+_);continue}f.push(b[T])}else{let I=y[E-1]+b[E-1].length-R;f.push(r5(t,b,y,T,E,R,I,null,l))}p.push(R+_-s)}}return g(e,n,r,i,0),(o||l)(f,p,a)}class DVe{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof No?this.setBuffer(e.context.buffer,e.index,n):e instanceof bi&&this.map.set(e.tree,n)}get(e){return e instanceof No?this.getBuffer(e.context.buffer,e.index):e instanceof bi?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Il{constructor(e,n,r,i,s=!1,a=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(s?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new Il(0,e.length,e,0,!1,r)];for(let s of n)s.to>e.length&&i.push(s);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],s=1,a=e.length?e[0]:null;for(let o=0,l=0,c=0;;o++){let d=o<n.length?n[o]:null,f=d?d.fromA:1e9;if(f-l>=r)for(;a&&a.from<f;){let p=a;if(l>=p.from||f<=p.to||c){let g=Math.max(p.from,l)-c,b=Math.min(p.to,f)-c;p=g>=b?null:new Il(g,b,p.tree,p.offset+c,o>0,!!d)}if(p&&i.push(p),a.to>f)break;a=s<e.length?e[s++]:null}if(!d)break;l=d.toA,c=d.toA-d.toB}return i}}let L6e=class{startParse(e,n,r){return typeof e=="string"&&(e=new B6e(e)),r=r?r.length?r.map(i=>new ma(i.from,i.to)):[new ma(0,0)]:[new ma(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let s=i.advance();if(s)return s}}};class B6e{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}function LVe(t){return(e,n,r,i)=>new F6e(e,t,n,r,i)}class JU{constructor(e,n,r,i,s,a){this.parser=e,this.parse=n,this.overlay=r,this.bracketed=i,this.target=s,this.from=a}}function ej(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class P6e{constructor(e,n,r,i,s,a,o,l){this.parser=e,this.predicate=n,this.mounts=r,this.index=i,this.start=s,this.bracketed=a,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const mA=new Ht({perNode:!0});class F6e{constructor(e,n,r,i,s){this.nest=n,this.input=r,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new pr(r.type,r.children,r.positions,r.length,r.propValues.concat([[mA,this.stoppedAt]]))),r}let e=this.inner[this.innerDone],n=e.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[Ht.mounted.id]=new Mf(n,e.overlay,e.parser,e.bracketed),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].from<e&&(e=Math.min(e,this.inner[n].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].parse.stopAt(e)}startInner(){let e=new j6e(this.fragments),n=null,r=null,i=new vw(new bi(this.baseTree,this.ranges[0].from,0,null),gn.IncludeAnonymous|gn.IgnoreMounts);e:for(let s,a;;){let o=!0,l;if(this.stoppedAt!=null&&i.from>=this.stoppedAt)o=!1;else if(e.hasNode(i)){if(n){let c=n.mounts.find(d=>d.frag.from<=i.from&&d.frag.to>=i.to&&d.mount.overlay);if(c)for(let d of c.mount.overlay){let f=d.from+c.pos,p=d.to+c.pos;f>=i.from&&p<=i.to&&!n.ranges.some(g=>g.from<p&&g.to>f)&&n.ranges.push({from:f,to:p})}}o=!1}else if(r&&(a=z6e(r.ranges,i.from,i.to)))o=a!=2;else if(!i.type.isAnonymous&&(s=this.nest(i,this.input))&&(i.from<i.to||!s.overlay)){i.tree||(U6e(i),n&&n.depth++,r&&r.depth++);let c=e.findMounts(i.from,s.parser);if(typeof s.overlay=="function")n=new P6e(s.parser,s.overlay,c,this.inner.length,i.from,!!s.bracketed,i.tree,n);else{let d=rj(this.ranges,s.overlay||(i.from<i.to?[new ma(i.from,i.to)]:[]));d.length&&ej(d),(d.length||!s.overlay)&&this.inner.push(new JU(s.parser,d.length?s.parser.startParse(this.input,ij(c,d),d):s.parser.startParse(""),s.overlay?s.overlay.map(f=>new ma(f.from-i.from,f.to-i.from)):null,!!s.bracketed,i.tree,d.length?d[0].from:i.from)),s.overlay?d.length&&(r={ranges:d,depth:0,prev:r}):o=!1}}else if(n&&(l=n.predicate(i))&&(l===!0&&(l=new ma(i.from,i.to)),l.from<l.to)){let c=n.ranges.length-1;c>=0&&n.ranges[c].to==l.from?n.ranges[c]={from:n.ranges[c].from,to:l.to}:n.ranges.push(l)}if(o&&i.firstChild())n&&n.depth++,r&&r.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(n&&!--n.depth){let c=rj(this.ranges,n.ranges);c.length&&(ej(c),this.inner.splice(n.index,0,new JU(n.parser,n.parser.startParse(this.input,ij(n.mounts,c),c),n.ranges.map(d=>new ma(d.from-n.start,d.to-n.start)),n.bracketed,n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}}function z6e(t,e,n){for(let r of t){if(r.from>=n)break;if(r.to>e)return r.from<=e&&r.to>=n?2:1}return 0}function tj(t,e,n,r,i,s){if(e<n){let a=t.buffer[e+1];r.push(t.slice(e,n,a)),i.push(a-s)}}function U6e(t){let{node:e}=t,n=[],r=e.context.buffer;do n.push(t.index),t.parent();while(!t.tree);let i=t.tree,s=i.children.indexOf(r),a=i.children[s],o=a.buffer,l=[s];function c(d,f,p,g,b,y){let w=n[y],S=[],_=[];tj(a,d,w,S,_,g);let E=o[w+1],T=o[w+2];l.push(S.length);let R=y?c(w+4,o[w+3],a.set.types[o[w]],E,T-E,y-1):e.toTree();return S.push(R),_.push(E-g),tj(a,o[w+3],f,S,_,g),new pr(p,S,_,b)}i.children[s]=c(0,o.length,ps.none,0,a.length,n.length-1);for(let d of l){let f=t.tree.children[d],p=t.tree.positions[d];t.yield(new bi(f,p+t.from,d,t._tree))}}class nj{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(gn.IncludeAnonymous|gn.IgnoreMounts)}moveTo(e){let{cursor:n}=this,r=e-this.offset;for(;!this.done&&n.from<r;)n.to>=e&&n.enter(r,1,gn.IgnoreOverlays|gn.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==e.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof pr)n=n.children[0];else break}return!1}}class j6e{constructor(e){var n;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=(n=r.tree.prop(mA))!==null&&n!==void 0?n:r.to,this.inner=new nj(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(e=n.tree.prop(mA))!==null&&e!==void 0?e:n.to,this.inner=new nj(n.tree,-n.offset)}}findMounts(e,n){var r;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let a=(r=s.tree)===null||r===void 0?void 0:r.prop(Ht.mounted);if(a&&a.parser==n)for(let o=this.fragI;o<this.fragments.length;o++){let l=this.fragments[o];if(l.from>=s.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:s.from-l.offset,mount:a})}}}return i}}function rj(t,e){let n=null,r=e;for(let i=1,s=0;i<t.length;i++){let a=t[i-1].to,o=t[i].from;for(;s<r.length;s++){let l=r[s];if(l.from>=o)break;l.to<=a||(n||(r=n=e.slice()),l.from<a?(n[s]=new ma(l.from,a),l.to>o&&n.splice(s+1,0,new ma(o,l.to))):l.to>o?n[s--]=new ma(o,l.to):n.splice(s--,1))}}return r}function H6e(t,e,n,r){let i=0,s=0,a=!1,o=!1,l=-1e9,c=[];for(;;){let d=i==t.length?1e9:a?t[i].to:t[i].from,f=s==e.length?1e9:o?e[s].to:e[s].from;if(a!=o){let p=Math.max(l,n),g=Math.min(d,f,r);p<g&&c.push(new ma(p,g))}if(l=Math.min(d,f),l==1e9)break;d==l&&(a?(a=!1,i++):a=!0),f==l&&(o?(o=!1,s++):o=!0)}return c}function ij(t,e){let n=[];for(let{pos:r,mount:i,frag:s}of t){let a=r+(i.overlay?i.overlay[0].from:0),o=a+i.tree.length,l=Math.max(s.from,a),c=Math.min(s.to,o);if(i.overlay){let d=i.overlay.map(p=>new ma(p.from+r,p.to+r)),f=H6e(e,d,l,c);for(let p=0,g=l;;p++){let b=p==f.length,y=b?c:f[p].from;if(y>g&&n.push(new Il(g,y,i.tree,-a,s.from>=g||s.openStart,s.to<=y||s.openEnd)),b)break;g=f[p].to}}else n.push(new Il(l,c,i.tree,-a,s.from>=a||s.openStart,s.to<=o||s.openEnd))}return n}let $6e=0;class da{constructor(e,n,r,i){this.name=e,this.set=n,this.base=r,this.modified=i,this.id=$6e++}toString(){let{name:e}=this;for(let n of this.modified)n.name&&(e=`${n.name}(${e})`);return e}static define(e,n){let r=typeof e=="string"?e:"?";if(e instanceof da&&(n=e),n?.base)throw new Error("Can not derive from a modified tag");let i=new da(r,[],null,[]);if(i.set.push(i),n)for(let s of n.set)i.set.push(s);return i}static defineModifier(e){let n=new ww(e);return r=>r.modified.indexOf(n)>-1?r:ww.get(r.base||r,r.modified.concat(n).sort((i,s)=>i.id-s.id))}}let V6e=0;class ww{constructor(e){this.name=e,this.instances=[],this.id=V6e++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(o=>o.base==e&&G6e(n,o.modified));if(r)return r;let i=[],s=new da(e.name,i,e,n);for(let o of n)o.instances.push(s);let a=q6e(n);for(let o of e.set)if(!o.modified.length)for(let l of a)i.push(ww.get(o,l));return s}}function G6e(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}function q6e(t){let e=[[]];for(let n=0;n<t.length;n++)for(let r=0,i=e.length;r<i;r++)e.push(e[r].concat(t[n]));return e.sort((n,r)=>r.length-n.length)}function W6e(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let s=[],a=2,o=i;for(let f=0;;){if(o=="..."&&f>0&&f+3==i.length){a=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+i);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),f+=p[0].length,f==i.length)break;let g=i[f++];if(f==i.length&&g=="!"){a=0;break}if(g!="/")throw new RangeError("Invalid path: "+i);o=i.slice(f)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+i);let d=new t0(r,a,l>0?s.slice(0,l):null);e[c]=d.sort(e[c])}}return WJ.add(e)}const WJ=new Ht({combine(t,e){let n,r,i;for(;t||e;){if(!t||e&&t.depth>=e.depth?(i=e,e=e.next):(i=t,t=t.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let s=new t0(i.tags,i.mode,i.context);n?n.next=s:r=s,n=s}return r}});class t0{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}t0.empty=new t0([],2,null);function KJ(t,e){let n=Object.create(null);for(let s of t)if(!Array.isArray(s.tag))n[s.tag.id]=s.class;else for(let a of s.tag)n[a.id]=s.class;let{scope:r,all:i=null}=e||{};return{style:s=>{let a=i;for(let o of s)for(let l of o.set){let c=n[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}function K6e(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}function Y6e(t,e,n,r=0,i=t.length){let s=new X6e(r,Array.isArray(e)?e:[e],n);s.highlightRange(t.cursor(),r,i,"",s.highlighters),s.flush(i)}class X6e{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,s){let{type:a,from:o,to:l}=e;if(o>=r||l<=n)return;a.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(a)));let c=i,d=Z6e(e)||t0.empty,f=K6e(s,d.tags);if(f&&(c&&(c+=" "),c+=f,d.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,o),c),d.opaque)return;let p=e.tree&&e.tree.prop(Ht.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter(w=>!w.scope||w.scope(p.tree.type)),y=e.firstChild();for(let w=0,S=o;;w++){let _=w<p.overlay.length?p.overlay[w]:null,E=_?_.from+o:l,T=Math.max(n,S),R=Math.min(r,E);if(T<R&&y)for(;e.from<R&&(this.highlightRange(e,T,R,i,s),this.startSpan(Math.min(R,e.to),c),!(e.to>=E||!e.nextSibling())););if(!_||E>r)break;S=_.to+o,S>n&&(this.highlightRange(g.cursor(),Math.max(n,_.from+o),Math.min(r,S),"",b),this.startSpan(Math.min(r,S),c))}y&&e.parent()}else if(e.firstChild()){p&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,s),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}}function Z6e(t){let e=t.type.prop(WJ);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const Ze=da.define,gv=Ze(),Ic=Ze(),sj=Ze(Ic),aj=Ze(Ic),Dc=Ze(),bv=Ze(Dc),dk=Ze(Dc),vo=Ze(),Gu=Ze(vo),mo=Ze(),go=Ze(),gA=Ze(),Fm=Ze(gA),yv=Ze(),ge={comment:gv,lineComment:Ze(gv),blockComment:Ze(gv),docComment:Ze(gv),name:Ic,variableName:Ze(Ic),typeName:sj,tagName:Ze(sj),propertyName:aj,attributeName:Ze(aj),className:Ze(Ic),labelName:Ze(Ic),namespace:Ze(Ic),macroName:Ze(Ic),literal:Dc,string:bv,docString:Ze(bv),character:Ze(bv),attributeValue:Ze(bv),number:dk,integer:Ze(dk),float:Ze(dk),bool:Ze(Dc),regexp:Ze(Dc),escape:Ze(Dc),color:Ze(Dc),url:Ze(Dc),keyword:mo,self:Ze(mo),null:Ze(mo),atom:Ze(mo),unit:Ze(mo),modifier:Ze(mo),operatorKeyword:Ze(mo),controlKeyword:Ze(mo),definitionKeyword:Ze(mo),moduleKeyword:Ze(mo),operator:go,derefOperator:Ze(go),arithmeticOperator:Ze(go),logicOperator:Ze(go),bitwiseOperator:Ze(go),compareOperator:Ze(go),updateOperator:Ze(go),definitionOperator:Ze(go),typeOperator:Ze(go),controlOperator:Ze(go),punctuation:gA,separator:Ze(gA),bracket:Fm,angleBracket:Ze(Fm),squareBracket:Ze(Fm),paren:Ze(Fm),brace:Ze(Fm),content:vo,heading:Gu,heading1:Ze(Gu),heading2:Ze(Gu),heading3:Ze(Gu),heading4:Ze(Gu),heading5:Ze(Gu),heading6:Ze(Gu),contentSeparator:Ze(vo),list:Ze(vo),quote:Ze(vo),emphasis:Ze(vo),strong:Ze(vo),link:Ze(vo),monospace:Ze(vo),strikethrough:Ze(vo),inserted:Ze(),deleted:Ze(),changed:Ze(),invalid:Ze(),meta:yv,documentMeta:Ze(yv),annotation:Ze(yv),processingInstruction:Ze(yv),definition:da.defineModifier("definition"),constant:da.defineModifier("constant"),function:da.defineModifier("function"),standard:da.defineModifier("standard"),local:da.defineModifier("local"),special:da.defineModifier("special")};for(let t in ge){let e=ge[t];e instanceof da&&(e.name=t)}KJ([{tag:ge.link,class:"tok-link"},{tag:ge.heading,class:"tok-heading"},{tag:ge.emphasis,class:"tok-emphasis"},{tag:ge.strong,class:"tok-strong"},{tag:ge.keyword,class:"tok-keyword"},{tag:ge.atom,class:"tok-atom"},{tag:ge.bool,class:"tok-bool"},{tag:ge.url,class:"tok-url"},{tag:ge.labelName,class:"tok-labelName"},{tag:ge.inserted,class:"tok-inserted"},{tag:ge.deleted,class:"tok-deleted"},{tag:ge.literal,class:"tok-literal"},{tag:ge.string,class:"tok-string"},{tag:ge.number,class:"tok-number"},{tag:[ge.regexp,ge.escape,ge.special(ge.string)],class:"tok-string2"},{tag:ge.variableName,class:"tok-variableName"},{tag:ge.local(ge.variableName),class:"tok-variableName tok-local"},{tag:ge.definition(ge.variableName),class:"tok-variableName tok-definition"},{tag:ge.special(ge.variableName),class:"tok-variableName2"},{tag:ge.definition(ge.propertyName),class:"tok-propertyName tok-definition"},{tag:ge.typeName,class:"tok-typeName"},{tag:ge.namespace,class:"tok-namespace"},{tag:ge.className,class:"tok-className"},{tag:ge.macroName,class:"tok-macroName"},{tag:ge.propertyName,class:"tok-propertyName"},{tag:ge.operator,class:"tok-operator"},{tag:ge.comment,class:"tok-comment"},{tag:ge.meta,class:"tok-meta"},{tag:ge.invalid,class:"tok-invalid"},{tag:ge.punctuation,class:"tok-punctuation"}]);var hk;const bf=new Ht;function Q6e(t){return at.define({combine:t?e=>e.concat(t):void 0})}const J6e=new Ht;class $a{constructor(e,n,r=[],i=""){this.data=e,this.name=i,Xt.prototype.hasOwnProperty("tree")||Object.defineProperty(Xt.prototype,"tree",{get(){return ni(this)}}),this.parser=n,this.extension=[ou.of(this),Xt.languageData.of((s,a,o)=>{let l=oj(s,a,o),c=l.type.prop(bf);if(!c)return[];let d=s.facet(c),f=l.type.prop(J6e);if(f){let p=l.resolve(a-l.from,o);for(let g of f)if(g.test(p,s)){let b=s.facet(g.facet);return g.type=="replace"?b:b.concat(d)}}return d})].concat(r)}isActiveAt(e,n,r=-1){return oj(e,n,r).type.prop(bf)==this.data}findRegions(e){let n=e.facet(ou);if(n?.data==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=(s,a)=>{if(s.prop(bf)==this.data){r.push({from:a,to:a+s.length});return}let o=s.prop(Ht.mounted);if(o){if(o.tree.prop(bf)==this.data){if(o.overlay)for(let l of o.overlay)r.push({from:l.from+a,to:l.to+a});else r.push({from:a,to:a+s.length});return}else if(o.overlay){let l=r.length;if(i(o.tree,o.overlay[0].from+a),r.length>l)return}}for(let l=0;l<s.children.length;l++){let c=s.children[l];c instanceof pr&&i(c,s.positions[l]+a)}};return i(ni(e),0),r}get allowsNesting(){return!0}}$a.setState=Pt.define();function oj(t,e,n){let r=t.facet(ou),i=ni(t).topNode;if(!r||r.allowsNesting)for(let s=i;s;s=s.enter(e,n,gn.ExcludeBuffers|gn.EnterBracketed))s.type.isTop&&(i=s);return i}class bA extends $a{constructor(e,n,r){super(e,n,[],r),this.parser=n}static define(e){let n=Q6e(e.languageData);return new bA(n,e.parser.configure({props:[bf.add(r=>r.isTop?n:void 0)]}),e.name)}configure(e,n){return new bA(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ni(t){let e=t.field($a.state,!1);return e?e.tree:pr.empty}class eIe{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e<r||n>=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}}let zm=null;class Sw{constructor(e,n,r=[],i,s,a,o,l){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=s,this.viewport=a,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new Sw(e,n,[],pr.empty,0,r,[],null)}startParse(){return this.parser.startParse(new eIe(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=pr.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n<this.state.doc.length&&this.parse.stopAt(n);;){let i=this.parse.advance();if(i)if(this.fragments=this.withoutTempSkipped(Il.addTree(i,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(r=this.parse.stoppedAt)!==null&&r!==void 0?r:this.state.doc.length,this.tree=i,this.parse=null,this.treeLen<(n??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,n;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(Il.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=zm;zm=this;try{return e()}finally{zm=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=lj(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:s,viewport:a,skipped:o}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,d,f,p)=>l.push({fromA:c,toA:d,fromB:f,toB:p})),r=Il.applyChanges(r,l),i=pr.empty,s=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let d=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);d<f&&o.push({from:d,to:f})}}}return new Sw(this.parser,n,r,i,s,a,o,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let n=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:i,to:s}=this.skipped[r];i<e.to&&s>e.from&&(this.fragments=lj(this.fragments,i,s),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends L6e{createParse(n,r,i){let s=i[0].from,a=i[i.length-1].to;return{parsedPos:s,advance(){let l=zm;if(l){for(let c of i)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=a,new pr(ps.none,[],[],a-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return zm}}function lj(t,e,n){return Il.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class np{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new np(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=Sw.create(e.facet(ou).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new np(r)}}$a.state=_i.define({create:np.init,update(t,e){for(let n of e.effects)if(n.is($a.setState))return n.value;return e.startState.facet(ou)!=e.state.facet(ou)?np.init(e.state):t.apply(e)}});let YJ=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(YJ=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const fk=typeof navigator<"u"&&(!((hk=navigator.scheduling)===null||hk===void 0)&&hk.isInputPending)?()=>navigator.scheduling.isInputPending():null,tIe=ti.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field($a.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field($a.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=YJ(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEnd<n&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=n+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:i}}=this.view,s=r.field($a.state);if(s.tree==s.context.tree&&s.context.isDone(i+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!fk?Math.max(25,e.timeRemaining()-5):1e9),o=s.context.treeLen<i&&r.doc.length>i+1e3,l=s.context.work(()=>fk&&fk()||Date.now()>a,i+(o?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:$a.setState.of(new np(s.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>Bs(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ou=at.define({combine(t){return t.length?t[0]:null},enables:t=>[$a.state,tIe,st.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]});class PVe{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}class oa{constructor(e,n,r,i,s,a=void 0){this.name=e,this.alias=n,this.extensions=r,this.filename=i,this.loadFunc=s,this.support=a,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:n,support:r}=e;if(!n){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=()=>Promise.resolve(r)}return new oa(e.name,(e.alias||[]).concat(e.name).map(i=>i.toLowerCase()),e.extensions||[],e.filename,n,r)}static matchFilename(e,n){for(let i of e)if(i.filename&&i.filename.test(n))return i;let r=/\.([^.]+)$/.exec(n);if(r){for(let i of e)if(i.extensions.indexOf(r[1])>-1)return i}return null}static matchLanguageName(e,n,r=!0){n=n.toLowerCase();for(let i of e)if(i.alias.some(s=>s==n))return i;if(r)for(let i of e)for(let s of i.alias){let a=n.indexOf(s);if(a>-1&&(s.length>2||!/\w/.test(n[a-1])&&!/\w/.test(n[a+s.length])))return i}return null}}const nIe=at.define(),W0=at.define({combine:t=>{if(!t.length)return"  ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function _w(t){let e=t.facet(W0);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function n0(t,e){let n="",r=t.tabSize,i=t.facet(W0)[0];if(i=="	"){for(;e>=r;)n+="	",e-=r;i=" "}for(let s=0;s<e;s++)n+=i;return n}function i5(t,e){t instanceof Xt&&(t=new KS(t));for(let r of t.state.facet(nIe)){let i=r(t,e);if(i!==void 0)return i}let n=ni(t.state);return n.length>=e?iIe(t,n,e):null}class KS{constructor(e,n={}){this.state=e,this.options=n,this.unit=_w(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:s}=this.options;return i!=null&&i>=r.from&&i<=r.to?s&&i==e?{text:"",from:e}:(n<0?i<e:i<=e)?{text:r.text.slice(i-r.from),from:i}:{text:r.text.slice(0,i-r.from),from:r.from}:r}textAfterPos(e,n=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:r,from:i}=this.lineAt(e,n);return r.slice(e-i,Math.min(r.length,e+100-i))}column(e,n=1){let{text:r,from:i}=this.lineAt(e,n),s=this.countColumn(r,e-i),a=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return a>-1&&(s+=a-this.countColumn(r,r.search(/\S|$/))),s}countColumn(e,n=e.length){return US(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),s=this.options.overrideIndentation;if(s){let a=s(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const rIe=new Ht;function iIe(t,e,n){let r=e.resolveStack(n),i=e.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let s=[];for(let a=i;a&&!(a.from<r.node.from||a.to>r.node.to||a.from==r.node.from&&a.type==r.node.type);a=a.parent)s.push(a);for(let a=s.length-1;a>=0;a--)r={node:s[a],next:r}}return XJ(r,t,n)}function XJ(t,e,n){for(let r=t;r;r=r.next){let i=aIe(r.node);if(i)return i(s5.create(e,n,r))}return 0}function sIe(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function aIe(t){let e=t.type.prop(rIe);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(Ht.closedBy))){let i=t.lastChild,s=i&&r.indexOf(i.name)>-1;return a=>ZJ(a,!0,1,void 0,s&&!sIe(a)?i.from:void 0)}return t.parent==null?oIe:null}function oIe(){return 0}class s5 extends KS{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new s5(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(lIe(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return XJ(this.context.next,this.base,this.pos)}}function lIe(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function cIe(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,s=t.state.doc.lineAt(n.from),a=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let o=n.to;;){let l=e.childAfter(o);if(!l||l==r)return null;if(!l.type.isSkipped){if(l.from>=a)return null;let c=/^ */.exec(s.text.slice(n.to-s.from))[0].length;return{from:n.from,to:n.to+c}}o=l.to}}function FVe({closing:t,align:e=!0,units:n=1}){return r=>ZJ(r,e,n,t)}function ZJ(t,e,n,r,i){let s=t.textAfter,a=s.match(/^\s*/)[0].length,o=r&&s.slice(a,a+r.length)==r||i==t.pos+a,l=e?cIe(t):null;return l?o?t.column(l.from):t.column(l.to):t.baseIndent+(o?0:t.unit*n)}const zVe=t=>t.baseIndent;function UVe({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const uIe=200;function dIe(){return Xt.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+uIe)return t;let s=n.sliceString(i.from,r);if(!e.some(c=>c.test(s)))return t;let{state:a}=t,o=-1,l=[];for(let{head:c}of a.selection.ranges){let d=a.doc.lineAt(c);if(d.from==o)continue;o=d.from;let f=i5(a,d.from);if(f==null)continue;let p=/^\s*/.exec(d.text)[0],g=n0(a,f);p!=g&&l.push({from:d.from,to:d.from+p.length,insert:g})}return l.length?[t,{changes:l,sequential:!0}]:t})}const hIe=at.define(),fIe=new Ht;function jVe(t){let e=t.firstChild,n=t.lastChild;return e&&e.to<n.from?{from:e.to,to:n.type.isError?t.to:n.from}:null}function pIe(t,e,n){let r=ni(t);if(r.length<n)return null;let i=r.resolveStack(n,1),s=null;for(let a=i;a;a=a.next){let o=a.node;if(o.to<=n||o.from>n)continue;if(s&&o.from<e)break;let l=o.type.prop(fIe);if(l&&(o.to<r.length-50||r.length==t.doc.length||!mIe(o))){let c=l(o,t);c&&c.from<=n&&c.from>=e&&c.to>n&&(s=c)}}return s}function mIe(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function cj(t,e,n){for(let r of t.facet(hIe)){let i=r(t,e,n);if(i)return i}return pIe(t,e,n)}function QJ(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}const JJ=Pt.define({map:QJ}),a5=Pt.define({map:QJ}),xw=_i.define({create(){return Kt.none},update(t,e){e.isUserEvent("delete")&&e.changes.iterChangedRanges((n,r)=>t=uj(t,n,r)),t=t.map(e.changes);for(let n of e.effects)if(n.is(JJ)&&!gIe(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(eee),i=r?Kt.replace({widget:new vIe(r(e.state,n.value))}):dj;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(a5)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));return e.selection&&(t=uj(t,e.selection.main.head)),t},provide:t=>st.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n<t.length;){let r=t[n++],i=t[n++];if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(dj.range(r,i))}return Kt.set(e,!0)}});function uj(t,e,n=e){let r=!1;return t.between(e,n,(i,s)=>{i<n&&s>e&&(r=!0)}),r?t.update({filterFrom:e,filterTo:n,filter:(i,s)=>i>=n||s<=e}):t}function yA(t,e,n){var r;let i=null;return(r=t.field(xw,!1))===null||r===void 0||r.between(e,n,(s,a)=>{(!i||i.from>s)&&(i={from:s,to:a})}),i}function gIe(t,e,n){let r=!1;return t.between(e,e,(i,s)=>{i==e&&s==n&&(r=!0)}),r}const bIe={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},eee=at.define({combine(t){return Yd(t,bIe)}});function yIe(t){return[xw,_Ie]}function tee(t,e){let{state:n}=t,r=n.facet(eee),i=a=>{let o=t.lineBlockAt(t.posAtDOM(a.target)),l=yA(t.state,o.from,o.to);
92l&&t.dispatch({effects:a5.of(l)}),a.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let s=document.createElement("span");return s.textContent=r.placeholderText,s.setAttribute("aria-label",n.phrase("folded code")),s.title=n.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=i,s}const dj=Kt.replace({widget:new class extends Xd{toDOM(t){return tee(t,null)}}});class vIe extends Xd{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return tee(e,this.value)}}const wIe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class pk extends jl{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function SIe(t={}){let e={...wIe,...t},n=new pk(e,!0),r=new pk(e,!1),i=ti.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(ou)!=a.state.facet(ou)||a.startState.field(xw,!1)!=a.state.field(xw,!1)||ni(a.startState)!=ni(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let o=new Pd;for(let l of a.viewportLineBlocks){let c=yA(a.state,l.from,l.to)?r:cj(a.state,l.from,l.to)?n:null;c&&o.add(l.from,l.from,c)}return o.finish()}}),{domEventHandlers:s}=e;return[i,b6e({class:"cm-foldGutter",markers(a){var o;return((o=a.plugin(i))===null||o===void 0?void 0:o.markers)||Ut.empty},initialSpacer(){return new pk(e,!1)},domEventHandlers:{...s,click:(a,o,l)=>{if(s.click&&s.click(a,o,l))return!0;let c=yA(a.state,o.from,o.to);if(c)return a.dispatch({effects:a5.of(c)}),!0;let d=cj(a.state,o.from,o.to);return d?(a.dispatch({effects:JJ.of(d)}),!0):!1}}}),yIe()]}const _Ie=st.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class YS{constructor(e,n){this.specs=e;let r;function i(o){let l=ru.newName();return(r||(r=Object.create(null)))["."+l]=o,l}const s=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof $a?o=>o.prop(bf)==a.data:a?o=>o==a:void 0,this.style=KJ(e.map(o=>({tag:o.tag,class:o.class||i(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=r?new ru(r):null,this.themeType=n.themeType}static define(e,n){return new YS(e,n||{})}}const vA=at.define(),xIe=at.define({combine(t){return t.length?[t[0]]:null}});function mk(t){let e=t.facet(vA);return e.length?e:t.facet(xIe)}function EIe(t,e){let n=[CIe],r;return t instanceof YS&&(t.module&&n.push(st.styleModule.of(t.module)),r=t.themeType),r?n.push(vA.computeN([st.darkTheme],i=>i.facet(st.darkTheme)==(r=="dark")?[t]:[])):n.push(vA.of(t)),n}class kIe{constructor(e){this.markCache=Object.create(null),this.tree=ni(e.state),this.decorations=this.buildDeco(e,mk(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=ni(e.state),r=mk(e.state),i=r!=mk(e.startState),{viewport:s}=e.view,a=e.changes.mapPos(this.decoratedTo,1);n.length<s.to&&!i&&n.type==this.tree.type&&a>=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=s.to)}buildDeco(e,n){if(!n||!this.tree.length)return Kt.none;let r=new Pd;for(let{from:i,to:s}of e.visibleRanges)Y6e(this.tree,n,(a,o,l)=>{r.add(a,o,this.markCache[l]||(this.markCache[l]=Kt.mark({class:l})))},i,s);return r.finish()}}const CIe=mu.high(ti.fromClass(kIe,{decorations:t=>t.decorations})),TIe=st.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),nee=1e4,ree="()[]{}",iee=at.define({combine(t){return Yd(t,{afterCursor:!0,brackets:ree,maxScanDistance:nee,renderMatch:NIe})}}),AIe=Kt.mark({class:"cm-matchingBracket"}),RIe=Kt.mark({class:"cm-nonmatchingBracket"});function NIe(t){let e=[],n=t.matched?AIe:RIe;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const OIe=_i.define({create(){return Kt.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(iee);for(let i of e.state.selection.ranges){if(!i.empty)continue;let s=Oo(e.state,i.head,-1,r)||i.head>
vendor: 12,187 bytes, line 92
920&&Oo(e.state,i.head-1,1,r)||r.afterCursor&&(Oo(e.state,i.head,1,r)||i.head<e.state.doc.length&&Oo(e.state,i.head+1,-1,r));s&&(n=n.concat(r.renderMatch(s,e.state)))}return Kt.set(n,!0)},provide:t=>st.decorations.from(t)}),IIe=[OIe,TIe];function DIe(t={}){return[iee.of(t),IIe]}const MIe=new Ht;function wA(t,e,n){let r=t.prop(e<0?Ht.openedBy:Ht.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}function SA(t){let e=t.type.prop(MIe);return e?e(t.node):t}function Oo(t,e,n,r={}){let i=r.maxScanDistance||nee,s=r.brackets||ree,a=ni(t),o=a.resolveInner(e,n);for(let l=o;l;l=l.parent){let c=wA(l.type,n,s);if(c&&l.from<l.to){let d=SA(l);if(d&&(n>0?e>=d.from&&e<d.to:e>d.from&&e<=d.to))return LIe(t,e,n,l,d,c,s)}}return BIe(t,e,n,a,o.type,i,s)}function LIe(t,e,n,r,i,s,a){let o=r.parent,l={from:i.from,to:i.to},c=0,d=o?.cursor();if(d&&(n<0?d.childBefore(r.from):d.childAfter(r.to)))do if(n<0?d.to<=r.from:d.from>=r.to){if(c==0&&s.indexOf(d.type.name)>-1&&d.from<d.to){let f=SA(d);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(wA(d.type,n,a))c++;else if(wA(d.type,-n,a)){if(c==0){let f=SA(d);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(n<0?d.prevSibling():d.nextSibling());return{start:l,matched:!1}}function BIe(t,e,n,r,i,s,a){let o=n<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=a.indexOf(o);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},d=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let p=0;!d.next().done&&p<=s;){let g=d.value;n<0&&(p+=g.length);let b=e+p*n;for(let y=n>0?0:g.length-1,w=n>0?g.length:-1;y!=w;y+=n){let S=a.indexOf(g[y]);if(!(S<0||r.resolveInner(b+y,1).type!=i))if(S%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:b+y,to:b+y+1},matched:S>>1==l>>1};f--}}n>0&&(p+=g.length)}return d.done?{start:c,matched:!1}:null}const PIe=Object.create(null),hj=[ps.none],fj=[],pj=Object.create(null),FIe=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])FIe[t]=zIe(PIe,e);function gk(t,e){fj.indexOf(t)>-1||(fj.push(t),console.warn(e))}function zIe(t,e){let n=[];for(let o of e.split(" ")){let l=[];for(let c of o.split(".")){let d=t[c]||ge[c];d?typeof d=="function"?l.length?l=l.map(d):gk(c,`Modifier ${c} used at start of tag`):l.length?gk(c,`Tag ${c} used as modifier`):l=Array.isArray(d)?d:[d]:gk(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(o=>o.id),s=pj[i];if(s)return s.id;let a=pj[i]=ps.define({id:hj.length,name:r,props:[W6e({[r]:n})]});return hj.push(a),a.id}_n.RTL,_n.LTR;class see{constructor(e,n,r,i){this.state=e,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=ni(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),s=i.search(aee(e,!1));return s<0?null:{from:r+s,to:this.pos,text:i.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,n,r){e=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function mj(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function UIe(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let s=1;s<i.length;s++)n[i[s]]=!0}let r=mj(e)+mj(n)+"*$";return[new RegExp("^"+r),new RegExp(r)]}function jIe(t){let e=t.map(i=>typeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:UIe(e);return i=>{let s=i.matchBefore(r);return s||i.explicit?{from:s?s.from:i.pos,options:e,validFor:n}:null}}function HVe(t,e){return n=>{for(let r=ni(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}class gj{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}}function wd(t){return t.selection.main.from}function aee(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",s=r[r.length-1]!="$";return!i&&!s?t:new RegExp(`${i?"^":""}(?:${r})${s?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}const o5=Gl.define();function HIe(t,e,n,r){let{main:i}=t.selection,s=n-i.from,a=r-i.from;return{...t.changeByRange(o=>{if(o!=i&&n!=r&&t.sliceDoc(o.from+s,o.from+a)!=t.sliceDoc(n,r))return{range:o};let l=t.toText(e);return{changes:{from:o.from+s,to:r==i.from?o.to:o.from+a,insert:l},range:De.cursor(o.from+s+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const bj=new WeakMap;function $Ie(t){if(!Array.isArray(t))return t;let e=bj.get(t);return e||bj.set(t,e=jIe(t)),e}const Ew=Pt.define(),r0=Pt.define();class VIe{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n<e.length;){let r=Pa(e,n),i=El(r);this.chars.push(r);let s=e.slice(n,n+i),a=s.toUpperCase();this.folded.push(Pa(a==s?s.toLowerCase():a,0)),n+=i}this.astral=e.length!=this.chars.length}ret(e,n){return this.score=e,this.matched=n,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:n,folded:r,any:i,precise:s,byWord:a}=this;if(n.length==1){let _=Pa(e,0),E=El(_),T=E==e.length?0:-100;if(_!=n[0])if(_==r[0])T+=-200;else return null;return this.ret(T,[0,E])}let o=e.indexOf(this.pattern);if(o==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=n.length,c=0;if(o<0){for(let _=0,E=Math.min(e.length,200);_<E&&c<l;){let T=Pa(e,_);(T==n[c]||T==r[c])&&(i[c++]=_),_+=El(T)}if(c<l)return null}let d=0,f=0,p=!1,g=0,b=-1,y=-1,w=/[a-z]/.test(e),S=!0;for(let _=0,E=Math.min(e.length,200),T=0;_<E&&f<l;){let R=Pa(e,_);o<0&&(d<l&&R==n[d]&&(s[d++]=_),g<l&&(R==n[g]||R==r[g]?(g==0&&(b=_),y=_+1,g++):g=0));let N,I=R<255?R>=48&&R<=57||R>=97&&R<=122?2:R>=65&&R<=90?1:0:(N=U3(R))!=N.toLowerCase()?1:N!=N.toUpperCase()?2:0;(!_||I==1&&w||T==0&&I!=0)&&(n[f]==R||r[f]==R&&(p=!0)?a[f++]=_:a.length&&(S=!1)),T=I,_+=El(R)}return f==l&&a[0]==0&&S?this.result(-100+(p?-200:0),a,e):g==l&&b==0?this.ret(-200-e.length+(y==e.length?0:-100),[0,y]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):g==l?this.ret(-900-e.length,[b,y]):f==l?this.result(-100+(p?-200:0)+-700+(S?0:-1100),a,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],s=0;for(let a of n){let o=a+(this.astral?El(Pa(r,a)):1);s&&i[s-1]==a?i[s-1]=o:(i[s++]=a,i[s++]=o)}return this.ret(e-r.length,i)}}class GIe{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let n=e.slice(0,this.pattern.length),r=n==this.pattern?0:n.toLowerCase()==this.folded?-200:null;return r==null?null:(this.matched=[0,n.length],this.score=r+(e.length==this.pattern.length?0:-100),this)}}const zr=at.define({combine(t){return Yd(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:qIe,filterStrict:!1,compareCompletions:(e,n)=>(e.sortText||e.label).localeCompare(n.sortText||n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>yj(e(r),n(r)),optionClass:(e,n)=>r=>yj(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function yj(t,e){return t?e?t+" "+e:t:e}function qIe(t,e,n,r,i,s){let a=t.textDirection==_n.RTL,o=a,l=!1,c="top",d,f,p=e.left-i.left,g=i.right-e.right,b=r.right-r.left,y=r.bottom-r.top;if(o&&p<Math.min(b,g)?o=!1:!o&&g<Math.min(b,p)&&(o=!0),b<=(o?p:g))d=Math.max(i.top,Math.min(n.top,i.bottom-y))-e.top,f=Math.min(400,o?p:g);else{l=!0,f=Math.min(400,(a?e.right:i.right-e.left)-30);let _=i.bottom-e.bottom;_>=y||_>e.top?d=n.bottom-e.top:(c="bottom",d=e.bottom-n.top)}let w=(e.bottom-e.top)/s.offsetHeight,S=(e.right-e.left)/s.offsetWidth;return{style:`${c}: ${d/w}px; max-width: ${f/S}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":o?"left":"right")}}function WIe(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,s){let a=document.createElement("span");a.className="cm-completionLabel";let o=n.displayLabel||n.label,l=0;for(let c=0;c<s.length;){let d=s[c++],f=s[c++];d>l&&a.appendChild(document.createTextNode(o.slice(l,d)));let p=a.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(o.slice(d,f))),p.className="cm-completionMatchedText",l=f}return l<o.length&&a.appendChild(document.createTextNode(o.slice(l))),a},position:50},{render(n){if(!n.detail)return null;let r=document.createElement("span");return r.className="cm-completionDetail",r.textContent=n.detail,r},position:80}),e.sort((n,r)=>n.position-r.position).map(n=>n.render)}function bk(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}class KIe{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:s,selected:a}=i.open,o=e.state.facet(zr);this.optionContent=WIe(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=bk(s.length,a,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(n).open;for(let d=l.target,f;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(f=/-(\d+)$/.exec(d.id))&&+f[1]<c.length){this.applyCompletion(e,c[+f[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(zr).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:r0.of(null)})}),this.showOptions(s,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:s,selected:a,disabled:o}=r.open;(!i.open||i.open.options!=s)&&(this.range=bk(s.length,a,e.state.facet(zr).maxRenderedOptions),this.showOptions(s,r.id)),this.updateSel(),o!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;(n.selected>-1&&n.selected<this.range.from||n.selected>=this.range.to)&&(this.range=bk(n.options.length,n.selected,this.view.state.facet(zr).maxRenderedOptions),this.showOptions(n.options,e.id));let r=this.updateSelectedOption(n.selected);if(r){this.destroyInfo();
vendor: 4,173 bytes, line 92
92let{completion:i}=n.options[n.selected],{info:s}=i;if(!s)return;let a=typeof s=="string"?document.createTextNode(s):s(i);if(!a)return;"then"in a?a.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,i)}).catch(o=>Bs(this.view.state,o,"completion info")):(this.addInfoPane(a,i),r.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",r.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:s}=e;r.appendChild(i),this.infoDestroy=s||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&(r.removeAttribute("aria-selected"),r.removeAttribute("aria-describedby"));return n&&XIe(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let a=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:a.clientWidth,bottom:a.clientHeight}}return i.top>Math.min(s.bottom,n.bottom)-10||i.bottom<Math.max(s.top,n.top)+10?null:this.view.state.facet(zr).positionInfo(this.view,n,i,r,s,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,n,r){const i=document.createElement("ul");i.id=n,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions")),i.addEventListener("mousedown",a=>{a.target==i&&a.preventDefault()});let s=null;for(let a=r.from;a<r.to;a++){let{completion:o,match:l}=e[a],{section:c}=o;if(c){let p=typeof c=="string"?c:c.name;if(p!=s&&(a>r.from||r.from==0))if(s=p,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let g=i.appendChild(document.createElement("completion-section"));g.textContent=p}}const d=i.appendChild(document.createElement("li"));d.id=n+"-"+a,d.setAttribute("role","option");let f=this.optionClass(o);f&&(d.className=f);for(let p of this.optionContent){let g=p(o,this.view.state,this.view,l);g&&d.appendChild(g)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function YIe(t,e){return n=>new KIe(n,t,e)}function XIe(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.top<n.top?t.scrollTop-=(n.top-r.top)/i:r.bottom>n.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}function vj(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function ZIe(t,e){let n=[],r=null,i=null,s=d=>{n.push(d);let{section:f}=d.completion;if(f){r||(r=[]);let p=typeof f=="string"?f:f.name;r.some(g=>g.name==p)||r.push(typeof f=="string"?{name:p}:f)}},a=e.facet(zr);for(let d of t)if(d.hasResult()){let f=d.result.getMatch;if(d.result.filter===!1)for(let p of d.result.options)s(new gj(p,d.source,f?f(p):[],1e9-n.length));else{let p=e.sliceDoc(d.from,d.to),g,b=a.filterStrict?new GIe(p):new VIe(p);for(let y of d.result.options)if(g=b.match(y.label)){let w=y.displayLabel?f?f(y,g.matched):[]:g.matched,S=g.score+(y.boost||0);if(s(new gj(y,d.source,w,S)),typeof y.section=="object"&&y.section.rank==="dynamic"){let{name:_}=y.section;i||(i=Object.create(null)),i[_]=Math.max(S,i[_]||-1e9)}}}}if(r){let d=Object.create(null),f=0,p=(g,b)=>(g.rank==="dynamic"&&b.rank==="dynamic"?i[b.name]-i[g.name]:0)||(typeof g.rank=="number"?g.rank:1e9)-(typeof b.rank=="number"?b.rank:1e9)||(g.name<b.name?-1:1);for(let g of r.sort(p))f-=1e5,d[g.name]=f;for(let g of n){let{section:b}=g.completion;
vendor: 41,476 bytes, line 92
92b&&(g.score+=d[typeof b=="string"?b:b.name])}}let o=[],l=null,c=a.compareCompletions;for(let d of n.sort((f,p)=>p.score-f.score||c(f.completion,p.completion))){let f=d.completion;!l||l.label!=f.label||l.detail!=f.detail||l.type!=null&&f.type!=null&&l.type!=f.type||l.apply!=f.apply||l.boost!=f.boost?o.push(d):vj(d.completion)>vj(l)&&(o[o.length-1]=d),l=d.completion}return o}class yf{constructor(e,n,r,i,s,a){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=s,this.disabled=a}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new yf(this.options,wj(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,s,a){if(i&&!a&&e.some(c=>c.isPending))return i.setDisabled();let o=ZIe(e,n);if(!o.length)return i&&e.some(c=>c.isPending)?i.setDisabled():null;let l=n.facet(zr).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let c=i.options[i.selected].completion;for(let d=0;d<o.length;d++)if(o[d].completion==c){l=d;break}}return new yf(o,wj(r,l),{pos:e.reduce((c,d)=>d.hasResult()?Math.min(c,d.from):c,1e8),create:rDe,above:s.aboveCursor},i?i.timestamp:Date.now(),l,!1)}map(e){return new yf(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new yf(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class kw{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new kw(tDe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(zr),s=(r.override||n.languageDataAt("autocomplete",wd(n)).map($Ie)).map(l=>(this.active.find(d=>d.source==l)||new ga(l,this.active.some(d=>d.state!=0)?1:0)).update(e,r));s.length==this.active.length&&s.every((l,c)=>l==this.active[c])&&(s=this.active);let a=this.open,o=e.effects.some(l=>l.is(l5));a&&e.docChanged&&(a=a.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!QIe(s,this.active)||o?a=yf.build(s,n,this.id,a,r,o):a&&a.disabled&&!s.some(l=>l.isPending)&&(a=null),!a&&s.every(l=>!l.isPending)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new ga(l.source,0):l));for(let l of e.effects)l.is(lee)&&(a=a&&a.setSelected(l.value,this.id));return s==this.active&&a==this.open?this:new kw(s,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?JIe:eDe}}function QIe(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n<t.length&&!t[n].hasResult();)n++;for(;r<e.length&&!e[r].hasResult();)r++;let i=n==t.length,s=r==e.length;if(i||s)return i==s;if(t[n++].result!=e[r++].result)return!1}}const JIe={"aria-autocomplete":"list"},eDe={};function wj(t,e){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(n["aria-activedescendant"]=t+"-"+e),n}const tDe=[];function oee(t,e){if(t.isUserEvent("input.complete")){let r=t.annotation(o5);if(r&&e.activateOnCompletion(r))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class ga{constructor(e,n,r=!1){this.source=e,this.state=n,this.explicit=r}hasResult(){return!1}get isPending(){return this.state==1}update(e,n){let r=oee(e,n),i=this;(r&8||r&16&&this.touches(e))&&(i=new ga(i.source,0)),r&4&&i.state==0&&(i=new ga(this.source,1)),i=i.updateFor(e,r);for(let s of e.effects)if(s.is(Ew))i=new ga(i.source,1,s.value);else if(s.is(r0))i=new ga(i.source,0);else if(s.is(l5))for(let a of s.value)a.source==i.source&&(i=a);return i}updateFor(e,n){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(wd(e.state))}}class Lf extends ga{constructor(e,n,r,i,s,a){super(e,3,n),this.limit=r,this.result=i,this.from=s,this.to=a}hasResult(){return!0}updateFor(e,n){var r;if(!(n&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let s=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),o=wd(e.state);if(o>a||!i||n&2&&(wd(e.startState)==this.from||o<this.limit))return new ga(this.source,n&4?1:0);let l=e.changes.mapPos(this.limit);return nDe(i.validFor,e.state,s,a)?new Lf(this.source,this.explicit,l,i,s,a):i.update&&(i=i.update(i,s,a,new see(e.state,o,!1)))?new Lf(this.source,this.explicit,l,i,i.from,(r=i.to)!==null&&r!==void 0?r:wd(e.state)):new ga(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new Lf(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new ga(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}function nDe(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):aee(t,!0).test(i)}const l5=Pt.define({map(t,e){return t.map(n=>n.map(e))}}),lee=Pt.define(),os=_i.define({create(){return kw.start()},update(t,e){return t.update(e)},provide:t=>[LJ.from(t,e=>e.tooltip),st.contentAttributes.from(t,e=>e.attrs)]});function c5(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(os).active.find(i=>i.source==e.source);return r instanceof Lf?(typeof n=="string"?t.dispatch({...HIe(t.state,n,r.from,r.to),annotations:o5.of(e.completion)}):n(t,e.completion,r.from,r.to),!0):!1}const rDe=YIe(os,c5);function vv(t,e="option"){return n=>{let r=n.state.field(os,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(zr).interactionDelay)return!1;let i=1,s;e=="page"&&(s=BJ(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:a}=r.open.options,o=r.open.selected>-1?r.open.selected+i*(t?1:-1):t?0:a-1;return o<0?o=e=="page"?0:a-1:o>=a&&(o=e=="page"?a-1:0),n.dispatch({effects:lee.of(o)}),!0}}const cee=t=>{let e=t.state.field(os,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(zr).interactionDelay?!1:c5(t,e.open.options[e.open.selected])},yk=t=>t.state.field(os,!1)?(t.dispatch({effects:Ew.of(!0)}),!0):!1,iDe=t=>{let e=t.state.field(os,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:r0.of(null)}),!0)};class sDe{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const aDe=50,oDe=1e3,lDe=ti.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(os).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(os),n=t.state.facet(zr);if(!t.selectionSet&&!t.docChanged&&t.startState.field(os)==e)return;let r=t.transactions.some(s=>{let a=oee(s,n);return a&8||(s.selection||s.docChanged)&&!(a&3)});for(let s=0;s<this.running.length;s++){let a=this.running[s];if(r||a.context.abortOnDocChange&&t.docChanged||a.updates.length+t.transactions.length>aDe&&Date.now()-a.time>oDe){for(let o of a.context.abortListeners)try{o()}catch(l){Bs(this.view.state,l)}a.context.abortListeners=null,this.running.splice(s--,1)}else a.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(s=>s.effects.some(a=>a.is(Ew)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(a=>a.active.source==s.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let s of t.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(os);for(let n of e.active)n.isPending&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(zr).updateSyncTime))}startQuery(t){let{state:e}=this.view,n=wd(e),r=new see(e,n,t.explicit,this.view),i=new sDe(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(s=>{i.context.aborted||(i.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:r0.of(null)}),Bs(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(zr).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(zr),r=this.view.state.field(os);for(let i=0;i<this.running.length;i++){let s=this.running[i];if(s.done===void 0)continue;if(this.running.splice(i--,1),s.done){let o=wd(s.updates.length?s.updates[0].startState:this.view.state),l=Math.min(o,s.done.from+(s.active.explicit?0:1)),c=new Lf(s.active.source,s.active.explicit,l,s.done,s.done.from,(t=s.done.to)!==null&&t!==void 0?t:o);for(let d of s.updates)c=c.update(d,n);if(c.hasResult()){e.push(c);continue}}let a=r.active.find(o=>o.source==s.active.source);if(a&&a.isPending)if(s.done==null){let o=new ga(s.active.source,0);for(let l of s.updates)o=o.update(l,n);o.isPending||e.push(o)}else this.startQuery(a)}(e.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:l5.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(os,!1);if(e&&e.tooltip&&this.view.state.facet(zr).closeOnBlur){let n=e.open&&BJ(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:r0.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Ew.of(!1)}),20),this.composing=0}}}),cDe=typeof navigator=="object"&&/Win/.test(navigator.platform),uDe=mu.highest(st.domEventHandlers({keydown(t,e){let n=e.state.field(os,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(cDe&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),s=r.completion.commitCharacters||i.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&c5(e,r),!1}})),uee=st.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class dDe{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}}class u5{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,di.TrackDel),r=e.mapPos(this.to,1,di.TrackDel);return n==null||r==null?null:new u5(this.field,n,r)}}class d5{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],s=e.doc.lineAt(n),a=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(r.length){let c=a,d=/^\t*/.exec(l)[0].length;for(let f=0;f<d;f++)c+=e.facet(W0);i.push(n+c.length-d),l=c+l.slice(d)}r.push(l),n+=l.length+1}let o=this.fieldPositions.map(l=>new u5(l.field,i[l.line]+l.from,i[l.line]+l.to));return{text:r,ranges:o}}static parse(e){let n=[],r=[],i=[],s;for(let a of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(a);){let o=s[1]?+s[1]:null,l=s[2]||s[3]||"",c=-1,d=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f<n.length;f++)(o!=null?n[f].seq==o:d&&n[f].name==d)&&(c=f);if(c<0){let f=0;for(;f<n.length&&(o==null||n[f].seq!=null&&n[f].seq<o);)f++;n.splice(f,0,{seq:o,name:d}),c=f;for(let p of i)p.field>=c&&p.field++}for(let f of i)if(f.line==r.length&&f.from>s.index){let p=s[2]?3+(s[1]||"").length:2;f.from-=p,f.to-=p}i.push(new dDe(c,r.length,s.index,s.index+d.length)),a=a.slice(0,s.index)+l+a.slice(s.index+s[0].length)}a=a.replace(/\\([{}])/g,(o,l,c)=>{for(let d of i)d.line==r.length&&d.from>c&&(d.from--,d.to--);return l}),r.push(a)}return new d5(r,i)}}let hDe=Kt.widget({widget:new class extends Xd{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),fDe=Kt.mark({class:"cm-snippetField"});class xp{constructor(e,n){this.ranges=e,this.active=n,this.deco=Kt.set(e.map(r=>(r.from==r.to?hDe:fDe).range(r.from,r.to)),!0)}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new xp(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const K0=Pt.define({map(t,e){return t&&t.map(e)}}),pDe=Pt.define(),i0=_i.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(K0))return n.value;if(n.is(pDe)&&t)return new xp(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>st.decorations.from(t,e=>e?e.deco:Kt.none)});function h5(t,e){return De.create(t.filter(n=>n.field==e).map(n=>De.range(n.from,n.to)))}function mDe(t){let e=d5.parse(t);return(n,r,i,s)=>{let{text:a,ranges:o}=e.instantiate(n.state,i),{main:l}=n.state.selection,c={changes:{from:i,to:s==l.from?l.to:s,insert:rn.of(a)},scrollIntoView:!0,annotations:r?[o5.of(r),hr.userEvent.of("input.complete")]:void 0};if(o.length&&(c.selection=h5(o,0)),o.some(d=>d.field>0)){let d=new xp(o,0),f=c.effects=[K0.of(d)];n.state.field(i0,!1)===void 0&&f.push(Pt.appendConfig.of([i0,wDe,SDe,uee]))}n.dispatch(n.state.update(c))}}function dee(t){return({state:e,dispatch:n})=>{let r=e.field(i0,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,s=t>0&&!r.ranges.some(a=>a.field==i+t);return n(e.update({selection:h5(r.ranges,i),effects:K0.of(s?null:new xp(r.ranges,i)),scrollIntoView:!0})),!0}}const gDe=({state:t,dispatch:e})=>t.field(i0,!1)?(e(t.update({effects:K0.of(null)})),!0):!1,bDe=dee(1),yDe=dee(-1),vDe=[{key:"Tab",run:bDe,shift:yDe},{key:"Escape",run:gDe}],Sj=at.define({combine(t){return t.length?t[0]:vDe}}),wDe=mu.highest(WS.compute([Sj],t=>t.facet(Sj)));function $Ve(t,e){return{...e,apply:mDe(t)}}const SDe=st.domEventHandlers({mousedown(t,e){let n=e.state.field(i0,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(s=>s.from<=r&&s.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:h5(n.ranges,i.field),effects:K0.of(n.ranges.some(s=>s.field>i.field)?new xp(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),Cw={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},hd=Pt.define({map(t,e){let n=e.mapPos(t,-1,di.TrackAfter);return n??void 0}}),f5=new class extends nu{};f5.startSide=1;f5.endSide=-1;const hee=_i.define({create(){return Ut.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(hd)&&(t=t.update({add:[f5.range(n.value,n.value+1)]}));return t}});function _De(){return[CDe,hee]}const vk="()[]{}<>«»»«[]{}";function xDe(t){for(let e=0;e<vk.length;e+=2)if(vk.charCodeAt(e)==t)return vk.charAt(e+1);return U3(t<128?t:t+1)}function EDe(t,e){return t.languageDataAt("closeBrackets",e)[0]||Cw}const kDe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),CDe=st.inputHandler.of((t,e,n,r)=>{if((kDe?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&El(Pa(r,0))==1||e!=i.from||n!=i.to)return!1;let s=TDe(t.state,r);return s?(t.dispatch(s),!0):!1});function TDe(t,e){let n=EDe(t,t.selection.main.head),r=n.brackets||Cw.brackets;for(let i of r){let s=xDe(Pa(i,0));if(e==i)return s==i?NDe(t,i,r.indexOf(i+i+i)>-1,n):ADe(t,i,s,n.before||Cw.before);if(e==s&&fee(t,t.selection.main.from))return RDe(t,i,s)}return null}function fee(t,e){let n=!1;return t.field(hee).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}function p5(t,e){let n=t.sliceString(e,e+2);return n.slice(0,El(Pa(n,0)))}function ADe(t,e,n,r){let i=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:n,from:a.to}],effects:hd.of(a.to+e.length),range:De.range(a.anchor+e.length,a.head+e.length)};let o=p5(t.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:e+n,from:a.head},effects:hd.of(a.head+e.length),range:De.cursor(a.head+e.length)}:{range:i=a}});return i?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function RDe(t,e,n){let r=null,i=t.changeByRange(s=>s.empty&&p5(t.doc,s.head)==n?{changes:{from:s.head,to:s.head+n.length,insert:n},range:De.cursor(s.head+n.length)}:r={range:s});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function NDe(t,e,n,r){let i=r.stringPrefixes||Cw.stringPrefixes,s=null,a=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:hd.of(o.to+e.length),range:De.range(o.anchor+e.length,o.head+e.length)};let l=o.head,c=p5(t.doc,l),d;if(c==e){if(_j(t,l))return{changes:{insert:e+e,from:l},effects:hd.of(l+e.length),range:De.cursor(l+e.length)};if(fee(t,l)){let p=n&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+p.length,insert:p},range:De.cursor(l+p.length)}}}else{if(n&&t.sliceDoc(l-2*e.length,l)==e+e&&(d=xj(t,l-2*e.length,i))>-1&&_j(t,d))return{changes:{insert:e+e+e+e,from:l},effects:hd.of(l+e.length),range:De.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=fr.Word&&xj(t,l,i)>-1&&!ODe(t,l,e,i))return{changes:{insert:e+e,from:l},effects:hd.of(l+e.length),range:De.cursor(l+e.length)}}return{range:s=o}});return s?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function _j(t,e){let n=ni(t).resolveInner(e+1);return n.parent&&n.from==e}function ODe(t,e,n,r){let i=ni(t).resolveInner(e,-1),s=r.reduce((a,o)=>Math.max(a,o.length),0);for(let a=0;a<5;a++){let o=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+s)),l=o.indexOf(n);if(!l||l>-1&&r.indexOf(o.slice(0,l))>-1){let d=i.firstChild;for(;d&&d.from==i.from&&d.to-d.from>n.length+l;){if(t.sliceDoc(d.to-n.length,d.to)==n)return!1;d=d.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}function xj(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=fr.Word)return e;for(let i of n){let s=e-i.length;if(t.sliceDoc(s,e)==i&&r(t.sliceDoc(s-1,s))!=fr.Word)return s}return-1}function IDe(t={}){return[uDe,os,zr.of(t),lDe,MDe,uee]}const DDe=[{key:"Ctrl-Space",run:yk},{mac:"Alt-`",run:yk},{mac:"Alt-i",run:yk},{key:"Escape",run:iDe},{key:"ArrowDown",run:vv(!0)},{key:"ArrowUp",run:vv(!1)},{key:"PageDown",run:vv(!0,"page")},{key:"PageUp",run:vv(!1,"page")},{key:"Enter",run:cee}],MDe=mu.highest(WS.computeN([zr],t=>t.facet(zr).defaultKeymap?[DDe]:[])),LDe=t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=g5(t.state,n.from);return r.line?BDe(t):r.block?FDe(t):!1};function m5(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}const BDe=m5(jDe,0),PDe=m5(pee,0),FDe=m5((t,e)=>pee(t,e,UDe(e)),0);function g5(t,e){let n=t.languageDataAt("commentTokens",e,1);return n.length?n[0]:{}}const Um=50;function zDe(t,{open:e,close:n},r,i){let s=t.sliceDoc(r-Um,r),a=t.sliceDoc(i,i+Um),o=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(a)[0].length,c=s.length-o;if(s.slice(c-e.length,c)==e&&a.slice(l,l+n.length)==n)return{open:{pos:r-o,margin:o&&1},close:{pos:i+l,margin:l&&1}};let d,f;i-r<=2*Um?d=f=t.sliceDoc(r,i):(d=t.sliceDoc(r,r+Um),f=t.sliceDoc(i-Um,i));let p=/^\s*/.exec(d)[0].length,g=/\s*$/.exec(f)[0].length,b=f.length-g-n.length;return d.slice(p,p+e.length)==e&&f.slice(b,b+n.length)==n?{open:{pos:r+p+e.length,margin:/\s/.test(d.charAt(p+e.length))?1:0},close:{pos:i-g-n.length,margin:/\s/.test(f.charAt(b-1))?1:0}}:null}function UDe(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:t.doc.lineAt(n.to-1));let s=e.length-1;s>=0&&e[s].to>r.from?e[s].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}function pee(t,e,n=e.selection.ranges){let r=n.map(s=>g5(e,s.from).block);if(!r.every(s=>s))return null;let i=n.map((s,a)=>zDe(e,r[a],s.from,s.to));if(t!=2&&!i.every(s=>s))return{changes:e.changes(n.map((s,a)=>i[a]?[]:[{from:s.from,insert:r[a].open+" "},{from:s.to,insert:" "+r[a].close}]))};if(t!=1&&i.some(s=>s)){let s=[];for(let a=0,o;a<i.length;a++)if(o=i[a]){let l=r[a],{open:c,close:d}=o;s.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:d.pos-d.margin,to:d.pos+l.close.length})}return{changes:s}}return null}function jDe(t,e,n=e.selection.ranges){let r=[],i=-1;for(let{from:s,to:a}of n){let o=r.length,l=1e9,c=g5(e,s).line;if(c){for(let d=s;d<=a;){let f=e.doc.lineAt(d);if(f.from>i&&(s==a||a>f.from)){i=f.from;let p=/^\s*/.exec(f.text)[0].length,g=p==f.length,b=f.text.slice(p,p+c.length)==c?p:-1;p<f.text.length&&p<l&&(l=p),r.push({line:f,comment:b,token:c,indent:p,empty:g,single:!1})}d=f.to+1}if(l<1e9)for(let d=o;d<r.length;d++)r[d].indent<r[d].line.text.length&&(r[d].indent=l);r.length==o+1&&(r[o].single=!0)}}if(t!=2&&r.some(s=>s.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:l,indent:c,empty:d,single:f}of r)(f||!d)&&s.push({from:o.from+c,insert:l+" "});let a=e.changes(s);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&r.some(s=>s.comment>=0)){let s=[];for(let{line:a,comment:o,token:l}of r)if(o>=0){let c=a.from+o,d=c+l.length;a.text[d-a.from]==" "&&d++,s.push({from:c,to:d})}return{changes:s}}return null}const _A=Gl.define(),HDe=Gl.define(),$De=at.define(),mee=at.define({combine(t){return Yd(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),gee=_i.define({create(){return Io.empty},update(t,e){let n=e.state.facet(mee),r=e.annotation(_A);if(r){let l=us.fromTransaction(e,r.selection),c=r.side,d=c==0?t.undone:t.done;return l?d=Tw(d,d.length,n.minDepth,l):d=vee(d,e.startState.selection),new Io(c==0?r.rest:d,c==0?d:r.rest)}let i=e.annotation(HDe);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(hr.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=us.fromTransaction(e),a=e.annotation(hr.time),o=e.annotation(hr.userEvent);return s?t=t.addChanges(s,a,o,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,o,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Io(t.done.map(us.fromJSON),t.undone.map(us.fromJSON))}});function VDe(t={}){return[gee,mee.of(t),st.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?bee:e.inputType=="historyRedo"?xA:null;return r?(e.preventDefault(),r(n)):!1}})]}function XS(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(gee,!1);if(!i)return!1;let s=i.pop(t,n,e);return s?(r(s),!0):!1}}const bee=XS(0,!1),xA=XS(1,!1),GDe=XS(0,!0),qDe=XS(1,!0);class us{constructor(e,n,r,i,s){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=s}setSelAfter(e){return new us(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new us(e.changes&&Er.fromJSON(e.changes),[],e.mapped&&zo.fromJSON(e.mapped),e.startSelection&&De.fromJSON(e.startSelection),e.selectionsAfter.map(De.fromJSON))}static fromTransaction(e,n){let r=ba;for(let i of e.startState.facet($De)){let s=i(e);s.length&&(r=r.concat(s))}return!r.length&&e.changes.empty?null:new us(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,ba)}static selection(e){return new us(void 0,ba,void 0,void 0,e)}}function Tw(t,e,n,r){let i=e+1>n+20?e-n-1:0,s=t.slice(i,e);return s.push(r),s}function WDe(t,e){let n=[],r=!1;return t.iterChangedRanges((i,s)=>n.push(i,s)),e.iterChangedRanges((i,s,a,o)=>{for(let l=0;l<n.length;){let c=n[l++],d=n[l++];o>=c&&a<=d&&(r=!0)}}),r}function KDe(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}function yee(t,e){return t.length?e.length?t.concat(e):t:e}const ba=[],YDe=200;function vee(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-YDe));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),Tw(t,t.length-1,1e9,n.setSelAfter(r)))}else return[us.selection([e])]}function XDe(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function wk(t,e){if(!t.length)return t;let n=t.length,r=ba;for(;n;){let i=ZDe(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let s=t.slice(0,n);return s[n-1]=i,s}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[us.selection(r)]:ba}function ZDe(t,e,n){let r=yee(t.selectionsAfter.length?t.selectionsAfter.map(o=>o.map(e)):ba,n);if(!t.changes)return us.selection(r);let i=t.changes.map(e),s=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(s):s;return new us(i,Pt.mapEffects(t.effects,e),a,t.startSelection.map(s),r)}const QDe=/^(input\.type|delete)($|\.)/;class Io{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new Io(this.done,this.undone):this}addChanges(e,n,r,i,s){let a=this.done,o=a[a.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!r||QDe.test(r))&&(!o.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(s,WDe(o.changes,e.changes))||r=="input.type.compose")?a=Tw(a,a.length-1,i.minDepth,new us(e.changes.compose(o.changes),yee(Pt.mapEffects(e.effects,o.changes),o.effects),o.mapped,o.startSelection,ba)):a=Tw(a,a.length,i.minDepth,e),new Io(a,ba,n,r)}addSelection(e,n,r,i){let s=this.done.length?this.done[this.done.length-1].selectionsAfter:ba;return s.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&KDe(s[s.length-1],e)?this:new Io(vee(this.done,e),this.undone,n,r)}addMapping(e){return new Io(wk(this.done,e),wk(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,n,r){let i=e==0?this.done:this.undone;if(i.length==0)return null;let s=i[i.length-1],a=s.selectionsAfter[0]||n.selection;if(r&&s.selectionsAfter.length)return n.update({selection:s.selectionsAfter[s.selectionsAfter.length-1],annotations:_A.of({side:e,rest:XDe(i),selection:a}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(s.changes){let o=i.length==1?ba:i.slice(0,i.length-1);return s.mapped&&(o=wk(o,s.mapped)),n.update({changes:s.changes,selection:s.startSelection,effects:s.effects,annotations:_A.of({side:e,rest:o,selection:a}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}Io.empty=new Io(ba,ba);const JDe=[{key:"Mod-z",run:bee,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:xA,preventDefault:!0},{linux:"Ctrl-Shift-z",run:xA,preventDefault:!0},{key:"Mod-u",run:GDe,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:qDe,preventDefault:!0}];function Ep(t,e){return De.create(t.ranges.map(e),t.mainIndex)}function so(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ao({state:t,dispatch:e},n){let r=Ep(t.selection,n);return r.eq(t.selection,!0)?!1:(e(so(t,r)),!0)}function ZS(t,e){return De.cursor(e?t.to:t.from)}function wee(t,e){return ao(t,n=>n.empty?t.moveByChar(n,e):ZS(n,e))}function xi(t){return t.textDirectionAt(t.state.selection.main.head)==_n.LTR}const See=t=>wee(t,!xi(t)),_ee=t=>wee(t,xi(t));function xee(t,e){return ao(t,n=>n.empty?t.moveByGroup(n,e):ZS(n,e))}const eMe=t=>xee(t,!xi(t)),tMe=t=>xee(t,xi(t));function nMe(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function QS(t,e,n){let r=ni(t).resolveInner(e.head),i=n?Ht.closedBy:Ht.openedBy;for(let l=e.head;;){let c=n?r.childAfter(l):r.childBefore(l);if(!c)break;nMe(t,c,i)?r=c:l=n?c.to:c.from}let s=r.type.prop(i),a,o;return s&&(a=n?Oo(t,r.from,1):Oo(t,r.to,-1))&&a.matched?o=n?a.end.to:a.end.from:o=n?r.to:r.from,De.cursor(o,n?-1:1)}const rMe=t=>ao(t,e=>QS(t.state,e,!xi(t))),iMe=t=>ao(t,e=>QS(t.state,e,xi(t)));function Eee(t,e){return ao(t,n=>{if(!n.empty)return ZS(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}const kee=t=>Eee(t,!1),Cee=t=>Eee(t,!0);function Tee(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,n=0,r=0,i;if(e){for(let s of t.state.facet(st.scrollMargins)){let a=s(t);a?.top&&(n=Math.max(a?.top,n)),a?.bottom&&(r=Math.max(a?.bottom,r))}i=t.scrollDOM.clientHeight-n-r}else i=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:e,height:Math.max(t.defaultLineHeight,i-5)}}function Aee(t,e){let n=Tee(t),{state:r}=t,i=Ep(r.selection,a=>a.empty?t.moveVertically(a,e,n.height):ZS(a,e));if(i.eq(r.selection))return!1;let s;if(n.selfScroll){let a=t.coordsAtPos(r.selection.main.head),o=t.scrollDOM.getBoundingClientRect(),l=o.top+n.marginTop,c=o.bottom-n.marginBottom;a&&a.top>l&&a.bottom<c&&(s=st.scrollIntoView(i.main.head,{y:"start",yMargin:a.top-l}))}return t.dispatch(so(r,i),{effects:s}),!0}const Ej=t=>Aee(t,!1),EA=t=>Aee(t,!0);function gu(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let s=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;s&&e.head!=r.from+s&&(i=De.cursor(r.from+s))}return i}const sMe=t=>ao(t,e=>gu(t,e,!0)),aMe=t=>ao(t,e=>gu(t,e,!1)),oMe=t=>ao(t,e=>gu(t,e,!xi(t))),lMe=t=>ao(t,e=>gu(t,e,xi(t))),cMe=t=>ao(t,e=>De.cursor(t.lineBlockAt(e.head).from,1)),uMe=t=>ao(t,e=>De.cursor(t.lineBlockAt(e.head).to,-1));function dMe(t,e,n){let r=!1,i=Ep(t.selection,s=>{let a=Oo(t,s.head,-1)||Oo(t,s.head,1)||s.head>0&&Oo(t,s.head-1,1)||s.head<t.doc.length&&Oo(t,s.head+1,-1);if(!a||!a.end)return s;r=!0;let o=a.start.from==s.head?a.end.to:a.end.from;return De.cursor(o)});return r?(e(so(t,i)),!0):!1}const hMe=({state:t,dispatch:e})=>dMe(t,e);function Ta(t,e){let n=Ep(t.state.selection,r=>{let i=e(r);return De.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(so(t.state,n)),!0)}function Ree(t,e){return Ta(t,n=>t.moveByChar(n,e))}const Nee=t=>Ree(t,!xi(t)),Oee=t=>Ree(t,xi(t));function Iee(t,e){return Ta(t,n=>t.moveByGroup(n,e))}const fMe=t=>Iee(t,!xi(t)),pMe=t=>Iee(t,xi(t)),mMe=t=>Ta(t,e=>QS(t.state,e,!xi(t))),gMe=t=>Ta(t,e=>QS(t.state,e,xi(t)));function Dee(t,e){return Ta(t,n=>t.moveVertically(n,e))}const Mee=t=>Dee(t,!1),Lee=t=>Dee(t,!0);function Bee(t,e){return Ta(t,n=>t.moveVertically(n,e,Tee(t).height))}const kj=t=>Bee(t,!1),Cj=t=>Bee(t,!0),bMe=t=>Ta(t,e=>gu(t,e,!0)),yMe=t=>Ta(t,e=>gu(t,e,!1)),vMe=t=>Ta(t,e=>gu(t,e,!xi(t))),wMe=t=>Ta(t,e=>gu(t,e,xi(t))),SMe=t=>Ta(t,e=>De.cursor(t.lineBlockAt(e.head).from)),_Me=t=>Ta(t,e=>De.cursor(t.lineBlockAt(e.head).to)),Tj=({state:t,dispatch:e})=>(e(so(t,{anchor:0})),!0),Aj=({state:t,dispatch:e})=>(e(so(t,{anchor:t.doc.length})),!0),Rj=({state:t,dispatch:e})=>(e(so(t,{anchor:t.selection.main.anchor,head:0})),!0),Nj=({state:t,dispatch:e})=>(e(so(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),xMe=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),EMe=({state:t,dispatch:e})=>{let n=JS(t).map(({from:r,to:i})=>De.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:De.create(n),userEvent:"select"})),!0},kMe=({state:t,dispatch:e})=>{let n=Ep(t.selection,r=>{let i=ni(t),s=i.resolveStack(r.from,1);if(r.empty){let a=i.resolveStack(r.from,-1);a.node.from>=s.node.from&&a.node.to<=s.node.to&&(s=a)}for(let a=s;a;a=a.next){let{node:o}=a;if((o.from<r.from&&o.to>=r.to||o.to>r.to&&o.from<=r.from)&&a.next)return De.range(o.to,o.from)}return r});return n.eq(t.selection)?!1:(e(so(t,n)),!0)};function Pee(t,e){let{state:n}=t,r=n.selection,i=n.selection.ranges.slice();for(let s of n.selection.ranges){let a=n.doc.lineAt(s.head);if(e?a.to<t.state.doc.length:a.from>0)for(let o=s;;){let l=t.moveVertically(o,e);if(l.head<a.from||l.head>a.to){i.some(c=>c.head==l.head)||i.push(l);break}else{if(l.head==o.head)break;o=l}}}return i.length==r.ranges.length?!1:(t.dispatch(so(n,De.create(i,i.length-1))),!0)}const CMe=t=>Pee(t,!1),TMe=t=>Pee(t,!0),AMe=({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=De.create([n.main]):n.main.empty||(r=De.create([De.cursor(n.main.head)])),r?(e(so(t,r)),!0):!1};function Y0(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(s=>{let{from:a,to:o}=s;if(a==o){let l=e(s);l<a?(n="delete.backward",l=wv(t,l,!1)):l>a&&(n="delete.forward",l=wv(t,l,!0)),a=Math.min(a,l),o=Math.max(o,l)}else a=wv(t,a,!1),o=wv(t,o,!0);return a==o?{range:s}:{changes:{from:a,to:o},range:De.cursor(a,a<s.head?-1:1)}});return i.changes.empty?!1:(t.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n=="delete.selection"?st.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function wv(t,e,n){if(t instanceof st)for(let r of t.state.facet(st.atomicRanges).map(i=>i(t)))r.between(e,e,(i,s)=>{i<e&&s>e&&(e=n?s:i)});return e}const Fee=(t,e,n)=>Y0(t,r=>{let i=r.from,{state:s}=t,a=s.doc.lineAt(i),o,l;if(n&&!e&&i>a.from&&i<a.from+200&&!/[^ \t]/.test(o=a.text.slice(0,i-a.from))){if(o[o.length-1]=="	")return i-1;let c=US(o,s.tabSize),d=c%_w(s)||_w(s);for(let f=0;f<d&&o[o.length-1-f]==" ";f++)i--;l=i}else l=Cr(a.text,i-a.from,e,e)+a.from,l==i&&a.number!=(e?s.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(a.text.slice(l-a.from,i-a.from))&&(l=Cr(a.text,l-a.from,!1,!1)+a.from);return l}),kA=t=>Fee(t,!1,!0),zee=t=>Fee(t,!0,!1),Uee=(t,e)=>Y0(t,n=>{let r=n.head,{state:i}=t,s=i.doc.lineAt(r),a=i.charCategorizer(r);for(let o=null;;){if(r==(e?s.to:s.from)){r==n.head&&s.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let l=Cr(s.text,r-s.from,e)+s.from,c=s.text.slice(Math.min(r,l)-s.from,Math.max(r,l)-s.from),d=a(c);if(o!=null&&d!=o)break;(c!=" "||r!=n.head)&&(o=d),r=l}return r}),jee=t=>Uee(t,!1),RMe=t=>Uee(t,!0),NMe=t=>Y0(t,e=>{let n=t.lineBlockAt(e.head).to;return e.head<n?n:Math.min(t.state.doc.length,e.head+1)}),OMe=t=>Y0(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),IMe=t=>Y0(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head<n?n:Math.min(t.state.doc.length,e.head+1)}),DMe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:rn.of(["",""])},range:De.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},MMe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,s=t.doc.lineAt(i),a=i==s.from?i-1:Cr(s.text,i-s.from,!1)+s.from,o=i==s.to?i+1:Cr(s.text,i-s.from,!0)+s.from;return{changes:{from:a,to:o,insert:t.doc.slice(i,o).append(t.doc.slice(a,i))},range:De.cursor(o)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function JS(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),s=t.doc.lineAt(r.to);if(!r.empty&&r.to==s.from&&(s=t.doc.lineAt(r.to-1)),n>=i.number){let a=e[e.length-1];a.to=s.to,a.ranges.push(r)}else e.push({from:i.from,to:s.to,ranges:[r]});n=s.number+1}return e}function Hee(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let s of JS(t)){if(n?s.to==t.doc.length:s.from==0)continue;let a=t.doc.lineAt(n?s.to+1:s.from-1),o=a.length+1;if(n){r.push({from:s.to,to:a.to},{from:s.from,insert:a.text+t.lineBreak});for(let l of s.ranges)i.push(De.range(Math.min(t.doc.length,l.anchor+o),Math.min(t.doc.length,l.head+o)))}else{r.push({from:a.from,to:s.from},{from:s.to,insert:t.lineBreak+a.text});for(let l of s.ranges)i.push(De.range(l.anchor-o,l.head-o))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:De.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const LMe=({state:t,dispatch:e})=>Hee(t,e,!1),BMe=({state:t,dispatch:e})=>Hee(t,e,!0);function $ee(t,e,n){if(t.readOnly)return!1;let r=[];for(let s of JS(t))n?r.push({from:s.from,insert:t.doc.slice(s.from,s.to)+t.lineBreak}):r.push({from:s.to,insert:t.lineBreak+t.doc.slice(s.from,s.to)});let i=t.changes(r);return e(t.update({changes:i,selection:t.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const PMe=({state:t,dispatch:e})=>$ee(t,e,!1),FMe=({state:t,dispatch:e})=>$ee(t,e,!0),zMe=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(JS(e).map(({from:i,to:s})=>(i>0?i--:s<e.doc.length&&s++,{from:i,to:s}))),r=Ep(e.selection,i=>{let s;if(t.lineWrapping){let a=t.lineBlockAt(i.head),o=t.coordsAtPos(i.head,i.assoc||1);o&&(s=a.bottom+t.documentTop-o.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,s)}).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function UMe(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=ni(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),s;return r&&i&&r.to<=e&&i.from>=e&&(s=r.type.prop(Ht.closedBy))&&s.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}const Oj=Vee(!1),jMe=Vee(!0);function Vee(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:s,to:a}=i,o=e.doc.lineAt(s),l=!t&&s==a&&UMe(e,s);t&&(s=a=(a<=o.to?o:e.doc.lineAt(a)).to);let c=new KS(e,{simulateBreak:s,simulateDoubleBreak:!!l}),d=i5(c,s);for(d==null&&(d=US(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));a<o.to&&/\s/.test(o.text[a-o.from]);)a++;l?{from:s,to:a}=l:s>o.from&&s<o.from+100&&!/\S/.test(o.text.slice(0,s))&&(s=o.from);let f=["",n0(e,d)];return l&&f.push(n0(e,c.lineIndent(o.from,-1))),{changes:{from:s,to:a,insert:rn.of(f)},range:De.cursor(s+1+f[1].length)}});return n(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function b5(t,e){let n=-1;return t.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=t.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(e(o,i,r),n=o.number),a=o.to+1}let s=t.changes(i);return{changes:i,range:De.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}})}const HMe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new KS(t,{overrideIndentation:s=>{let a=n[s];return a??-1}}),i=b5(t,(s,a,o)=>{let l=i5(r,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],d=n0(t,l);(c!=d||o.from<s.from+c.length)&&(n[s.from]=l,a.push({from:s.from,to:s.from+c.length,insert:d}))});return i.changes.empty||e(t.update(i,{userEvent:"indent"})),!0},$Me=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(b5(t,(n,r)=>{r.push({from:n.from,insert:t.facet(W0)})}),{userEvent:"input.indent"})),!0),VMe=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(b5(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let s=US(i,t.tabSize),a=0,o=n0(t,Math.max(0,s-_w(t)));for(;
92a<i.length&&a<o.length&&i.charCodeAt(a)==o.charCodeAt(a);)a++;r.push({from:n.from+a,to:n.from+i.length,insert:o.slice(a)})}),{userEvent:"delete.dedent"})),!0),GMe=t=>(t.setTabFocusMode(),!0),qMe=[{key:"Ctrl-b",run:See,shift:Nee,preventDefault:!0},{key:"Ctrl-f",run:_ee,shift:Oee},{key:"Ctrl-p",run:kee,shift:Mee},{key:"Ctrl-n",run:Cee,shift:Lee},{key:"Ctrl-a",run:cMe,shift:SMe},{key:"Ctrl-e",run:uMe,shift:_Me},{key:"Ctrl-d",run:zee},{key:"Ctrl-h",run:kA},{key:"Ctrl-k",run:NMe},{key:"Ctrl-Alt-h",run:jee},{key:"Ctrl-o",run:DMe},{key:"Ctrl-t",run:MMe},{key:"Ctrl-v",run:EA}],WMe=[{key:"ArrowLeft",run:See,shift:Nee,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:eMe,shift:fMe,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:oMe,shift:vMe,preventDefault:!0},{key:"ArrowRight",run:_ee,shift:Oee,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:tMe,shift:pMe,preventDefault:!0},{mac:"Cmd-ArrowRight",run:lMe,shift:wMe,preventDefault:!0},{key:"ArrowUp",run:kee,shift:Mee,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Tj,shift:Rj},{mac:"Ctrl-ArrowUp",run:Ej,shift:kj},{key:"ArrowDown",run:Cee,shift:Lee,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Aj,shift:Nj},{mac:"Ctrl-ArrowDown",run:EA,shift:Cj},{key:"PageUp",run:Ej,shift:kj},{key:"PageDown",run:EA,shift:Cj},{key:"Home",run:aMe,shift:yMe,preventDefault:!0},{key:"Mod-Home",run:Tj,shift:Rj},{key:"End",run:sMe,shift:bMe,preventDefault:!0},{key:"Mod-End",run:Aj,shift:Nj},{key:"Enter",run:Oj,shift:Oj},{key:"Mod-a",run:xMe},{key:"Backspace",run:kA,shift:kA,preventDefault:!0},{key:"Delete",run:zee,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:jee,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:RMe,preventDefault:!0},{mac:"Mod-Backspace",run:OMe,preventDefault:!0},{mac:"Mod-Delete",run:IMe,preventDefault:!0}].concat(qMe.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),KMe=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:rMe,shift:mMe},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:iMe,shift:gMe},{key:"Alt-ArrowUp",run:LMe},{key:"Shift-Alt-ArrowUp",run:PMe},{key:"Alt-ArrowDown",run:BMe},{key:"Shift-Alt-ArrowDown",run:FMe},{key:"Mod-Alt-ArrowUp",run:CMe},{key:"Mod-Alt-ArrowDown",run:TMe},{key:"Escape",run:AMe},{key:"Mod-Enter",run:jMe},{key:"Alt-l",mac:"Ctrl-l",run:EMe},{key:"Mod-i",run:kMe,preventDefault:!0},{key:"Mod-[",run:VMe},{key:"Mod-]",run:$Me},{key:"Mod-Alt-\\",run:HMe},{key:"Shift-Mod-k",run:zMe},{key:"Shift-Mod-\\",run:hMe},{key:"Mod-/",run:LDe},{key:"Alt-A",run:PDe},{key:"Ctrl-m",mac:"Shift-Alt-m",run:GMe}].concat(WMe),Ij=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t;class s0{constructor(e,n,r=0,i=e.length,s,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=s?o=>s(Ij(o)):Ij,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Pa(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=U3(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=El(e);let i=this.normalize(n);if(i.length)for(let s=0,a=r;;s++){let o=i.charCodeAt(s),l=this.match(o,a,this.bufferPos+this.bufferStart);if(s==i.length-1){if(l)return this.value=l,this;break}a==r&&s<n.length&&n.charCodeAt(s)==o&&a++}}}match(e,n,r){let i=null;for(let s=0;s<this.matches.length;s+=2){let a=this.matches[s],o=!1;this.query.charCodeAt(a)==e&&(a==this.query.length-1?i={from:this.matches[s+1],to:r}:(this.matches[s]++,o=!0)),o||(this.matches.splice(s,2),s-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?i={from:n,to:r}:this.matches.push(1,n)),i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferStart)&&(i=null),i}}typeof Symbol<"u"&&(s0.prototype[Symbol.iterator]=function(){return this});const Gee={from:-1,to:-1,match:/.*/.exec("")},y5="gm"+(/x/.unicode==null?"":"u");class qee{constructor(e,n,r,i=0,s=e.length){if(this.text=e,this.to=s,this.curLine="",this.done=!1,this.value=Gee,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new Wee(e,n,r,i,s);this.re=new RegExp(n,y5+(r?.ignoreCase?"i":"")),this.test=r?.test,this.iter
vendor: 11,021 bytes, lines 92-93
92=e.iter();let a=e.lineAt(i);this.curLineStart=a.from,this.matchPos=Aw(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,i=r+n[0].length;if(this.matchPos=Aw(this.text,i+(r==i?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(r<i||r>this.value.to)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const Sk=new WeakMap;class Bf{constructor(e,n){this.from=e,this.text=n}get to(){return this.from+this.text.length}static get(e,n,r){let i=Sk.get(e);if(!i||i.from>=r||i.to<=n){let o=new Bf(n,e.sliceString(n,r));return Sk.set(e,o),o}if(i.from==n&&i.to==r)return i;let{text:s,from:a}=i;return a>n&&(s=e.sliceString(n,a)+s,a=n),i.to<r&&(s+=e.sliceString(i.to,r)),Sk.set(e,new Bf(a,s)),new Bf(n,s.slice(n-a,r-a))}}class Wee{constructor(e,n,r,i,s){this.text=e,this.to=s,this.done=!1,this.value=Gee,this.matchPos=Aw(e,i),this.re=new RegExp(n,y5+(r?.ignoreCase?"i":"")),this.test=r?.test,this.flat=Bf.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,i=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this.matchPos=Aw(this.text,i+(r==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Bf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(qee.prototype[Symbol.iterator]=Wee.prototype[Symbol.iterator]=function(){return this});function YMe(t){try{return new RegExp(t,y5),!0}catch{return!1}}function Aw(t,e){if(e>=t.length)return e;let n=t.lineAt(e),r;for(;e<n.to&&(r=n.text.charCodeAt(e-n.from))>=56320&&r<57344;)e++;return e}const XMe=t=>{let{state:e}=t,n=String(e.doc.lineAt(t.state.selection.main.head).number),{close:r,result:i}=f6e(t,{label:e.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:e.phrase("go")});return i.then(s=>{let a=s&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(s.elements.line.value);if(!a){t.dispatch({effects:r});return}let o=e.doc.lineAt(e.selection.main.head),[,l,c,d,f]=a,p=d?+d.slice(1):0,g=c?+c:o.number;if(c&&f){let w=g/100;l&&(w=w*(l=="-"?-1:1)+o.number/e.doc.lines),g=Math.round(e.doc.lines*w)}else c&&l&&(g=g*(l=="-"?-1:1)+o.number);let b=e.doc.line(Math.max(1,Math.min(e.doc.lines,g))),y=De.cursor(b.from+Math.max(0,Math.min(p,b.length)));t.dispatch({effects:[r,st.scrollIntoView(y.from,{y:"center"})],selection:y})}),!0},ZMe=({state:t,dispatch:e})=>{let{selection:n}=t,r=De.create(n.ranges.map(i=>t.wordAt(i.head)||De.cursor(i.head)),n.mainIndex);return r.eq(n)?!1:(e(t.update({selection:r})),!0)};function QMe(t,e){let{main:n,ranges:r}=t.selection,i=t.wordAt(n.head),s=i&&i.from==n.from&&i.to==n.to;for(let a=!1,o=new s0(t.doc,e,r[r.length-1].to);;)if(o.next(),o.done){if(a)return null;o=new s0(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),a=!0}else{if(a&&r.some(l=>l.from==o.value.from))continue;if(s){let l=t.wordAt(o.value.from);if(!l||l.from!=o.value.from||l.to!=o.value.to)continue}return o.value}}const JMe=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(s=>s.from===s.to))return ZMe({state:t,dispatch:e});let r=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=r))return!1;let i=QMe(t,r);return i?(e(t.update({selection:t.selection.addRange(De.range(i.from,i.to),!1),effects:st.scrollIntoView(i.to)})),!0):!1},kp=at.define({combine(t){return Yd(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new fLe(e),scrollToMatch:e=>st.scrollIntoView(e)})}});class Kee{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||YMe(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?`
93`:r=="r"?"\r":r=="t"?"	":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new sLe(this):new nLe(this)}getCursor(e,n=0,r){let i=e.doc?e:Xt.create({doc:e});return r==null&&(r=i.doc.length),this.regexp?rf(this,i,n,r):nf(this,i,n,r)}}class Yee{constructor(e){this.spec=e}}function eLe(t,e,n){return(r,i,s,a)=>{if(n&&!n(r,i,s,a))return!1;let o=r>=a&&i<=a+s.length?s.slice(r-a,i-a):e.doc.sliceString(r,i);return t(o,e,r,i)}}function nf(t,e,n,r){let i;return t.wholeWord&&(i=tLe(e.doc,e.charCategorizer(e.selection.main.head))),t.test&&(i=eLe(t.test,e,i)),new s0(e.doc,t.unquoted,n,r,t.caseSensitive?void 0:s=>s.toLowerCase(),i)}function tLe(t,e){return(n,r,i,s)=>((s>n||s+i.length<r)&&(s=Math.max(0,n-2),i=t.sliceString(s,Math.min(t.length,r+2))),(e(Rw(i,n-s))!=fr.Word||e(Nw(i,n-s))!=fr.Word)&&(e(Nw(i,r-s))!=fr.Word||e(Rw(i,r-s))!=fr.Word))}class nLe extends Yee{constructor(e){super(e)}nextMatch(e,n,r){let i=nf(this.spec,e,r,e.doc.length).nextOverlapping();if(i.done){let s=Math.min(e.doc.length,n+this.spec.unquoted.length);i=nf(this.spec,e,0,s).nextOverlapping()}return i.done||i.value.from==n&&i.value.to==r?null:i.value}prevMatchInRange(e,n,r){for(let i=r;;){let s=Math.max(n,i-1e4-this.spec.unquoted.length),a=nf(this.spec,e,s,i),o=null;for(;!a.nextOverlapping().done;)o=a.value;if(o)return o;if(s==n)return null;i-=1e4}}prevMatch(e,n,r){let i=this.prevMatchInRange(e,0,n);return i||(i=this.prevMatchInRange(e,Math.max(0,r-this.spec.unquoted.length),e.doc.length)),i&&(i.from!=n||i.to!=r)?i:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,n){let r=nf(this.spec,e,0,e.doc.length),i=[];for(;!r.next().done;){if(i.length>=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let s=nf(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}function rLe(t,e,n){return(r,i,s)=>(!n||n(r,i,s))&&t(s[0],e,r,i)}function rf(t,e,n,r){let i;return t.wholeWord&&(i=iLe(e.charCategorizer(e.selection.main.head))),t.test&&(i=rLe(t.test,e,i)),new qee(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:i},n,r)}function Rw(t,e){return t.slice(Cr(t,e,!1),e)}function Nw(t,e){return t.slice(e,Cr(t,e))}function iLe(t){return(e,n,r)=>!r[0].length||(t(Rw(r.input,r.index))!=fr.Word||t(Nw(r.input,r.index))!=fr.Word)&&(t(Nw(r.input,r.index+r[0].length))!=fr.Word||t(Rw(r.input,r.index+r[0].length))!=fr.Word)}class sLe extends Yee{nextMatch(e,n,r){let i=rf(this.spec,e,r,e.doc.length).next();return i.done&&(i=rf(this.spec,e,0,n).next()),i.done?null:i.value}prevMatchInRange(e,n,r){for(let i=1;;i++){let s=Math.max(n,r-i*1e4),a=rf(this.spec,e,s,r),o=null;for(;!a.next().done;)o=a.value;if(o&&(s==n||o.from>s+10))return o;if(s==n)return null}}prevMatch(e,n,r){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(n,r)=>{if(r=="&")return e.match[0];if(r=="$")return"$";for(let i=r.length;i>0;i--){let s=+r.slice(0,i);if(s>0&&s<e.match.length)return e.match[s]+r.slice(i)}return n})}matchAll(e,n){let r=rf(this.spec,e,0,e.doc.length),i=[];for(;!r.next().done;){if(i.length>=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let s=rf(this.spec,e,Math.max(0,n-250),Math.min(r+250,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}const a0=Pt.define(),v5=Pt.define(),qc=_i.define({create(t){return new _k(CA(t).create(),null)},update(t,e){for(let n of e.effects)n.is(a0)?t=new _k(n.value.create(),t.panel):n.is(v5)&&(t=new _k(t.query,n.value?w5:null));return t},provide:t=>yw.from(t,e=>e.panel)});class _k{constructor(e,n){this.query=e,this.panel=n}}const aLe=Kt.mark({class:"cm-searchMatch"}),oLe=Kt.mark({class:"cm-searchMatch cm-searchMatch-selected"}),lLe=ti.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(qc))}update(t){let e=t.state.field(qc);(e!=t.startState.field(qc)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return Kt.none;let{view:n}=this,r=new Pd;for(let i=0,s=n.visibleRanges,a=s.length;i<a;i++){let{from:o,to:l}=s[i];for(;i<a-1&&l>s[i+1].from-500;)l=s[++i].to;t.highlight(n.state,o,l,(c,d)=>{let f=n.state.selection.ranges.some(p=>p.from==c&&p.to==d);r.add(c,d,f?oLe:aLe)})}return r.finish()}},{decorations:t=>t.decorations});function X0(t){return e=>{let n=e.state.field(qc,!1);return n&&n.query.spec.valid?t(e,n):Qee(e)}}const Ow=X0((t,{query:e})=>{let{to:n}=t.state.selection.main,r=e.nextMatch(t.state,n,n);if(!r)return!1;let i=De.single(r.from,r.to),s=t.state.facet(kp);return t.dispatch({selection:i,effects:[S5(t,r),s.scrollToMatch(i.main,t)],userEvent:"select.search"}),Zee(t),!0}),Iw=X0((t,{query:e})=>{let{state:n}=t,{from:r}=n.selection.main,i=e.prevMatch(n,r,r);if(!i)return!1;let s=De.single(i.from,i.to),a=t.state.facet(kp);return t.dispatch({selection:s,effects:[S5(t,i),a.scrollToMatch(s.main,t)],userEvent:"select.search"}),Zee(t),!0}),cLe=X0((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!n||!n.length?!1:(t.dispatch({selection:De.create(n.map(r=>De.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),uLe=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,s=[],a=0;for(let o=new s0(t.doc,t.sliceDoc(r,i));!o.next().done;){if(s.length>1e3)return!1;o.value.from==r&&(a=s.length),s.push(De.range(o.value.from,o.value.to))}return e(t.update({selection:De.create(s,a),userEvent:"select.search.matches"})),!0},Dj=X0((t,{query:e})=>{let{state:n}=t,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let s=e.nextMatch(n,r,r);if(!s)return!1;let a=s,o=[],l,c,d=[];a.from==r&&a.to==i&&(c=n.toText(e.getReplacement(a)),o.push({from:a.from,to:a.to,insert:c}),a=e.nextMatch(n,a.from,a.to),d.push(st.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+".")));let f=t.state.changes(o);return a&&(l=De.single(a.from,a.to).map(f),d.push(S5(t,a)),d.push(n.facet(kp).scrollToMatch(l.main,t))),t.dis
93patch({changes:f,selection:l,effects:d,userEvent:"input.replace"}),!0}),dLe=X0((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map(i=>{let{from:s,to:a}=i;return{from:s,to:a,insert:e.getReplacement(i)}});if(!n.length)return!1;let r=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:st.announce.of(r),userEvent:"input.replace.all"}),!0});function w5(t){return t.state.facet(kp).createPanel(t)}function CA(t,e){var n,r,i,s,a;let o=t.selection.main,l=o.empty||o.to>o.from+100?"":t.sliceDoc(o.from,o.to);if(e&&!l)return e;let c=t.facet(kp);return new Kee({search:((n=e?.literal)!==null&&n!==void 0?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e?.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(i=e?.literal)!==null&&i!==void 0?i:c.literal,regexp:(s=e?.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(a=e?.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function Xee(t){let e=PJ(t,w5);return e&&e.dom.querySelector("[main-field]")}function Zee(t){let e=Xee(t);e&&e==t.root.activeElement&&e.select()}const Qee=t=>{let e=t.state.field(qc,!1);if(e&&e.panel){let n=Xee(t);if(n&&n!=t.root.activeElement){let r=CA(t.state,e.query.spec);r.valid&&t.dispatch({effects:a0.of(r)}),n.focus(),n.select()}}else t.dispatch({effects:[v5.of(!0),e?a0.of(CA(t.state,e.query.spec)):Pt.appendConfig.of(mLe)]});return!0},Jee=t=>{let e=t.state.field(qc,!1);if(!e||!e.panel)return!1;let n=PJ(t,w5);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:v5.of(!1)}),!0},hLe=[{key:"Mod-f",run:Qee,scope:"editor search-panel"},{key:"F3",run:Ow,shift:Iw,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Ow,shift:Iw,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Jee,scope:"editor search-panel"},{key:"Mod-Shift-l",run:uLe},{key:"Mod-Alt-g",run:XMe},{key:"Mod-d",run:JMe,preventDefault:!0}];class fLe{constructor(e){this.view=e;let n=this.query=e.state.field(qc).query.spec;this.commit=this.commit.bind(this),this.searchField=Mr("input",{value:n.search,placeholder:Cs(e,"Find"),"aria-label":Cs(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Mr("input",{value:n.replace,placeholder:Cs(e,"Replace"),"aria-label":Cs(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Mr("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=Mr("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=Mr("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(i,s,a){return Mr("button",{class:"cm-button",name:i,onclick:s,type:"button"},a)}this.dom=Mr("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,r("next",()=>Ow(e),[Cs(e,"next")]),r("prev",()=>Iw(e),[Cs(e,"previous")]),r("select",()=>cLe(e),[Cs(e,"all")]),Mr("label",null,[this.caseField,Cs(e,"match case")]),Mr("label",null,[this.reField,Cs(e,"regexp")]),Mr("label",null,[this.wordField,Cs(e,"by word")]),...e.state.readOnly?[]:[Mr("br"),this.replaceField,r("replace",()=>Dj(e),[Cs(e,"replace")]),r("replaceAll",()=>dLe(e),[Cs(e,"replace all")])],Mr("button",{name:"close",onclick:()=>Jee(e),"aria-label":Cs(e,"close"),type:"button"},["×"])])}commit(){let e=new Kee({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:a0.of(e)}))}keydown(e){WOe(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Iw:Ow)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Dj(this.view))}update(e){for(let n of e.transactions)for(let r of n.effects)r.is(a0)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(kp).top}}function Cs(t,e){return t.state.phrase(e)}const Sv=30,_v=/[\s\.,:;?!]/;function S5(t,{from:e,to:n}){let r=t.state.doc.lineAt(e),i=t.state.doc.lineAt(n).to,s=Math.max(r.from,e-Sv),a=Math.min(i,n+Sv),o=t.state.sliceDoc(s,a);if(s!=r.from){for(let l=0;l<Sv;l++)if(!_v.test(o[l+1])&&_v.test(o[l])){o=o.slice(l);break}}if(a!=i){for(let l=o.length-1;l>o.length-Sv;l--)if(!_v.test(o[l-1])&&_v.test(o[l])){o=o.slice(0,l);break}}return st.announce.of(`${t.state.phrase("current match")}. ${o} ${t.state.phrase("on line")} ${r.number}.`)}const pLe=st.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),mLe=[qc,mu.low(lLe),pLe];var ete=t=>{var{theme:e,settings:n={},styles:r=[]}=t,i={".cm-gutters":{}},s={};n.background&&(s.backgroundColor=n.background),n.backgroundImage&&(s.backgroundImage=n.backgroundImage),n.foreground&&(s.color=n.foreground),n.fontSize&&(s.fontSize=n.fontSize),(n.background||n.foreground)&&
93(i["&"]=s),n.fontFamily&&(i["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(i[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(i[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(i[".cm-content"]={caretColor:n.caret},i[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var a={};n.gutterActiveForeground&&(a.color=n.gutterActiveForeground),n.lineHighlight&&(i[".cm-activeLine"]={backgroundColor:n.lineHighlight},a.backgroundColor=n.lineHighlight),i[".cm-activeLineGutter"]=a,n.selection&&(i["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(i["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var o=st.theme(i,{dark:e==="dark"}),l=YS.define(r),c=[o,EIe(l)];return c},gLe={background:"#ffffff",foreground:"#383a42",caret:"#000",selection:"#add6ff",selectionMatch:"#a8ac94",lineHighlight:"#99999926",gutterBackground:"#fff",gutterForeground:"#237893",gutterActiveForeground:"#0b216f",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'},bLe=[{tag:[ge.keyword,ge.operatorKeyword,ge.modifier,ge.color,ge.constant(ge.name),ge.standard(ge.name),ge.standard(ge.tagName),ge.special(ge.brace),ge.atom,ge.bool,ge.special(ge.variableName)],color:"#0000ff"},{tag:[ge.moduleKeyword,ge.controlKeyword],color:"#af00db"},{tag:[ge.name,ge.deleted,ge.character,ge.macroName,ge.propertyName,ge.variableName,ge.labelName,ge.definition(ge.name)],color:"#0070c1"},{tag:ge.heading,fontWeight:"bold",color:"#0070c1"},{tag:[ge.typeName,ge.className,ge.tagName,ge.number,ge.changed,ge.annotation,ge.self,ge.namespace],color:"#267f99"},{tag:[ge.function(ge.variableName),ge.function(ge.propertyName)],color:"#795e26"},{tag:[ge.number],color:"#098658"},{tag:[ge.operator,ge.punctuation,ge.separator,ge.url,ge.escape,ge.regexp],color:"#383a42"},{tag:[ge.regexp],color:"#af00db"},{tag:[ge.special(ge.string),ge.processingInstruction,ge.string,ge.inserted],color:"#a31515"},{tag:[ge.angleBracket],color:"#383a42"},{tag:ge.strong,fontWeight:"bold"},{tag:ge.emphasis,fontStyle:"italic"},{tag:ge.strikethrough,textDecoration:"line-through"},{tag:[ge.meta,ge.comment],color:"#008000"},{tag:ge.link,color:"#4078f2",textDecoration:"underline"},{tag:ge.invalid,color:"#e45649"}];function yLe(t){var{theme:e="light",settings:n={},styles:r=[]}={};return ete({theme:e,settings:$g({},gLe,n),styles:[...bLe,...r]})}var tte=yLe(),vLe={background:"#1e1e1e",foreground:"#9cdcfe",caret:"#c6c6c6",selection:"#6199ff2f",selectionMatch:"#72a1ff59",lineHighlight:"#ffffff0f",gutterBackground:"#1e1e1e",gutterForeground:"#838383",gutterActiveForeground:"#fff",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'},wLe=[{tag:[ge.keyword,ge.operatorKeyword,ge.modifier,ge.color,ge.constant(ge.name),ge.standard(ge.name),ge.standard(ge.tagName),ge.special(ge.brace),ge.atom,ge.bool,ge.special(ge.variableName)],color:"#569cd6"},{tag:[ge.controlKeyword,ge.moduleKeyword],color:"#c586c0"},{tag:[ge.name,ge.deleted,ge.character,ge.macroName,ge.propertyName,ge.variableName,ge.labelName,ge.definition(ge.name)],color:"#9cdcfe"},{tag:ge.heading,fontWeight:"bold",color:"#9cdcfe"},{tag:[ge.typeName,ge.className,ge.tagName,ge.number,ge.changed,ge.annotation,ge.self,ge.namespace],color:"#4ec9b0"},{tag:[ge.function(ge.variableName),ge.function(ge.propertyName)],color:"#dcdcaa"},{tag:[ge.number],color:"#b5cea8"},{tag:[ge.operator,ge.punctuation,ge.separator,ge.url,ge.escape,ge.regexp],color:"#d4d4d4"},{tag:[ge.regexp],color:"#d16969"},{tag:[ge.special(ge.string),ge.processingInstruction,ge.string,ge.inserted],color:"#ce9178"},{tag:[ge.angleBracket],color:"#808080"},{tag:ge.strong,fontWeight:"bold"},{tag:ge.emphasis,fontStyle:"italic"},{tag:ge.strikethrough,textDecoration:"line-through"},{tag:[ge.meta,ge.comment],color:"#6a9955"},{tag:ge.link,color:"#6a9955",textDecoration:"underline"}
93,{tag:ge.invalid,color:"#ff0000"}];function SLe(t){var{theme:e="dark",settings:n={},styles:r=[]}={};return ete({theme:e,settings:$g({},vLe,n),styles:[...wLe,...r]})}var nte=SLe();const TA=new Bd;function _Le(t,e={}){return[xLe(e),Xt.tabSize.of(e?.tabSize??2),t==="dark"?TA.of([nte]):TA.of([tte])]}function rte(t){return TA.reconfigure(t==="dark"?nte:tte)}function xLe(t){return st.theme({"&":{fontSize:t.fontSize??"13px"},"&.cm-editor":{height:"100%",width:"100%",background:"hsl(var(--background))",color:"hsl(var(--foreground))"},".cm-cursor":{borderLeft:"2px solid hsl(var(--primary))"},".cm-scroller":{lineHeight:"1.6",fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',"&:focus-visible":{outline:"none"},...t.tabSize?{tabSize:String(t.tabSize)}:{}},".cm-line":{padding:"0 0 0 4px"},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--primary) / 0.2) !important"},"&:not(.cm-focused) > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--muted) / 0.4)"},"&.cm-focused > .cm-scroller .cm-matchingBracket":{backgroundColor:"hsl(var(--primary) / 0.2)"},".cm-activeLine":{background:"hsl(var(--muted) / 0.3)"},".cm-gutters":{background:"hsl(var(--background))",borderRight:"1px solid hsl(var(--border))",color:"hsl(var(--muted-foreground))"},".cm-gutter":{"&.cm-lineNumbers":{fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace',fontSize:t.gutterFontSize??t.fontSize??"12px",minWidth:"40px"},"& .cm-activeLineGutter":{background:"transparent",color:"hsl(var(--foreground))"},"&.cm-foldGutter .cm-gutterElement > .fold-icon":{cursor:"pointer",color:"hsl(var(--muted-foreground))",transform:"translateY(2px)","&:hover":{color:"hsl(var(--foreground))"}}},".cm-foldGutter .cm-gutterElement":{padding:"0 4px"},".cm-tooltip-autocomplete > ul > li":{minHeight:"18px"},".cm-panel.cm-search label":{marginLeft:"2px",fontSize:"12px"},".cm-panel.cm-search .cm-button":{fontSize:"12px"},".cm-panel.cm-search .cm-textfield":{fontSize:"12px"},".cm-panels":{borderColor:"hsl(var(--border))"},".cm-panels-bottom":{borderTop:"1px solid hsl(var(--border))",backgroundColor:"transparent"},".cm-panel.cm-search":{background:"hsl(var(--background))",color:"hsl(var(--foreground))",padding:"8px"},".cm-search .cm-button":{background:"hsl(var(--secondary))",borderColor:"hsl(var(--border))",color:"hsl(var(--secondary-foreground))",borderRadius:"4px"},".cm-search input":{background:"hsl(var(--background))",borderColor:"hsl(var(--border))",color:"hsl(var(--foreground))",outline:"none",borderRadius:"4px"},".cm-tooltip":{background:"hsl(var(--popover))",border:"1px solid hsl(var(--border))",color:"hsl(var(--popover-foreground))"},".cm-tooltip.cm-tooltip-autocomplete ul li[aria-selected]":{background:"hsl(var(--accent))",color:"hsl(var(--accent-foreground))"},".cm-searchMatch":{backgroundColor:"hsl(var(--primary) / 0.3)"},".cm-readonly-tooltip":{padding:"4px 8px",whiteSpace:"nowrap",backgroundColor:"hsl(var(--muted))",borderColor:"hsl(var(--border))",borderRadius:"4px",fontSize:"12px"}})}const ELe=[oa.of({name:"TypeScript",extensions:["ts"],load(){return xr(()=>import("./index-C6aXBoGg.js"),__vite__mapDeps([0,1])).then(t=>t.javascript({typescript:!0}))}}),oa.of({name:"JavaScript",extensions:["js","mjs","cjs"],load(){return xr(()=>import("./index-C6aXBoGg.js"),__vite__mapDeps([0,1])).then(t=>t.javascript())}}),oa.of({name:"TSX",extensions:["tsx"],load(){return xr(()=>import("./index-C6aXBoGg.js"),__vite__mapDeps([0,1])).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),oa.of({name:"JSX",extensions:["jsx"],load(){return xr(()=>import("./index-C6aXBoGg.js"),__vite__mapDeps([0,1])).then(t=>t.javascript({jsx:!0}))}}),oa.of({name:"HTML",extensions:["html"],load(){return xr(()=>import("./index-Cgi7ixUa.js"),__vite__mapDeps([2,1,3,0])).then(t=>t.html())}}),oa.of({name:"CSS",extensions:["css"],load(){return xr(()=>import("./index-BdEOTVR1.js"),__vite__mapDeps([3,1])).then(t=>t.css())}}),oa.of({name:"JSON",extensions:["json"],load(){return xr(()=>import("./index-BNn6IJs0.js"),__vite__mapDeps([4,1])).then(t=>t.json())}}),oa.of({name:"Markdown",extensions:["md"],load(){return xr(()=>import("./index-DmBMJT4v.js"),__vite__mapDeps([5,2,1,3,0])).then(t=>t.markdown())}}),oa.of({name:"Python",extensions:["py"],load(){return xr(()=>import("./index-D9wQeHRi.js"),__vite__mapDeps([6,1])).then(t=>t.python())}})];async function kLe(t){const e=oa.matchFilename(ELe,t);if(e)try{return await e.load()}catch(n){console.warn(`Failed to load language support for "${t}":`,n);return}}function ite(t,e){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>t(...r),e)}}const CLe=A.memo(({doc:t,editable:e=!0,autoFocus:n=!1,onScroll:r,onChange:i,onSave:s,theme:a="dark",settings:o,className:l=""})=>{const c=A.useRef(new Bd),d=A.useRef(new Bd),f=A.useRef(null),p=A.useRef(void 0),g=A.useRef(a),b=A.useRef(void 0),y=A.useRef(new Map),w=A.useRef(r),S=A.useRef(i),_=A.useRef(s);return A.useEffect(()=>{w.current=r,S.current=i,_.current=s,b.current=t,g.current=a}),A.useEffect(()=>{const E=ite(N=>{S.current?.(N)},150),T=new st({parent:f.current??void 0,dispatchTransactions(N){const I=T.state.selection;T.update(N);
93const P=T.state.selection,z=P!==I&&!P.eq(I);if(b.current&&(N.some(U=>U.docChanged)||z)){E({selection:T.state.selection,content:T.state.doc.toString()});const U=y.current;if(U.set(b.current.filePath,T.state),U.size>50){const Z=U.keys().next().value;Z!==void 0&&U.delete(Z)}}}});p.current=T;const R=y.current;return()=>{p.current?.destroy(),p.current=void 0,R.clear()}},[]),A.useEffect(()=>{p.current&&p.current.dispatch({effects:[rte(a)]})},[a]),A.useEffect(()=>{const E=y.current,T=p.current;if(!T)return;const R=g.current;if(!t){const I=Mj("",R,o,w,_,d.current,[c.current.of([])]);T.setState(I),TLe(T);return}let N=E.get(t.filePath);N||(N=Mj(t.value,R,o,w,_,d.current,[c.current.of([])]),E.set(t.filePath,N)),T.setState(N),ALe(T,R,e,c.current,d.current,n,t,p)},[t?.value,e,t?.filePath,n,o]),x.jsx("div",{className:tt("relative h-full",l),children:x.jsx("div",{className:"h-full overflow-hidden",ref:f})})});CLe.displayName="CodeMirrorEditor";function Mj(t,e,n,r,i,s,a,o=!0){return Xt.create({doc:t,extensions:[st.domEventHandlers({scroll:ite((l,c)=>{l.target===c.scrollDOM&&r.current?.({left:c.scrollDOM.scrollLeft,top:c.scrollDOM.scrollTop})},100)}),s.of(st.editable.of(o)),_Le(e,n),VDe(),WS.of([...KMe,...JDe,...hLe,{key:"Tab",run:cee},{key:"Mod-s",preventDefault:!0,run:()=>(i.current?.(),!0)}]),W0.of(" ".repeat(n?.tabSize??2)),IDe({closeOnBlur:!1}),_De(),E6e(),s6e(),i6e(),JOe(),DIe(),Xt.tabSize.of(n?.tabSize??2),dIe(),T6e(),a6e(),SIe({markerDOM:l=>{const c=document.createElement("div");return c.className=`fold-icon ${l?"fold-open":"fold-closed"}`,c.textContent=l?"▼":"▶",c.style.fontSize="10px",c.style.cursor="pointer",c}}),...a]})}function TLe(t){t.dispatch({selection:{anchor:0},changes:{from:0,to:t.state.doc.length,insert:""}}),t.scrollDOM.scrollTo(0,0)}function ALe(t,e,n,r,i,s,a,o){if(a.value!==t.state.doc.toString()){if(o.current!==t)return;t.dispatch({selection:{anchor:0},changes:{from:0,to:t.state.doc.length,insert:a.value}})}o.current===t&&(t.dispatch({effects:[i.reconfigure(st.editable.of(n))]}),kLe(a.filePath).then(l=>{!l||o.current!==t||(t.dispatch({effects:[r.reconfigure([l]),rte(e)]}),requestAnimationFrame(()=>{if(o.current!==t)return;const c=t.scrollDOM.scrollLeft,d=t.scrollDOM.scrollTop,f=a.scroll?.left??0,p=a.scroll?.top??0;s&&n&&(c!==f||d!==p?t.scrollDOM.addEventListener("scroll",()=>{t.focus()},{once:!0}):t.focus()),t.scrollDOM.scrollTo(f,p)}))}).catch(()=>{}))}var RLe=2,NLe=1,OLe=class{activate(t){this._terminal=t}dispose(){}fit(){let t=this.proposeDimensions();if(!t||!this._terminal||isNaN(t.cols)||isNaN(t.rows))return;let e=this._terminal._core;(this._terminal.rows!==t.rows||this._terminal.cols!==t.cols)&&(e._renderService.clear(),this._terminal.resize(t.cols,t.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let t=this._terminal._core._renderService.dimensions;if(t.css.cell.width===0||t.css.cell.height===0)return;let e=this._terminal.options.scrollback===0?0:this._terminal.options.overviewRuler?.width||14,n=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(n.getPropertyValue("height")),i=Math.max(0,parseInt(n.getPropertyValue("width"))),s=window.getComputedStyle(this._terminal.element),a={top:parseInt(s.getPropertyValue("padding-top")),bottom:parseInt(s.getPropertyValue("padding-bottom")),right:parseInt(s.getPropertyValue("padding-right")),left:parseInt(s.getPropertyValue("padding-left"))},o=a.top+a.bottom,l=a.right+a.left,c=r-o,d=i-l-e;return{cols:Math.max(RLe,Math.floor(d/t.css.cell.width)),rows:Math.max(NLe,Math.floor(c/t.css.cell.height))}}};var ILe=class{constructor(e,n,r,i={}){this._terminal=e,this._regex=n,this._handler=r,this._options=i}provideLinks(e,n){let r=MLe.computeLink(e,this._regex,this._terminal,this._handler);n(this._addCallbacks(r))}_addCallbacks(e){return e.map(n=>(n.leave=this._options.leave,n.hover=(r,i)=>{if(this._options.hover){let{range:s}=n;this._options.hover(r,i,s)}},n))}};function DLe(t){try{let e=new URL(t),n=e.password&&e.username?`${e.protocol}//${e.username}:${e.password}@${e.host}`:e.username?`${e.protocol}//${e.username}@${e.host}`:`${e.protocol}//${e.host}`;return t.toLocaleLowerCase().startsWith(n.toLocaleLowerCase())}catch{return!1}}var MLe=class g1{static computeLink(e,n,r,i){let s=new RegExp(n.source,(n.flags||"")+"g"),[a,o]=g1._getWindowedLineStrings(e-1,r),l=a.join(""),c,d=[];for(;c=s.exec(l);){let f=c[0];if(!DLe(f))continue;let[p,g]=g1._mapStrIdx(r,o,0,c.index),[b,y]=g1._mapStrIdx(r,p,g,f.length);if(p===-1||g===-1||b===-1||y===-1)continue;let w={start:{x:g+1,y:p+1},end:{x:y,y:b+1}};d.push({range:w,text:f,activate:i})}return d}
93static _getWindowedLineStrings(e,n){let r,i=e,s=e,a=0,o="",l=[];if(r=n.buffer.active.getLine(e)){let c=r.translateToString(!0);if(r.isWrapped&&c[0]!==" "){for(a=0;(r=n.buffer.active.getLine(--i))&&a<2048&&(o=r.translateToString(!0),a+=o.length,l.push(o),!(!r.isWrapped||o.indexOf(" ")!==-1)););l.reverse()}for(l.push(c),a=0;(r=n.buffer.active.getLine(++s))&&r.isWrapped&&a<2048&&(o=r.translateToString(!0),a+=o.length,l.push(o),o.indexOf(" ")===-1););}return[l,i]}static _mapStrIdx(e,n,r,i){let s=e.buffer.active,a=s.getNullCell(),o=r;for(;i;){let l=s.getLine(n);if(!l)return[-1,-1];for(let c=o;c<l.length;++c){l.getCell(c,a);let d=a.getChars();if(a.getWidth()&&(i-=d.length||1,c===l.length-1&&d==="")){let f=s.getLine(n+1);f&&f.isWrapped&&(f.getCell(0,a),a.getWidth()===2&&(i+=1))}if(i<0)return[n,c]}n++,o=0}return[n,o]}},LLe=/(https?|HTTPS?):[/]{2}[^\s"'!*(){}|\\\^<>`]*[^\s"':,.!?{}|\\\^~\[\]`()<>]/;function BLe(t,e){let n=window.open();if(n){try{n.opener=null}catch{}n.location.href=e}else console.warn("Opening link blocked as opener could not be cleared")}var PLe=class{constructor(e=BLe,n={}){this._handler=e,this._options=n}activate(e){this._terminal=e;let n=this._options,r=n.urlRegex||LLe;this._linkProvider=this._terminal.registerLinkProvider(new ILe(this._terminal,r,this._handler,n))}dispose(){this._linkProvider?.dispose()}};var ste=Object.defineProperty,FLe=Object.getOwnPropertyDescriptor,zLe=(t,e)=>{for(var n in e)ste(t,n,{get:e[n],enumerable:!0})},Kn=(t,e,n,r)=>{for(var i=r>1?void 0:r?FLe(e,n):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(r?a(e,n,i):a(i))||i);return r&&i&&ste(e,n,i),i},et=(t,e)=>(n,r)=>e(n,r,t),Lj="Terminal input",AA={get:()=>Lj,set:t=>Lj=t},Bj="Too much output to announce, navigate to rows manually to read",RA={get:()=>Bj,set:t=>Bj=t};function ULe(t){return t.replace(/\r?\n/g,"\r")}function jLe(t,e){return e?"\x1B[200~"+t+"\x1B[201~":t}function HLe(t,e){t.clipboardData&&t.clipboardData.setData("text/plain",e.selectionText),t.preventDefault()}function $Le(t,e,n,r){if(t.stopPropagation(),t.clipboardData){let i=t.clipboardData.getData("text/plain");ate(i,e,n,r)}}function ate(t,e,n,r){t=ULe(t),t=jLe(t,n.decPrivateModes.bracketedPasteMode&&r.rawOptions.ignoreBracketedPasteMode!==!0),n.triggerDataEvent(t,!0),e.value=""}function ote(t,e,n){let r=n.getBoundingClientRect(),i=t.clientX-r.left-10,s=t.clientY-r.top-10;e.style.width="20px",e.style.height="20px",e.style.left=`${i}px`,e.style.top=`${s}px`,e.style.zIndex="1000",e.focus()}function Pj(t,e,n,r,i){ote(t,e,n),i&&r.rightClickSelect(t),e.value=r.selectionText,e.select()}function Mc(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function e_(t,e=0,n=t.length){let r="";for(let i=e;i<n;++i){let s=t[i];s>65535?(s-=65536,r+=String.fromCharCode((s>>10)+55296)+String.fromCharCode(s%1024+56320)):r+=String.fromCharCode(s)}return r}var VLe=class{constructor(){this._interim=0}clear(){this._interim=0}decode(t,e){let n=t.length;if(!n)return 0;let r=0,i=0;if(this._interim){let s=t.charCodeAt(i++);56320<=s&&s<=57343?e[r++]=(this._interim-55296)*1024+s-56320+65536:(e[r++]=this._interim,e[r++]=s),this._interim=0}for(let s=i;s<n;++s){let a=t.charCodeAt(s);if(55296<=a&&a<=56319){if(++s>=n)return this._interim=a,r;let o=t.charCodeAt(s);56320<=o&&o<=57343?e[r++]=(a-55296)*1024+o-56320+65536:(e[r++]=a,e[r++]=o);continue}a!==65279&&(e[r++]=a)}return r}},GLe=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(t,e){let n=t.length;if(!n)return 0;let r=0,i,s,a,o,l=0,c=0;if(this.interim[0]){let p=!1,g=this.interim[0];g&=(g&224)===192?31:(g&240)===224?15:7;let b=0,y;for(;(y=this.interim[++b]&63)&&b<4;)g<<=6,g|=y;let w=(this.interim[0]&224)===192?2:(this.interim[0]&240)===224?3:4,S=w-b;for(;c<S;){if(c>=n)return 0;if(y=t[c++],(y&192)!==128){c--,p=!0;break}else this.interim[b++]=y,g<<=6,g|=y&63}p||(w===2?g<128?c--:e[r++]=g:w===3?g<2048||g>=55296&&g<=57343||g===65279||(e[r++]=g):g<65536||g>1114111||(e[r++]=g)),this.interim.fill(0)}let d=n-4,f=c;for(;f<n;){for(;f<d&&!((i=t[f])&128)&&!((s=t[f+1])&128)&&!((a=t[f+2])&128)&&!((o=t[f+3])&128);)e[r++]=i,e[r++]=s,e[r++]=a,e[r++]=o,f+=4;if(i=t[f++],i<128)e[r++]=i;else if((i&224)===192){if(f>=n)return this.interim[0]=i,r;if(s=t[f++],(s&192)!==128){f--;continue}if(l=(i&31)<<6|s&63,l<128){f--;continue}e[r++]=l}else if((i&240)===224){if(f>=n)return this.interim[0]=i,r;if(s=t[f++],(s&192)!==128){f--;continue}if(f>=n)return this.interim[0]=i,this.interim[1]=s,r;
93if(a=t[f++],(a&192)!==128){f--;continue}if(l=(i&15)<<12|(s&63)<<6|a&63,l<2048||l>=55296&&l<=57343||l===65279)continue;e[r++]=l}else if((i&248)===240){if(f>=n)return this.interim[0]=i,r;if(s=t[f++],(s&192)!==128){f--;continue}if(f>=n)return this.interim[0]=i,this.interim[1]=s,r;if(a=t[f++],(a&192)!==128){f--;continue}if(f>=n)return this.interim[0]=i,this.interim[1]=s,this.interim[2]=a,r;if(o=t[f++],(o&192)!==128){f--;continue}if(l=(i&7)<<18|(s&63)<<12|(a&63)<<6|o&63,l<65536||l>1114111)continue;e[r++]=l}}return r}},lte="",Uc=" ",Z0=class cte{constructor(){this.fg=0,this.bg=0,this.extended=new Dw}static toColorRGB(e){return[e>>>16&255,e>>>8&255,e&255]}static fromColorRGB(e){return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255}clone(){let e=new cte;return e.fg=this.fg,e.bg=this.bg,e.extended=this.extended.clone(),e}isInverse(){return this.fg&67108864}isBold(){return this.fg&134217728}isUnderline(){return this.hasExtendedAttrs()&&this.extended.underlineStyle!==0?1:this.fg&268435456}isBlink(){return this.fg&536870912}isInvisible(){return this.fg&1073741824}isItalic(){return this.bg&67108864}isDim(){return this.bg&134217728}isStrikethrough(){return this.fg&2147483648}isProtected(){return this.bg&536870912}isOverline(){return this.bg&1073741824}getFgColorMode(){return this.fg&50331648}getBgColorMode(){return this.bg&50331648}isFgRGB(){return(this.fg&50331648)===50331648}isBgRGB(){return(this.bg&50331648)===50331648}isFgPalette(){return(this.fg&50331648)===16777216||(this.fg&50331648)===33554432}isBgPalette(){return(this.bg&50331648)===16777216||(this.bg&50331648)===33554432}isFgDefault(){return(this.fg&50331648)===0}isBgDefault(){return(this.bg&50331648)===0}isAttributeDefault(){return this.fg===0&&this.bg===0}getFgColor(){switch(this.fg&50331648){case 16777216:case 33554432:return this.fg&255;case 50331648:return this.fg&16777215;default:return-1}}getBgColor(){switch(this.bg&50331648){case 16777216:case 33554432:return this.bg&255;case 50331648:return this.bg&16777215;default:return-1}}hasExtendedAttrs(){return this.bg&268435456}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(this.bg&268435456&&~this.extended.underlineColor)switch(this.extended.underlineColor&50331648){case 16777216:case 33554432:return this.extended.underlineColor&255;case 50331648:return this.extended.underlineColor&16777215;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return this.bg&268435456&&~this.extended.underlineColor?this.extended.underlineColor&50331648:this.getFgColorMode()}isUnderlineColorRGB(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===50331648:this.isFgRGB()}isUnderlineColorPalette(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===16777216||(this.extended.underlineColor&50331648)===33554432:this.isFgPalette()}isUnderlineColorDefault(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===0:this.isFgDefault()}getUnderlineStyle(){return this.fg&268435456?this.bg&268435456?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}},Dw=class ute{constructor(e=0,n=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=n}get ext(){return this._urlId?this._ext&-469762049|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(this._ext&469762048)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return this._ext&67108863}set underlineColor(e){this._ext&=-67108864,this._ext|=e&67108863}get urlId(){return this._urlId}set urlId(e){this._urlId=e}get underlineVariantOffset(){let e=(this._ext&3758096384)>>29;return e<0?e^4294967288:e}set underlineVariantOffset(e){this._ext&=536870911,this._ext|=e<<29&3758096384}clone(){return new ute(this._ext,this._urlId)}isEmpty(){return this.underlineStyle===0&&this._urlId===0}},Sa=class dte extends Z0{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new Dw,this.combinedData=""}static fromCharData(e){let n=new dte;return n.setFromCharData(e),n}isCombined(){return this.content&2097152}getWidth(){return this.content>>22}getChars(){return this.content&2097152?this.combinedData:this.content&2097151?Mc(this.content&2097151):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):this.content&2097151}setFromCharData(e){this.fg=e[0],this.bg=0;let n=!1;if(e[1].length>2)n=!0;
93else if(e[1].length===2){let r=e[1].charCodeAt(0);if(55296<=r&&r<=56319){let i=e[1].charCodeAt(1);56320<=i&&i<=57343?this.content=(r-55296)*1024+i-56320+65536|e[2]<<22:n=!0}else n=!0}else this.content=e[1].charCodeAt(0)|e[2]<<22;n&&(this.combinedData=e[1],this.content=2097152|e[2]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}},Fj="di$target",NA="di$dependencies",xk=new Map;function qLe(t){return t[NA]||[]}function jr(t){if(xk.has(t))return xk.get(t);let e=function(n,r,i){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");WLe(e,n,i)};return e._id=t,xk.set(t,e),e}function WLe(t,e,n){e[Fj]===e?e[NA].push({id:t,index:n}):(e[NA]=[{id:t,index:n}],e[Fj]=e)}var ji=jr("BufferService"),hte=jr("CoreMouseService"),Zd=jr("CoreService"),KLe=jr("CharsetService"),_5=jr("InstantiationService"),fte=jr("LogService"),Hi=jr("OptionsService"),pte=jr("OscLinkService"),YLe=jr("UnicodeService"),Q0=jr("DecorationService"),OA=class{constructor(t,e,n){this._bufferService=t,this._optionsService=e,this._oscLinkService=n}provideLinks(t,e){let n=this._bufferService.buffer.lines.get(t-1);if(!n){e(void 0);return}let r=[],i=this._optionsService.rawOptions.linkHandler,s=new Sa,a=n.getTrimmedLength(),o=-1,l=-1,c=!1;for(let d=0;d<a;d++)if(!(l===-1&&!n.hasContent(d))){if(n.loadCell(d,s),s.hasExtendedAttrs()&&s.extended.urlId)if(l===-1){l=d,o=s.extended.urlId;continue}else c=s.extended.urlId!==o;else l!==-1&&(c=!0);if(c||l!==-1&&d===a-1){let f=this._oscLinkService.getLinkData(o)?.uri;if(f){let p={start:{x:l+1,y:t},end:{x:d+(!c&&d===a-1?1:0),y:t}},g=!1;if(!i?.allowNonHttpProtocols)try{let b=new URL(f);["http:","https:"].includes(b.protocol)||(g=!0)}catch{g=!0}g||r.push({text:f,range:p,activate:(b,y)=>i?i.activate(b,y,p):XLe(b,y),hover:(b,y)=>i?.hover?.(b,y,p),leave:(b,y)=>i?.leave?.(b,y,p)})}c=!1,s.hasExtendedAttrs()&&s.extended.urlId?(l=d,o=s.extended.urlId):(l=-1,o=-1)}}e(r)}};OA=Kn([et(0,ji),et(1,Hi),et(2,pte)],OA);function XLe(t,e){if(confirm(`Do you want to navigate to ${e}?
94
95WARNING: This link could potentially be dangerous`)){let n=window.open();if(n){try{n.opener=null}catch{}n.location.href=e}else console.warn("Opening link blocked as opener could not be cleared")}}var t_=jr("CharSizeService"),ql=jr("CoreBrowserService"),x5=jr("MouseService"),Wl=jr("RenderService"),ZLe=jr("SelectionService"),mte=jr("CharacterJoinerService"),Cp=jr("ThemeService"),gte=jr("LinkProviderService"),QLe=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?zj.isErrorNoTelemetry(t)?new zj(t.message+`
96
97`+t.stack):new Error(t.message+`
98
99`+t.stack):t},0)}}addListener(t){return this.listeners.push(t),()=>{this._removeListener(t)}}emit(t){this.listeners.forEach(e=>{e(t)})}_removeListener(t){this.listeners.splice(this.listeners.indexOf(t),1)}setUnexpectedErrorHandler(t){this.unexpectedErrorHandler=t}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}},JLe=new QLe;function b1(t){e8e(t)||JLe.onUnexpectedError(t)}var IA="Canceled";function e8e(t){return t instanceof t8e?!0:t instanceof Error&&t.name===IA&&t.message===IA}var t8e=class extends Error{constructor(){super(IA),this.name=this.message}};function n8e(t){return new Error(`Illegal argument: ${t}`)}var zj=class DA extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof DA)return e;let n=new DA;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}},MA=class bte extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,bte.prototype)}};function Ts(t,e=0){return t[t.length-(1+e)]}var r8e;(t=>{function e(s){return s<0}t.isLessThan=e;function n(s){return s<=0}t.isLessThanOrEqual=n;function r(s){return s>0}t.isGreaterThan=r;function i(s){return s===0}t.isNeitherLessOrGreaterThan=i,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(r8e||={});function i8e(t,e){let n=this,r=!1,i;return function(){return r||(r=!0,e||(i=t.apply(n,arguments))),i}}var yte;(t=>{function e(T){return T&&typeof T=="object"&&typeof T[Symbol.iterator]=="function"}t.is=e;let n=Object.freeze([]);function r(){return n}t.empty=r;function*i(T){yield T}t.single=i;function s(T){return e(T)?T:i(T)}t.wrap=s;function a(T){return T||n}t.from=a;function*o(T){for(let R=T.length-1;R>=0;R--)yield T[R]}t.reverse=o;function l(T){return!T||T[Symbol.iterator]().next().done===!0}t.isEmpty=l;function c(T){return T[Symbol.iterator]().next().value}t.first=c;function d(T,R){let N=0;for(let I of T)if(R(I,N++))return!0;return!1}t.some=d;function f(T,R){for(let N of T)if(R(N))return N}t.find=f;function*p(T,R){for(let N of T)R(N)&&(yield N)}t.filter=p;function*g(T,R){let N=0;for(let I of T)yield R(I,N++)}t.map=g;function*b(T,R){let N=0;for(let I of T)yield*R(I,N++)}t.flatMap=b;function*y(...T){for(let R of T)yield*R}t.concat=y;function w(T,R,N){let I=N;for(let P of T)I=R(I,P);return I}t.reduce=w;function*S(T,R,N=T.length){for(R<0&&(R+=T.length),N<0?N+=T.length:N>T.length&&(N=T.length);R<N;R++)yield T[R]}t.slice=S;function _(T,R=Number.POSITIVE_INFINITY){let N=[];if(R===0)return[N,T];let I=T[Symbol.iterator]();for(let P=0;P<R;P++){let z=I.next();if(z.done)return[N,t.empty()];N.push(z.value)}return[N,{[Symbol.iterator](){return I}}]}t.consume=_;async function E(T){let R=[];for await(let N of T)R.push(N);return Promise.resolve(R)}t.asyncToArray=E})(yte||={});
vendor: 6,830 bytes, line 99
99function jd(t){if(yte.is(t)){let e=[];for(let n of t)if(n)try{n.dispose()}catch(r){e.push(r)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function s8e(...t){return In(()=>jd(t))}function In(t){return{dispose:i8e(()=>{t()})}}var vte=class wte{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{jd(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?wte.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}delete(e){if(e){if(e===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(e),e.dispose()}}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),void 0)}};vte.DISABLE_DISPOSED_WARNING=!1;var Wc=vte,Lt=class{constructor(){this._store=new Wc,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};Lt.None=Object.freeze({dispose(){}});var rp=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(t){this._isDisposed||t===this._value||(this._value?.dispose(),this._value=t)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}clearAndLeak(){let t=this._value;return this._value=void 0,t}},Al=typeof window=="object"?window:globalThis,LA=class BA{constructor(e){this.element=e,this.next=BA.Undefined,this.prev=BA.Undefined}};LA.Undefined=new LA(void 0);var Ln=LA,Uj=class{constructor(){this._first=Ln.Undefined,this._last=Ln.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Ln.Undefined}clear(){let t=this._first;for(;t!==Ln.Undefined;){let e=t.next;t.prev=Ln.Undefined,t.next=Ln.Undefined,t=e}this._first=Ln.Undefined,this._last=Ln.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,e){let n=new Ln(t);if(this._first===Ln.Undefined)this._first=n,this._last=n;else if(e){let i=this._last;this._last=n,n.prev=i,i.next=n}else{let i=this._first;this._first=n,n.next=i,i.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==Ln.Undefined){let t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Ln.Undefined){let t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Ln.Undefined&&t.next!==Ln.Undefined){let e=t.prev;e.next=t.next,t.next.prev=e}else t.prev===Ln.Undefined&&t.next===Ln.Undefined?(this._first=Ln.Undefined,this._last=Ln.Undefined):t.next===Ln.Undefined?(this._last=this._last.prev,this._last.next=Ln.Undefined):t.prev===Ln.Undefined&&(this._first=this._first.next,this._first.prev=Ln.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Ln.Undefined;)yield t.element,t=t.next}},a8e=globalThis.performance&&typeof globalThis.performance.now=="function",o8e=class Ste{static create(e){return new Ste(e)}constructor(e){this._now=a8e&&e===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}},Jr;(t=>{t.None=()=>Lt.None;function e(L,$){return f(L,()=>{},0,void 0,!0,void 0,$)}t.defer=e;function n(L){return($,D=null,W)=>{let G=!1,K;return K=L(Y=>{if(!G)return K?K.dispose():G=!0,$.call(D,Y)},null,W),G&&K.dispose(),K}}t.once=n;function r(L,$,D){return c((W,G=null,K)=>L(Y=>W.call(G,$(Y)),null,K),D)}t.map=r;function i(L,$,D){return c((W,G=null,K)=>L(Y=>{$(Y),W.call(G,Y)},null,K),D)}t.forEach=i;function s(L,$,D){return c((W,G=null,K)=>L(Y=>$(Y)&&W.call(G,Y),null,K),D)}t.filter=s;function a(L){return L}t.signal=a;function o(...L){return($,D=null,W)=>{let G=s8e(...L.map(K=>K(Y=>$.call(D,Y))));return d(G,W)}}t.any=o;function l(L,$,D,W){let G=D;return r(L,K=>(G=$(G,K),G),W)}t.reduce=l;function c(L,$){let D,W={onWillAddFirstListener(){D=L(G.fire,G)},onDidRemoveLastListener(){D?.dispose()}},G=new Ve(W);return $?.add(G),G.event}function d(L,$){return $ instanceof Array?$.push(L):$&&$.add(L),L}function f(L,$,D=100,W=!1,G=!1,K,Y){let te,q,j,X=0,H,ae={leakWarningThreshold:K,onWillAddFirstListener(){te=L(Ee=>{X++,q=$(q,Ee),W&&!j&&(le.fire(q),q=void 0),H=()=>{let me=q;q=void 0,j=void 0,(!W||X>1)&&le.fire(me),X=0},typeof D=="number"?(clearTimeout(j),j=setTimeout(H,D)):j===void 0&&(j=0,queueMicrotask(H))})},onWillRemoveListener(){G&&X>0&&H?.()},onDidRemoveLastListener(){H=void 0,te.dispose()}},le=new Ve(ae);return Y?.add(le),le.event}t.debounce=f;function p(L,$=0,D){return t.debounce(L,(W,G)=>W?(W.push(G),W):[G],$,void 0,!0,void 0,D)}t.accumulate=p;function g(L,$=(W,G)=>W===G,D){let W=!0,G;return s(L,K=>{let Y=W||!$(K,G);return W=!1,G=K,Y},D)}t.latch=g;function b(L,$,D){return[t.filter(L,$,D),t.filter(L,W=>!$(W),D)]}t.split=b;function y(L,$=!1,D=[],W){let G=D.slice(),K=L(q=>{G?G.push(q):te.fire(q)});W&&W.add(K);let Y=()=>{G?.forEach(q=>te.fire(q)),G=null},te=new Ve({onWillAddFirstListener(){K||(K=L(q=>te.fire(q)),W&&W.add(K))},onDidAddFirstListener(){G&&($?setTimeout(Y):Y())},onDidRemoveLastListener(){K&&K.dispose(),K=null}});return W&&W.add(te),te.event}t.buffer=y;function w(L,$){return(D,W,G)=>{let K=$(new _);return L(function(Y){let te=K.evaluate(Y);te!==S&&D.call(W,te)},void 0,G)}}t.chain=w;let S=Symbol("HaltChainable");class _{constructor(){this.steps=[]}map($){return this.steps.push($),this}forEach($){return this.steps.push(D=>($(D),D)),this}filter($){return this.steps.push(D=>$(D)?D:S),this}reduce($,D){let W=D;return this.steps.push(G=>(W=$(W,G),W)),this}latch($=(D,W)=>D===W){let D=!0,W;return this.steps.push(G=>{let K=D||!$(G,W);return D=!1,W=G,K?G:S}),this}evaluate($){for(let D of this.steps)if($=D($),$===S)break;return $}}function E(L,$,D=W=>W){let W=(...te)=>Y.fire(D(...te)),G=()=>L.on($,W),K=()=>L.removeListener($,W),Y=new Ve({onWillAddFirstListener:G,onDidRemoveLastListener:K});return Y.event}t.fromNodeEventEmitter=E;function T(L,$,D=W=>W){let W=(...te)=>Y.fire(D(...te)),G=()=>L.addEventListener($,W),K=()=>L.removeEventListener($,W),Y=new Ve({onWillAddFirstListener:G,onDidRemoveLastListener:K});return Y.event}t.fromDOMEventEmitter=T;function R(L){return new Promise($=>n(L)($))}t.toPromise=R;function N(L){let $=new Ve;return L.then(D=>
vendor: 4,646 bytes, lines 99-101
99{$.fire(D)},()=>{$.fire(void 0)}).finally(()=>{$.dispose()}),$.event}t.fromPromise=N;function I(L,$){return L(D=>$.fire(D))}t.forward=I;function P(L,$,D){return $(D),L(W=>$(W))}t.runAndSubscribe=P;class z{constructor($,D){this._observable=$,this._counter=0,this._hasChanged=!1;let W={onWillAddFirstListener:()=>{$.addObserver(this)},onDidRemoveLastListener:()=>{$.removeObserver(this)}};this.emitter=new Ve(W),D&&D.add(this.emitter)}beginUpdate($){this._counter++}handlePossibleChange($){}handleChange($,D){this._hasChanged=!0}endUpdate($){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function U(L,$){return new z(L,$).emitter.event}t.fromObservable=U;function Z(L){return($,D,W)=>{let G=0,K=!1,Y={beginUpdate(){G++},endUpdate(){G--,G===0&&(L.reportChanges(),K&&(K=!1,$.call(D)))},handlePossibleChange(){},handleChange(){K=!0}};L.addObserver(Y),L.reportChanges();let te={dispose(){L.removeObserver(Y)}};return W instanceof Wc?W.add(te):Array.isArray(W)&&W.push(te),te}}t.fromObservableLight=Z})(Jr||={});var PA=class FA{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${FA._idPool++}`,FA.all.add(this)}start(e){this._stopWatch=new o8e,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}};PA.all=new Set,PA._idPool=0;var l8e=PA,c8e=-1,_te=class xte{constructor(e,n,r=(xte._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=n,this.name=r,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,n){let r=this.threshold;if(r<=0||n<r)return;this._stacks||(this._stacks=new Map);let i=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;let[s,a]=this.getMostFrequentStack(),o=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(o),console.warn(s);let l=new h8e(o,s);this._errorHandler(l)}return()=>{let s=this._stacks.get(e.value)||0;this._stacks.set(e.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,n=0;for(let[r,i]of this._stacks)(!e||n<i)&&(e=[r,i],n=i);return e}};_te._idPool=1;var u8e=_te,d8e=class Ete{constructor(e){this.value=e}static create(){let e=new Error;return new Ete(e.stack??"")}print(){console.warn(this.value.split(`
100`).slice(2).join(`
101`))}},h8e=class extends Error{constructor(t,e){super(t),this.name="ListenerLeakError",this.stack=e}},f8e=class extends Error{constructor(t,e){super(t),this.name="ListenerRefusalError",this.stack=e}},p8e=0,Ek=class{constructor(t){this.value=t,this.id=p8e++}},m8e=2,g8e,Ve=class{constructor(e){this._size=0,this._options=e,this._leakageMon=this._options?.leakWarningThreshold?new u8e(e?.onListenerError??b1,this._options?.leakWarningThreshold??c8e):void 0,this._perfMon=this._options?._profName?new l8e(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,n,r)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let o=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(o);let l=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],c=new f8e(`${o}. HINT: Stack shows most frequent listener (${l[1]}-times)`,l[0]);return(this._options?.onListenerError||b1)(c),Lt.None}if(this._disposed)return Lt.None;n&&(e=e.bind(n));let i=new Ek(e),s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(i.stack=d8e.create(),s=this._leakageMon.check(i.stack,this._size+1)),this._listeners?this._listeners instanceof Ek?(this._deliveryQueue??=new b8e,this._listeners=[this._listeners,i]):this._listeners.push(i):(this._options?.onWillAddFirstListener?.(this),this._listeners=i,this._options?.onDidAddFirstListener?.(this)),this._size++;let a=In(()=>{s?.(),this._removeListener(i)});return r instanceof Wc?r.add(a):Array.isArray(r)&&r.push(a),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}
101let n=this._listeners,r=n.indexOf(e);if(r===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[r]=void 0;let i=this._deliveryQueue.current===this;if(this._size*m8e<=n.length){let s=0;for(let a=0;a<n.length;a++)n[a]?n[s++]=n[a]:i&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(e,n){if(!e)return;let r=this._options?.onListenerError||b1;if(!r){e.value(n);return}try{e.value(n)}catch(i){r(i)}}_deliverQueue(e){let n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof Ek)this._deliver(this._listeners,e);else{let n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}},b8e=class{constructor(){this.i=-1,this.end=0}enqueue(t,e,n){this.i=0,this.end=n,this.current=t,this.value=e}reset(){this.i=this.end,this.current=void 0,this.value=void 0}},zA=class{constructor(){this.mapWindowIdToZoomLevel=new Map,this._onDidChangeZoomLevel=new Ve,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this.mapWindowIdToZoomFactor=new Map,this._onDidChangeFullscreen=new Ve,this.onDidChangeFullscreen=this._onDidChangeFullscreen.event,this.mapWindowIdToFullScreen=new Map}getZoomLevel(e){return this.mapWindowIdToZoomLevel.get(this.getWindowId(e))??0}setZoomLevel(e,n){if(this.getZoomLevel(n)===e)return;let r=this.getWindowId(n);this.mapWindowIdToZoomLevel.set(r,e),this._onDidChangeZoomLevel.fire(r)}getZoomFactor(e){return this.mapWindowIdToZoomFactor.get(this.getWindowId(e))??1}setZoomFactor(e,n){this.mapWindowIdToZoomFactor.set(this.getWindowId(n),e)}setFullscreen(e,n){if(this.isFullscreen(n)===e)return;let r=this.getWindowId(n);this.mapWindowIdToFullScreen.set(r,e),this._onDidChangeFullscreen.fire(r)}isFullscreen(e){return!!this.mapWindowIdToFullScreen.get(this.getWindowId(e))}getWindowId(e){return e.vscodeWindowId}};zA.INSTANCE=new zA;var E5=zA;function y8e(t,e,n){typeof e=="string"&&(e=t.matchMedia(e)),e.addEventListener("change",n)}E5.INSTANCE.onDidChangeZoomLevel;function v8e(t){return E5.INSTANCE.getZoomFactor(t)}E5.INSTANCE.onDidChangeFullscreen;var Tp=typeof navigator=="object"?navigator.userAgent:"",UA=Tp.indexOf("Firefox")>=0,w8e=Tp.indexOf("AppleWebKit")>=0,k5=Tp.indexOf("Chrome")>=0,S8e=!k5&&Tp.indexOf("Safari")>=0;Tp.indexOf("Electron/")>=0;Tp.indexOf("Android")>=0;var kk=!1;if(typeof Al.matchMedia=="function"){let t=Al.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),e=Al.matchMedia("(display-mode: fullscreen)");kk=t.matches,y8e(Al,t,({matches:n})=>{kk&&e.matches||(kk=n)})}var vf="en",jA=!1,HA=!1,y1=!1,kte=!1,xv,v1=vf,jj=vf,_8e,Sl,Sd=globalThis,Os;typeof Sd.vscode<"u"&&typeof Sd.vscode.process<"u"?Os=Sd.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(Os=process);var x8e=typeof Os?.versions?.electron=="string",E8e=x8e&&Os?.type==="renderer";if(typeof Os=="object"){jA=Os.platform==="win32",HA=Os.platform==="darwin",y1=Os.platform==="linux",y1&&Os.env.SNAP&&Os.env.SNAP_REVISION,Os.env.CI||Os.env.BUILD_ARTIFACTSTAGINGDIRECTORY,xv=vf,v1=vf;let t=Os.env.VSCODE_NLS_CONFIG;if(t)try{let e=JSON.parse(t);xv=e.userLocale,jj=e.osLocale,v1=e.resolvedLanguage||vf,_8e=e.languagePack?.translationsConfigFile}catch{}kte=!0}else typeof navigator=="object"&&!E8e?(Sl=navigator.userAgent,jA=Sl.indexOf("Windows")>=0,HA=Sl.indexOf("Macintosh")>=0,(Sl.indexOf("Macintosh")>=0||Sl.indexOf("iPad")>=0||Sl.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,y1=Sl.indexOf("Linux")>=0,Sl?.indexOf("Mobi")>=0,v1=globalThis._VSCODE_NLS_LANGUAGE||vf,xv=navigator.language.toLowerCase(),jj=xv):console.error("Unable to resolve platform.");var Cte=jA,Uo=HA,k8e=y1,Hj=kte,Ho=Sl,Ec=v1,C8e;(t=>{function e(){return Ec}t.value=e;function n(){return Ec.length===2?Ec==="en":Ec.length>=3?Ec[0]==="e"&&Ec[1]==="n"&&Ec[2]==="-":!1}t.isDefaultVariant=n;function r(){return Ec==="en"}t.isDefault=r})(C8e||={});var T8e=typeof Sd.postMessage=="function"&&!Sd.importScripts;(()=>{if(T8e){let t=[];Sd.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=t.length;r<i;r++){let s=t[r];
101if(s.id===n.data.vscodeScheduleAsyncWork){t.splice(r,1),s.callback();return}}});let e=0;return n=>{let r=++e;t.push({id:r,callback:n}),Sd.postMessage({vscodeScheduleAsyncWork:r},"*")}}return t=>setTimeout(t)})();var A8e=!!(Ho&&Ho.indexOf("Chrome")>=0);Ho&&Ho.indexOf("Firefox")>=0;!A8e&&Ho&&Ho.indexOf("Safari")>=0;Ho&&Ho.indexOf("Edg/")>=0;Ho&&Ho.indexOf("Android")>=0;var Zh=typeof navigator=="object"?navigator:{};Hj||document.queryCommandSupported&&document.queryCommandSupported("copy")||Zh&&Zh.clipboard&&Zh.clipboard.writeText,Hj||Zh&&Zh.clipboard&&Zh.clipboard.readText;var C5=class{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,e){this._keyCodeToStr[t]=e,this._strToKeyCode[e.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}},Ck=new C5,$j=new C5,Vj=new C5,R8e=new Array(230),Tte;(t=>{function e(o){return Ck.keyCodeToStr(o)}t.toString=e;function n(o){return Ck.strToKeyCode(o)}t.fromString=n;function r(o){return $j.keyCodeToStr(o)}t.toUserSettingsUS=r;function i(o){return Vj.keyCodeToStr(o)}t.toUserSettingsGeneral=i;function s(o){return $j.strToKeyCode(o)||Vj.strToKeyCode(o)}t.fromUserSettings=s;function a(o){if(o>=98&&o<=113)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Ck.keyCodeToStr(o)}t.toElectronAccelerator=a})(Tte||={});var N8e=class Ate{constructor(e,n,r,i,s){this.ctrlKey=e,this.shiftKey=n,this.altKey=r,this.metaKey=i,this.keyCode=s}equals(e){return e instanceof Ate&&this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}getHashCode(){let e=this.ctrlKey?"1":"0",n=this.shiftKey?"1":"0",r=this.altKey?"1":"0",i=this.metaKey?"1":"0";return`K${e}${n}${r}${i}${this.keyCode}`}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toKeybinding(){return new O8e([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}},O8e=class{constructor(t){if(t.length===0)throw n8e("chords");this.chords=t}getHashCode(){let t="";for(let e=0,n=this.chords.length;e<n;e++)e!==0&&(t+=";"),t+=this.chords[e].getHashCode();return t}equals(t){if(t===null||this.chords.length!==t.chords.length)return!1;for(let e=0;e<this.chords.length;e++)if(!this.chords[e].equals(t.chords[e]))return!1;return!0}};function I8e(t){if(t.charCode){let n=String.fromCharCode(t.charCode).toUpperCase();return Tte.fromString(n)}let e=t.keyCode;if(e===3)return 7;if(UA)switch(e){case 59:return 85;case 60:if(k8e)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(Uo)return 57;break}else if(w8e&&(Uo&&e===93||!Uo&&e===92))return 57;return R8e[e]||0}var D8e=Uo?256:2048,M8e=512,L8e=1024,B8e=Uo?2048:256,Gj=class{constructor(t){this._standardKeyboardEventBrand=!0;let e=t;this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.altGraphKey=e.getModifierState?.("AltGraph"),this.keyCode=I8e(e),this.code=e.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(t){return this._asKeybinding===t}_computeKeybinding(){let t=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(t=this.keyCode);let e=0;
vendor: 45,881 bytes, line 101
101return this.ctrlKey&&(e|=D8e),this.altKey&&(e|=M8e),this.shiftKey&&(e|=L8e),this.metaKey&&(e|=B8e),e|=t,e}_computeKeyCodeChord(){let t=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(t=this.keyCode),new N8e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,t)}},qj=new WeakMap;function P8e(t){if(!t.parent||t.parent===t)return null;try{let e=t.location,n=t.parent.location;if(e.origin!=="null"&&n.origin!=="null"&&e.origin!==n.origin)return null}catch{return null}return t.parent}var F8e=class{static getSameOriginWindowChain(t){let e=qj.get(t);if(!e){e=[],qj.set(t,e);let n=t,r;do r=P8e(n),r?e.push({window:new WeakRef(n),iframeElement:n.frameElement||null}):e.push({window:new WeakRef(n),iframeElement:null}),n=r;while(n)}return e.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(t,e){if(!e||t===e)return{top:0,left:0};let n=0,r=0,i=this.getSameOriginWindowChain(t);for(let s of i){let a=s.window.deref();if(n+=a?.scrollY??0,r+=a?.scrollX??0,a===e||!s.iframeElement)break;let o=s.iframeElement.getBoundingClientRect();n+=o.top,r+=o.left}return{top:n,left:r}}},Ev=class{constructor(t,e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type==="dblclick"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX=="number"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=e.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);let n=F8e.getPositionOfChildWindowRelativeToAncestorWindow(t,e.view);this.posx-=n.left,this.posy-=n.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}},Wj=class{constructor(t,e=0,n=0){this.browserEvent=t||null,this.target=t?t.target||t.targetNode||t.srcElement:null,this.deltaY=n,this.deltaX=e;let r=!1;if(k5){let i=navigator.userAgent.match(/Chrome\/(\d+)/);r=(i?parseInt(i[1]):123)<=122}if(t){let i=t,s=t,a=t.view?.devicePixelRatio||1;if(typeof i.wheelDeltaY<"u")r?this.deltaY=i.wheelDeltaY/(120*a):this.deltaY=i.wheelDeltaY/120;else if(typeof s.VERTICAL_AXIS<"u"&&s.axis===s.VERTICAL_AXIS)this.deltaY=-s.detail/3;else if(t.type==="wheel"){let o=t;o.deltaMode===o.DOM_DELTA_LINE?UA&&!Uo?this.deltaY=-t.deltaY/3:this.deltaY=-t.deltaY:this.deltaY=-t.deltaY/40}if(typeof i.wheelDeltaX<"u")S8e&&Cte?this.deltaX=-(i.wheelDeltaX/120):r?this.deltaX=i.wheelDeltaX/(120*a):this.deltaX=i.wheelDeltaX/120;else if(typeof s.HORIZONTAL_AXIS<"u"&&s.axis===s.HORIZONTAL_AXIS)this.deltaX=-t.detail/3;else if(t.type==="wheel"){let o=t;o.deltaMode===o.DOM_DELTA_LINE?UA&&!Uo?this.deltaX=-t.deltaX/3:this.deltaX=-t.deltaX:this.deltaX=-t.deltaX/40}this.deltaY===0&&this.deltaX===0&&t.wheelDelta&&(r?this.deltaY=t.wheelDelta/(120*a):this.deltaY=t.wheelDelta/120)}}preventDefault(){this.browserEvent?.preventDefault()}stopPropagation(){this.browserEvent?.stopPropagation()}},Rte=Object.freeze(function(t,e){let n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}}),z8e;(t=>{function e(n){return n===t.None||n===t.Cancelled||n instanceof U8e?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Jr.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Rte})})(z8e||={});var U8e=class{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Rte:(this._emitter||(this._emitter=new Ve),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},T5=class{constructor(t,e){this._isDisposed=!1,this._token=-1,typeof t=="function"&&typeof e=="number"&&this.setIfNotSet(t,e)}dispose(){this.cancel(),this._isDisposed=!0}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(t,e){if(this._isDisposed)throw new MA("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this._token=setTimeout(()=>{this._token=-1,t()},e)}setIfNotSet(t,e){if(this._isDisposed)throw new MA("Calling 'setIfNotSet' on a disposed TimeoutTimer");this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,t()},e))}},j8e=class{constructor(){this.disposable=void 0,this.isDisposed=!1}cancel(){this.disposable?.dispose(),this.disposable=void 0}cancelAndSet(t,e,n=globalThis){if(this.isDisposed)throw new MA("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();let r=n.setInterval(()=>{t()},e);this.disposable=In(()=>{n.clearInterval(r),this.disposable=void 0})}dispose(){this.cancel(),this.isDisposed=!0}},H8e;(t=>{async function e(r){let i,s=await Promise.all(r.map(a=>a.then(o=>o,o=>{i||(i=o)})));if(typeof i<"u")throw i;return s}t.settled=e;function n(r){return new Promise(async(i,s)=>{try{await r(i,s)}catch(a){s(a)}})}t.withAsyncBody=n})(H8e||={});var Kj=class sa{static fromArray(e){return new sa(n=>{n.emitMany(e)})}static fromPromise(e){return new sa(async n=>{n.emitMany(await e)})}static fromPromises(e){return new sa(async n=>{await Promise.all(e.map(async r=>n.emitOne(await r)))})}static merge(e){return new sa(async n=>{await Promise.all(e.map(async r=>{for await(let i of r)n.emitOne(i)}))})}constructor(e,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new Ve,queueMicrotask(async()=>{let r={emitOne:i=>this.emitOne(i),emitMany:i=>this.emitMany(i),reject:i=>this.reject(i)};try{await Promise.resolve(e(r)),this.resolve()}catch(i){this.reject(i)}finally{r.emitOne=void 0,r.emitMany=void 0,r.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(this._state===1)return{done:!0,value:void 0};await Jr.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>(this._onReturn?.(),{done:!0,value:void 0})}}static map(e,n){return new sa(async r=>{for await(let i of e)r.emitOne(n(i))})}map(e){return sa.map(this,e)}static filter(e,n){return new sa(async r=>{for await(let i of e)n(i)&&r.emitOne(i)})}filter(e){return sa.filter(this,e)}static coalesce(e){return sa.filter(e,n=>!!n)}coalesce(){return sa.coalesce(this)}static async toPromise(e){let n=[];for await(let r of e)n.push(r);return n}toPromise(){return sa.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}};Kj.EMPTY=Kj.fromArray([]);var{getWindow:Do,getWindowId:$8e,onDidRegisterWindow:V8e}=(function(){let t=new Map,e={window:Al,disposables:new Wc};t.set(Al.vscodeWindowId,e);let n=new Ve,r=new Ve,i=new Ve;function s(a,o){return(typeof a=="number"?t.get(a):void 0)??(o?e:void 0)}return{onDidRegisterWindow:n.event,onWillUnregisterWindow:i.event,onDidUnregisterWindow:r.event,registerWindow(a){if(t.has(a.vscodeWindowId))return Lt.None;let o=new Wc,l={window:a,disposables:o.add(new Wc)};return t.set(a.vscodeWindowId,l),o.add(In(()=>{t.delete(a.vscodeWindowId),r.fire(a)})),o.add(St(a,Lr.BEFORE_UNLOAD,()=>{i.fire(a)})),n.fire(l),o},getWindows(){return t.values()},getWindowsCount(){return t.size},getWindowId(a){return a.vscodeWindowId},hasWindow(a){return t.has(a)},getWindowById:s,getWindow(a){let o=a;if(o?.ownerDocument?.defaultView)return o.ownerDocument.defaultView.window;let l=a;return l?.view?l.view.window:Al},getDocument(a){return Do(a).document}}})(),G8e=class{constructor(t,e,n,r){this._node=t,this._type=e,this._handler=n,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}};function St(t,e,n,r){return new G8e(t,e,n,r)}var Yj=function(t,e,n,r){return St(t,e,n,r)},A5,q8e=class extends j8e{constructor(t){super(),this.defaultTarget=t&&Do(t)}cancelAndSet(t,e,n){return super.cancelAndSet(t,e,n??this.defaultTarget)}},Xj=class{constructor(t,e=0){this._runner=t,this.priority=e,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(t){b1(t)}}static sort(t,e){return e.priority-t.priority}};(function(){let t=new Map,e=new Map,n=new Map,r=new Map,i=s=>{n.set(s,!1);let a=t.get(s)??[];for(e.set(s,a),t.set(s,[]),r.set(s,!0);a.length>0;)a.sort(Xj.sort),a.shift().execute();r.set(s,!1)};A5=(s,a,o=0)=>{let l=$8e(s),c=new Xj(a,o),d=t.get(l);return d||(d=[],t.set(l,d)),d.push(c),n.get(l)||(n.set(l,!0),s.requestAnimationFrame(()=>i(l))),c}})();function W8e(t){let e=t.getBoundingClientRect(),n=Do(t);return{left:e.left+n.scrollX,top:e.top+n.scrollY,width:e.width,height:e.height}}var Lr={CLICK:"click",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",KEY_DOWN:"keydown",KEY_UP:"keyup",BEFORE_UNLOAD:"beforeunload",CHANGE:"change",FOCUS:"focus",BLUR:"blur",INPUT:"input"},K8e=class{constructor(t){this.domNode=t,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingTop="",this._paddingLeft="",this._paddingBottom="",this._paddingRight="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(t){let e=ts(t);this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth)}setWidth(t){let e=ts(t);this._width!==e&&(this._width=e,this.domNode.style.width=this._width)}setHeight(t){let e=ts(t);this._height!==e&&(this._height=e,this.domNode.style.height=this._height)}setTop(t){let e=ts(t);this._top!==e&&(this._top=e,this.domNode.style.top=this._top)}setLeft(t){let e=ts(t);this._left!==e&&(this._left=e,this.domNode.style.left=this._left)}setBottom(t){let e=ts(t);this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom)}setRight(t){let e=ts(t);this._right!==e&&(this._right=e,this.domNode.style.right=this._right)}setPaddingTop(t){let e=ts(t);this._paddingTop!==e&&(this._paddingTop=e,this.domNode.style.paddingTop=this._paddingTop)}setPaddingLeft(t){let e=ts(t);this._paddingLeft!==e&&(this._paddingLeft=e,this.domNode.style.paddingLeft=this._paddingLeft)}setPaddingBottom(t){let e=ts(t);this._paddingBottom!==e&&(this._paddingBottom=e,this.domNode.style.paddingBottom=this._paddingBottom)}setPaddingRight(t){let e=ts(t);this._paddingRight!==e&&(this._paddingRight=e,this.domNode.style.paddingRight=this._paddingRight)}setFontFamily(t){this._fontFamily!==t&&(this._fontFamily=t,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(t){this._fontWeight!==t&&(this._fontWeight=t,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(t){let e=ts(t);this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize)}setFontStyle(t){this._fontStyle!==t&&(this._fontStyle=t,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(t){this._fontFeatureSettings!==t&&(this._fontFeatureSettings=t,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(t){this._fontVariationSettings!==t&&(this._fontVariationSettings=t,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(t){this._textDecoration!==t&&(this._textDecoration=t,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(t){let e=ts(t);this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(t){let e=ts(t);this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(t){this._className!==t&&(this._className=t,this.domNode.className=this._className)}toggleClassName(t,e){this.domNode.classList.toggle(t,e),this._className=this.domNode.className}setDisplay(t){this._display!==t&&(this._display=t,this.domNode.style.display=this._display)}setPosition(t){this._position!==t&&(this._position=t,this.domNode.style.position=this._position)}setVisibility(t){this._visibility!==t&&(this._visibility=t,this.domNode.style.visibility=this._visibility)}setColor(t){this._color!==t&&(this._color=t,this.domNode.style.color=this._color)}setBackgroundColor(t){this._backgroundColor!==t&&(this._backgroundColor=t,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(t){this._layerHint!==t&&(this._layerHint=t,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(t){this._boxShadow!==t&&(this._boxShadow=t,this.domNode.style.boxShadow=t)}setContain(t){this._contain!==t&&(this._contain=t,this.domNode.style.contain=this._contain)}setAttribute(t,e){this.domNode.setAttribute(t,e)}removeAttribute(t){this.domNode.removeAttribute(t)}appendChild(t){this.domNode.appendChild(t.domNode)}removeChild(t){this.domNode.removeChild(t.domNode)}};function ts(t){return typeof t=="number"?`${t}px`:t}function _g(t){return new K8e(t)}var Nte=class{constructor(){this._hooks=new Wc,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(t,e){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;let n=this._onStopCallback;this._onStopCallback=null,t&&n&&n(e)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(t,e,n,r,i){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=r,this._onStopCallback=i;let s=t;try{t.setPointerCapture(e),this._hooks.add(In(()=>{try{t.releasePointerCapture(e)}catch{}}))}catch{s=Do(t)}this._hooks.add(St(s,Lr.POINTER_MOVE,a=>{if(a.buttons!==n){this.stopMonitoring(!0);return}a.preventDefault(),this._pointerMoveCallback(a)})),this._hooks.add(St(s,Lr.POINTER_UP,a=>this.stopMonitoring(!0)))}};function Y8e(t,e,n){let r=null,i=null;if(typeof n.value=="function"?(r="value",i=n.value,i.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof n.get=="function"&&(r="get",i=n.get),!i)throw new Error("not supported");let s=`$memoize$${e}`;n[r]=function(...a){return this.hasOwnProperty(s)||Object.defineProperty(this,s,{configurable:!1,enumerable:!1,writable:!1,value:i.apply(this,a)}),this[s]}}var wo;(t=>(t.Tap="-xterm-gesturetap",t.Change="-xterm-gesturechange",t.Start="-xterm-gesturestart",t.End="-xterm-gesturesend",t.Contextmenu="-xterm-gesturecontextmenu"))(wo||={});var tg=class ai extends Lt{constructor(){super(),this.dispatched=!1,this.targets=new Uj,this.ignoreTargets=new Uj,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(Jr.runAndSubscribe(V8e,({window:e,disposables:n})=>{n.add(St(e.document,"touchstart",r=>this.onTouchStart(r),{passive:!1})),n.add(St(e.document,"touchend",r=>this.onTouchEnd(e,r))),n.add(St(e.document,"touchmove",r=>this.onTouchMove(r),{passive:!1}))},{window:Al,disposables:this._store}))}static addTarget(e){if(!ai.isTouchDevice())return Lt.None;ai.INSTANCE||(ai.INSTANCE=new ai);let n=ai.INSTANCE.targets.push(e);return In(n)}static ignoreTarget(e){if(!ai.isTouchDevice())return Lt.None;ai.INSTANCE||(ai.INSTANCE=new ai);let n=ai.INSTANCE.ignoreTargets.push(e);return In(n)}static isTouchDevice(){return"ontouchstart"in Al||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let n=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let r=0,i=e.targetTouches.length;r<i;r++){let s=e.targetTouches.item(r);this.activeTouches[s.identifier]={id:s.identifier,initialTarget:s.target,initialTimeStamp:n,initialPageX:s.pageX,initialPageY:s.pageY,rollingTimestamps:[n],rollingPageX:[s.pageX],rollingPageY:[s.pageY]};let a=this.newGestureEvent(wo.Start,s.target);a.pageX=s.pageX,a.pageY=s.pageY,this.dispatchEvent(a)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e,n){let r=Date.now(),i=Object.keys(this.activeTouches).length;for(let s=0,a=n.changedTouches.length;s<a;s++){let o=n.changedTouches.item(s);if(!this.activeTouches.hasOwnProperty(String(o.identifier))){console.warn("move of an UNKNOWN touch",o);continue}let l=this.activeTouches[o.identifier],c=Date.now()-l.initialTimeStamp;if(c<ai.HOLD_DELAY&&Math.abs(l.initialPageX-Ts(l.rollingPageX))<30&&Math.abs(l.initialPageY-Ts(l.rollingPageY))<30){let d=this.newGestureEvent(wo.Tap,l.initialTarget);d.pageX=Ts(l.rollingPageX),d.pageY=Ts(l.rollingPageY),this.dispatchEvent(d)}else if(c>=ai.HOLD_DELAY&&Math.abs(l.initialPageX-Ts(l.rollingPageX))<30&&Math.abs(l.initialPageY-Ts(l.rollingPageY))<30){let d=this.newGestureEvent(wo.Contextmenu,l.initialTarget);d.pageX=Ts(l.rollingPageX),d.pageY=Ts(l.rollingPageY),this.dispatchEvent(d)}else if(i===1){let d=Ts(l.rollingPageX),f=Ts(l.rollingPageY),p=Ts(l.rollingTimestamps)-l.rollingTimestamps[0],g=d-l.rollingPageX[0],b=f-l.rollingPageY[0],y=[...this.targets].filter(w=>l.initialTarget instanceof Node&&w.contains(l.initialTarget));this.inertia(e,y,r,Math.abs(g)/p,g>0?1:-1,d,Math.abs(b)/p,b>0?1:-1,f)}this.dispatchEvent(this.newGestureEvent(wo.End,l.initialTarget)),delete this.activeTouches[o.identifier]}this.dispatched&&(n.preventDefault(),n.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,n){let r=document.createEvent("CustomEvent");return r.initEvent(e,!1,!0),r.initialTarget=n,r.tapCount=0,r}dispatchEvent(e){if(e.type===wo.Tap){let n=new Date().getTime(),r=0;n-this._lastSetTapCountTime>ai.CLEAR_TAP_COUNT_TIME?r=1:r=2,this._lastSetTapCountTime=n,e.tapCount=r}else(e.type===wo.Change||e.type===wo.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(let r of this.ignoreTargets)if(r.contains(e.initialTarget))return;let n=[];for(let r of this.targets)if(r.contains(e.initialTarget)){let i=0,s=e.initialTarget;for(;s&&s!==r;)i++,s=s.parentElement;n.push([i,r])}n.sort((r,i)=>r[0]-i[0]);for(let[r,i]of n)i.dispatchEvent(e),this.dispatched=!0}}inertia(e,n,r,i,s,a,o,l,c){this.handle=A5(e,()=>{let d=Date.now(),f=d-r,p=0,g=0,b=!0;i+=ai.SCROLL_FRICTION*f,o+=ai.SCROLL_FRICTION*f,i>0&&(b=!1,p=s*i*f),o>0&&(b=!1,g=l*o*f);let y=this.newGestureEvent(wo.Change);y.translationX=p,y.translationY=g,n.forEach(w=>w.dispatchEvent(y)),b||this.inertia(e,n,d,i,s,a+p,o,l,c+g)})}onTouchMove(e){let n=Date.now();for(let r=0,i=e.changedTouches.length;r<i;r++){let s=e.changedTouches.item(r);if(!this.activeTouches.hasOwnProperty(String(s.identifier))){console.warn("end of an UNKNOWN touch",s);continue}let a=this.activeTouches[s.identifier],o=this.newGestureEvent(wo.Change,a.initialTarget);o.translationX=s.pageX-Ts(a.rollingPageX),o.translationY=s.pageY-Ts(a.rollingPageY),o.pageX=s.pageX,o.pageY=s.pageY,this.dispatchEvent(o),a.rollingPageX.length>3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(s.pageX),a.rollingPageY.push(s.pageY),a.rollingTimestamps.push(n)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}};tg.SCROLL_FRICTION=-.005,tg.HOLD_DELAY=700,tg.CLEAR_TAP_COUNT_TIME=400,Kn([Y8e],tg,"isTouchDevice",1);var X8e=tg,R5=class extends Lt{onclick(t,e){this._register(St(t,Lr.CLICK,n=>e(new Ev(Do(t),n))))}onmousedown(t,e){this._register(St(t,Lr.MOUSE_DOWN,n=>e(new Ev(Do(t),n))))}onmouseover(t,e){this._register(St(t,Lr.MOUSE_OVER,n=>e(new Ev(Do(t),n))))}onmouseleave(t,e){this._register(St(t,Lr.MOUSE_LEAVE,n=>e(new Ev(Do(t),n))))}onkeydown(t,e){this._register(St(t,Lr.KEY_DOWN,n=>e(new Gj(n))))}onkeyup(t,e){this._register(St(t,Lr.KEY_UP,n=>e(new Gj(n))))}oninput(t,e){this._register(St(t,Lr.INPUT,e))}onblur(t,e){this._register(St(t,Lr.BLUR,e))}onfocus(t,e){this._register(St(t,Lr.FOCUS,e))}onchange(t,e){this._register(St(t,Lr.CHANGE,e))}ignoreGesture(t){return X8e.ignoreTarget(t)}},Zj=11,Z8e=class extends R5{constructor(t){super(),this._onActivate=t.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=t.bgWidth+"px",this.bgDomNode.style.height=t.bgHeight+"px",typeof t.top<"u"&&(this.bgDomNode.style.top="0px"),typeof t.left<"u"&&(this.bgDomNode.style.left="0px"),typeof t.bottom<"u"&&(this.bgDomNode.style.bottom="0px"),typeof t.right<"u"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=t.className,this.domNode.style.position="absolute",this.domNode.style.width=Zj+"px",this.domNode.style.height=Zj+"px",typeof t.top<"u"&&(this.domNode.style.top=t.top+"px"),typeof t.left<"u"&&(this.domNode.style.left=t.left+"px"),typeof t.bottom<"u"&&(this.domNode.style.bottom=t.bottom+"px"),typeof t.right<"u"&&(this.domNode.style.right=t.right+"px"),this._pointerMoveMonitor=this._register(new Nte),this._register(Yj(this.bgDomNode,Lr.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._register(Yj(this.domNode,Lr.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._pointerdownRepeatTimer=this._register(new q8e),this._pointerdownScheduleRepeatTimer=this._register(new T5)}_arrowPointerDown(t){if(!t.target||!(t.target instanceof Element))return;let e=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24,Do(t))};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(e,200),this._pointerMoveMonitor.startMonitoring(t.target,t.pointerId,t.buttons,n=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),t.preventDefault()}},Q8e=class $A{constructor(e,n,r,i,s,a,o){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(n=n|0,r=r|0,i=i|0,s=s|0,a=a|0,o=o|0),this.rawScrollLeft=i,this.rawScrollTop=o,n<0&&(n=0),i+n>r&&(i=r-n),i<0&&(i=0),s<0&&(s=0),o+s>a&&(o=a-s),o<0&&(o=0),this.width=n,this.scrollWidth=r,this.scrollLeft=i,this.height=s,this.scrollHeight=a,this.scrollTop=o}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,n){return new $A(this._forceIntegerValues,typeof e.width<"u"?e.width:this.width,typeof e.scrollWidth<"u"?e.scrollWidth:this.scrollWidth,n?this.rawScrollLeft:this.scrollLeft,typeof e.height<"u"?e.height:this.height,typeof e.scrollHeight<"u"?e.scrollHeight:this.scrollHeight,n?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new $A(this._forceIntegerValues,this.width,this.scrollWidth,typeof e.scrollLeft<"u"?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof e.scrollTop<"u"?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,n){let r=this.width!==e.width,i=this.scrollWidth!==e.scrollWidth,s=this.scrollLeft!==e.scrollLeft,a=this.height!==e.height,o=this.scrollHeight!==e.scrollHeight,l=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:n,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:r,scrollWidthChanged:i,scrollLeftChanged:s,heightChanged:a,scrollHeightChanged:o,scrollTopChanged:l}}},J8e=class extends Lt{constructor(t){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new Ve),this.onScroll=this._onScroll.event,this._smoothScrollDuration=t.smoothScrollDuration,this._scheduleAtNextAnimationFrame=t.scheduleAtNextAnimationFrame,this._state=new Q8e(t.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(t){this._smoothScrollDuration=t}validateScrollPosition(t){return this._state.withScrollPosition(t)}getScrollDimensions(){return this._state}setScrollDimensions(t,e){let n=this._state.withScrollDimensions(t,e);this._setState(n,!!this._smoothScrolling),this._smoothScrolling?.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(t){let e=this._state.withScrollPosition(t);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(e,!1)}setScrollPositionSmooth(t,e){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(t);if(this._smoothScrolling){t={scrollLeft:typeof t.scrollLeft>"u"?this._smoothScrolling.to.scrollLeft:t.scrollLeft,scrollTop:typeof t.scrollTop>"u"?this._smoothScrolling.to.scrollTop:t.scrollTop};let n=this._state.withScrollPosition(t);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;let r;e?r=new Jj(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):r=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=r}else{let n=this._state.withScrollPosition(t);this._smoothScrolling=Jj.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;let t=this._smoothScrolling.tick(),e=this._state.withScrollPosition(t);if(this._setState(e,!0),!!this._smoothScrolling){if(t.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(t,e){let n=this._state;n.equals(t)||(this._state=t,this._onScroll.fire(this._state.createScrollEvent(n,e)))}},Qj=class{constructor(t,e,n){this.scrollLeft=t,this.scrollTop=e,this.isDone=n}};function Tk(t,e){let n=e-t;return function(r){return t+n*n7e(r)}}function e7e(t,e,n){return function(r){return r<n?t(r/n):e((r-n)/(1-n))}}var Jj=class VA{constructor(e,n,r,i){this.from=e,this.to=n,this.duration=i,this.startTime=r,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,n,r){if(Math.abs(e-n)>2.5*r){let i,s;return e<n?(i=e+.75*r,s=n-.75*r):(i=e-.75*r,s=n+.75*r),e7e(Tk(e,i),Tk(s,n),.33)}return Tk(e,n)}dispose(){this.animationFrameDisposable!==null&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){let n=(e-this.startTime)/this.duration;if(n<1){let r=this.scrollLeft(n),i=this.scrollTop(n);return new Qj(r,i,!1)}return new Qj(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,n,r){return VA.start(e,n,r)}static start(e,n,r){r=r+10;let i=Date.now()-10;return new VA(e,n,i,r)}};function t7e(t){return Math.pow(t,3)}function n7e(t){return 1-t7e(1-t)}var r7e=class extends Lt{constructor(t,e,n){super(),this._visibility=t,this._visibleClassName=e,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new T5)}setVisibility(t){this._visibility!==t&&(this._visibility=t,this._updateShouldBeVisible())}setShouldBeVisible(t){this._rawShouldBeVisible=t,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){let t=this._applyVisibilitySetting();this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())}setIsNeeded(t){this._isNeeded!==t&&(this._isNeeded=t,this.ensureVisibility())}setDomNode(t){this._domNode=t,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode?.setClassName(this._visibleClassName)},0))}_hide(t){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode?.setClassName(this._invisibleClassName+(t?" fade":"")))}},i7e=140,Ote=class extends R5{constructor(t){super(),this._lazyRender=t.lazyRender,this._host=t.host,this._scrollable=t.scrollable,this._scrollByPage=t.scrollByPage,this._scrollbarState=t.scrollbarState,this._visibilityController=this._register(new r7e(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new Nte),this._shouldRender=!0,this.domNode=_g(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(St(this.domNode.domNode,Lr.POINTER_DOWN,e=>this._domNodePointerDown(e)))}_createArrow(t){let e=this._register(new Z8e(t));this.domNode.domNode.appendChild(e.bgDomNode),this.domNode.domNode.appendChild(e.domNode)}_createSlider(t,e,n,r){this.slider=_g(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(t),this.slider.setLeft(e),typeof n=="number"&&this.slider.setWidth(n),typeof r=="number"&&this.slider.setHeight(r),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(St(this.slider.domNode,Lr.POINTER_DOWN,i=>{i.button===0&&(i.preventDefault(),this._sliderPointerDown(i))})),this.onclick(this.slider.domNode,i=>{i.leftButton&&i.stopPropagation()})}_onElementSize(t){return this._scrollbarState.setVisibleSize(t)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(t){return this._scrollbarState.setScrollSize(t)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(t){return this._scrollbarState.setScrollPosition(t)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(t){t.target===this.domNode.domNode&&this._onPointerDown(t)}delegatePointerDown(t){let e=this.domNode.domNode.getClientRects()[0].top,n=e+this._scrollbarState.getSliderPosition(),r=e+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),i=this._sliderPointerPosition(t);n<=i&&i<=r?t.button===0&&(t.preventDefault(),this._sliderPointerDown(t)):this._onPointerDown(t)}_onPointerDown(t){let e,n;if(t.target===this.domNode.domNode&&typeof t.offsetX=="number"&&typeof t.offsetY=="number")e=t.offsetX,n=t.offsetY;else{let i=W8e(this.domNode.domNode);e=t.pageX-i.left,n=t.pageY-i.top}let r=this._pointerDownRelativePosition(e,n);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(r):this._scrollbarState.getDesiredScrollPositionFromOffset(r)),t.button===0&&(t.preventDefault(),this._sliderPointerDown(t))}_sliderPointerDown(t){if(!t.target||!(t.target instanceof Element))return;let e=this._sliderPointerPosition(t),n=this._sliderOrthogonalPointerPosition(t),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(t.target,t.pointerId,t.buttons,i=>{let s=this._sliderOrthogonalPointerPosition(i),a=Math.abs(s-n);if(Cte&&a>i7e){this._setDesiredScrollPositionNow(r.getScrollPosition());return}let o=this._sliderPointerPosition(i)-e;this._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(o))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(t){let e={};this.writeScrollPosition(e,t),this._scrollable.setScrollPositionNow(e)}updateScrollbarSize(t){this._updateScrollbarSize(t),this._scrollbarState.setScrollbarSize(t),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}},Ite=class GA{constructor(e,n,r,i,s,a){this._scrollbarSize=Math.round(n),this._oppositeScrollbarSize=Math.round(r),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=s,this._scrollPosition=a,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new GA(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let n=Math.round(e);return this._visibleSize!==n?(this._visibleSize=n,this._refreshComputedValues(),!0):!1}setScrollSize(e){let n=Math.round(e);return this._scrollSize!==n?(this._scrollSize=n,this._refreshComputedValues(),!0):!1}setScrollPosition(e){let n=Math.round(e);return this._scrollPosition!==n?(this._scrollPosition=n,this._refreshComputedValues(),!0):!1}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,n,r,i,s){let a=Math.max(0,r-e),o=Math.max(0,a-2*n),l=i>0&&i>r;if(!l)return{computedAvailableSize:Math.round(a),computedIsNeeded:l,computedSliderSize:Math.round(o),computedSliderRatio:0,computedSliderPosition:0};let c=Math.round(Math.max(20,Math.floor(r*o/i))),d=(o-c)/(i-r),f=s*d;return{computedAvailableSize:Math.round(a),computedIsNeeded:l,computedSliderSize:Math.round(c),computedSliderRatio:d,computedSliderPosition:Math.round(f)}}_refreshComputedValues(){let e=GA._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let n=e-this._arrowSize-this._computedSliderSize/2;return Math.round(n/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;let n=e-this._arrowSize,r=this._scrollPosition;return n<this._computedSliderPosition?r-=this._visibleSize:r+=this._visibleSize,r}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;let n=this._computedSliderPosition+e;return Math.round(n/this._computedSliderRatio)}},s7e=class extends Ote{constructor(t,e,n){let r=t.getScrollDimensions(),i=t.getCurrentScrollPosition();if(super({lazyRender:e.lazyRender,host:n,scrollbarState:new Ite(e.horizontalHasArrows?e.arrowSize:0,e.horizontal===2?0:e.horizontalScrollbarSize,e.vertical===2?0:e.verticalScrollbarSize,r.width,r.scrollWidth,i.scrollLeft),visibility:e.horizontal,extraScrollbarClassName:"horizontal",scrollable:t,scrollByPage:e.scrollByPage}),e.horizontalHasArrows)throw new Error("horizontalHasArrows is not supported in xterm.js");this._createSlider(Math.floor((e.horizontalScrollbarSize-e.horizontalSliderSize)/2),0,void 0,e.horizontalSliderSize)}_updateSlider(t,e){this.slider.setWidth(t),this.slider.setLeft(e)}_renderDomNode(t,e){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(t){return this._shouldRender=this._onElementScrollSize(t.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(t.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(t.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(t,e){return t}_sliderPointerPosition(t){return t.pageX}_sliderOrthogonalPointerPosition(t){return t.pageY}_updateScrollbarSize(t){this.slider.setHeight(t)}writeScrollPosition(t,e){t.scrollLeft=e}updateOptions(t){this.updateScrollbarSize(t.horizontal===2?0:t.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(t.vertical===2?0:t.verticalScrollbarSize),this._visibilityController.setVisibility(t.horizontal),this._scrollByPage=t.scrollByPage}},a7e=class extends Ote{constructor(t,e,n){let r=t.getScrollDimensions(),i=t.getCurrentScrollPosition();if(super({lazyRender:e.lazyRender,host:n,scrollbarState:new Ite(e.verticalHasArrows?e.arrowSize:0,e.vertical===2?0:e.verticalScrollbarSize,0,r.height,r.scrollHeight,i.scrollTop),visibility:e.vertical,extraScrollbarClassName:"vertical",scrollable:t,scrollByPage:e.scrollByPage}),e.verticalHasArrows)throw new Error("horizontalHasArrows is not supported in xterm.js");this._createSlider(0,Math.floor((e.verticalScrollbarSize-e.verticalSliderSize)/2),e.verticalSliderSize,void 0)}_updateSlider(t,e){this.slider.setHeight(t),this.slider.setTop(e)}_renderDomNode(t,e){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(t){return this._shouldRender=this._onElementScrollSize(t.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(t.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(t.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(t,e){return e}_sliderPointerPosition(t){return t.pageY}_sliderOrthogonalPointerPosition(t){return t.pageX}_updateScrollbarSize(t){this.slider.setWidth(t)}writeScrollPosition(t,e){t.scrollTop=e}updateOptions(t){this.updateScrollbarSize(t.vertical===2?0:t.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(t.vertical),this._scrollByPage=t.scrollByPage}},o7e=500,eH=50,l7e=class{constructor(t,e,n){this.timestamp=t,this.deltaX=e,this.deltaY=n,this.score=0}},qA=class{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let e=1,n=0,r=1,i=this._rear;do{let s=i===this._front?e:Math.pow(2,-r);if(e-=s,n+=this._memory[i].score*s,i===this._front)break;i=(this._capacity+i-1)%this._capacity,r++}while(!0);return n<=.5}acceptStandardWheelEvent(e){if(k5){let n=Do(e.browserEvent),r=v8e(n);this.accept(Date.now(),e.deltaX*r,e.deltaY*r)}else this.accept(Date.now(),e.deltaX,e.deltaY)}accept(e,n,r){let i=null,s=new l7e(e,n,r);this._front===-1&&this._rear===-1?(this._memory[0]=s,this._front=0,this._rear=0):(i=this._memory[this._rear],this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s),s.score=this._computeScore(s,i)}_computeScore(e,n){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let r=.5;if((!this._isAlmostInt(e.deltaX)||!this._isAlmostInt(e.deltaY))&&(r+=.25),n){let i=Math.abs(e.deltaX),s=Math.abs(e.deltaY),a=Math.abs(n.deltaX),o=Math.abs(n.deltaY),l=Math.max(Math.min(i,a),1),c=Math.max(Math.min(s,o),1),d=Math.max(i,a),f=Math.max(s,o);d%l===0&&f%c===0&&(r-=.5)}return Math.min(Math.max(r,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}};qA.INSTANCE=new qA;var c7e=qA,u7e=class extends R5{constructor(t,e,n){super(),this._onScroll=this._register(new Ve),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new Ve),this.onWillScroll=this._onWillScroll.event,this._options=h7e(e),this._scrollable=n,this._register(this._scrollable.onScroll(i=>{this._onWillScroll.fire(i),this._onDidScroll(i),this._onScroll.fire(i)}));let r={onMouseWheel:i=>this._onMouseWheel(i),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new a7e(this._scrollable,this._options,r)),this._horizontalScrollbar=this._register(new s7e(this._scrollable,this._options,r)),this._domNode=document.createElement("div"),this._domNode.className="xterm-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.appendChild(t),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=_g(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=_g(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=_g(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,i=>this._onMouseOver(i)),this.onmouseleave(this._listenOnDomNode,i=>this._onMouseLeave(i)),this._hideTimeout=this._register(new T5),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=jd(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(t){this._verticalScrollbar.delegatePointerDown(t)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(t){this._scrollable.setScrollDimensions(t,!1)}updateClassName(t){this._options.className=t,Uo&&(this._options.className+=" mac"),this._domNode.className="xterm-scrollable-element "+this._options.className}updateOptions(t){typeof t.handleMouseWheel<"u"&&(this._options.handleMouseWheel=t.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof t.mouseWheelScrollSensitivity<"u"&&(this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity),typeof t.fastScrollSensitivity<"u"&&(this._options.fastScrollSensitivity=t.fastScrollSensitivity),typeof t.scrollPredominantAxis<"u"&&(this._options.scrollPredominantAxis=t.scrollPredominantAxis),typeof t.horizontal<"u"&&(this._options.horizontal=t.horizontal),typeof t.vertical<"u"&&(this._options.vertical=t.vertical),typeof t.horizontalScrollbarSize<"u"&&(this._options.horizontalScrollbarSize=t.horizontalScrollbarSize),typeof t.verticalScrollbarSize<"u"&&(this._options.verticalScrollbarSize=t.verticalScrollbarSize),typeof t.scrollByPage<"u"&&(this._options.scrollByPage=t.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}setRevealOnScroll(t){this._revealOnScroll=t}delegateScrollFromMouseWheelEvent(t){this._onMouseWheel(new Wj(t))}_setListeningToMouseWheel(t){if(this._mouseWheelToDispose.length>0!==t&&(this._mouseWheelToDispose=jd(this._mouseWheelToDispose),t)){let e=n=>{this._onMouseWheel(new Wj(n))};this._mouseWheelToDispose.push(St(this._listenOnDomNode,Lr.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(t){if(t.browserEvent?.defaultPrevented)return;let e=c7e.INSTANCE;e.acceptStandardWheelEvent(t);let n=!1;if(t.deltaY||t.deltaX){let i=t.deltaY*this._options.mouseWheelScrollSensitivity,s=t.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&s+i===0?s=i=0:Math.abs(i)>=Math.abs(s)?s=0:i=0),this._options.flipAxes&&([i,s]=[s,i]);let a=!Uo&&t.browserEvent&&t.browserEvent.shiftKey;(this._options.scrollYToX||a)&&!s&&(s=i,i=0),t.browserEvent&&t.browserEvent.altKey&&
101(s=s*this._options.fastScrollSensitivity,i=i*this._options.fastScrollSensitivity);let o=this._scrollable.getFutureScrollPosition(),l={};if(i){let c=eH*i,d=o.scrollTop-(c<0?Math.floor(c):Math.ceil(c));this._verticalScrollbar.writeScrollPosition(l,d)}if(s){let c=eH*s,d=o.scrollLeft-(c<0?Math.floor(c):Math.ceil(c));this._horizontalScrollbar.writeScrollPosition(l,d)}l=this._scrollable.validateScrollPosition(l),(o.scrollLeft!==l.scrollLeft||o.scrollTop!==l.scrollTop)&&(this._options.mouseWheelSmoothScroll&&e.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(l):this._scrollable.setScrollPositionNow(l),n=!0)}let r=n;!r&&this._options.alwaysConsumeMouseWheel&&(r=!0),!r&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(r=!0),r&&(t.preventDefault(),t.stopPropagation())}_onDidScroll(t){this._shouldRender=this._horizontalScrollbar.onDidScroll(t)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(t)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let t=this._scrollable.getCurrentScrollPosition(),e=t.scrollTop>0,n=t.scrollLeft>0,r=n?" left":"",i=e?" top":"",s=n||e?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${r}`),this._topShadowDomNode.setClassName(`shadow${i}`),this._topLeftShadowDomNode.setClassName(`shadow${s}${i}${r}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(t){this._mouseIsOver=!1,this._hide()}_onMouseOver(t){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(()=>this._hide(),o7e)}},d7e=class extends u7e{constructor(t,e,n){super(t,e,n)}setScrollPosition(t){t.reuseAnimation?this._scrollable.setScrollPositionSmooth(t,t.reuseAnimation):this._scrollable.setScrollPositionNow(t)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}};function h7e(t){let e={lazyRender:typeof t.lazyRender<"u"?t.lazyRender:!1,className:typeof t.className<"u"?t.className:"",useShadows:typeof t.useShadows<"u"?t.useShadows:!0,handleMouseWheel:typeof t.handleMouseWheel<"u"?t.handleMouseWheel:!0,flipAxes:typeof t.flipAxes<"u"?t.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof t.consumeMouseWheelIfScrollbarIsNeeded<"u"?t.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof t.alwaysConsumeMouseWheel<"u"?t.alwaysConsumeMouseWheel:!1,scrollYToX:typeof t.scrollYToX<"u"?t.scrollYToX:!1,mouseWheelScrollSensitivity:typeof t.mouseWheelScrollSensitivity<"u"?t.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof t.fastScrollSensitivity<"u"?t.fastScrollSensitivity:5,scrollPredominantAxis:typeof t.scrollPredominantAxis<"u"?t.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof t.mouseWheelSmoothScroll<"u"?t.mouseWheelSmoothScroll:!0,arrowSize:typeof t.arrowSize<"u"?t.arrowSize:11,listenOnDomNode:typeof t.listenOnDomNode<"u"?t.listenOnDomNode:null,horizontal:typeof t.horizontal<"u"?t.horizontal:1,horizontalScrollbarSize:typeof t.horizontalScrollbarSize<"u"?t.horizontalScrollbarSize:10,horizontalSliderSize:typeof t.horizontalSliderSize<"u"?t.horizontalSliderSize:0,horizontalHasArrows:typeof t.horizontalHasArrows<"u"?t.horizontalHasArrows:!1,vertical:typeof t.vertical<"u"?t.vertical:1,verticalScrollbarSize:typeof t.verticalScrollbarSize<"u"?t.verticalScrollbarSize:10,verticalHasArrows:typeof t.verticalHasArrows<"u"?t.verticalHasArrows:!1,verticalSliderSize:typeof t.verticalSliderSize<"u"?t.verticalSliderSize:0,scrollByPage:typeof t.scrollByPage<"u"?t.scrollByPage:!1};return e.horizontalSliderSize=typeof t.horizontalSliderSize<"u"?t.horizontalSliderSize:e.horizontalScrollbarSize,e.verticalSliderSize=typeof t.verticalSliderSize<"u"?t.verticalSliderSize:e.verticalScrollbarSize,Uo&&(e.className+=" mac"),e}var WA=class extends Lt{constructor(t,e,n,r,i,s,a,o){super(),this._bufferService=n,this._optionsService=a,this._renderService=o,this._onRequestScrollLines=this._register(new Ve),this.onRequestScrollLines=this._onRequestScrollLines.event,this._isSyncing=!1,this._isHandlingScroll=!1,this._suppressOnScrollHandler=!1;let l=this._register(new J8e({forceIntegerValues:!1,smoothScrollDuration:this._optionsService.rawOptions.smoothScrollDuration,scheduleAtNextAnimationFrame:c=>A5(r.window,c)}));this._register(this._optionsService.onSpecificOptionChange("smoothScrollDuration",()=>{l.setSmoothScrollDuration(this._optionsService.rawOptions.smoothScrollDuration)})),this._scrollableElement=this._register(new d7e(e,{vertical:1,horizontal:2,useShadows:!1,mouseWheelSmoothScroll:!0,...this._getChangeOptions()},l)),this._register(this._optionsService.onMultipleOptionChange(["scrollSensitivity","fastScrollSensitivity","overviewRuler"],()=>this._scrollableElement.updateOptions(this._getChangeOptions()))),this._register(i.onProtocolChange(c=>{this._scrollableElement.updateOptions({handleMouseWheel:!(c&16)})})),this._scrollableElement.setScrollDimensions({height:0,scrollHeight:0}),this._register(Jr.runAndSubscribe(s.onChangeColors,()=>{this._scrollableElement.getDomNode().style.backgroundColor=s.colors.background.css})),t.appendChild(this._scrollableElement.getDomNode()),this._register(In(()=>this._scrollableElement.getDomNode().remove())),this._styleElement=r.mainDocument.createElement("style"),e.appendChild(this._styleElement),this._register(In(()=>this._styleElement.remove())),this._register(Jr.runAndSubscribe(s.onChangeColors,()=>{this._styleElement.textContent=[".xterm .xterm-scrollable-element > .scrollbar >
101 .slider {",`  background: ${s.colors.scrollbarSliderBackground.css};`,"}",".xterm .xterm-scrollable-element > .scrollbar > .slider:hover {",`  background: ${s.colors.scrollbarSliderHoverBackground.css};`,"}",".xterm .xterm-scrollable-element > .scrollbar > .slider.active {",`  background: ${s.colors.scrollbarSliderActiveBackground.css};`,"}"].join(`
102`)})),this._register(this._bufferService.onResize(()=>this.queueSync())),this._register(this._bufferService.buffers.onBufferActivate(()=>{this._latestYDisp=void 0,this.queueSync()})),this._register(this._bufferService.onScroll(()=>this._sync())),this._register(this._scrollableElement.onScroll(c=>this._handleScroll(c)))}scrollLines(t){let e=this._scrollableElement.getScrollPosition();this._scrollableElement.setScrollPosition({reuseAnimation:!0,scrollTop:e.scrollTop+t*this._renderService.dimensions.css.cell.height})}scrollToLine(t,e){e&&(this._latestYDisp=t),this._scrollableElement.setScrollPosition({reuseAnimation:!e,scrollTop:t*this._renderService.dimensions.css.cell.height})}_getChangeOptions(){return{mouseWheelScrollSensitivity:this._optionsService.rawOptions.scrollSensitivity,fastScrollSensitivity:this._optionsService.rawOptions.fastScrollSensitivity,verticalScrollbarSize:this._optionsService.rawOptions.overviewRuler?.width||14}}queueSync(t){t!==void 0&&(this._latestYDisp=t),this._queuedAnimationFrame===void 0&&(this._queuedAnimationFrame=this._renderService.addRefreshCallback(()=>{this._queuedAnimationFrame=void 0,this._sync(this._latestYDisp)}))}_sync(t=this._bufferService.buffer.ydisp){!this._renderService||this._isSyncing||(this._isSyncing=!0,this._suppressOnScrollHandler=!0,this._scrollableElement.setScrollDimensions({height:this._renderService.dimensions.css.canvas.height,scrollHeight:this._renderService.dimensions.css.cell.height*this._bufferService.buffer.lines.length}),this._suppressOnScrollHandler=!1,t!==this._latestYDisp&&this._scrollableElement.setScrollPosition({scrollTop:t*this._renderService.dimensions.css.cell.height}),this._isSyncing=!1)}_handleScroll(t){if(!this._renderService||this._isHandlingScroll||this._suppressOnScrollHandler)return;this._isHandlingScroll=!0;let e=Math.round(t.scrollTop/this._renderService.dimensions.css.cell.height),n=e-this._bufferService.buffer.ydisp;n!==0&&(this._latestYDisp=e,this._onRequestScrollLines.fire(n)),this._isHandlingScroll=!1}};WA=Kn([et(2,ji),et(3,ql),et(4,hte),et(5,Cp),et(6,Hi),et(7,Wl)],WA);var KA=class extends Lt{constructor(t,e,n,r,i){super(),this._screenElement=t,this._bufferService=e,this._coreBrowserService=n,this._decorationService=r,this._renderService=i,this._decorationElements=new Map,this._altBufferIsActive=!1,this._dimensionsChanged=!1,this._container=document.createElement("div"),this._container.classList.add("xterm-decoration-container"),this._screenElement.appendChild(this._container),this._register(this._renderService.onRenderedViewportChange(()=>this._doRefreshDecorations())),this._register(this._renderService.onDimensionsChange(()=>{this._dimensionsChanged=!0,this._queueRefresh()})),this._register(this._coreBrowserService.onDprChange(()=>
102this._queueRefresh())),this._register(this._bufferService.buffers.onBufferActivate(()=>{this._altBufferIsActive=this._bufferService.buffer===this._bufferService.buffers.alt})),this._register(this._decorationService.onDecorationRegistered(()=>this._queueRefresh())),this._register(this._decorationService.onDecorationRemoved(s=>this._removeDecoration(s))),this._register(In(()=>{this._container.remove(),this._decorationElements.clear()}))}_queueRefresh(){this._animationFrame===void 0&&(this._animationFrame=this._renderService.addRefreshCallback(()=>{this._doRefreshDecorations(),this._animationFrame=void 0}))}_doRefreshDecorations(){for(let t of this._decorationService.decorations)this._renderDecoration(t);this._dimensionsChanged=!1}_renderDecoration(t){this._refreshStyle(t),this._dimensionsChanged&&this._refreshXPosition(t)}_createElement(t){let e=this._coreBrowserService.mainDocument.createElement("div");e.classList.add("xterm-decoration"),e.classList.toggle("xterm-decoration-top-layer",t?.options?.layer==="top"),e.style.width=`${Math.round((t.options.width||1)*this._renderService.dimensions.css.cell.width)}px`,e.style.height=`${(t.options.height||1)*this._renderService.dimensions.css.cell.height}px`,e.style.top=`${(t.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.css.cell.height}px`,e.style.lineHeight=`${this._renderService.dimensions.css.cell.height}px`;let n=t.options.x??0;return n&&n>this._bufferService.cols&&(e.style.display="none"),this._refreshXPosition(t,e),e}_refreshStyle(t){let e=t.marker.line-this._bufferService.buffers.active.ydisp;if(e<0||e>=this._bufferService.rows)t.element&&(t.element.style.display="none",t.onRenderEmitter.fire(t.element));else{let n=this._decorationElements.get(t);n||(n=this._createElement(t),t.element=n,this._decorationElements.set(t,n),this._container.appendChild(n),t.onDispose(()=>{this._decorationElements.delete(t),n.remove()})),n.style.display=this._altBufferIsActive?"none":"block",this._altBufferIsActive||(n.style.width=`${Math.round((t.options.width||1)*this._renderService.dimensions.css.cell.width)}px`,n.style.height=`${(t.options.height||1)*this._renderService.dimensions.css.cell.height}px`,n.style.top=`${e*this._renderService.dimensions.css.cell.height}px`,n.style.lineHeight=`${this._renderService.dimensions.css.cell.height}px`),t.onRenderEmitter.fire(n)}}_refreshXPosition(t,e=t.element){if(!e)return;let n=t.options.x??0;(t.options.anchor||"left")==="right"?e.style.right=n?`${n*this._renderService.dimensions.css.cell.width}px`:"":e.style.left=n?`${n*this._renderService.dimensions.css.cell.width}px`:""}_removeDecoration(t){this._decorationElements.get(t)?.remove(),this._decorationElements.delete(t),t.dispose()}};KA=Kn([et(1,ji),et(2,ql),et(3,Q0),et(4,Wl)],KA);var f7e=class{constructor(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}get zones(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones}clear(){this._zones.length=0,this._zonePoolIndex=0}addDecoration(t){if(t.options.overviewRulerOptions){for(let e of this._zones)if(e.color===t.options.overviewRulerOptions.color&&e.position===t.options.overviewRulerOptions.position){if(this._lineIntersectsZone(e,t.marker.line))return;if(this._lineAdjacentToZone(e,t.marker.line,t.options.overviewRulerOptions.position)){this._addLineToZone(e,t.marker.line);return}}if(this._zonePoolIndex<this._zonePool.length){this._zonePool[this._zonePoolIndex].color=t.options.overviewRulerOptions.color,this._zonePool[this._zonePoolIndex].position=t.options.overviewRulerOptions.position,this._zonePool[this._zonePoolIndex].startBufferLine=t.marker.line,this._zonePool[this._zonePoolIndex].endBufferLine=t.marker.line,this._zones.push(this._zonePool[this._zonePoolIndex++]);return}this._zones.push({color:t.options.overviewRulerOptions.color,position:t.options.overviewRulerOptions.position,startBufferLine:t.marker.line,endBufferLine:t.marker.line}),this._zonePool.push(this._zones[this._zones.length-1]),this._zonePoolIndex++}}setPadding(t){this._linePadding=t}_lineIntersectsZone(t,e){return e>=t.startBufferLine&&e<=t.endBufferLine}_lineAdjacentToZone(t,e,n){return e>=t.startBufferLine-this._linePadding[n||"full"]&&e<=t.endBufferLine+this._linePadding[n||"full"]}_addLineToZone(t,e){t.startBufferLine=Math.min(t.startBufferLine,e),t.endBufferLine=Math.max(t.endBufferLine,e)}},bo={full:0,left:0,center:0,right:0},kc={full:0,left:0,center:0,right:0},jm={full:0,left:0,center:0,right:0},Mw=class extends Lt{constructor(t,e,n,r,i,s,a,o){super(),this._viewportElement=t,this._screenElement=e,this._bufferService=n,this._decorationService=r,this._renderService=i,this._optionsService=s,this._themeService=a,this._coreBrowserService=o,this._colorZoneStore=new f7e,this._shouldUpdateDimensions=!0,this._shouldUpdateAnchor=!0,this._lastKnownBufferLength=0,this._canvas=this._coreBrowserService.mainDocument.createElement("canvas"),this._canvas.classList.add("xterm-decoration-overview-ruler"),this._refreshCanvasDimensions(),this._viewportElement.parentElement?.insertBefore(this._canvas,this._viewportElement),this._register(In(()=>this._canvas?.remove()));let l=this._canvas.getContext("2d");if(l)this._ctx=l;else throw new Error("Ctx cannot be null");this._register(this._decorationService.onDecorationRegistered(()=>this._queueRefresh(void 0,!0))),this._register(this._decorationService.onDecorationRemoved(()=>this._queueRefresh(void 0,!0))),this._register(this._renderService.onRenderedViewportChange(()=>
102this._queueRefresh())),this._register(this._bufferService.buffers.onBufferActivate(()=>{this._canvas.style.display=this._bufferService.buffer===this._bufferService.buffers.alt?"none":"block"})),this._register(this._bufferService.onScroll(()=>{this._lastKnownBufferLength!==this._bufferService.buffers.normal.lines.length&&(this._refreshDrawHeightConstants(),this._refreshColorZonePadding())})),this._register(this._renderService.onRender(()=>{(!this._containerHeight||this._containerHeight!==this._screenElement.clientHeight)&&(this._queueRefresh(!0),this._containerHeight=this._screenElement.clientHeight)})),this._register(this._coreBrowserService.onDprChange(()=>this._queueRefresh(!0))),this._register(this._optionsService.onSpecificOptionChange("overviewRuler",()=>this._queueRefresh(!0))),this._register(this._themeService.onChangeColors(()=>this._queueRefresh())),this._queueRefresh(!0)}get _width(){return this._optionsService.options.overviewRuler?.width||0}_refreshDrawConstants(){let t=Math.floor((this._canvas.width-1)/3),e=Math.ceil((this._canvas.width-1)/3);kc.full=this._canvas.width,kc.left=t,kc.center=e,kc.right=t,this._refreshDrawHeightConstants(),jm.full=1,jm.left=1,jm.center=1+kc.left,jm.right=1+kc.left+kc.center}_refreshDrawHeightConstants(){bo.full=Math.round(2*this._coreBrowserService.dpr);let t=this._canvas.height/this._bufferService.buffer.lines.length,e=Math.round(Math.max(Math.min(t,12),6)*this._coreBrowserService.dpr);bo.left=e,bo.center=e,bo.right=e}_refreshColorZonePadding(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*bo.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*bo.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*bo.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*bo.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length}_refreshCanvasDimensions(){this._canvas.style.width=`${this._width}px`,this._canvas.width=Math.round(this._width*this._coreBrowserService.dpr),this._canvas.style.height=`${this._screenElement.clientHeight}px`,this._canvas.height=Math.round(this._screenElement.clientHeight*this._coreBrowserService.dpr),this._refreshDrawConstants(),this._refreshColorZonePadding()}_refreshDecorations(){this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();for(let e of this._decorationService.decorations)this._colorZoneStore.addDecoration(e);this._ctx.lineWidth=1,this._renderRulerOutline();let t=this._colorZoneStore.zones;for(let e of t)e.position!=="full"&&this._renderColorZone(e);for(let e of t)e.position==="full"&&this._renderColorZone(e);this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1}_renderRulerOutline(){this._ctx.fillStyle=this._themeService.colors.overviewRulerBorder.css,this._ctx.fillRect(0,0,1,this._canvas.height),this._optionsService.rawOptions.overviewRuler.showTopBorder&&this._ctx.fillRect(1,0,this._canvas.width-1,1),this._optionsService.rawOptions.overviewRuler.showBottomBorder&&this._ctx.fillRect(1,this._canvas.height-1,this._canvas.width-1,this._canvas.height)}_renderColorZone(t){this._ctx.fillStyle=t.color,this._ctx.fillRect(jm[t.position||"full"],Math.round((this._canvas.height-1)*(t.startBufferLine/this._bufferService.buffers.active.lines.length)-bo[t.position||"full"]/2),kc[t.position||"full"],Math.round((this._canvas.height-1)*((t.endBufferLine-t.startBufferLine)/this._bufferService.buffers.active.lines.length)+bo[t.position||"full"]))}_queueRefresh(t,e){this._shouldUpdateDimensions=t||this._shouldUpdateDimensions,this._shouldUpdateAnchor=e||this._shouldUpdateAnchor,this._animationFrame===void 0&&(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>{this._refreshDecorations(),this._animationFrame=void 0}))}};Mw=Kn([et(2,ji),et(3,Q0),et(4,Wl),et(5,Hi),et(6,Cp),et(7,ql)],Mw);var Ne;(t=>(t.NUL="\0",t.SOH="�",t.STX="�",t.ETX="�",t.EOT="�",t.ENQ="�",t.ACK="�",t.BEL="\x07",t.BS="\b",t.HT="	",t.LF=`
103`,t.VT="\v",t.FF="\f",t.CR="\r",t.SO="�",t.SI="�",t.DLE="�",t.DC1="�",t.DC2="�",t.DC3="�",t.DC4="�",t.NAK="�",t.SYN="�",t.ETB="�",t.CAN="�",t.EM="�",t.SUB="�",t.ESC="\x1B",t.FS="�",t.GS="�",t.RS="�",t.US="�",t.SP=" ",t.DEL="�"))(Ne||={});var w1;(t=>(t.PAD="€",t.HOP="",t.BPH="‚",t.NBH="ƒ",t.IND="„",t.NEL="…",t.SSA="†",t.ESA="‡",t.HTS="ˆ",t.HTJ="‰",t.VTS="Š",t.PLD="‹",t.PLU="Œ",t.RI="",t.SS2="Ž",t.SS3="",t.DCS="",t.PU1="‘",t.PU2="’",t.STS="“",t.CCH="”",t.MW="•",t.SPA="–",t.EPA="—",t.SOS="˜",t.SGCI="™",t.SCI="š",t.CSI="›",t.
103ST="œ",t.OSC="",t.PM="ž",t.APC="Ÿ"))(w1||={});var Dte;(t=>t.ST=`${Ne.ESC}\\`)(Dte||={});var YA=class{constructor(t,e,n,r,i,s){this._textarea=t,this._compositionView=e,this._bufferService=n,this._optionsService=r,this._coreService=i,this._renderService=s,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}get isComposing(){return this._isComposing}compositionstart(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")}compositionupdate(t){this._compositionView.textContent=t.data,this.updateCompositionElements(),setTimeout(()=>{this._compositionPosition.end=this._textarea.value.length},0)}compositionend(){this._finalizeComposition(!0)}keydown(t){if(this._isComposing||this._isSendingComposition){if(t.keyCode===20||t.keyCode===229||t.keyCode===16||t.keyCode===17||t.keyCode===18)return!1;this._finalizeComposition(!1)}return t.keyCode===229?(this._handleAnyTextareaChanges(),!1):!0}_finalizeComposition(t){if(this._compositionView.classList.remove("active"),this._isComposing=!1,t){let e={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(()=>{if(this._isSendingComposition){this._isSendingComposition=!1;let n;e.start+=this._dataAlreadySent.length,this._isComposing?n=this._textarea.value.substring(e.start,this._compositionPosition.start):n=this._textarea.value.substring(e.start),n.length>0&&this._coreService.triggerDataEvent(n,!0)}},0)}else{this._isSendingComposition=!1;let e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}}_handleAnyTextareaChanges(){let t=this._textarea.value;setTimeout(()=>{if(!this._isComposing){let e=this._textarea.value,n=e.replace(t,"");this._dataAlreadySent=n,e.length>t.length?this._coreService.triggerDataEvent(n,!0):e.length<t.length?this._coreService.triggerDataEvent(`${Ne.DEL}`,!0):e.length===t.length&&e!==t&&this._coreService.triggerDataEvent(e,!0)}},0)}updateCompositionElements(t){if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){let e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),n=this._renderService.dimensions.css.cell.height,r=this._bufferService.buffer.y*this._renderService.dimensions.css.cell.height,i=e*this._renderService.dimensions.css.cell.width;this._compositionView.style.left=i+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";let s=this._compositionView.getBoundingClientRect();this._textarea.style.left=i+"px",this._textarea.style.top=r+"px",this._textarea.style.width=Math.max(s.width,1)+"px",this._textarea.style.height=Math.max(s.height,1)+"px",this._textarea.style.lineHeight=s.height+"px"}t||setTimeout(()=>this.updateCompositionElements(!0),0)}}};YA=Kn([et(2,ji),et(3,Hi),et(4,Zd),et(5,Wl)],YA);var Br=0,Pr=0,Fr=0,qn=0,tH={css:"#00000000",rgba:0},ur;(t=>{function e(i,s,a,o){return o!==void 0?`#${qu(i)}${qu(s)}${qu(a)}${qu(o)}`:`#${qu(i)}${qu(s)}${qu(a)}`}t.toCss=e;function n(i,s,a,o=255){return(i<<24|s<<16|a<<8|o)>>>0}t.toRgba=n;function r(i,s,a,o){return{css:t.toCss(i,s,a,o),rgba:t.toRgba(i,s,a,o)}}t.toColor=r})(ur||={});var Cn;(t=>{function e(l,c){if(qn=(c.rgba&255)/255,qn===1)return{css:c.css,rgba:c.rgba};let d=c.rgba>>24&255,f=c.rgba>>16&255,p=c.rgba>>8&255,g=l.rgba>>24&255,b=l.rgba>>16&255,y=l.rgba>>8&255;Br=g+Math.round((d-g)*qn),Pr=b+Math.round((f-b)*qn),Fr=y+Math.round((p-y)*qn);let w=ur.toCss(Br,Pr,Fr),S=ur.toRgba(Br,Pr,Fr);return{css:w,rgba:S}}t.blend=e;function n(l){return(l.rgba&255)===255}t.isOpaque=n;function r(l,c,d){let f=S1.ensureContrastRatio(l.rgba,c.rgba,d);if(f)return ur.toColor(f>>24&255,f>>16&255,f>>8&255)}t.ensureContrastRatio=r;function i(l){let c=(l.rgba|255)>>>0;return[Br,Pr,Fr]=S1.toChannels(c),{css:ur.toCss(Br,Pr,Fr),rgba:c}}t.opaque=i;function s(l,c){return qn=Math.round(c*255),[Br,Pr,Fr]=S1.toChannels(l.rgba),{css:ur.toCss(Br,Pr,Fr,qn),rgba:ur.toRgba(Br,Pr,Fr,qn)}}t.opacity=s;function a(l,c){return qn=l.rgba&255,s(l,qn*c/255)}t.multiplyOpacity=a;function o(l){return[l.rgba>>24&255,l.rgba>>16&255,l.rgba>>8&255]}t.toColorRGB=o})(Cn||={});var Pn;(t=>{let e,n;try{let i=document.createElement("canvas");i.width=1,i.height=1;let s=i.getContext("2d",{willReadFrequently:!0});s&&(e=s,e.globalCompositeOperation="copy",n=e.createLinearGradient(0,0,1,1))}catch{}function r(i){if(i.match(/#[\da-f]{3,8}/i))switch(i.length){case 4:return Br=parseInt(i.slice(1,2).repeat(2),16),Pr=parseInt(i.slice(2,3).repeat(2),16),Fr=parseInt(i.slice(3,4).repeat(2),16),ur.toColor(Br,Pr,Fr);case 5:return Br=parseInt(i.slice(1,2).repeat(2),16),Pr=parseInt(i.slice(2,3).repeat(2),16),Fr=parseInt(i.slice(3,4).repeat(2),16),qn=parseInt(i.slice(4,5).repeat(2),16),ur.toColor(Br,Pr,Fr,qn);case 7:return{css:i,rgba:(parseInt(i.slice(1),16)<<8|255)>>>0};case 9:return{css:i,rgba:parseInt(i.slice(1),16)>>>0}}let s=i.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(s)return Br=parseInt(s[1]),Pr=parseInt(s[2]),Fr=parseInt(s[3]),qn=Math.round((s[5]===void 0?1:parseFloat(s[5]))*255),ur.toColor(Br,Pr,Fr,qn);if(!e||!n)throw new Error("css.toColor: Unsupported css format");if(e.fillStyle=n,e.fillStyle=i,typeof e.fillStyle!="string")throw new Error("css.toColor: Unsupported css format");if(e.fillRect(0,0,1,1),[Br,Pr,Fr,qn]=e.getImageData(0,0,1,1).data,qn!==255)throw new Error("css.toColor: Unsupported css format");return{rgba:ur.toRgba(Br,Pr,Fr,qn),css:i}}t.toColor=r})(Pn||={});var Ri;(t=>{function e(r){return n(r>>16&255,r>>8&255,r&255)}t.relativeLuminance=e;function n(r,i,s){let a=r/255,o=i/255,l=s/255,c=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),d=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),f=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4);return c*.2126+d*.7152+f*.0722}t.relativeLuminance2=n})(Ri||={});var S1;(t=>{function e(a,o){if(qn=(o&255)/255,qn===1)return o;let l=o>>24&255,c=o>>16&255,d=o>>8&255,f=a>>24&255,p=a>>16&255,g=a>>8&255;return Br=f+Math.round((l-f)*qn),Pr=p+Math.round((c-p)*qn),Fr=g+Math.round((d-g)*qn),ur.toRgba(Br,Pr,Fr)}t.blend=e;function n(a,o,l){let c=Ri.relativeLuminance(a>>8),d=Ri.relativeLuminance(o>>8);if(yl(c,d)<l){if(d<c){let g=r(a,o,l),b=yl(c,Ri.relativeLuminance(g>>8));if(b<l){let y=i(a,o,l),w=yl(c,Ri.relativeLuminance(y>>8));return b>w?g:y}return g}let f=i(a,o,l),p=yl(c,Ri.relativeLuminance(f>>8));if(p<l){let g=r(a,o,l),b=yl(c,Ri.relativeLuminance(g>>8));return p>b?f:g}return f}}t.ensureContrastRatio=n;function r(a,o,l){let c=a>>24&255,d=a>>16&255,f=a>>8&255,p=o>>24&255,g=o>>16&255,b=o>>8&255,y=yl(Ri.relativeLuminance2(p,g,b),Ri.relativeLuminance2(c,d,f));for(;y<l&&(p>0||g>0||b>0);)p-=Math.max(0,Math.ceil(p*.1)),g-=Math.max(0,Math.ceil(g*.1)),b-=Math.max(0,Math.ceil(b*.1)),y=yl(Ri.relativeLuminance2(p,g,b),Ri.relativeLuminance2(c,d,f));return(p<<24|g<<16|b<<8|255)>>>0}t.reduceLuminance=r;function i(a,o,l){let c=a>>24&255,d=a>>16&255,f=a>>8&255,p=o>>24&255,g=o>>16&255,b=o>>8&255,y=yl(Ri.relativeLuminance2(p,g,b),Ri.relativeLuminance2(c,d,f));for(;y<l&&(p<255||g<255||b<255);)p=Math.min(255,p+Math.ceil((255-p)*.1)),g=Math.min(255,g+Math.ceil((255-g)*.1)),b=Math.min(255,b+Math.ceil((255-b)*.1)),y=yl(Ri.relativeLuminance2(p,g,b),Ri.relativeLuminance2(c,d,f));return(p<<24|g<<16|b<<8|255)>>>0}t.increaseLuminance=i;function s(a){return[a>>24&255,a>>16&255,a>>8&255,a&255]}t.toChannels=s})(S1||={});function qu(t){let e=t.toString(16);return e.length<2?"0"+e:e}function yl(t,e){return t<e?(e+.05)/(t+.05):(t+.05)/(e+.05)}var p7e=class extends Z0{constructor(t,e,n){super(),this.content=0,this.combinedData="",this.fg=t.fg,this.bg=t.bg,this.combinedData=e,this._width=n}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(t){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}},Lw=class{constructor(t){this._bufferService=t,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new Sa}
103register(t){let e={id:this._nextCharacterJoinerId++,handler:t};return this._characterJoiners.push(e),e.id}deregister(t){for(let e=0;e<this._characterJoiners.length;e++)if(this._characterJoiners[e].id===t)return this._characterJoiners.splice(e,1),!0;return!1}getJoinedCharacters(t){if(this._characterJoiners.length===0)return[];let e=this._bufferService.buffer.lines.get(t);if(!e||e.length===0)return[];let n=[],r=e.translateToString(!0),i=0,s=0,a=0,o=e.getFg(0),l=e.getBg(0);for(let c=0;c<e.getTrimmedLength();c++)if(e.loadCell(c,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==o||this._workCell.bg!==l){if(c-i>1){let d=this._getJoinedRanges(r,a,s,e,i);for(let f=0;f<d.length;f++)n.push(d[f])}i=c,a=s,o=this._workCell.fg,l=this._workCell.bg}s+=this._workCell.getChars().length||Uc.length}if(this._bufferService.cols-i>1){let c=this._getJoinedRanges(r,a,s,e,i);for(let d=0;d<c.length;d++)n.push(c[d])}return n}_getJoinedRanges(t,e,n,r,i){let s=t.substring(e,n),a=[];try{a=this._characterJoiners[0].handler(s)}catch(o){console.error(o)}for(let o=1;o<this._characterJoiners.length;o++)try{let l=this._characterJoiners[o].handler(s);for(let c=0;c<l.length;c++)Lw._mergeRanges(a,l[c])}catch(l){console.error(l)}return this._stringRangesToCellRanges(a,r,i),a}_stringRangesToCellRanges(t,e,n){let r=0,i=!1,s=0,a=t[r];if(a){for(let o=n;o<this._bufferService.cols;o++){let l=e.getWidth(o),c=e.getString(o).length||Uc.length;if(l!==0){if(!i&&a[0]<=s&&(a[0]=o,i=!0),a[1]<=s){if(a[1]=o,a=t[++r],!a)break;a[0]<=s?(a[0]=o,i=!0):i=!1}s+=c}}a&&(a[1]=this._bufferService.cols)}}static _mergeRanges(t,e){let n=!1;for(let r=0;r<t.length;r++){let i=t[r];if(n){if(e[1]<=i[0])return t[r-1][1]=e[1],t;if(e[1]<=i[1])return t[r-1][1]=Math.max(e[1],i[1]),t.splice(r,1),t;t.splice(r,1),r--}else{if(e[1]<=i[0])return t.splice(r,0,e),t;if(e[1]<=i[1])return i[0]=Math.min(e[0],i[0]),t;e[0]<i[1]&&(i[0]=Math.min(e[0],i[0]),n=!0);continue}}return n?t[t.length-1][1]=e[1]:t.push(e),t}};Lw=Kn([et(0,ji)],Lw);function m7e(t){return 57508<=t&&t<=57558}function g7e(t){return 9472<=t&&t<=9631}function b7e(t){return m7e(t)||g7e(t)}function y7e(){return{css:{canvas:kv(),cell:kv()},device:{canvas:kv(),cell:kv(),char:{width:0,height:0,left:0,top:0}}}}function kv(){return{width:0,height:0}}var XA=class{constructor(t,e,n,r,i,s,a){this._document=t,this._characterJoinerService=e,this._optionsService=n,this._coreBrowserService=r,this._coreService=i,this._decorationService=s,this._themeService=a,this._workCell=new Sa,this._columnSelectMode=!1,this.defaultSpacing=0}handleSelectionChanged(t,e,n){this._selectionStart=t,this._selectionEnd=e,this._columnSelectMode=n}createRow(t,e,n,r,i,s,a,o,l,c,d){let f=[],p=this._characterJoinerService.getJoinedCharacters(e),g=this._themeService.colors,b=t.getNoBgTrimmedLength();n&&b<s+1&&(b=s+1);let y,w=0,S="",_=0,E=0,T=0,R=0,N=!1,I=0,P=!1,z=0,U=0,Z=[],L=c!==-1&&d!==-1;for(let $=0;$<b;$++){t.loadCell($,this._workCell);let D=this._workCell.getWidth();if(D===0)continue;let W=!1,G=$>=U,K=$,Y=this._workCell;if(p.length>0&&$===p[0][0]&&G){let it=p.shift(),F=this._isCellInSelection(it[0],e);for(_=it[0]+1;_<it[1];_++)G&&=F===this._isCellInSelection(_,e);G&&=!n||s<it[0]||s>=it[1],G?(W=!0,Y=new p7e(this._workCell,t.translateToString(!0,it[0],it[1]),it[1]-it[0]),K=it[1]-1,D=Y.getWidth()):U=it[1]}let te=this._isCellInSelection($,e),q=n&&$===s,j=L&&$>=c&&$<=d,X=!1;this._decorationService.forEachDecorationAtCell($,e,void 0,it=>{X=!0});let H=Y.getChars()||Uc;if(H===" "&&(Y.isUnderline()||Y.isOverline())&&(H=" "),z=D*o-l.get(H,Y.isBold(),Y.isItalic()),!y)y=this._document.createElement("span");else if(w&&(te&&P||!te&&!P&&Y.bg===E)&&(te&&P&&g.selectionForeground||Y.fg===T)&&Y.extended.ext===R&&j===N&&z===I&&!q&&!W&&!X&&G){Y.isInvisible()?S+=Uc:S+=H,w++;continue}else w&&(y.textContent=S),y=this._document.createElement("span"),w=0,S="";if(E=Y.bg,T=Y.fg,R=Y.extended.ext,N=j,I=z,P=te,W&&s>=$&&s<=K&&(s=$),!this._coreService.isCursorHidden&&q&&this._coreService.isCursorInitialized){if(Z.push("xterm-cursor"),this._coreBrowserService.isFocused)a&&Z.push("xterm-cursor-blink"),Z.push(r==="bar"?"xterm-cursor-bar":r==="underline"?"xterm-cursor-underline":"xterm-cursor-block");else if(i)switch(i){case"outline":Z.push("xterm-cursor-outline");break;case"block":Z.push("xterm-cursor-block");break;case"bar":Z.push("xterm-cursor-bar");break;case"underline":Z.push("xterm-cursor-underline");break}}if(Y.isBold()&&Z.push("xterm-bold"),Y.isItalic()&&Z.push("xterm-italic"),Y.isDim()&&Z.push("xterm-dim"),Y.isInvisible()?S=Uc:S=Y.getChars()||Uc,Y.isUnderline()&&(Z.push(`xterm-underline-${Y.extended.underlineStyle}`),S===" "&&(S=" "),!Y.isUnderlineColorDefault()))if(Y.isUnderlineColorRGB())y.style.textDecorationColor=`rgb(${Z0.toColorRGB(Y.getUnderlineColor()).join(",")})`;else{let it=Y.getUnderlineColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&Y.isBold()&&it<8&&(it+=8),y.style.textDecorationColor=g.ansi[it].css}Y.isOverline()&&(Z.push("xterm-overline"),S===" "&&(S=" ")),Y.isStrikethrough()&&Z.push("xterm-strikethrough"),j&&(y.style.textDecoration="underline");let ae=Y.getFgColor(),le=Y.getFgColorMode(),Ee=Y.getBgColor(),me=Y.getBgColorMode(),ke=!!Y.isInverse();if(ke){let it=ae;ae=Ee,Ee=it;let F=le;le=me,me=F}let Le,qe,Xe=!1;this._decorationService.forEachDecorationAtCell($,e,void 0,it=>{it.options.layer!=="top"&&Xe||(it.backgroundColorRGB&&(me=50331648,Ee=it.backgroundColorRGB.rgba>>8&16777215,Le=it.backgroundColorRGB),it.foregroundColorRGB&&(le=50331648,ae=it.foregroundColorRGB.rgba>>8&16777215,qe=it.foregroundColorRGB),Xe=it.options.layer==="top")}),!Xe&&te&&(Le=this._coreBrowserService.isFocused?g.selectionBackgroun
103dOpaque:g.selectionInactiveBackgroundOpaque,Ee=Le.rgba>>8&16777215,me=50331648,Xe=!0,g.selectionForeground&&(le=50331648,ae=g.selectionForeground.rgba>>8&16777215,qe=g.selectionForeground)),Xe&&Z.push("xterm-decoration-top");let ut;switch(me){case 16777216:case 33554432:ut=g.ansi[Ee],Z.push(`xterm-bg-${Ee}`);break;case 50331648:ut=ur.toColor(Ee>>16,Ee>>8&255,Ee&255),this._addStyle(y,`background-color:#${nH((Ee>>>0).toString(16),"0",6)}`);break;default:ke?(ut=g.foreground,Z.push("xterm-bg-257")):ut=g.background}switch(Le||Y.isDim()&&(Le=Cn.multiplyOpacity(ut,.5)),le){case 16777216:case 33554432:Y.isBold()&&ae<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(ae+=8),this._applyMinimumContrast(y,ut,g.ansi[ae],Y,Le,void 0)||Z.push(`xterm-fg-${ae}`);break;case 50331648:let it=ur.toColor(ae>>16&255,ae>>8&255,ae&255);this._applyMinimumContrast(y,ut,it,Y,Le,qe)||this._addStyle(y,`color:#${nH(ae.toString(16),"0",6)}`);break;default:this._applyMinimumContrast(y,ut,g.foreground,Y,Le,qe)||ke&&Z.push("xterm-fg-257")}Z.length&&(y.className=Z.join(" "),Z.length=0),!q&&!W&&!X&&G?w++:y.textContent=S,z!==this.defaultSpacing&&(y.style.letterSpacing=`${z}px`),f.push(y),$=K}return y&&w&&(y.textContent=S),f}_applyMinimumContrast(t,e,n,r,i,s){if(this._optionsService.rawOptions.minimumContrastRatio===1||b7e(r.getCode()))return!1;let a=this._getContrastCache(r),o;if(!i&&!s&&(o=a.getColor(e.rgba,n.rgba)),o===void 0){let l=this._optionsService.rawOptions.minimumContrastRatio/(r.isDim()?2:1);o=Cn.ensureContrastRatio(i||e,s||n,l),a.setColor((i||e).rgba,(s||n).rgba,o??null)}return o?(this._addStyle(t,`color:${o.css}`),!0):!1}_getContrastCache(t){return t.isDim()?this._themeService.colors.halfContrastCache:this._themeService.colors.contrastCache}_addStyle(t,e){t.setAttribute("style",`${t.getAttribute("style")||""}${e};`)}_isCellInSelection(t,e){let n=this._selectionStart,r=this._selectionEnd;return!n||!r?!1:this._columnSelectMode?n[0]<=r[0]?t>=n[0]&&e>=n[1]&&t<r[0]&&e<=r[1]:t<n[0]&&e>=n[1]&&t>=r[0]&&e<=r[1]:e>n[1]&&e<r[1]||n[1]===r[1]&&e===n[1]&&t>=n[0]&&t<r[0]||n[1]<r[1]&&e===r[1]&&t<r[0]||n[1]<r[1]&&e===n[1]&&t>=n[0]}};XA=Kn([et(1,mte),et(2,Hi),et(3,ql),et(4,Zd),et(5,Q0),et(6,Cp)],XA);function nH(t,e,n){for(;t.length<n;)t=e+t;return t}var v7e=class{constructor(t,e){this._flat=new Float32Array(256),this._font="",this._fontSize=0,this._weight="normal",this._weightBold="bold",this._measureElements=[],this._container=t.createElement("div"),this._container.classList.add("xterm-width-cache-measure-container"),this._container.setAttribute("aria-hidden","true"),this._container.style.whiteSpace="pre",this._container.style.fontKerning="none";let n=t.createElement("span");n.classList.add("xterm-char-measure-element");let r=t.createElement("span");r.classList.add("xterm-char-measure-element"),r.style.fontWeight="bold";let i=t.createElement("span");i.classList.add("xterm-char-measure-element"),i.style.fontStyle="italic";let s=t.createElement("span");s.classList.add("xterm-char-measure-element"),s.style.fontWeight="bold",s.style.fontStyle="italic",this._measureElements=[n,r,i,s],this._container.appendChild(n),this._container.appendChild(r),this._container.appendChild(i),this._container.appendChild(s),e.appendChild(this._container),this.clear()}dispose(){this._container.remove(),this._measureElements.length=0,this._holey=void 0}clear(){this._flat.fill(-9999),this._holey=new Map}setFont(t,e,n,r){t===this._font&&e===this._fontSize&&n===this._weight&&r===this._weightBold||(this._font=t,this._fontSize=e,this._weight=n,this._weightBold=r,this._container.style.fontFamily=this._font,this._container.style.fontSize=`${this._fontSize}px`,this._measureElements[0].style.fontWeight=`${n}`,this._measureElements[1].style.fontWeight=`${r}`,this._measureElements[2].style.fontWeight=`${n}`,this._measureElements[3].style.fontWeight=`${r}`,this.clear())}get(t,e,n){let r=0;if(!e&&!n&&t.length===1&&(r=t.charCodeAt(0))<256){if(this._flat[r]!==-9999)return this._flat[r];let a=this._measure(t,0);return a>0&&(this._flat[r]=a),a}let i=t;e&&(i+="B"),n&&(i+="I");let s=this._holey.get(i);if(s===void 0){let a=0;e&&(a|=1),n&&(a|=2),s=this._measure(t,a),s>0&&this._holey.set(i,s)}return s}_measure(t,e){let n=this._measureElements[e];return n.textContent=t.repeat(32),n.offsetWidth/32}},w7e=class{constructor(){this.clear()}clear(){this.hasSelection=!1,this.columnSelectMode=!1,this.viewportStartRow=0,this.viewportEndRow=0,this.viewportCappedStartRow=0,this.viewportCappedEndRow=0,this.startCol=0,this.endCol=0,this.selectionStart=void 0,this.selectionEnd=void 0}update(t,e,n,r=!1){if(this.selectionStart=e,this.selectionEnd=n,!e||!n||e[0]===n[0]&&e[1]===n[1]){this.clear();return}let i=t.buffers.active.ydisp,s=e[1]-i,a=n[1]-i,o=Math.max(s,0),l=Math.min(a,t.rows-1);if(o>=t.rows||l<0){this.clear();return}this.hasSelection=!0,this.columnSelectMode=r,this.viewportStartRow=s,this.viewportEndRow=a,this.viewportCappedStartRow=o,this.viewportCappedEndRow=l,this.startCol=e[0],this.endCol=n[0]}isCellSelected(t,e,n){return this.hasSelection?(n-=t.buffer.active.viewportY,this.columnSelectMode?this.startCol<=this.endCol?e>=this.startCol&&n>=this.viewportCappedStartRow&&e<this.endCol&&n<=this.viewportCappedEndRow:e<this.startCol&&n>=this.viewportCappedStartRow&&e>=this.endCol&&n<=this.viewportCappedEndRow:n>this.viewportStartRow&&n<this.viewportEndRow||this.viewportStartRow===this.viewportEndRow&&n===this.viewportStartRow&&e>=this.startCol&&e<this.endCol||this.viewportStartRow<this.viewportEndRow&&n===this.viewportEndRow&&e<this.endCol||this.viewportStartRow<this.viewportEndRow&&n===this.viewportStartRow&&e>=this.startCol):!1}};function S7e(){return new w7e}var Ak="xterm-dom-renderer-owner-",na="xterm-rows",Cv="xterm-fg-",rH="xterm-bg-",Hm="xterm-focus",Tv="xterm-selection",_7e=1,ZA=class extends Lt{constructor(t,e,n,r,i,s,a,o,l,c,d,f,p,g){super(),this._terminal=t,this._document=e,this._element=n,this._screenElement=r,this._viewportElement=i,this._helperContainer=s,this._linkifier2=a,this._charSizeService=l,this._optionsService=c,this._bufferService=d,this._coreService=f,this._coreBrowserService=p,this._themeService=g,this._terminalClass=_7e++,this._rowElements=[],this._selectionRenderModel=S7e(),this.onRequestRedraw=this._register(new Ve).event,this._rowContainer=this._document.createElement("div"),this._rowContainer.classList.add(na),this._rowContainer.style.lineHeight="normal",this._rowContainer.setAttribute("aria-hidden","true"),this._refreshRowElements(this._bufferService.cols,this._bufferService.rows),this._selectionContainer=this._document.createElement("div"),this._selectionContainer.classList.add(Tv),this._selectionContainer.setAttribute("aria-hidden","true"),this.dimensions=y7e(),this._updateDimensions(),this._register(this._optionsService.onOptionChange(()=>this._handleOptionsChanged())),this._register(this._themeService.onChangeColors(b=>this._injectCss(b))),this._injectCss(this._themeService.colors),this._rowFactory=o.createInstance(XA,document),this._element.classList.add(Ak+this._terminalClass),this._screenElement.appendChild(this._rowContainer),this._screenElement.appendChild(this._selectionContainer),this._register(this._linkifier2.onShowLinkUnderline(b=>this._handleLinkHover(b))),this._register(this._linkifier2.onHideLinkUnderline(b=>this._handleLinkLeave(b))),this._register(In(()=>{this._element.classList.remove(Ak+this._terminalClass),this._rowContainer.remove(),this._selectionContainer.remove(),this._widthCache.dispose(),this._themeStyleElement.remove(),this._dimensionsStyleElement.remove()})),this._widthCache=new v7e(this._document,this._helperContainer),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}_updateDimensions(){let t=this._coreBrowserService.dpr;this.dimensions.device.char.width=this._charSizeService.width*t,this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*t),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.left=0,this.dimensions.device.char.top=0,this.dimensions.device.canvas.width=this.dimensions.device.cell.width*this._bufferService.cols,this.dimensions.device.canvas.height=this.dimensions.device.cell.height*this._bufferService.rows,this.dimensions.css.
vendor: 8,546 bytes, line 103
103canvas.width=Math.round(this.dimensions.device.canvas.width/t),this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/t),this.dimensions.css.cell.width=this.dimensions.css.canvas.width/this._bufferService.cols,this.dimensions.css.cell.height=this.dimensions.css.canvas.height/this._bufferService.rows;for(let n of this._rowElements)n.style.width=`${this.dimensions.css.canvas.width}px`,n.style.height=`${this.dimensions.css.cell.height}px`,n.style.lineHeight=`${this.dimensions.css.cell.height}px`,n.style.overflow="hidden";this._dimensionsStyleElement||(this._dimensionsStyleElement=this._document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));let e=`${this._terminalSelector} .${na} span { display: inline-block; height: 100%; vertical-align: top;}`;this._dimensionsStyleElement.textContent=e,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=`${this.dimensions.css.canvas.width}px`,this._screenElement.style.height=`${this.dimensions.css.canvas.height}px`}_injectCss(t){this._themeStyleElement||(this._themeStyleElement=this._document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));let e=`${this._terminalSelector} .${na} { pointer-events: none; color: ${t.foreground.css}; font-family: ${this._optionsService.rawOptions.fontFamily}; font-size: ${this._optionsService.rawOptions.fontSize}px; font-kerning: none; white-space: pre}`;e+=`${this._terminalSelector} .${na} .xterm-dim { color: ${Cn.multiplyOpacity(t.foreground,.5).css};}`,e+=`${this._terminalSelector} span:not(.xterm-bold) { font-weight: ${this._optionsService.rawOptions.fontWeight};}${this._terminalSelector} span.xterm-bold { font-weight: ${this._optionsService.rawOptions.fontWeightBold};}${this._terminalSelector} span.xterm-italic { font-style: italic;}`;let n=`blink_underline_${this._terminalClass}`,r=`blink_bar_${this._terminalClass}`,i=`blink_block_${this._terminalClass}`;e+=`@keyframes ${n} { 50% {  border-bottom-style: hidden; }}`,e+=`@keyframes ${r} { 50% {  box-shadow: none; }}`,e+=`@keyframes ${i} { 0% {  background-color: ${t.cursor.css};  color: ${t.cursorAccent.css}; } 50% {  background-color: inherit;  color: ${t.cursor.css}; }}`,e+=`${this._terminalSelector} .${na}.${Hm} .xterm-cursor.xterm-cursor-blink.xterm-cursor-underline { animation: ${n} 1s step-end infinite;}${this._terminalSelector} .${na}.${Hm} .xterm-cursor.xterm-cursor-blink.xterm-cursor-bar { animation: ${r} 1s step-end infinite;}${this._terminalSelector} .${na}.${Hm} .xterm-cursor.xterm-cursor-blink.xterm-cursor-block { animation: ${i} 1s step-end infinite;}${this._terminalSelector} .${na} .xterm-cursor.xterm-cursor-block { background-color: ${t.cursor.css}; color: ${t.cursorAccent.css};}${this._terminalSelector} .${na} .xterm-cursor.xterm-cursor-block:not(.xterm-cursor-blink) { background-color: ${t.cursor.css} !important; color: ${t.cursorAccent.css} !important;}${this._terminalSelector} .${na} .xterm-cursor.xterm-cursor-outline { outline: 1px solid ${t.cursor.css}; outline-offset: -1px;}${this._terminalSelector} .${na} .xterm-cursor.xterm-cursor-bar { box-shadow: ${this._optionsService.rawOptions.cursorWidth}px 0 0 ${t.cursor.css} inset;}${this._terminalSelector} .${na} .xterm-cursor.xterm-cursor-underline { border-bottom: 1px ${t.cursor.css}; border-bottom-style: solid; height: calc(100% - 1px);}`,e+=`${this._terminalSelector} .${Tv} { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}${this._terminalSelector}.focus .${Tv} div { position: absolute; background-color: ${t.selectionBackgroundOpaque.css};}${this._terminalSelector} .${Tv} div { position: absolute; background-color: ${t.selectionInactiveBackgroundOpaque.css};}`;for(let[s,a]of t.ansi.entries())e+=`${this._terminalSelector} .${Cv}${s} { color: ${a.css}; }${this._terminalSelector} .${Cv}${s}.xterm-dim { color: ${Cn.multiplyOpacity(a,.5).css}; }${this._terminalSelector} .${rH}${s} { background-color: ${a.css}; }`;e+=`${this._terminalSelector} .${Cv}257 { color: ${Cn.opaque(t.background).css}; }${this._terminalSelector} .${Cv}257.xterm-dim { color: ${Cn.multiplyOpacity(Cn.opaque(t.background),.5).css}; }${this._terminalSelector} .${rH}257 { background-color: ${t.foreground.css}; }`,this._themeStyleElement.textContent=e}_setDefaultSpacing(){let t=this.dimensions.css.cell.width-this._widthCache.get("W",!1,!1);this._rowContainer.style.letterSpacing=`${t}px`,this._rowFactory.defaultSpacing=t}handleDevicePixelRatioChange(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}_refreshRowElements(t,e){for(let n=this._rowElements.length;n<=e;n++){let r=this._document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop())}handleResize(t,e){this._refreshRowElements(t,e),this._updateDimensions(),this.handleSelectionChanged(this._selectionRenderModel.selectionStart,this._selectionRenderModel.selectionEnd,this._selectionRenderModel.columnSelectMode)}handleCharSizeChanged(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}handleBlur(){this._rowContainer.classList.remove(Hm),this.renderRows(0,this._bufferService.rows-1)}handleFocus(){this._rowContainer.classList.add(Hm),this.renderRows(this._bufferService.buffer.y,this._bufferService.buffer.y)}handleSelectionChanged(t,e,n){if(this._selectionContainer.replaceChildren(),this._rowFactory.handleSelectionChanged(t,e,n),this.renderRows(0,this._bufferService.rows-1),!t||!e||(this._selectionRenderModel.update(this._terminal,t,e,n),!this._selectionRenderModel.hasSelection))return;let r=this._selectionRenderModel.viewportStartRow,i=this._selectionRenderModel.viewportEndRow,s=this._selectionRenderModel.viewportCappedStartRow,a=this._selectionRenderModel.viewportCappedEndRow,o=this._document.createDocumentFragment();if(n){let l=t[0]>e[0];o.appendChild(this._createSelectionElement(s,l?e[0]:t[0],l?t[0]:e[0],a-s+1))}else{let l=r===s?t[0]:0,c=s===i?e[0]:this._bufferService.cols;o.appendChild(this._createSelectionElement(s,l,c));let d=a-s-1;if(o.appendChild(this._createSelectionElement(s+1,0,this._bufferService.cols,d)),s!==a){let f=i===a?e[0]:this._bufferService.cols;o.appendChild(this._createSelectionElement(a,0,f))}}this._selectionContainer.appendChild(o)}_createSelectionElement(t,e,n,r=1){let i=this._document.createElement("div"),s=e*this.dimensions.css.cell.width,a=this.dimensions.css.cell.width*(n-e);return s+a>this.dimensions.css.canvas.width&&(a=this.dimensions.css.canvas.width-s),i.style.height=`${r*this.dimensions.css.cell.height}px`,i.style.top=`${t*this.dimensions.css.cell.height}px`,i.style.left=`${s}px`,i.style.width=`${a}px`,i}handleCursorMove(){}_handleOptionsChanged(){this._updateDimensions(),this._injectCss(this._themeService.colors),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}clear(){for(let t of this._rowElements)t.replaceChildren()}renderRows(t,e){let n=this._bufferService.buffer,r=n.ybase+n.y,i=Math.min(n.x,this._bufferService.cols-1),s=this._coreService.decPrivateModes.cursorBlink??this._optionsService.rawOptions.cursorBlink,a=this._coreService.decPrivateModes.cursorStyle??this._optionsService.rawOptions.cursorStyle,o=this._optionsService.rawOptions.cursorInactiveStyle;for(let l=t;l<=e;l++){let c=l+n.ydisp,d=this._rowElements[l],f=n.lines.get(c);if(!d||!f)break;d.replaceChildren(...this._rowFactory.createRow(f,c,c===r,a,o,i,s,this.dimensions.css.cell.width,this._widthCache,-1,-1))}}get _terminalSelector(){return`.${Ak}${this._terminalClass}`}_handleLinkHover(t){this._setCellUnderline(t.x1,t.x2,t.y1,t.y2,t.cols,!0)}_handleLinkLeave(t){this._setCellUnderline(t.x1,t.x2,t.y1,t.y2,t.cols,!1)}_setCellUnderline(t,e,n,r,i,s){n<0&&(t=0),r<0&&(e=0);let a=this._bufferService.rows-1;n=Math.max(Math.min(n,a),0),r=Math.max(Math.min(r,a),0),i=Math.min(i,this._bufferService.cols);let o=this._bufferService.buffer,l=o.ybase+o.y,c=Math.min(o.x,i-1),d=this._optionsService.rawOptions.cursorBlink,f=this._optionsService.rawOptions.cursorStyle,p=this._optionsService.rawOptions.cursorInactiveStyle;for(let g=n;g<=r;++g){let b=g+o.ydisp,y=this._rowElements[g],w=o.lines.get(b);if(!y||!w)break;y.replaceChildren(...this._rowFactory.createRow(w,b,b===l,f,p,c,d,this.dimensions.css.
103cell.width,this._widthCache,s?g===n?t:0:-1,s?(g===r?e:i)-1:-1))}}};ZA=Kn([et(7,_5),et(8,t_),et(9,Hi),et(10,ji),et(11,Zd),et(12,ql),et(13,Cp)],ZA);var QA=class extends Lt{constructor(t,e,n){super(),this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=this._register(new Ve),this.onCharSizeChange=this._onCharSizeChange.event;try{this._measureStrategy=this._register(new E7e(this._optionsService))}catch{this._measureStrategy=this._register(new x7e(t,e,this._optionsService))}this._register(this._optionsService.onMultipleOptionChange(["fontFamily","fontSize"],()=>this.measure()))}get hasValidSize(){return this.width>0&&this.height>0}measure(){let t=this._measureStrategy.measure();(t.width!==this.width||t.height!==this.height)&&(this.width=t.width,this.height=t.height,this._onCharSizeChange.fire())}};QA=Kn([et(2,Hi)],QA);var Mte=class extends Lt{constructor(){super(...arguments),this._result={width:0,height:0}}_validateAndSet(t,e){t!==void 0&&t>0&&e!==void 0&&e>0&&(this._result.width=t,this._result.height=e)}},x7e=class extends Mte{constructor(t,e,n){super(),this._document=t,this._parentElement=e,this._optionsService=n,this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W".repeat(32),this._measureElement.setAttribute("aria-hidden","true"),this._measureElement.style.whiteSpace="pre",this._measureElement.style.fontKerning="none",this._parentElement.appendChild(this._measureElement)}measure(){return this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=`${this._optionsService.rawOptions.fontSize}px`,this._validateAndSet(Number(this._measureElement.offsetWidth)/32,Number(this._measureElement.offsetHeight)),this._result}},E7e=class extends Mte{constructor(t){super(),this._optionsService=t,this._canvas=new OffscreenCanvas(100,100),this._ctx=this._canvas.getContext("2d");let e=this._ctx.measureText("W");if(!("width"in e&&"fontBoundingBoxAscent"in e&&"fontBoundingBoxDescent"in e))throw new Error("Required font metrics not supported")}measure(){this._ctx.font=`${this._optionsService.rawOptions.fontSize}px ${this._optionsService.rawOptions.fontFamily}`;let t=this._ctx.measureText("W");return this._validateAndSet(t.width,t.fontBoundingBoxAscent+t.fontBoundingBoxDescent),this._result}},k7e=class extends Lt{constructor(t,e,n){super(),this._textarea=t,this._window=e,this.mainDocument=n,this._isFocused=!1,this._cachedIsFocused=void 0,this._screenDprMonitor=this._register(new C7e(this._window)),this._onDprChange=this._register(new Ve),this.onDprChange=this._onDprChange.event,this._onWindowChange=this._register(new Ve),this.onWindowChange=this._onWindowChange.event,this._register(this.onWindowChange(r=>this._screenDprMonitor.setWindow(r))),this._register(Jr.forward(this._screenDprMonitor.onDprChange,this._onDprChange)),this._register(St(this._textarea,"focus",()=>this._isFocused=!0)),this._register(St(this._textarea,"blur",()=>this._isFocused=!1))}get window(){return this._window}set window(t){this._window!==t&&(this._window=t,this._onWindowChange.fire(this._window))}get dpr(){return this.window.devicePixelRatio}get isFocused(){return this._cachedIsFocused===void 0&&(this._cachedIsFocused=this._isFocused&&this._textarea.ownerDocument.hasFocus(),queueMicrotask(()=>this._cachedIsFocused=void 0)),this._cachedIsFocused}},C7e=class extends Lt{constructor(t){super(),this._parentWindow=t,this._windowResizeListener=this._register(new rp),this._onDprChange=this._register(new Ve),this.onDprChange=this._onDprChange.event,this._outerListener=()=>this._setDprAndFireIfDiffers(),this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this._updateDpr(),this._setWindowResizeListener(),this._register(In(()=>this.clearListener()))}setWindow(t){this._parentWindow=t,this._setWindowResizeListener(),this._setDprAndFireIfDiffers()}_setWindowResizeListener(){this._windowResizeListener.value=St(this._parentWindow,"resize",()=>this._setDprAndFireIfDiffers())}_setDprAndFireIfDiffers(){this._parentWindow.devicePixelRatio!==this._currentDevicePixelRatio&&this._onDprChange.fire(this._parentWindow.devicePixelRatio),this._updateDpr()}_updateDpr(){this._outerListener&&(this._resolutionMediaMatchList?.removeListener(this._outerListener),this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this._resolutionMediaMatchList=this._parentWindow.matchMedia(`screen and (resolution: ${this._parentWindow.devicePixelRatio}dppx)`),this._resolutionMediaMatchList.addListener(this._outerListener))}clearListener(){!this._resolutionMediaMatchList||!this._outerListener||(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._outerListener=void 0)}},T7e=class extends Lt{constructor(){super(),this.linkProviders=[],this._register(In(()=>this.linkProviders.length=0))}registerLinkProvider(t){return this.linkProviders.push(t),{dispose:()=>{let e=this.linkProviders.indexOf(t);e!==-1&&this.linkProviders.splice(e,1)}}}};function N5(t,e,n){let r=n.getBoundingClientRect(),i=t.getComputedStyle(n),s=parseInt(i.getPropertyValue("padding-left")),a=parseInt(i.getPropertyValue("padding-top"));return[e.clientX-r.left-s,e.clientY-r.top-a]}function A7e(t,e,n,r,i,s,a,o,l){if(!s)return;let c=N5(t,e,n);if(c)return c[0]=Math.ceil((c[0]+(l?a/2:0))/a),c[1]=Math.ceil(c[1]/o),c[0]=Math.min(Math.max(c[0],1),r+(l?1:0)),c[1]=Math.min(Math.max(c[1],1),i),c}var JA=class{constructor(t,e){this._renderService=t,this._charSizeService=e}getCoords(t,e,n,r,i){return A7e(window,t,e,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.css.
103cell.width,this._renderService.dimensions.css.cell.height,i)}getMouseReportCoords(t,e){let n=N5(window,t,e);if(this._charSizeService.hasValidSize)return n[0]=Math.min(Math.max(n[0],0),this._renderService.dimensions.css.canvas.width-1),n[1]=Math.min(Math.max(n[1],0),this._renderService.dimensions.css.canvas.height-1),{col:Math.floor(n[0]/this._renderService.dimensions.css.cell.width),row:Math.floor(n[1]/this._renderService.dimensions.css.cell.height),x:Math.floor(n[0]),y:Math.floor(n[1])}}};JA=Kn([et(0,Wl),et(1,t_)],JA);var R7e=class{constructor(t,e){this._renderCallback=t,this._coreBrowserService=e,this._refreshCallbacks=[]}dispose(){this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}addRefreshCallback(t){return this._refreshCallbacks.push(t),this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>this._innerRefresh())),this._animationFrame}refresh(t,e,n){this._rowCount=n,t=t!==void 0?t:0,e=e!==void 0?e:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,t):t,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,e):e,!this._animationFrame&&(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>this._innerRefresh()))}_innerRefresh(){if(this._animationFrame=void 0,this._rowStart===void 0||this._rowEnd===void 0||this._rowCount===void 0){this._runRefreshCallbacks();return}let t=Math.max(this._rowStart,0),e=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(t,e),this._runRefreshCallbacks()}_runRefreshCallbacks(){for(let t of this._refreshCallbacks)t(0);this._refreshCallbacks=[]}},Lte={};zLe(Lte,{getSafariVersion:()=>O7e,isChromeOS:()=>zte,isFirefox:()=>Bte,isIpad:()=>I7e,isIphone:()=>D7e,isLegacyEdge:()=>N7e,isLinux:()=>O5,isMac:()=>Bw,isNode:()=>n_,isSafari:()=>Pte,isWindows:()=>Fte});var n_=typeof process<"u"&&"title"in process,J0=n_?"node":navigator.userAgent,eb=n_?"node":navigator.platform,Bte=J0.includes("Firefox"),N7e=J0.includes("Edge"),Pte=/^((?!chrome|android).)*safari/i.test(J0);function O7e(){if(!Pte)return 0;let t=J0.match(/Version\/(\d+)/);return t===null||t.length<2?0:parseInt(t[1])}var Bw=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(eb),I7e=eb==="iPad",D7e=eb==="iPhone",Fte=["Windows","Win16","Win32","WinCE"].includes(eb),O5=eb.indexOf("Linux")>=0,zte=/\bCrOS\b/.test(J0),Ute=class{constructor(){this._tasks=[],this._i=0}enqueue(t){this._tasks.push(t),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(t){this._idleCallback=void 0;let e=0,n=0,r=t.timeRemaining(),i=0;for(;this._i<this._tasks.length;){if(e=performance.now(),this._tasks[this._i]()||this._i++,e=Math.max(1,performance.now()-e),n=Math.max(e,n),i=t.timeRemaining(),n*1.5>i){r-e<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(r-e))}ms`),this._start();return}r=i}this.clear()}},M7e=class extends Ute{_requestCallback(t){return setTimeout(()=>t(this._createDeadline(16)))}_cancelCallback(t){clearTimeout(t)}_createDeadline(t){let e=performance.now()+t;return{timeRemaining:()=>Math.max(0,e-performance.now())}}},L7e=class extends Ute{_requestCallback(t){return requestIdleCallback(t)}_cancelCallback(t){cancelIdleCallback(t)}},Pw=!n_&&"requestIdleCallback"in window?L7e:M7e,B7e=class{constructor(){this._queue=new Pw}set(t){this._queue.clear(),this._queue.enqueue(t)}flush(){this._queue.flush()}},e4=class extends Lt{constructor(t,e,n,r,i,s,a,o,l){super(),this._rowCount=t,this._optionsService=n,this._charSizeService=r,this._coreService=i,this._coreBrowserService=o,this._renderer=this._register(new rp),this._pausedResizeTask=new B7e,this._observerDisposable=this._register(new rp),this._isPaused=!1,this._needsFullRefresh=!1,this._isNextRenderRedrawOnly=!0,this._needsSelectionRefresh=!1,this._canvasWidth=0,this._canvasHeight=0,this._selectionState={start:void 0,end:void 0,columnSelectMode:!1},this._onDimensionsChange=this._register(new Ve),this.onDimensionsChange=this._onDimensionsChange.event,this._onRenderedViewportChange=this._register(new Ve),this.onRenderedViewportChange=this._onRenderedViewportChange.event,this._onRender=this._register(new Ve),this.onRender=this._onRender.event,this._onRefreshRequest=this._register(new Ve),this.onRefreshRequest=this._onRefreshRequest.event,this._renderDebouncer=new R7e((c,d)=>this._renderRows(c,d),this._coreBrowserService),this._register(this._renderDebouncer),this._syncOutputHandler=new P7e(this._coreBrowserService,this._coreService,()=>this._fullRefresh()),this._register(In(()=>this._syncOutputHandler.dispose())),this._register(this._coreBrowserService.onDprChange(()=>this.handleDevicePixelRatioChange())),this._register(a.onResize(()=>
103this._fullRefresh())),this._register(a.buffers.onBufferActivate(()=>this._renderer.value?.clear())),this._register(this._optionsService.onOptionChange(()=>this._handleOptionsChanged())),this._register(this._charSizeService.onCharSizeChange(()=>this.handleCharSizeChanged())),this._register(s.onDecorationRegistered(()=>this._fullRefresh())),this._register(s.onDecorationRemoved(()=>this._fullRefresh())),this._register(this._optionsService.onMultipleOptionChange(["customGlyphs","drawBoldTextInBrightColors","letterSpacing","lineHeight","fontFamily","fontSize","fontWeight","fontWeightBold","minimumContrastRatio","rescaleOverlappingGlyphs"],()=>{this.clear(),this.handleResize(a.cols,a.rows),this._fullRefresh()})),this._register(this._optionsService.onMultipleOptionChange(["cursorBlink","cursorStyle"],()=>this.refreshRows(a.buffer.y,a.buffer.y,!0))),this._register(l.onChangeColors(()=>this._fullRefresh())),this._registerIntersectionObserver(this._coreBrowserService.window,e),this._register(this._coreBrowserService.onWindowChange(c=>this._registerIntersectionObserver(c,e)))}get dimensions(){return this._renderer.value.dimensions}_registerIntersectionObserver(t,e){if("IntersectionObserver"in t){let n=new t.IntersectionObserver(r=>this._handleIntersectionChange(r[r.length-1]),{threshold:0});n.observe(e),this._observerDisposable.value=In(()=>n.disconnect())}}_handleIntersectionChange(t){this._isPaused=t.isIntersecting===void 0?t.intersectionRatio===0:!t.isIntersecting,!this._isPaused&&!this._charSizeService.hasValidSize&&this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this._pausedResizeTask.flush(),this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)}refreshRows(t,e,n=!1){if(this._isPaused){this._needsFullRefresh=!0;return}if(this._coreService.decPrivateModes.synchronizedOutput){this._syncOutputHandler.bufferRows(t,e);return}let r=this._syncOutputHandler.flush();r&&(t=Math.min(t,r.start),e=Math.max(e,r.end)),n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(t,e,this._rowCount)}_renderRows(t,e){if(this._renderer.value){if(this._coreService.decPrivateModes.synchronizedOutput){this._syncOutputHandler.bufferRows(t,e);return}t=Math.min(t,this._rowCount-1),e=Math.min(e,this._rowCount-1),this._renderer.value.renderRows(t,e),this._needsSelectionRefresh&&(this._renderer.value.handleSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:t,end:e}),this._onRender.fire({start:t,end:e}),this._isNextRenderRedrawOnly=!0}}resize(t,e){this._rowCount=e,this._fireOnCanvasResize()}_handleOptionsChanged(){this._renderer.value&&(this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize())}_fireOnCanvasResize(){this._renderer.value&&(this._renderer.value.dimensions.css.canvas.width===this._canvasWidth&&this._renderer.value.dimensions.css.canvas.height===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.value.dimensions))}hasRenderer(){return!!this._renderer.value}setRenderer(t){this._renderer.value=t,this._renderer.value&&(this._renderer.value.onRequestRedraw(e=>this.refreshRows(e.start,e.end,!0)),this._needsSelectionRefresh=!0,this._fullRefresh())}addRefreshCallback(t){return this._renderDebouncer.addRefreshCallback(t)}_fullRefresh(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)}clearTextureAtlas(){this._renderer.value&&(this._renderer.value.clearTextureAtlas?.(),this._fullRefresh())}handleDevicePixelRatioChange(){this._charSizeService.measure(),this._renderer.value&&(this._renderer.value.handleDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1))}handleResize(t,e){this._renderer.value&&(this._isPaused?this._pausedResizeTask.set(()=>this._renderer.value?.handleResize(t,e)):this._renderer.value.handleResize(t,e),this._fullRefresh())}handleCharSizeChanged(){this._renderer.value?.handleCharSizeChanged()}handleBlur(){this._renderer.value?.handleBlur()}handleFocus(){this._renderer.value?.handleFocus()}handleSelectionChanged(t,e,n){this._selectionState.start=t,this._selectionState.end=e,this._selectionState.columnSelectMode=n,this._renderer.value?.handleSelectionChanged(t,e,n)}handleCursorMove(){this._renderer.value?.handleCursorMove()}clear(){this._renderer.value?.clear()}};e4=Kn([et(2,Hi),et(3,t_),et(4,Zd),et(5,Q0),et(6,ji),et(7,ql),et(8,Cp)],e4);var P7e=class{constructor(t,e,n){this._coreBrowserService=t,this._coreService=e,this._onTimeout=n,this._start=0,this._end=0,this._isBuffering=!1}bufferRows(t,e){this._isBuffering?(this._start=Math.min(this._start,t),this._end=Math.max(this._end,e)):(this._start=t,this._end=e,this._isBuffering=!0),this._timeout===void 0&&(this._timeout=this._coreBrowserService.window.setTimeout(()=>{this._timeout=void 0,this._coreService.decPrivateModes.synchronizedOutput=!1,this._onTimeout()},1e3))}flush(){if(this._timeout!==void 0&&(this._coreBrowserService.window.clearTimeout(this._timeout),this._timeout=void 0),!this._isBuffering)return;let t={start:this._start,end:this._end};return this._isBuffering=!1,t}dispose(){this._timeout!==void 0&&(this._coreBrowserService.window.clearTimeout(this._timeout),this._timeout=void 0)}};function F7e(t,e,n,r){let i=n.buffer.x,s=n.buffer.y;if(!n.buffer.hasScrollback)return j7e(i,s,t,e,n,r)+r_(s,e,n,r)+H7e(i,s,t,e,n,r);let a;if(s===e)return a=i>t?"D":"C",l0(Math.abs(i-t),o0(a,r));a=s>e?"D":"C";let o=Math.abs(s-e),l=U7e(s>e?t:i,n)+(o-1)*n.cols+1+z7e(s>e?i:t);return l0(l,o0(a,r))}function z7e(t,e){return t-1}function U7e(t,e){return e.cols-t}function j7e(t,e,n,r,i,s){return r_(e,r,i,s).length===0?"":l0(Hte(t,e,t,e-Hd(e,i),!1,i).length,o0("D",s))}function r_(t,e,n,r){let i=t-Hd(t,n),s=e-Hd(e,n),a=Math.abs(i-s)-$7e(t,e,n);return l0(a,o0(jte(t,e),r))}function H7e(t,e,n,r,i,s){let a;r_(e,r,i,s).length>0?a=r-Hd(r,i):a=e;let o=r,l=V7e(t,e,n,r,i,s);return l0(Hte(t,a,n,o,l==="C",i).length,o0(l,s))}function $7e(t,e,n){let r=0,i=t-Hd(t,n),s=e-Hd(e,n);for(let a=0;a<Math.abs(i-s);a++){let o=jte(t,e)==="A"?-1:1;n.buffer.lines.get(i+o*a)?.isWrapped&&r++}return r}function Hd(t,e){let n=0,r=e.buffer.lines.get(t),i=r?.isWrapped;for(;i&&t>=0&&t<e.rows;)n++,r=e.buffer.lines.get(--t),i=r?.isWrapped;return n}function V7e(t,e,n,r,i,s){let a;return r_(n,r,i,s).length>0?a=r-Hd(r,i):a=e,t<n&&a<=r||t>=n&&a<r?"C":"D"}function jte(t,e){return t>e?"A":"B"}function Hte(t,e,n,r,i,s){let a=t,o=e,l="";for(;(a!==n||o!==r)&&o>=0&&o<s.buffer.lines.length;)a+=i?1:-1,i&&a>s.cols-1?(l+=s.buffer.translateBufferLineToString(o,!1,t,a),a=0,t=0,o++):!i&&a<0&&(l+=s.buffer.translateBufferLineToString(o,!1,0,t+1),a=s.cols-1,t=a,o--);return l+s.buffer.translateBufferLineToString(o,!1,t,a)}function o0(t,e){let n=e?"O":"[";return Ne.ESC+n+t}function l0(t,e){t=Math.floor(t);let n="";for(let r=0;r<t;r++)n+=e;return n}var G7e=class{constructor(t){this._bufferService=t,this.isSelectAllActive=!1,this.selectionStartLength=0}clearSelection(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0}get finalSelectionStart(){return this.isSelectAllActive?[0,0]:!this.selectionEnd||!this.selectionStart?this.selectionStart:this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart}get finalSelectionEnd(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){let t=this.selectionStart[0]+this.selectionStartLength;return t>this._bufferService.cols?t%this._bufferService.cols===0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(t/this._bufferService.cols)-1]:[t%this._bufferService.cols,this.selectionStart[1]+Math.floor(t/this._bufferService.cols)]:[t,this.selectionStart[1]]}if(this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]){let t=this.selectionStart[0]+this.selectionStartLength;return t>this._bufferService.cols?[t%this._bufferService.cols,this.selectionStart[1]+Math.floor(t/this._bufferService.cols)]:[Math.max(t,this.selectionEnd[0]),this.selectionEnd[1]]}return this.selectionEnd}}areSelectionValuesReversed(){let t=this.selectionStart,e=this.selectionEnd;return!t||!e?!1:t[1]>e[1]||t[1]===e[1]&&t[0]>e[0]}handleTrim(t){return this.selectionStart&&(this.selectionStart[1]-=t),this.selectionEnd&&(this.selectionEnd[1]-=t),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)}};function iH(t,e){if(t.start.y>t.end.y)throw new Error(`Buffer range end (${t.end.x}, ${t.end.y}) cannot be before start (${t.start.x}, ${t.start.y})`);return e*(t.end.y-t.start.y)+(t.end.x-t.start.x+1)}var Rk=50,q7e=15,W7e=50,K7e=500,Y7e=" ",X7e=new RegExp(Y7e,"g"),t4=class extends Lt{constructor(t,e,n,r,i,s,a,o,l){super(),this._element=t,this._screenElement=e,this._linkifier=n,this._bufferService=r,this._coreService=i,this._mouseService=s,this._optionsService=a,this._renderService=o,this._coreBrowserService=l,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new Sa,this._mouseDownTimeStamp=0,this._oldHasSelection=!1,this._oldSelectionStart=void 0,this._oldSelectionEnd=void 0,this._onLinuxMouseSelection=this._register(new Ve),this.onLinuxMouseSelection=this._onLinuxMouseSelection.event,this._onRedrawRequest=this._register(new Ve),this.onRequestRedraw=this._onRedrawRequest.event,this._onSelectionChange=this._register(new Ve),this.onSelectionChange=this._onSelectionChange.event,this._onRequestScrollLines=this._register(new Ve),this.onRequestScrollLines=this._onRequestScrollLines.event,this._mouseMoveListener=c=>this._handleMouseMove(c),this._mouseUpListener=c=>this._handleMouseUp(c),this._coreService.onUserInput(()=>{this.hasSelection&&this.clearSelection()}),this._trimListener=this._bufferService.buffer.lines.onTrim(c=>this._handleTrim(c)),this._register(this._bufferService.buffers.onBufferActivate(c=>this._handleBufferActivate(c))),this.enable(),this._model=new G7e(this._bufferService),this._activeSelectionMode=0,this._register(In(()=>{this._removeMouseDownListeners()})),this._register(this._bufferService.onResize(c=>{c.rowsChanged&&this.clearSelection()}))}reset(){this.clearSelection()}disable(){this.clearSelection(),this._enabled=!1}enable(){this._enabled=!0}get selectionStart(){return this._model.finalSelectionStart}get selectionEnd(){return this._model.finalSelectionEnd}get hasSelection(){let t=this._model.finalSelectionStart,e=this._model.finalSelectionEnd;return!t||!e?!1:t[0]!==e[0]||t[1]!==e[1]}get selectionText(){let t=this._model.finalSelectionStart,e=this._model.finalSelectionEnd;if(!t||!e)return"";let n=this._bufferService.buffer,r=[];if(this._activeSelectionMode===3){if(t[0]===e[0])return"";let i=t[0]<e[0]?t[0]:e[0],s=t[0]<e[0]?e[0]:t[0];for(let a=t[1];a<=e[1];a++){let o=n.translateBufferLineToString(a,!0,i,s);r.push(o)}}else{let i=t[1]===e[1]?e[0]:void 0;
103r.push(n.translateBufferLineToString(t[1],!0,t[0],i));for(let s=t[1]+1;s<=e[1]-1;s++){let a=n.lines.get(s),o=n.translateBufferLineToString(s,!0);a?.isWrapped?r[r.length-1]+=o:r.push(o)}if(t[1]!==e[1]){let s=n.lines.get(e[1]),a=n.translateBufferLineToString(e[1],!0,0,e[0]);s&&s.isWrapped?r[r.length-1]+=a:r.push(a)}}return r.map(i=>i.replace(X7e," ")).join(Fte?`\r
104`:`
105`)}clearSelection(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()}refresh(t){this._refreshAnimationFrame||(this._refreshAnimationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>this._refresh())),O5&&t&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)}_refresh(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})}_isClickInSelection(t){let e=this._getMouseBufferCoords(t),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!n||!r||!e?!1:this._areCoordsInSelection(e,n,r)}isCellInSelection(t,e){let n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!n||!r?!1:this._areCoordsInSelection([t,e],n,r)}_areCoordsInSelection(t,e,n){return t[1]>e[1]&&t[1]<n[1]||e[1]===n[1]&&t[1]===e[1]&&t[0]>=e[0]&&t[0]<n[0]||e[1]<n[1]&&t[1]===n[1]&&t[0]<n[0]||e[1]<n[1]&&t[1]===e[1]&&t[0]>=e[0]}_selectWordAtCursor(t,e){let n=this._linkifier.currentLink?.link?.range;if(n)return this._model.selectionStart=[n.start.x-1,n.start.y-1],this._model.selectionStartLength=iH(n,this._bufferService.cols),this._model.selectionEnd=void 0,!0;let r=this._getMouseBufferCoords(t);return r?(this._selectWordAt(r,e),this._model.selectionEnd=void 0,!0):!1}selectAll(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()}selectLines(t,e){this._model.clearSelection(),t=Math.max(t,0),e=Math.min(e,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,t],this._model.selectionEnd=[this._bufferService.cols,e],this.refresh(),this._onSelectionChange.fire()}_handleTrim(t){this._model.handleTrim(t)&&this.refresh()}_getMouseBufferCoords(t){let e=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(e)return e[0]--,e[1]--,e[1]+=this._bufferService.buffer.ydisp,e}_getMouseEventScrollAmount(t){let e=N5(this._coreBrowserService.window,t,this._screenElement)[1],n=this._renderService.dimensions.css.canvas.height;return e>=0&&e<=n?0:(e>n&&(e-=n),e=Math.min(Math.max(e,-Rk),Rk),e/=Rk,e/Math.abs(e)+Math.round(e*(q7e-1)))}
105shouldForceSelection(t){return Bw?t.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:t.shiftKey}handleMouseDown(t){if(this._mouseDownTimeStamp=t.timeStamp,!(t.button===2&&this.hasSelection)&&t.button===0){if(!this._enabled){if(!this.shouldForceSelection(t))return;t.stopPropagation()}t.preventDefault(),this._dragScrollAmount=0,this._enabled&&t.shiftKey?this._handleIncrementalClick(t):t.detail===1?this._handleSingleClick(t):t.detail===2?this._handleDoubleClick(t):t.detail===3&&this._handleTripleClick(t),this._addMouseDownListeners(),this.refresh(!0)}}_addMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=this._coreBrowserService.window.setInterval(()=>this._dragScroll(),W7e)}_removeMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),this._coreBrowserService.window.clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0}_handleIncrementalClick(t){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(t))}_handleSingleClick(t){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(t)?3:0,this._model.selectionStart=this._getMouseBufferCoords(t),!this._model.selectionStart)return;this._model.selectionEnd=void 0;let e=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);e&&e.length!==this._model.selectionStart[0]&&e.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}_handleDoubleClick(t){this._selectWordAtCursor(t,!0)&&(this._activeSelectionMode=1)}_handleTripleClick(t){let e=this._getMouseBufferCoords(t);e&&(this._activeSelectionMode=2,this._selectLineAt(e[1]))}shouldColumnSelect(t){return t.altKey&&!(Bw&&this._optionsService.rawOptions.macOptionClickForcesSelection)}_handleMouseMove(t){if(t.stopImmediatePropagation(),!this._model.selectionStart)return;let e=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(t),!this._model.selectionEnd){this.refresh(!0);return}this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(t),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));let n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){let r=n.lines.get(this._model.selectionEnd[1]);r&&r.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]<this._bufferService.cols&&this._model.selectionEnd[0]++}(!e||e[0]!==this._model.selectionEnd[0]||e[1]!==this._model.selectionEnd[1])&&this.refresh(!0)}_dragScroll(){if(!(!this._model.selectionEnd||!this._model.selectionStart)&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});let t=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(t.ydisp+this._bufferService.rows,t.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=t.ydisp),this.refresh()}}_handleMouseUp(t){let e=t.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&e<K7e&&t.altKey&&this._optionsService.rawOptions.altClickMovesCursor){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){let n=this._mouseService.getCoords(t,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&n[0]!==void 0&&n[1]!==void 0){let r=F7e(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(r,!0)}}}else this._fireEventIfSelectionChanged()}_fireEventIfSelectionChanged(){let t=this._model.finalSelectionStart,e=this._model.finalSelectionEnd,n=!!t&&!!e&&(t[0]!==e[0]||t[1]!==e[1]);if(!n){this._oldHasSelection&&this._fireOnSelectionChange(t,e,n);return}!t||!e||(!this._oldSelectionStart||!this._oldSelectionEnd||t[0]!==this._oldSelectionStart[0]||t[1]!==this._oldSelectionStart[1]||e[0]!==this._oldSelectionEnd[0]||e[1]!==this._oldSelectionEnd[1])&&this._fireOnSelectionChange(t,e,n)}_fireOnSelectionChange(t,e,n){this._oldSelectionStart=t,this._oldSelectionEnd=e,this._oldHasSelection=n,this._onSelectionChange.fire()}_handleBufferActivate(t){this.clearSelection(),this._trimListener.dispose(),this._trimListener=t.activeBuffer.lines.onTrim(e=>this._handleTrim(e))}_convertViewportColToCharacterIndex(t,e){let n=e;for(let r=0;e>=r;r++){let i=t.loadCell(r,this._workCell).getChars().length;this._workCell.getWidth()===0?n--:i>1&&e!==r&&(n+=i-1)}return n}setSelection(t,e,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[t,e],this._model.selectionStartLength=n,this.refresh(),this._fireEventIfSelectionChanged()}
105rightClickSelect(t){this._isClickInSelection(t)||(this._selectWordAtCursor(t,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())}_getWordAt(t,e,n=!0,r=!0){if(t[0]>=this._bufferService.cols)return;let i=this._bufferService.buffer,s=i.lines.get(t[1]);if(!s)return;let a=i.translateBufferLineToString(t[1],!1),o=this._convertViewportColToCharacterIndex(s,t[0]),l=o,c=t[0]-o,d=0,f=0,p=0,g=0;if(a.charAt(o)===" "){for(;o>0&&a.charAt(o-1)===" ";)o--;for(;l<a.length&&a.charAt(l+1)===" ";)l++}else{let w=t[0],S=t[0];s.getWidth(w)===0&&(d++,w--),s.getWidth(S)===2&&(f++,S++);let _=s.getString(S).length;for(_>1&&(g+=_-1,l+=_-1);w>0&&o>0&&!this._isCharWordSeparator(s.loadCell(w-1,this._workCell));){s.loadCell(w-1,this._workCell);let E=this._workCell.getChars().length;this._workCell.getWidth()===0?(d++,w--):E>1&&(p+=E-1,o-=E-1),o--,w--}for(;S<s.length&&l+1<a.length&&!this._isCharWordSeparator(s.loadCell(S+1,this._workCell));){s.loadCell(S+1,this._workCell);let E=this._workCell.getChars().length;this._workCell.getWidth()===2?(f++,S++):E>1&&(g+=E-1,l+=E-1),l++,S++}}l++;let b=o+c-d+p,y=Math.min(this._bufferService.cols,l-o+d+f-p-g);if(!(!e&&a.slice(o,l).trim()==="")){if(n&&b===0&&s.getCodePoint(0)!==32){let w=i.lines.get(t[1]-1);if(w&&s.isWrapped&&w.getCodePoint(this._bufferService.cols-1)!==32){let S=this._getWordAt([this._bufferService.cols-1,t[1]-1],!1,!0,!1);if(S){let _=this._bufferService.cols-S.start;b-=_,y+=_}}}if(r&&b+y===this._bufferService.cols&&s.getCodePoint(this._bufferService.cols-1)!==32){let w=i.lines.get(t[1]+1);if(w?.isWrapped&&w.getCodePoint(0)!==32){let S=this._getWordAt([0,t[1]+1],!1,!1,!0);S&&(y+=S.length)}}return{start:b,length:y}}}_selectWordAt(t,e){let n=this._getWordAt(t,e);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,t[1]--;this._model.selectionStart=[n.start,t[1]],this._model.selectionStartLength=n.length}}_selectToWordAt(t){let e=this._getWordAt(t,!0);if(e){let n=t[1];for(;e.start<0;)e.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;e.start+e.length>this._bufferService.cols;)e.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?e.start:e.start+e.length,n]}}_isCharWordSeparator(t){return t.getWidth()===0?!1:this._optionsService.rawOptions.wordSeparator.indexOf(t.getChars())>=0}_selectLineAt(t){let e=this._bufferService.buffer.getWrappedRangeForLine(t),n={start:{x:0,y:e.first},end:{x:this._bufferService.cols-1,y:e.last}};this._model.selectionStart=[0,e.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=iH(n,this._bufferService.cols)}};t4=Kn([et(3,ji),et(4,Zd),et(5,x5),et(6,Hi),et(7,Wl),et(8,ql)],t4);var sH=class{constructor(){this._data={}}set(t,e,n){this._data[t]||(this._data[t]={}),this._data[t][e]=n}get(t,e){return this._data[t]?this._data[t][e]:void 0}clear(){this._data={}}},aH=class{constructor(){this._color=new sH,this._css=new sH}setCss(t,e,n){this._css.set(t,e,n)}getCss(t,e){return this._css.get(t,e)}setColor(t,e,n){this._color.set(t,e,n)}getColor(t,e){return this._color.get(t,e)}clear(){this._color.clear(),this._css.clear()}},vr=Object.freeze((()=>{let t=[Pn.toColor("#2e3436"),Pn.toColor("#cc0000"),Pn.toColor("#4e9a06"),Pn.toColor("#c4a000"),Pn.toColor("#3465a4"),Pn.toColor("#75507b"),Pn.toColor("#06989a"),Pn.toColor("#d3d7cf"),Pn.toColor("#555753"),Pn.toColor("#ef2929"),Pn.toColor("#8ae234"),Pn.toColor("#fce94f"),Pn.toColor("#729fcf"),Pn.toColor("#ad7fa8"),Pn.toColor("#34e2e2"),Pn.toColor("#eeeeec")],e=[0,95,135,175,215,255];for(let n=0;n<216;n++){let r=e[n/36%6|0],i=e[n/6%6|0],s=e[n%6];t.push({css:ur.toCss(r,i,s),rgba:ur.toRgba(r,i,s)})}for(let n=0;n<24;n++){let r=8+n*10;t.push({css:ur.toCss(r,r,r),rgba:ur.toRgba(r,r,r)})}return t})()),Qu=Pn.toColor("#ffffff"),ng=Pn.toColor("#000000"),oH=Pn.toColor("#ffffff"),lH=ng,$m={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117},Z7e=Qu,n4=class extends Lt{constructor(t){super(),this._optionsService=t,this._contrastCache=new aH,this._halfContrastCache=new aH,this._onChangeColors=this._register(new Ve),this.onChangeColors=this._onChangeColors.event,this._colors={foreground:Qu,background:ng,cursor:oH,cursorAccent:lH,selectionForeground:void 0,selectionBackgroun
105dTransparent:$m,selectionBackgroundOpaque:Cn.blend(ng,$m),selectionInactiveBackgroundTransparent:$m,selectionInactiveBackgroundOpaque:Cn.blend(ng,$m),scrollbarSliderBackground:Cn.opacity(Qu,.2),scrollbarSliderHoverBackground:Cn.opacity(Qu,.4),scrollbarSliderActiveBackground:Cn.opacity(Qu,.5),overviewRulerBorder:Qu,ansi:vr.slice(),contrastCache:this._contrastCache,halfContrastCache:this._halfContrastCache},this._updateRestoreColors(),this._setTheme(this._optionsService.rawOptions.theme),this._register(this._optionsService.onSpecificOptionChange("minimumContrastRatio",()=>this._contrastCache.clear())),this._register(this._optionsService.onSpecificOptionChange("theme",()=>this._setTheme(this._optionsService.rawOptions.theme)))}get colors(){return this._colors}_setTheme(t={}){let e=this._colors;if(e.foreground=un(t.foreground,Qu),e.background=un(t.background,ng),e.cursor=Cn.blend(e.background,un(t.cursor,oH)),e.cursorAccent=Cn.blend(e.background,un(t.cursorAccent,lH)),e.selectionBackgroundTransparent=un(t.selectionBackground,$m),e.selectionBackgroundOpaque=Cn.blend(e.background,e.selectionBackgroundTransparent),e.selectionInactiveBackgroundTransparent=un(t.selectionInactiveBackground,e.selectionBackgroundTransparent),e.selectionInactiveBackgroundOpaque=Cn.blend(e.background,e.selectionInactiveBackgroundTransparent),e.selectionForeground=t.selectionForeground?un(t.selectionForeground,tH):void 0,e.selectionForeground===tH&&(e.selectionForeground=void 0),Cn.isOpaque(e.selectionBackgroundTransparent)&&(e.selectionBackgroundTransparent=Cn.opacity(e.selectionBackgroundTransparent,.3)),Cn.isOpaque(e.selectionInactiveBackgroundTransparent)&&(e.selectionInactiveBackgroundTransparent=Cn.opacity(e.selectionInactiveBackgroundTransparent,.3)),e.scrollbarSliderBackground=un(t.scrollbarSliderBackground,Cn.opacity(e.foreground,.2)),e.scrollbarSliderHoverBackground=un(t.scrollbarSliderHoverBackground,Cn.opacity(e.foreground,.4)),e.scrollbarSliderActiveBackground=un(t.scrollbarSliderActiveBackground,Cn.opacity(e.foreground,.5)),e.overviewRulerBorder=un(t.overviewRulerBorder,Z7e),e.ansi=vr.slice(),e.ansi[0]=un(t.black,vr[0]),e.ansi[1]=un(t.red,vr[1]),e.ansi[2]=un(t.green,vr[2]),e.ansi[3]=un(t.yellow,vr[3]),e.ansi[4]=un(t.blue,vr[4]),e.ansi[5]=un(t.magenta,vr[5]),e.ansi[6]=un(t.cyan,vr[6]),e.ansi[7]=un(t.white,vr[7]),e.ansi[8]=un(t.brightBlack,vr[8]),e.ansi[9]=un(t.brightRed,vr[9]),e.ansi[10]=un(t.brightGreen,vr[10]),e.ansi[11]=un(t.brightYellow,vr[11]),e.ansi[12]=un(t.brightBlue,vr[12]),e.ansi[13]=un(t.brightMagenta,vr[13]),e.ansi[14]=un(t.brightCyan,vr[14]),e.ansi[15]=un(t.brightWhite,vr[15]),t.extendedAnsi){let n=Math.min(e.ansi.length-16,t.extendedAnsi.length);for(let r=0;r<n;r++)e.ansi[r+16]=un(t.extendedAnsi[r],vr[r+16])}this._contrastCache.clear(),this._halfContrastCache.clear(),this._updateRestoreColors(),this._onChangeColors.fire(this.colors)}restoreColor(t){this._restoreColor(t),this._onChangeColors.fire(this.colors)}_restoreColor(t){if(t===void 0){for(let e=0;e<this._restoreColors.ansi.length;++e)this._colors.ansi[e]=this._restoreColors.ansi[e];return}switch(t){case 256:this._colors.foreground=this._restoreColors.foreground;break;case 257:this._colors.background=this._restoreColors.background;break;case 258:this._colors.cursor=this._restoreColors.cursor;break;default:this._colors.ansi[t]=this._restoreColors.ansi[t]}}modifyColors(t){t(this._colors),this._onChangeColors.fire(this.colors)}_updateRestoreColors(){this._restoreColors={foreground:this._colors.foreground,background:this._colors.background,cursor:this._colors.cursor,ansi:this._colors.ansi.slice()}}};n4=Kn([et(0,Hi)],n4);function un(t,e){if(t!==void 0)try{return Pn.toColor(t)}catch{}return e}var Q7e=class{constructor(...t){this._entries=new Map;for(let[e,n]of t)this.set(e,n)}set(t,e){let n=this._entries.get(t);return this._entries.set(t,e),n}forEach(t){for(let[e,n]of this._entries.entries())t(e,n)}has(t){return this._entries.has(t)}get(t){return this._entries.get(t)}},J7e=class{constructor(){this._services=new Q7e,this._services.set(_5,this)}setService(t,e){this._services.set(t,e)}getService(t){return this._services.get(t)}createInstance(t,...e){let n=qLe(t).sort((s,a)=>s.index-a.index),r=[];for(let s of n){let a=this._services.get(s.id);if(!a)throw new Error(`[createInstance] ${t.name} depends on UNKNOWN service ${s.id._id}.`);r.push(a)}let i=n.length>0?n[0].index:e.length;if(e.length!==i)throw new Error(`[createInstance] First service dependency of ${t.name} at position ${i+1} conflicts with ${e.length} static arguments`);return new t(...e,...r)}},e9e={trace:0,debug:1,info:2,warn:3,error:4,off:5},t9e="xterm.js: ",r4=class extends Lt{constructor(t){super(),this._optionsService=t,this._logLevel=5,this._updateLogLevel(),this._register(this._optionsService.onSpecificOptionChange("logLevel",()=>this._updateLogLevel()))}get logLevel(){return this._logLevel}_updateLogLevel(){this._logLevel=e9e[this._optionsService.rawOptions.logLevel]}_evalLazyOptionalParams(t){for(let e=0;e<t.length;e++)typeof t[e]=="function"&&(t[e]=t[e]())}_log(t,e,n){this._evalLazyOptionalParams(n),t.call(console,(this._optionsService.options.logger?"":t9e)+e,...n)}trace(t,...e){this._logLevel<=0&&this._log(this._optionsService.options.logger?.trace.bind(this._optionsService.options.logger)??console.log,t,e)}debug(t,...e){this._logLevel<=1&&this._log(this._optionsService.options.logger?.debug.bind(this._optionsService.options.logger)??console.log,t,e)}info(t,...e){this._logLevel<=2&&this._log(this._optionsService.options.logger?.info.bind(this._optionsService.options.logger)??console.info,t,e)}warn(t,...e){this._logLevel<=3&&this._log(this._optionsService.options.logger?.warn.bind(this._optionsService.options.logger)??console.warn,t,e)}error(t,...e){this._logLevel<=4&&this._log(this._optionsService.options.logger?.error.bind(this._optionsService.options.logger)??console.error,t,e)}};r4=Kn([et(0,Hi)],r4);var cH=class extends Lt{constructor(t){super(),this._maxLength=t,this.onDeleteEmitter=this._register(new Ve),this.onDelete=this.onDeleteEmitter.event,this.onInsertEmitter=this._register(new Ve),this.onInsert=this.onInsertEmitter.event,this.onTrimEmitter=this._register(new Ve),this.onTrim=this.onTrimEmitter.event,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}get maxLength(){return this._maxLength}set maxLength(t){if(this._maxLength===t)return;let e=new Array(t);for(let n=0;n<Math.min(t,this.length);n++)e[n]=this._array[this._getCyclicIndex(n)];this._array=e,this._maxLength=t,this._startIndex=0}get length(){return this._length}set length(t){if(t>this._length)for(let e=this._length;e<t;e++)this._array[e]=void 0;this._length=t}get(t){return this._array[this._getCyclicIndex(t)]}set(t,e){this._array[this._getCyclicIndex(t)]=e}push(t){this._array[this._getCyclicIndex(this._length)]=t,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.f
105ire(1)):this._length++}recycle(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]}get isFull(){return this._length===this._maxLength}pop(){return this._array[this._getCyclicIndex(this._length---1)]}splice(t,e,...n){if(e){for(let r=t;r<this._length-e;r++)this._array[this._getCyclicIndex(r)]=this._array[this._getCyclicIndex(r+e)];this._length-=e,this.onDeleteEmitter.fire({index:t,amount:e})}for(let r=this._length-1;r>=t;r--)this._array[this._getCyclicIndex(r+n.length)]=this._array[this._getCyclicIndex(r)];for(let r=0;r<n.length;r++)this._array[this._getCyclicIndex(t+r)]=n[r];if(n.length&&this.onInsertEmitter.fire({index:t,amount:n.length}),this._length+n.length>this._maxLength){let r=this._length+n.length-this._maxLength;this._startIndex+=r,this._length=this._maxLength,this.onTrimEmitter.fire(r)}else this._length+=n.length}trimStart(t){t>this._length&&(t=this._length),this._startIndex+=t,this._length-=t,this.onTrimEmitter.fire(t)}shiftElements(t,e,n){if(!(e<=0)){if(t<0||t>=this._length)throw new Error("start argument out of range");if(t+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(let i=e-1;i>=0;i--)this.set(t+i+n,this.get(t+i));let r=t+e+n-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(let r=0;r<e;r++)this.set(t+r+n,this.get(t+r))}}_getCyclicIndex(t){return(this._startIndex+t)%this._maxLength}},Dt=3,or=Object.freeze(new Z0),Av=0,Nk=2,rg=class $te{constructor(e,n,r=!1){this.isWrapped=r,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(e*Dt);let i=n||Sa.fromCharData([0,lte,1,0]);for(let s=0;s<e;++s)this.setCell(s,i);this.length=e}get(e){let n=this._data[e*Dt+0],r=n&2097151;return[this._data[e*Dt+1],n&2097152?this._combined[e]:r?Mc(r):"",n>>22,n&2097152?this._combined[e].charCodeAt(this._combined[e].length-1):r]}set(e,n){this._data[e*Dt+1]=n[0],n[1].length>1?(this._combined[e]=n[1],this._data[e*Dt+0]=e|2097152|n[2]<<22):this._data[e*Dt+0]=n[1].charCodeAt(0)|n[2]<<22}getWidth(e){return this._data[e*Dt+0]>>22}hasWidth(e){return this._data[e*Dt+0]&12582912}getFg(e){return this._data[e*Dt+1]}getBg(e){return this._data[e*Dt+2]}hasContent(e){return this._data[e*Dt+0]&4194303}getCodePoint(e){let n=this._data[e*Dt+0];return n&2097152?this._combined[e].charCodeAt(this._combined[e].length-1):n&2097151}isCombined(e){return this._data[e*Dt+0]&2097152}getString(e){let n=this._data[e*Dt+0];return n&2097152?this._combined[e]:n&2097151?Mc(n&2097151):""}isProtected(e){return this._data[e*Dt+2]&536870912}loadCell(e,n){return Av=e*Dt,n.content=this._data[Av+0],n.fg=this._data[Av+1],n.bg=this._data[Av+2],n.content&2097152&&(n.combinedData=this._combined[e]),n.bg&268435456&&(n.extended=this._extendedAttrs[e]),n}setCell(e,n){n.content&2097152&&(this._combined[e]=n.combinedData),n.bg&268435456&&(this._extendedAttrs[e]=n.extended),this._data[e*Dt+0]=n.content,this._data[e*Dt+1]=n.fg,this._data[e*Dt+2]=n.bg}setCellFromCodepoint(e,n,r,i){i.bg&268435456&&(this._extendedAttrs[e]=i.extended),this._data[e*Dt+0]=n|r<<22,this._data[e*Dt+1]=i.fg,this._data[e*Dt+2]=i.bg}addCodepointToCell(e,n,r){let i=this._data[e*Dt+0];i&2097152?this._combined[e]+=Mc(n):i&2097151?(this._combined[e]=Mc(i&2097151)+Mc(n),i&=-2097152,i|=2097152):i=n|1<<22,r&&(i&=-12582913,i|=r<<22),this._data[e*Dt+0]=i}insertCells(e,n,r){if(e%=this.length,e&&this.getWidth(e-1)===2&&this.setCellFromCodepoint(e-1,0,1,r),n<this.length-e){let i=new Sa;for(let s=this.length-e-n-1;s>=0;--s)this.setCell(e+n+s,this.loadCell(e+s,i));for(let s=0;s<n;++s)this.setCell(e+s,r)}else for(let i=e;i<this.length;++i)this.setCell(i,r);this.getWidth(this.length-1)===2&&this.setCellFromCodepoint(this.length-1,0,1,r)}deleteCells(e,n,r){if(e%=this.length,n<this.length-e){let i=new Sa;for(let s=0;s<this.length-e-n;++s)this.setCell(e+s,this.loadCell(e+n+s,i));for(let s=this.length-n;s<this.length;++s)this.setCell(s,r)}else for(let i=e;i<this.length;++i)this.setCell(i,r);e&&this.getWidth(e-1)===2&&this.setCellFromCodepoint(e-1,0,1,r),this.getWidth(e)===0&&!this.hasContent(e)&&this.setCellFromCodepoint(e,0,1,r)}replaceCells(e,n,r,i=!1){if(i){for(e&&this.getWidth(e-1)===2&&!this.isProtected(e-1)&&this.setCellFromCodepoint(e-1,0,1,r),n<this.length&&this.getWidth(n-1)===2&&!this.isProtected(n)&&this.setCellFromCodepoint(n,0,1,r);e<n&&e<this.length;)this.isProtected(e)||this.setCell(e,r),e++;return}for(e&&this.getWidth(e-1)===2&&this.setCellFromCodepoint(e-1,0,1,r),n<this.length&&this.getWidth(n-1)===2&&this.setCellFromCodepoint(n,0,1,r);e<n&&e<this.length;)this.setCell(e++,r)}resize(e,n){if(e===this.length)return this._data.length*4*Nk<this._data.buffer.byteLength;let r=e*Dt;if(e>this.length){if(this._data.buffer.byteLength>=r*4)this._data=new Uint32Array(this._data.buffer,0,r);else{let i=new Uint32Array(r);i.set(this._data),this._data=i}for(let i=this.length;i<e;++i)this.setCell(i,n)}else{this._data=this._data.subarray(0,r);let i=Object.keys(this._combined);for(let a=0;a<i.length;a++){let o=parseInt(i[a],10);o>=e&&delete this._combined[o]}let s=Object.keys(this._extendedAttrs);for(let a=0;a<s.length;a++){let o=parseInt(s[a],10);o>=e&&delete this._extendedAttrs[o]}}return this.length=e,r*4*Nk<this._data.buffer.byteLength}cleanupMemory(){if(this._data.length*4*Nk<this._data.buffer.byteLength){let e=new Uint32Array(this._data.length);return e.set(this._data),this._data=e,1}return 0}fill(e,n=!1){if(n){for(let r=0;r<this.length;++r)this.isProtected(r)||this.setCell(r,e);return}this._combined={},this._extendedAttrs={};for(let r=0;r<this.length;++r)this.setCell(r,e)}copyFrom(e){this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={};for(let n in e._combined)this._combined[n]=e._combined[n];this._extendedAttrs={};for(let n in e._extendedAttrs)this._extendedAttrs[n]=e._extendedAttrs[n];this.isWrapped=e.isWrapped}clone(){let e=new $te(0);e._data=new Uint32Array(this._data),e.length=this.length;for(let n in this._combined)e._combined[n]=this._combined[n];for(let n in this._extendedAttrs)e._extendedAttrs[n]=this._extendedAttrs[n];return e.isWrapped=this.isWrapped,e}getTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(this._data[e*Dt+0]&4194303)return e+(this._data[e*Dt+0]>>22);return 0}getNoBgTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(this._data[e*Dt+0]&4194303||this._data[e*Dt+2]&50331648)return e+(this._data[e*Dt+0]>>22);return 0}copyCellsFrom(e,n,r,i,s){let a=e._data;if(s)for(let l=i-1;l>=0;l--){for(let c=0;c<Dt;c++)this._data[(r+l)*Dt+c]=a[(n+l)*Dt+c];a[(n+l)*Dt+2]&268435456&&(this._extendedAttrs[r+l]=e._extendedAttrs[n+l])}else for(let l=0;l<i;l++){for(let c=0;c<Dt;c++)this._data[(r+l)*Dt+c]=a[(n+l)*Dt+c];a[(n+l)*Dt+2]&268435456&&(this._extendedAttrs[r+l]=e._extendedAttrs[n+l])}let o=Object.keys(e._combined);for(let l=0;l<o.length;l++){let c=parseInt(o[l],10);c>=n&&(this._combined[c-n+r]=e._combined[c])}}translateToString(e,n,r,i){n=n??0,r=r??this.length,e&&(r=Math.min(r,this.getTrimmedLength())),i&&(i.length=0);let s="";for(;n<r;){let a=this._data[n*Dt+0],o=a&2097151,l=a&2097152?this._combined[n]:o?Mc(o):Uc;if(s+=l,i)for(let c=0;c<l.length;++c)i.push(n);n+=a>>22||1}return i&&i.push(n),s}};function n9e(t,e,n,r,i,s){let a=[];for(let o=0;o<t.length-1;o++){let l=o,c=t.get(++l);if(!c.isWrapped)continue;let d=[t.get(o)];for(;l<t.length&&c.isWrapped;)d.push(c),c=t.get(++l);if(!s&&r>=o&&r<l){o+=d.length-1;continue}let f=0,p=c0(d,f,e),g=1,b=0;for(;g<d.length;){let w=c0(d,g,e),S=w-b,_=n-p,E=Math.min(S,_);d[f].copyCellsFrom(d[g],b,p,E,!1),p+=E,p===n&&(f++,p=0),b+=E,b===w&&(g++,b=0),p===0&&f!==0&&d[f-1].getWidth(n-1)===2&&(d[f].copyCellsFrom(d[f-1],n-1,p++,1,!1),d[f-1].setCell(n-1,i))}d[f].replaceCells(p,n,i);let y=0;for(let w=d.length-1;w>0&&(w>f||d[w].getTrimmedLength()===0);w--)y++;y>0&&(a.push(o+d.length-y),a.push(y)),o+=d.length-1}return a}function r9e(t,e){let n=[],r=0,i=e[r],s=0;for(let a=0;a<t.length;a++)if(i===a){let o=e[++r];
105t.onDeleteEmitter.fire({index:a-s,amount:o}),a+=o-1,s+=o,i=e[++r]}else n.push(a);return{layout:n,countRemoved:s}}function i9e(t,e){let n=[];for(let r=0;r<e.length;r++)n.push(t.get(e[r]));for(let r=0;r<n.length;r++)t.set(r,n[r]);t.length=e.length}function s9e(t,e,n){let r=[],i=t.map((l,c)=>c0(t,c,e)).reduce((l,c)=>l+c),s=0,a=0,o=0;for(;o<i;){if(i-o<n){r.push(i-o);break}s+=n;let l=c0(t,a,e);s>l&&(s-=l,a++);let c=t[a].getWidth(s-1)===2;c&&s--;let d=c?n-1:n;r.push(d),o+=d}return r}function c0(t,e,n){if(e===t.length-1)return t[e].getTrimmedLength();let r=!t[e].hasContent(n-1)&&t[e].getWidth(n-1)===1,i=t[e+1].getWidth(0)===2;return r&&i?n-1:n}var Vte=class Gte{constructor(e){this.line=e,this.isDisposed=!1,this._disposables=[],this._id=Gte._nextId++,this._onDispose=this.register(new Ve),this.onDispose=this._onDispose.event}get id(){return this._id}dispose(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),jd(this._disposables),this._disposables.length=0)}register(e){return this._disposables.push(e),e}};Vte._nextId=1;var a9e=Vte,Ar={},Ju=Ar.B;Ar[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"␤",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"};Ar.A={"#":"£"};Ar.B=void 0;Ar[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"};Ar.C=Ar[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"};Ar.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"};Ar.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"};Ar.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"};Ar.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"};Ar.E=Ar[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"};Ar.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"};Ar.H=Ar[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"};Ar["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"};var uH=4294967295,dH=class{constructor(t,e,n){this._hasScrollback=t,this._optionsService=e,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.tabs={},this.savedY=0,this.savedX=0,this.savedCurAttrData=or.clone(),this.savedCharset=Ju,this.markers=[],this._nullCell=Sa.fromCharData([0,lte,1,0]),this._whitespaceCell=Sa.fromCharData([0,Uc,1,32]),this._isClearing=!1,this._memoryCleanupQueue=new Pw,this._memoryCleanupPosition=0,this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new cH(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}getNullCell(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new Dw),this._nullCell}getWhitespaceCell(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new Dw),this._whitespaceCell}getBlankLine(t,e){return new rg(this._bufferService.cols,this.getNullCell(t),e)}get hasScrollback(){return this._hasScrollback&&this.lines.maxLength>this._rows}get isCursorInViewport(){let t=this.ybase+this.y-this.ydisp;return t>=0&&t<this._rows}_getCorrectBufferLength(t){if(!this._hasScrollback)return t;let e=t+this._optionsService.rawOptions.scrollback;return e>uH?uH:e}fillViewportRows(t){if(this.lines.length===0){t===void 0&&(t=or);let e=this._rows;for(;e--;)this.lines.push(this.getBlankLine(t))}}clear(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new cH(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}
105resize(t,e){let n=this.getNullCell(or),r=0,i=this._getCorrectBufferLength(e);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols<t)for(let a=0;a<this.lines.length;a++)r+=+this.lines.get(a).resize(t,n);let s=0;if(this._rows<e)for(let a=this._rows;a<e;a++)this.lines.length<e+this.ybase&&(this._optionsService.rawOptions.windowsMode||this._optionsService.rawOptions.windowsPty.backend!==void 0||this._optionsService.rawOptions.windowsPty.buildNumber!==void 0?this.lines.push(new rg(t,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+s+1?(this.ybase--,s++,this.ydisp>0&&this.ydisp--):this.lines.push(new rg(t,n)));else for(let a=this._rows;a>e;a--)this.lines.length>e+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i<this.lines.maxLength){let a=this.lines.length-i;a>0&&(this.lines.trimStart(a),this.ybase=Math.max(this.ybase-a,0),this.ydisp=Math.max(this.ydisp-a,0),this.savedY=Math.max(this.savedY-a,0)),this.lines.maxLength=i}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,e-1),s&&(this.y+=s),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=e-1,this._isReflowEnabled&&(this._reflow(t,e),this._cols>t))for(let s=0;s<this.lines.length;s++)r+=+this.lines.get(s).resize(t,n);this._cols=t,this._rows=e,this._memoryCleanupQueue.clear(),r>.1*this.lines.length&&(this._memoryCleanupPosition=0,this._memoryCleanupQueue.enqueue(()=>this._batchedMemoryCleanup()))}_batchedMemoryCleanup(){let t=!0;this._memoryCleanupPosition>=this.lines.length&&(this._memoryCleanupPosition=0,t=!1);let e=0;for(;this._memoryCleanupPosition<this.lines.length;)if(e+=this.lines.get(this._memoryCleanupPosition++).cleanupMemory(),e>100)return!0;return t}get _isReflowEnabled(){let t=this._optionsService.rawOptions.windowsPty;return t&&t.buildNumber?this._hasScrollback&&t.backend==="conpty"&&t.buildNumber>=21376:this._hasScrollback&&!this._optionsService.rawOptions.windowsMode}_reflow(t,e){this._cols!==t&&(t>this._cols?this._reflowLarger(t,e):this._reflowSmaller(t,e))}_reflowLarger(t,e){let n=this._optionsService.rawOptions.reflowCursorLine,r=n9e(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(or),n);if(r.length>0){let i=r9e(this.lines,r);i9e(this.lines,i.layout),this._reflowLargerAdjustViewport(t,e,i.countRemoved)}}_reflowLargerAdjustViewport(t,e,n){let r=this.getNullCell(or),i=n;for(;i-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<e&&this.lines.push(new rg(t,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)}_reflowSmaller(t,e){let n=this._optionsService.rawOptions.reflowCursorLine,r=this.getNullCell(or),i=[],s=0;for(let a=this.lines.length-1;a>=0;a--){let o=this.lines.get(a);if(!o||!o.isWrapped&&o.getTrimmedLength()<=t)continue;let l=[o];for(;o.isWrapped&&a>0;)o=this.lines.get(--a),l.unshift(o);if(!n){let E=this.ybase+this.y;if(E>=a&&E<a+l.length)continue}let c=l[l.length-1].getTrimmedLength(),d=s9e(l,this._cols,t),f=d.length-l.length,p;this.ybase===0&&this.y!==this.lines.length-1?p=Math.max(0,this.y-this.lines.maxLength+f):p=Math.max(0,this.lines.length-this.lines.maxLength+f);let g=[];for(let E=0;E<f;E++){let T=this.getBlankLine(or,!0);g.push(T)}g.length>0&&(i.push({start:a+l.length+s,newLines:g}),s+=g.length),l.push(...g);let b=d.length-1,y=d[b];y===0&&(b--,y=d[b]);let w=l.length-f-1,S=c;for(;w>=0;){let E=Math.min(S,y);if(l[b]===void 0)break;if(l[b].copyCellsFrom(l[w],S-E,y-E,E,!0),y-=E,y===0&&(b--,y=d[b]),S-=E,S===0){w--;let T=Math.max(w,0);S=c0(l,T,this._cols)}}for(let E=0;E<l.length;E++)d[E]<t&&l[E].setCell(d[E],r);let _=f-p;for(;_-- >0;)this.ybase===0?this.y<e-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+s)-e&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+f,this.ybase+e-1)}if(i.length>0){let a=[],o=[];for(let y=0;y<this.lines.length;y++)o.push(this.lines.get(y));let l=this.lines.length,c=l-1,d=0,f=i[d];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+s);let p=0;for(let y=Math.min(this.lines.maxLength-1,l+s-1);y>=0;y--)if(f&&f.start>c+p){for(let w=f.newLines.length-1;w>=0;w--)this.lines.set(y--,f.newLines[w]);y++,a.push({index:c+1,amount:f.newLines.length}),p+=f.newLines.length,f=i[++d]}else this.lines.set(y,o[c--]);let g=0;for(let y=a.length-1;y>=0;
105y--)a[y].index+=g,this.lines.onInsertEmitter.fire(a[y]),g+=a[y].amount;let b=Math.max(0,l+s-this.lines.maxLength);b>0&&this.lines.onTrimEmitter.fire(b)}}translateBufferLineToString(t,e,n=0,r){let i=this.lines.get(t);return i?i.translateToString(e,n,r):""}getWrappedRangeForLine(t){let e=t,n=t;for(;e>0&&this.lines.get(e).isWrapped;)e--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:e,last:n}}setupTabStops(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.rawOptions.tabStopWidth)this.tabs[t]=!0}prevStop(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t}nextStop(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t}clearMarkers(t){this._isClearing=!0;for(let e=0;e<this.markers.length;e++)this.markers[e].line===t&&(this.markers[e].dispose(),this.markers.splice(e--,1));this._isClearing=!1}clearAllMarkers(){this._isClearing=!0;for(let t=0;t<this.markers.length;t++)this.markers[t].dispose();this.markers.length=0,this._isClearing=!1}
105addMarker(t){let e=new a9e(t);return this.markers.push(e),e.register(this.lines.onTrim(n=>{e.line-=n,e.line<0&&e.dispose()})),e.register(this.lines.onInsert(n=>{e.line>=n.index&&(e.line+=n.amount)})),e.register(this.lines.onDelete(n=>{e.line>=n.index&&e.line<n.index+n.amount&&e.dispose(),e.line>n.index&&(e.line-=n.amount)})),e.register(e.onDispose(()=>this._removeMarker(e))),e}_removeMarker(t){this._isClearing||this.markers.splice(this.markers.indexOf(t),1)}},o9e=class extends Lt{constructor(t,e){super(),this._optionsService=t,this._bufferService=e,this._onBufferActivate=this._register(new Ve),this.onBufferActivate=this._onBufferActivate.event,this.reset(),this._register(this._optionsService.onSpecificOptionChange("scrollback",()=>this.resize(this._bufferService.cols,this._bufferService.rows))),this._register(this._optionsService.onSpecificOptionChange("tabStopWidth",()=>this.setupTabStops()))}reset(){this._normal=new dH(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new dH(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()}get alt(){return this._alt}get active(){return this._activeBuffer}get normal(){return this._normal}activateNormalBuffer(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clearAllMarkers(),this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))}activateAltBuffer(t){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(t),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))}resize(t,e){this._normal.resize(t,e),this._alt.resize(t,e),this.setupTabStops(t)}setupTabStops(t){this._normal.setupTabStops(t),this._alt.setupTabStops(t)}},qte=2,Wte=1,i4=class extends Lt{constructor(t){super(),this.isUserScrolling=!1,this._onResize=this._register(new Ve),this.onResize=this._onResize.event,this._onScroll=this._register(new Ve),this.onScroll=this._onScroll.event,this.cols=Math.max(t.rawOptions.cols||0,qte),this.rows=Math.max(t.rawOptions.rows||0,Wte),this.buffers=this._register(new o9e(t,this)),this._register(this.buffers.onBufferActivate(e=>{this._onScroll.fire(e.activeBuffer.ydisp)}))}get buffer(){return this.buffers.active}resize(t,e){let n=this.cols!==t,r=this.rows!==e;this.cols=t,this.rows=e,this.buffers.resize(t,e),this._onResize.fire({cols:t,rows:e,colsChanged:n,rowsChanged:r})}reset(){this.buffers.reset(),this.isUserScrolling=!1}scroll(t,e=!1){let n=this.buffer,r;r=this._cachedBlankLine,(!r||r.length!==this.cols||r.getFg(0)!==t.fg||r.getBg(0)!==t.bg)&&(r=n.getBlankLine(t,e),this._cachedBlankLine=r),r.isWrapped=e;let i=n.ybase+n.scrollTop,s=n.ybase+n.scrollBottom;if(n.scrollTop===0){let a=n.lines.isFull;s===n.lines.length-1?a?n.lines.recycle().copyFrom(r):n.lines.push(r.clone()):n.lines.splice(s+1,0,r.clone()),a?this.isUserScrolling&&(n.ydisp=Math.max(n.ydisp-1,0)):(n.ybase++,this.isUserScrolling||n.ydisp++)}else{let a=s-i+1;n.lines.shiftElements(i+1,a-1,-1),n.lines.set(s,r.clone())}this.isUserScrolling||(n.ydisp=n.ybase),this._onScroll.fire(n.ydisp)}scrollLines(t,e){let n=this.buffer;if(t<0){if(n.ydisp===0)return;this.isUserScrolling=!0}else t+n.ydisp>=n.ybase&&(this.isUserScrolling=!1);let r=n.ydisp;n.ydisp=Math.max(Math.min(n.ydisp+t,n.ybase),0),r!==n.ydisp&&(e||this._onScroll.fire(n.ydisp))}};i4=Kn([et(0,Hi)],i4);var Qh={cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,cursorInactiveStyle:"outline",customGlyphs:!0,drawBoldTextInBrightColors:!0,documentOverride:null,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",ignoreBracketedPasteMode:!1,lineHeight:1,letterSpacing:0,linkHandler:null,logLevel:"info",logger:null,scrollback:1e3,scrollOnEraseInDisplay:!1,scrollOnUserInput:!0,scrollSensitivity:1,screenReaderMode:!1,smoothScrollDuration:0,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!1,allowTransparency:!1,tabStopWidth:8,theme:{},reflowCursorLine:!1,rescaleOverlappingGlyphs:!1,rightClickSelectsWord:Bw,windowOptions:{},windowsMode:!1,windowsPty:{},wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1,overviewRuler:{}},l9e=["normal","bold","100","200","300","400","500","600","700","800","900"],c9e=class extends Lt{constructor(t){super(),this._onOptionChange=this._register(new Ve),this.onOptionChange=this._onOptionChange.event;let e={...Qh};for(let n in t)if(n in e)try{let r=t[n];e[n]=this._sanitizeAndValidateOption(n,r)}catch(r){console.error(r)}this.rawOptions=e,this.options={...e},this._setupOptions(),this._register(In(()=>{this.rawOptions.linkHandler=null,this.rawOptions.documentOverride=null}))}onSpecificOptionChange(t,e){return this.onOptionChange(n=>{n===t&&e(this.rawOptions[t])})}onMultipleOptionChange(t,e){return this.onOptionChange(n=>{t.indexOf(n)!==-1&&e()})}_setupOptions(){let t=n=>{if(!(n in Qh))throw new Error(`No option with key "${n}"`);return this.rawOptions[n]},e=(n,r)=>{if(!(n in Qh))throw new Error(`No option with key "${n}"`);r=this._sanitizeAndValidateOption(n,r),this.rawOptions[n]!==r&&(this.rawOptions[n]=r,this._onOptionChange.fire(n))};for(let n in this.rawOptions){let r={get:t.bind(this,n),set:e.bind(this,n)};Object.defineProperty(this.options,n,r)}}_sanitizeAndValidateOption(t,e){switch(t){case"cursorStyle":if(e||(e=Qh[t]),!u9e(e))throw new Error(`"${e}" is not a valid value for ${t}`);break;case"wordSeparator":e||(e=Qh[t]);break;case"fontWeight":case"fontWeightBold":if(typeof e=="number"&&1<=e&&e<=1e3)break;e=l9e.includes(e)?e:Qh[t];break;case"cursorWidth":e=Math.floor(e);case"lineHeight":case"tabStopWidth":if(e<1)throw new Error(`${t} cannot be less than 1, value: ${e}`);break;case"minimumContrastRatio":e=Math.max(1,Math.min(21,Math.round(e*10)/10));break;case"scrollback":if(e=Math.min(e,4294967295),e<0)throw new Error(`${t} cannot be less than 0, value: ${e}`);break;case"fastScrollSensitivity":case"scrollSensitivity":if(e<=0)throw new Error(`${t} cannot be less than or equal to 0, value: ${e}`);break;case"rows":case"cols":if(!e&&e!==0)throw new Error(`${t} must be numeric, value: ${e}`);break;case"windowsPty":e=e??{};break}return e}};function u9e(t){return t==="block"||t==="underline"||t==="bar"}
105function ig(t,e=5){if(typeof t!="object")return t;let n=Array.isArray(t)?[]:{};for(let r in t)n[r]=e<=1?t[r]:t[r]&&ig(t[r],e-1);return n}var hH=Object.freeze({insertMode:!1}),fH=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,cursorBlink:void 0,cursorStyle:void 0,origin:!1,reverseWraparound:!1,sendFocus:!1,synchronizedOutput:!1,wraparound:!0}),s4=class extends Lt{constructor(t,e,n){super(),this._bufferService=t,this._logService=e,this._optionsService=n,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=this._register(new Ve),this.onData=this._onData.event,this._onUserInput=this._register(new Ve),this.onUserInput=this._onUserInput.event,this._onBinary=this._register(new Ve),this.onBinary=this._onBinary.event,this._onRequestScrollToBottom=this._register(new Ve),this.onRequestScrollToBottom=this._onRequestScrollToBottom.event,this.modes=ig(hH),this.decPrivateModes=ig(fH)}reset(){this.modes=ig(hH),this.decPrivateModes=ig(fH)}triggerDataEvent(t,e=!1){if(this._optionsService.rawOptions.disableStdin)return;let n=this._bufferService.buffer;e&&this._optionsService.rawOptions.scrollOnUserInput&&n.ybase!==n.ydisp&&this._onRequestScrollToBottom.f
105ire(),e&&this._onUserInput.fire(),this._logService.debug(`sending data "${t}"`),this._logService.trace("sending data (codes)",()=>t.split("").map(r=>r.charCodeAt(0))),this._onData.fire(t)}triggerBinaryEvent(t){this._optionsService.rawOptions.disableStdin||(this._logService.debug(`sending binary "${t}"`),this._logService.trace("sending binary (codes)",()=>t.split("").map(e=>e.charCodeAt(0))),this._onBinary.fire(t))}};s4=Kn([et(0,ji),et(1,fte),et(2,Hi)],s4);var pH={NONE:{events:0,restrict:()=>!1},X10:{events:1,restrict:t=>t.button===4||t.action!==1?!1:(t.ctrl=!1,t.alt=!1,t.shift=!1,!0)},VT200:{events:19,restrict:t=>t.action!==32},DRAG:{events:23,restrict:t=>!(t.action===32&&t.button===3)},ANY:{events:31,restrict:t=>!0}};function Ok(t,e){let n=(t.ctrl?16:0)|(t.shift?4:0)|(t.alt?8:0);return t.button===4?(n|=64,n|=t.action):(n|=t.button&3,t.button&4&&(n|=64),t.button&8&&(n|=128),t.action===32?n|=32:t.action===0&&!e&&(n|=3)),n}var Ik=String.fromCharCode,mH={DEFAULT:t=>{let e=[Ok(t,!1)+32,t.col+32,t.row+32];return e[0]>255||e[1]>255||e[2]>255?"":`\x1B[M${Ik(e[0])}${Ik(e[1])}${Ik(e[2])}`},SGR:t=>{let e=t.action===0&&t.button!==4?"m":"M";return`\x1B[<${Ok(t,!0)};${t.col};${t.row}${e}`},SGR_PIXELS:t=>{let e=t.action===0&&t.button!==4?"m":"M";return`\x1B[<${Ok(t,!0)};${t.x};${t.y}${e}`}},a4=class extends Lt{constructor(t,e,n){super(),this._bufferService=t,this._coreService=e,this._optionsService=n,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._lastEvent=null,this._wheelPartialScroll=0,this._onProtocolChange=this._register(new Ve),this.onProtocolChange=this._onProtocolChange.event;for(let r of Object.keys(pH))this.addProtocol(r,pH[r]);for(let r of Object.keys(mH))this.addEncoding(r,mH[r]);this.reset()}addProtocol(t,e){this._protocols[t]=e}addEncoding(t,e){this._encodings[t]=e}get activeProtocol(){return this._activeProtocol}get areMouseEventsActive(){return this._protocols[this._activeProtocol].events!==0}set activeProtocol(t){if(!this._protocols[t])throw new Error(`unknown protocol "${t}"`);this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)}get activeEncoding(){return this._activeEncoding}set activeEncoding(t){if(!this._encodings[t])throw new Error(`unknown encoding "${t}"`);this._activeEncoding=t}reset(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null,this._wheelPartialScroll=0}consumeWheelEvent(t,e,n){if(t.deltaY===0||t.shiftKey||e===void 0||n===void 0)return 0;let r=e/n,i=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(i/=r+0,Math.abs(t.deltaY)<50&&(i*=.3),this._wheelPartialScroll+=i,i=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(i*=this._bufferService.rows),i}_applyScrollModifier(t,e){return e.altKey||e.ctrlKey||e.shiftKey?t*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:t*this._optionsService.rawOptions.scrollSensitivity}triggerMouseEvent(t){if(t.col<0||t.col>=this._bufferService.cols||t.row<0||t.row>=this._bufferService.rows||t.button===4&&t.action===32||t.button===3&&t.action!==32||t.button!==4&&(t.action===2||t.action===3)||(t.col++,t.row++,t.action===32&&this._lastEvent&&this._equalEvents(this._lastEvent,t,this._activeEncoding==="SGR_PIXELS"))||!this._protocols[this._activeProtocol].restrict(t))return!1;let e=this._encodings[this._activeEncoding](t);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=t,!0}explainEvents(t){return{down:!!(t&1),up:!!(t&2),drag:!!(t&4),move:!!(t&8),wheel:!!(t&16)}}_equalEvents(t,e,n){if(n){if(t.x!==e.x||t.y!==e.y)return!1}else if(t.col!==e.col||t.row!==e.row)return!1;return!(t.button!==e.button||t.action!==e.action||t.ctrl!==e.ctrl||t.alt!==e.alt||t.shift!==e.shift)}};a4=Kn([et(0,ji),et(1,Zd),et(2,Hi)],a4);var Dk=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3
105021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],d9e=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],wr;function h9e(t,e){let n=0,r=e.length-1,i;if(t<e[0][0]||t>e[r][1])return!1;for(;r>=n;)if(i=n+r>>1,t>e[i][1])n=i+1;else if(t<e[i][0])r=i-1;else return!0;return!1}var f9e=class{constructor(){if(this.version="6",!wr){wr=new Uint8Array(65536),wr.fill(1),wr[0]=0,wr.fill(0,1,32),wr.fill(0,127,160),wr.fill(2,4352,4448),wr[9001]=2,wr[9002]=2,wr.fill(2,11904,42192),wr[12351]=1,wr.fill(2,44032,55204),wr.fill(2,63744,64256),wr.fill(2,65040,65050),wr.fill(2,65072,65136),wr.fill(2,65280,65377),wr.fill(2,65504,65511);for(let t=0;t<Dk.length;++t)wr.fill(0,Dk[t][0],Dk[t][1]+1)}}wcwidth(t){return t<32?0:t<127?1:t<65536?wr[t]:h9e(t,d9e)?0:t>=131072&&t<=196605||t>=196608&&t<=262141?2:1}charProperties(t,e){let n=this.wcwidth(t),r=n===0&&e!==0;if(r){let i=fd.extractWidth(e);i===0?r=!1:i>n&&(n=i)}return fd.createPropertyValue(0,n,r)}},fd=class _1{constructor(){this._providers=Object.create(null),this._active="",this._onChange=new Ve,this.onChange=this._onChange.event;let e=new f9e;this.register(e),this._active=e.version,this._activeProvider=e}static extractShouldJoin(e){return(e&1)!==0}static extractWidth(e){return e>>1&3}static extractCharKind(e){return e>>3}static createPropertyValue(e,n,r=!1){return(e&16777215)<<3|(n&3)<<1|(r?1:0)}dispose(){this._onChange.dispose()}get versions(){return Object.keys(this._providers)}get activeVersion(){return this._active}set activeVersion(e){if(!this._providers[e])throw new Error(`unknown Unicode version "${e}"`);this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)}register(e){this._providers[e.version]=e}wcwidth(e){return this._activeProvider.wcwidth(e)}getStringCellWidth(e){let n=0,r=0,i=e.length;for(let s=0;s<i;++s){let a=e.charCodeAt(s);if(55296<=a&&a<=56319){if(++s>=i)return n+this.wcwidth(a);let c=e.charCodeAt(s);56320<=c&&c<=57343?a=(a-55296)*1024+c-56320+65536:n+=this.wcwidth(c)}let o=this.charProperties(a,r),l=_1.extractWidth(o);_1.extractShouldJoin(o)&&(l-=_1.extractWidth(r)),n+=l,r=o}return n}charProperties(e,n){return this._activeProvider.charProperties(e,n)}},p9e=class{constructor(){this.glevel=0,this._charsets=[]}reset(){this.charset=void 0,this._charsets=[],this.glevel=0}setgLevel(t){this.glevel=t,this.charset=this._charsets[t]}setgCharset(t,e){this._charsets[t]=e,this.glevel===t&&(this.charset=e)}};function gH(t){let e=t.buffer.lines.get(t.buffer.ybase+t.buffer.y-1)?.get(t.cols-1),n=t.buffer.lines.get(t.buffer.ybase+t.buffer.y);n&&e&&(n.isWrapped=e[3]!==0&&e[3]!==32)}var Vm=2147483647,m9e=256,Kte=class o4{constructor(e=32,n=32){if(this.maxLength=e,this.maxSubParamsLength=n,n>m9e)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(n),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}static fromArray(e){let n=new o4;if(!e.length)return n;for(let r=Array.isArray(e[0])?1:0;r<e.length;++r){let i=e[r];if(Array.isArray(i))for(let s=0;s<i.length;++s)n.addSubParam(i[s]);else n.addParam(i)}return n}clone(){let e=new o4(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e}toArray(){let e=[];for(let n=0;n<this.length;++n){e.push(this.params[n]);let r=this._subParamsIdx[n]>>8,i=this._subParamsIdx[n]&255;i-r>0&&e.push(Array.prototype.slice.call(this._subParams,r,i))}return e}reset(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}addParam(e){if(this._digitIsSub=!1,this.length>=this.maxLength){this._rejectDigits=!0;return}if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>Vm?Vm:e}addSubParam(e){if(this._digitIsSub=!0,!!this.length){if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength){this._rejectSubDigits=!0;return}if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>Vm?Vm:e,this._subParamsIdx[this.length-1]++}}hasSubParams(e){return(this._subParamsIdx[e]&255)-(this._subParamsIdx[e]>>8)>0}getSubParams(e){let n=this._subParamsIdx[e]>>8,r=this._subParamsIdx[e]&255;return r-n>0?this._subParams.subarray(n,r):null}getSubParamsAll(){let e={};for(let n=0;n<this.length;++n){let r=this._subParamsIdx[n]>>8,i=this._subParamsIdx[n]&255;i-r>0&&(e[n]=this._subParams.slice(r,i))}return e}addDigit(e){let n;if(this._rejectDigits||!(n=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)return;let r=this._digitIsSub?this._subParams:this.params,i=r[n-1];r[n-1]=~i?Math.min(i*10+e,Vm):e}},Gm=[],g9e=class{constructor(){this._state=0,this._active=Gm,this._id=-1,this._handlers=Object.create(null),this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}registerHandler(t,e){this._handlers[t]===void 0&&(this._handlers[t]=[]);let n=this._handlers[t];return n.push(e),{dispose:()=>{let r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}clearHandler(t){this._handlers[t]&&delete this._handlers[t]}setHandlerFallback(t){this._handlerFb=t}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=Gm}reset(){if(this._state===2)for(let t=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;t>=0;--t)this._active[t].end(!1);this._stack.paused=!1,this._active=Gm,this._id=-1,this._state=0}
105_start(){if(this._active=this._handlers[this._id]||Gm,!this._active.length)this._handlerFb(this._id,"START");else for(let t=this._active.length-1;t>=0;t--)this._active[t].start()}_put(t,e,n){if(!this._active.length)this._handlerFb(this._id,"PUT",e_(t,e,n));else for(let r=this._active.length-1;r>=0;r--)this._active[r].put(t,e,n)}start(){this.reset(),this._state=1}put(t,e,n){if(this._state!==3){if(this._state===1)for(;e<n;){let r=t[e++];if(r===59){this._state=2,this._start();break}if(r<48||57<r){this._state=3;return}this._id===-1&&(this._id=0),this._id=this._id*10+r-48}this._state===2&&n-e>0&&this._put(t,e,n)}}end(t,e=!0){if(this._state!==0){if(this._state!==3)if(this._state===1&&this._start(),!this._active.length)this._handlerFb(this._id,"END",t);else{let n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=e,i=this._stack.fallThrough,this._stack.paused=!1),!i&&n===!1){for(;r>=0&&(n=this._active[r].end(t),n!==!0);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].end(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}this._active=Gm,this._id=-1,this._state=0}}},As=class{constructor(t){this._handler=t,this._data="",this._hitLimit=!1}start(){this._data="",this._hitLimit=!1}put(t,e,n){this._hitLimit||(this._data+=e_(t,e,n),this._data.length>1e7&&(this._data="",this._hitLimit=!0))}end(t){let e=!1;if(this._hitLimit)e=!1;else if(t&&(e=this._handler(this._data),e instanceof Promise))return e.then(n=>(this._data="",this._hitLimit=!1,n));return this._data="",this._hitLimit=!1,e}},qm=[],b9e=class{constructor(){this._handlers=Object.create(null),this._active=qm,this._ident=0,this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=qm}registerHandler(t,e){this._handlers[t]===void 0&&(this._handlers[t]=[]);let n=this._handlers[t];return n.push(e),{dispose:()=>{let r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}clearHandler(t){this._handlers[t]&&delete this._handlers[t]}setHandlerFallback(t){this._handlerFb=t}reset(){if(this._active.length)for(let t=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;t>=0;--t)this._active[t].unhook(!1);this._stack.paused=!1,this._active=qm,this._ident=0}hook(t,e){if(this.reset(),this._ident=t,this._active=this._handlers[t]||qm,!this._active.length)this._handlerFb(this._ident,"HOOK",e);else for(let n=this._active.length-1;n>=0;n--)this._active[n].hook(e)}put(t,e,n){if(!this._active.length)this._handlerFb(this._ident,"PUT",e_(t,e,n));else for(let r=this._active.length-1;r>=0;r--)this._active[r].put(t,e,n)}unhook(t,e=!0){if(!this._active.length)this._handlerFb(this._ident,"UNHOOK",t);else{let n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=e,i=this._stack.fallThrough,this._stack.paused=!1),!i&&n===!1){for(;r>=0&&(n=this._active[r].unhook(t),n!==!0);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].unhook(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}this._active=qm,this._ident=0}},sg=new Kte;sg.addParam(0);var bH=class{constructor(t){this._handler=t,this._data="",this._params=sg,this._hitLimit=!1}hook(t){this._params=t.length>1||t.params[0]?t.clone():sg,this._data="",this._hitLimit=!1}put(t,e,n){this._hitLimit||(this._data+=e_(t,e,n),this._data.length>1e7&&(this._data="",this._hitLimit=!0))}unhook(t){let e=!1;if(this._hitLimit)e=!1;else if(t&&(e=this._handler(this._data,this._params),e instanceof Promise))return e.then(n=>(this._params=sg,this._data="",this._hitLimit=!1,n));return this._params=sg,this._data="",this._hitLimit=!1,e}},y9e=class{constructor(t){this.table=new Uint8Array(t)}setDefault(t,e){this.table.fill(t<<4|e)}add(t,e,n,r){this.table[e<<8|t]=n<<4|r}addMany(t,e,n,r){for(let i=0;i<t.length;i++)this.table[e<<8|t[i]]=n<<4|r}},ca=160,v9e=(function(){let t=new y9e(4095),e=Array.apply(null,Array(256)).map((o,l)=>l),n=(o,l)=>e.slice(o,l),r=n(32,127),i=n(0,24);i.push(25),i.push.apply(i,n(28,32));let s=n(0,14),a;t.setDefault(1,0),t.addMany(r,0,2,0);for(a in s)t.addMany([24,26,153,154],a,3,0),t.addMany(n(128,144),a,3,0),t.addMany(n(144,152),a,3,0),t.add(156,a,0,0),t.add(27,a,11,1),t.add(157,a,4,8),t.addMany([152,158,159],a,0,7),t.add(155,a,11,3),t.add(144,a,11,9);return t.addMany(i,0,3,0),t.addMany(i,1,3,1),t.add(127,1,0,1),t.addMany(i,8,0,8),t.addMany(i,3,3,3),t.add(127,3,0,3),t.addMany(i,4,3,4),t.add(127,4,0,4),t.addMany(i,6,3,6),t.addMany(i,5,3,5),t.add(127,5,0,5),t.addMany(i,2,3,2),t.add(127,2,0,2),t.add(93,1,4,8),t.addMany(r,8,5,8),t.add(127,8,5,8),t.addMany([156,27,24,26,7],8,6,0),t.addMany(n(28,32),8,0,8),t.addMany([88,94,95],1,0,7),t.addMany(r,7,0,7),t.addMany(i,7,0,7),t.add(156,7,0,0),t.add(127,7,0,7),t.add(91,1,11,3),t.addMany(n(64,127),3,7,0),t.addMany(n(48,60),3,8,4),t.addMany([60,61,62,63],3,9,4),t.addMany(n(48,60),4,8,4),t.addMany(n(64,127),4,7,0),t.addMany([60,61,62,63],4,0,6),t.addMany(n(32,64),6,0,6),t.add(127,6,0,6),t.addMany(n(64,127),6,0,0),t.addMany(n(32,48),3,9,5),t.addMany(n(32,48),5,9,5),t.addMany(n(48,64),5,0,6),t.addMany(n(64,127),5,7,0),t.addMany(n(32,48),4,9,5),t.addMany(n(32,48),1,9,2),t.addMany(n(32,48),2,9,2),t.addMany(n(48,127),2,10,0),t.addMany(n(48,80),1,10,0),t.addMany(n(81,88),1,10,0),t.addMany([89,90,92],1,10,0),t.addMany(n(96,127),1,10,0),t.add(80,1,11,9),t.addMany(i,9,0,9),t.add(127,9,0,9),t.addMany(n(28,32),9,0,9),t.addMany(n(32,48),9,9,12),t.addMany(n(48,60),9,8,10),t.addMany([60,61,62,63],9,9,10),t.addMany(i,11,0,11),t.addMany(n(32,128),11,0,11),t.addMany(n(28,32),11,0,11),t.addMany(i,10,0,10),t.add(127,10,0,10),t.addMany(n(28,32),10,0,10),t.addMany(n(48,60),10,8,10),t.addMany([60,61,62,63],10,0,11),t.addMany(n(32,48),10,9,12),t.addMany(i,12,0,12),t.add(127,12,0,12),t.addMany(n(28,32),12,0,12),t.addMany(n(32,48),12,9,12),t.addMany(n(48,64),12,0,11),t.addMany(n(64,127),12,12,13),t.addMany(n(64,127),10,12,13),t.addMany(n(64,127),9,12,13),t.addMany(i,13,13,13),t.addMany(r,13,13,13),t.add(127,13,0,13),t.addMany([27,156,24,26],13,14,0),t.add(ca,0,2,0),t.add(ca,8,5,8),t.add(ca,6,0,6),t.add(ca,11,0,11),t.add(ca,13,13,13),t})(),w9e=class extends Lt{constructor(t=v9e){super(),this._transitions=t,this._parseStack={state:0,handlers:[],handlerPos:0,transition:0,
105chunkPos:0},this.initialState=0,this.currentState=this.initialState,this._params=new Kte,this._params.addParam(0),this._collect=0,this.precedingJoinState=0,this._printHandlerFb=(e,n,r)=>{},this._executeHandlerFb=e=>{},this._csiHandlerFb=(e,n)=>{},this._escHandlerFb=e=>{},this._errorHandlerFb=e=>e,this._printHandler=this._printHandlerFb,this._executeHandlers=Object.create(null),this._csiHandlers=Object.create(null),this._escHandlers=Object.create(null),this._register(In(()=>{this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null)})),this._oscParser=this._register(new g9e),this._dcsParser=this._register(new b9e),this._errorHandler=this._errorHandlerFb,this.registerEscHandler({final:"\\"},()=>!0)}_identifier(t,e=[64,126]){let n=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if(n=t.prefix.charCodeAt(0),n&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(let i=0;i<t.intermediates.length;++i){let s=t.intermediates.charCodeAt(i);if(32>s||s>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=s}}if(t.final.length!==1)throw new Error("final must be a single byte");let r=t.final.charCodeAt(0);if(e[0]>r||r>e[1])throw new Error(`final must be in range ${e[0]} .. ${e[1]}`);return n<<=8,n|=r,n}identToString(t){let e=[];for(;t;)e.push(String.fromCharCode(t&255)),t>>=8;return e.reverse().join("")}setPrintHandler(t){this._printHandler=t}clearPrintHandler(){this._printHandler=this._printHandlerFb}registerEscHandler(t,e){let n=this._identifier(t,[48,126]);this._escHandlers[n]===void 0&&(this._escHandlers[n]=[]);let r=this._escHandlers[n];return r.push(e),{dispose:()=>{let i=r.indexOf(e);i!==-1&&r.splice(i,1)}}}clearEscHandler(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]}setEscHandlerFallback(t){this._escHandlerFb=t}setExecuteHandler(t,e){this._executeHandlers[t.charCodeAt(0)]=e}clearExecuteHandler(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]}setExecuteHandlerFallback(t){this._executeHandlerFb=t}registerCsiHandler(t,e){let n=this._identifier(t);this._csiHandlers[n]===void 0&&(this._csiHandlers[n]=[]);let r=this._csiHandlers[n];return r.push(e),{dispose:()=>{let i=r.indexOf(e);i!==-1&&r.splice(i,1)}}}clearCsiHandler(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]}setCsiHandlerFallback(t){this._csiHandlerFb=t}registerDcsHandler(t,e){return this._dcsParser.registerHandler(this._identifier(t),e)}clearDcsHandler(t){this._dcsParser.clearHandler(this._identifier(t))}setDcsHandlerFallback(t){this._dcsParser.setHandlerFallback(t)}registerOscHandler(t,e){return this._oscParser.registerHandler(t,e)}clearOscHandler(t){this._oscParser.clearHandler(t)}setOscHandlerFallback(t){this._oscParser.setHandlerFallback(t)}setErrorHandler(t){this._errorHandler=t}clearErrorHandler(){this._errorHandler=this._errorHandlerFb}reset(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0,this._parseStack.state!==0&&(this._parseStack.state=2,this._parseStack.handlers=[])}_preserveStack(t,e,n,r,i){this._parseStack.state=t,this._parseStack.handlers=e,this._parseStack.handlerPos=n,this._parseStack.transition=r,this._parseStack.chunkPos=i}parse(t,e,n){let r=0,i=0,s=0,a;if(this._parseStack.state)if(this._parseStack.state===2)this._parseStack.state=0,s=this._parseStack.chunkPos+1;else{if(n===void 0||this._parseStack.state===1)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");let o=this._parseStack.handlers,l=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(n===!1&&l>-1){for(;l>=0&&(a=o[l](this._params),a!==!0);l--)if(a instanceof Promise)return this._parseStack.handlerPos=l,a}this._parseStack.handlers=[];break;case 4:if(n===!1&&l>-1){for(;l>=0&&(a=o[l](),a!==!0);
105l--)if(a instanceof Promise)return this._parseStack.handlerPos=l,a}this._parseStack.handlers=[];break;case 6:if(r=t[this._parseStack.chunkPos],a=this._dcsParser.unhook(r!==24&&r!==26,n),a)return a;r===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(r=t[this._parseStack.chunkPos],a=this._oscParser.end(r!==24&&r!==26,n),a)return a;r===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break}this._parseStack.state=0,s=this._parseStack.chunkPos+1,this.precedingJoinState=0,this.currentState=this._parseStack.transition&15}for(let o=s;o<e;++o){switch(r=t[o],i=this._transitions.table[this.currentState<<8|(r<160?r:ca)],i>>4){case 2:for(let p=o+1;;++p){if(p>=e||(r=t[p])<32||r>126&&r<ca){this._printHandler(t,o,p),o=p-1;break}if(++p>=e||(r=t[p])<32||r>126&&r<ca){this._printHandler(t,o,p),o=p-1;break}if(++p>=e||(r=t[p])<32||r>126&&r<ca){this._printHandler(t,o,p),o=p-1;break}if(++p>=e||(r=t[p])<32||r>126&&r<ca){this._printHandler(t,o,p),o=p-1;break}}break;case 3:this._executeHandlers[r]?this._executeHandlers[r]():this._executeHandlerFb(r),this.precedingJoinState=0;break;case 0:break;case 1:if(this._errorHandler({position:o,code:r,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:let l=this._csiHandlers[this._collect<<8|r],c=l?l.length-1:-1;for(;c>=0&&(a=l[c](this._params),a!==!0);c--)if(a instanceof Promise)return this._preserveStack(3,l,c,i,o),a;c<0&&this._csiHandlerFb(this._collect<<8|r,this._params),this.precedingJoinState=0;break;case 8:do switch(r){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(r-48)}while(++o<e&&(r=t[o])>47&&r<60);o--;break;case 9:this._collect<<=8,this._collect|=r;break;case 10:let d=this._escHandlers[this._collect<<8|r],f=d?d.length-1:-1;for(;f>=0&&(a=d[f](),a!==!0);f--)if(a instanceof Promise)return this._preserveStack(4,d,f,i,o),a;f<0&&this._escHandlerFb(this._collect<<8|r),this.precedingJoinState=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|r,this._params);break;case 13:for(let p=o+1;;++p)if(p>=e||(r=t[p])===24||r===26||r===27||r>127&&r<ca){this._dcsParser.put(t,o,p),o=p-1;break}break;case 14:if(a=this._dcsParser.unhook(r!==24&&r!==26),a)return this._preserveStack(6,[],0,i,o),a;r===27&&(i|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0;break;case 4:this._oscParser.start();break;case 5:for(let p=o+1;;p++)if(p>=e||(r=t[p])<32||r>127&&r<ca){this._oscParser.put(t,o,p),o=p-1;break}break;case 6:if(a=this._oscParser.end(r!==24&&r!==26),a)return this._preserveStack(5,[],0,i,o),a;r===27&&(i|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0;break}this.currentState=i&15}}},S9e=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,_9e=/^[\da-f]+$/;function yH(t){if(!t)return;let e=t.toLowerCase();if(e.indexOf("rgb:")===0){e=e.slice(4);let n=S9e.exec(e);if(n){let r=n[1]?15:n[4]?255:n[7]?4095:65535;return[Math.round(parseInt(n[1]||n[4]||n[7]||n[10],16)/r*255),Math.round(parseInt(n[2]||n[5]||n[8]||n[11],16)/r*255),Math.round(parseInt(n[3]||n[6]||n[9]||n[12],16)/r*255)]}}else if(e.indexOf("#")===0&&(e=e.slice(1),_9e.exec(e)&&[3,6,9,12].includes(e.length))){let n=e.length/3,r=[0,0,0];for(let i=0;i<3;++i){let s=parseInt(e.slice(n*i,n*i+n),16);r[i]=n===1?s<<4:n===2?s:n===3?s>>4:s>>8}return r}}function Mk(t,e){let n=t.toString(16),r=n.length<2?"0"+n:n;switch(e){case 4:return n[0];case 8:return r;case 12:return(r+r).slice(0,3);default:return r+r}}function x9e(t,e=16){let[n,r,i]=t;return`rgb:${Mk(n,e)}/${Mk(r,e)}/${Mk(i,e)}`}var E9e={"(":0,")":1,"*":2,"+":3,"-":1,".":2},Cc=131072,vH=10;function wH(t,e){if(t>24)return e.setWinLines||!1;switch(t){case 1:return!!e.restoreWin;case 2:return!!e.minimizeWin;case 3:return!!e.setWinPosition;case 4:return!!e.setWinSizePixels;case 5:return!!e.raiseWin;case 6:return!!e.lowerWin;case 7:return!!e.refreshWin;case 8:return!!e.setWinSizeChars;case 9:return!!e.maximizeWin;case 10:return!!e.fullscreenWin;case 11:return!!e.getWinState;case 13:return!!e.getWinPosition;case 14:return!!e.getWinSizePixels;case 15:return!!e.getScreenSizePixels;case 16:return!!e.getCellSizePixels;case 18:return!!e.getWinSizeChars;case 19:return!!e.getScreenSizeChars;case 20:return!!e.getIconTitle;case 21:return!!e.getWinTitle;case 22:return!!e.pushTitle;case 23:return!!e.popTitle;case 24:return!!e.setWinLines}return!1}var SH=5e3,_H=0,k9e=class extends Lt{constructor(t,e,n,r,i,s,a,o,l=new w9e){super(),this._bufferService=t,this._charsetService=e,this._coreService=n,this._logService=r,this._optionsService=i,this._oscLinkService=s,this._coreMouseService=a,this._unicodeService=o,this._parser=l,this._parseBuffer=new Uint32Array(4096),this._stringDecoder=new VLe,this._utf8Decoder=new GLe,this._windowTitle="",this._iconName="",this._windowTitleStack=[],this._iconNameStack=[],this._curAttrData=or.clone(),this._eraseAttrDataInternal=or.clone(),this._onRequestBell=this._register(new Ve),this.onRequestBell=this._onRequestBell.event,this._onRequestRefreshRows=this._register(new Ve),this.onRequestRefreshRows=this._onRequestRefreshRows.event,this._onRequestReset=this._register(new Ve),this.onRequestReset=this._onRequestReset.event,this._onRequestSendFocus=this._register(new Ve),this.onRequestSendFocus=this._onRequestSendFocus.event,this._onRequestSyncScrollBar=this._register(new Ve),this.onRequestSyncScrollBar=this._onRequestSyncScrollBar.event,this._onRequestWindowsOptionsReport=this._register(new Ve),this.onRequestWindowsOptionsReport=this._onRequestWindowsOptionsReport.event,this._onA11yChar=this._register(new Ve),this.onA11yChar=this._onA11yChar.event,this._onA11yTab=this._register(new Ve),this.onA11yTab=this._onA11yTab.event,this._onCursorMove=this._register(new Ve),this.onCursorMove=this._onCursorMove.event,this._onLineFeed=this._register(new Ve),this.onLineFeed=this._onLineFeed.event,this._onScroll=this._register(new Ve),this.onScroll=this._onScroll.event,this._onTitleChange=this._register(new Ve),this.onTitleChange=this._onTitleChange.event,this._onColor=this._register(new Ve),this.onColor=this._onColor.event,this._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},this._specialColors=[256,257,258],this._register(this._parser),this._dirtyRowTracker=new l4(this._bufferService),this._activeBuffer=this._bufferService.buffer,this._register(this._bufferService.buffers.onBufferActivate(c=>
vendor: 4,087 bytes, line 105
105this._activeBuffer=c.activeBuffer)),this._parser.setCsiHandlerFallback((c,d)=>{this._logService.debug("Unknown CSI code: ",{identifier:this._parser.identToString(c),params:d.toArray()})}),this._parser.setEscHandlerFallback(c=>{this._logService.debug("Unknown ESC code: ",{identifier:this._parser.identToString(c)})}),this._parser.setExecuteHandlerFallback(c=>{this._logService.debug("Unknown EXECUTE code: ",{code:c})}),this._parser.setOscHandlerFallback((c,d,f)=>{this._logService.debug("Unknown OSC code: ",{identifier:c,action:d,data:f})}),this._parser.setDcsHandlerFallback((c,d,f)=>{d==="HOOK"&&(f=f.toArray()),this._logService.debug("Unknown DCS code: ",{identifier:this._parser.identToString(c),action:d,payload:f})}),this._parser.setPrintHandler((c,d,f)=>this.print(c,d,f)),this._parser.registerCsiHandler({final:"@"},c=>this.insertChars(c)),this._parser.registerCsiHandler({intermediates:" ",final:"@"},c=>this.scrollLeft(c)),this._parser.registerCsiHandler({final:"A"},c=>this.cursorUp(c)),this._parser.registerCsiHandler({intermediates:" ",final:"A"},c=>this.scrollRight(c)),this._parser.registerCsiHandler({final:"B"},c=>this.cursorDown(c)),this._parser.registerCsiHandler({final:"C"},c=>this.cursorForward(c)),this._parser.registerCsiHandler({final:"D"},c=>this.cursorBackward(c)),this._parser.registerCsiHandler({final:"E"},c=>this.cursorNextLine(c)),this._parser.registerCsiHandler({final:"F"},c=>this.cursorPrecedingLine(c)),this._parser.registerCsiHandler({final:"G"},c=>this.cursorCharAbsolute(c)),this._parser.registerCsiHandler({final:"H"},c=>this.cursorPosition(c)),this._parser.registerCsiHandler({final:"I"},c=>this.cursorForwardTab(c)),this._parser.registerCsiHandler({final:"J"},c=>this.eraseInDisplay(c,!1)),this._parser.registerCsiHandler({prefix:"?",final:"J"},c=>this.eraseInDisplay(c,!0)),this._parser.registerCsiHandler({final:"K"},c=>this.eraseInLine(c,!1)),this._parser.registerCsiHandler({prefix:"?",final:"K"},c=>this.eraseInLine(c,!0)),this._parser.registerCsiHandler({final:"L"},c=>this.insertLines(c)),this._parser.registerCsiHandler({final:"M"},c=>this.deleteLines(c)),this._parser.registerCsiHandler({final:"P"},c=>this.deleteChars(c)),this._parser.registerCsiHandler({final:"S"},c=>this.scrollUp(c)),this._parser.registerCsiHandler({final:"T"},c=>this.scrollDown(c)),this._parser.registerCsiHandler({final:"X"},c=>this.eraseChars(c)),this._parser.registerCsiHandler({final:"Z"},c=>this.cursorBackwardTab(c)),this._parser.registerCsiHandler({final:"`"},c=>this.charPosAbsolute(c)),this._parser.registerCsiHandler({final:"a"},c=>this.hPositionRelative(c)),this._parser.registerCsiHandler({final:"b"},c=>this.repeatPrecedingCharacter(c)),this._parser.registerCsiHandler({final:"c"},c=>this.sendDeviceAttributesPrimary(c)),this._parser.registerCsiHandler({prefix:">",final:"c"},c=>this.sendDeviceAttributesSecondary(c)),this._parser.registerCsiHandler({final:"d"},c=>this.linePosAbsolute(c)),this._parser.registerCsiHandler({final:"e"},c=>this.vPositionRelative(c)),this._parser.registerCsiHandler({final:"f"},c=>this.hVPosition(c)),this._parser.registerCsiHandler({final:"g"},c=>this.tabClear(c)),this._parser.registerCsiHandler({final:"h"},c=>this.setMode(c)),this._parser.registerCsiHandler({prefix:"?",final:"h"},c=>this.setModePrivate(c)),this._parser.registerCsiHandler({final:"l"},c=>this.resetMode(c)),this._parser.registerCsiHandler({prefix:"?",final:"l"},c=>this.resetModePrivate(c)),this._parser.registerCsiHandler({final:"m"},c=>this.charAttributes(c)),this._parser.registerCsiHandler({final:"n"},c=>this.deviceStatus(c)),this._parser.registerCsiHandler({prefix:"?",final:"n"},c=>this.deviceStatusPrivate(c)),this._parser.registerCsiHandler({intermediates:"!",final:"p"},c=>this.softReset(c)),this._parser.registerCsiHandler({intermediates:" ",final:"q"},c=>this.setCursorStyle(c)),this._parser.registerCsiHandler({final:"r"},c=>this.setScrollRegion(c)),this._parser.registerCsiHandler({final:"s"},c=>this.saveCursor(c)),this._parser.registerCsiHandler({final:"t"},c=>this.windowOptions(c)),this._parser.registerCsiHandler({final:"u"},c=>
105this.restoreCursor(c)),this._parser.registerCsiHandler({intermediates:"'",final:"}"},c=>this.insertColumns(c)),this._parser.registerCsiHandler({intermediates:"'",final:"~"},c=>this.deleteColumns(c)),this._parser.registerCsiHandler({intermediates:'"',final:"q"},c=>this.selectProtected(c)),this._parser.registerCsiHandler({intermediates:"$",final:"p"},c=>this.requestMode(c,!0)),this._parser.registerCsiHandler({prefix:"?",intermediates:"$",final:"p"},c=>this.requestMode(c,!1)),this._parser.setExecuteHandler(Ne.BEL,()=>this.bell()),this._parser.setExecuteHandler(Ne.LF,()=>this.lineFeed()),this._parser.setExecuteHandler(Ne.VT,()=>this.lineFeed()),this._parser.setExecuteHandler(Ne.FF,()=>this.lineFeed()),this._parser.setExecuteHandler(Ne.CR,()=>this.carriageReturn()),this._parser.setExecuteHandler(Ne.BS,()=>this.backspace()),this._parser.setExecuteHandler(Ne.HT,()=>this.tab()),this._parser.setExecuteHandler(Ne.SO,()=>this.shiftOut()),this._parser.setExecuteHandler(Ne.SI,()=>this.shiftIn()),this._parser.setExecuteHandler(w1.IND,()=>this.index()),this._parser.setExecuteHandler(w1.NEL,()=>this.nextLine()),this._parser.setExecuteHandler(w1.HTS,()=>this.tabSet()),this._parser.registerOscHandler(0,new As(c=>(this.setTitle(c),this.setIconName(c),!0))),this._parser.registerOscHandler(1,new As(c=>this.setIconName(c))),this._parser.registerOscHandler(2,new As(c=>this.setTitle(c))),this._parser.registerOscHandler(4,new As(c=>this.setOrReportIndexedColor(c))),this._parser.registerOscHandler(8,new As(c=>this.setHyperlink(c))),this._parser.registerOscHandler(10,new As(c=>this.setOrReportFgColor(c))),this._parser.registerOscHandler(11,new As(c=>this.setOrReportBgColor(c))),this._parser.registerOscHandler(12,new As(c=>this.setOrReportCursorColor(c))),this._parser.registerOscHandler(104,new As(c=>this.restoreIndexedColor(c))),this._parser.registerOscHandler(110,new As(c=>this.restoreFgColor(c))),this._parser.registerOscHandler(111,new As(c=>this.restoreBgColor(c))),this._parser.registerOscHandler(112,new As(c=>this.restoreCursorColor(c))),this._parser.registerEscHandler({final:"7"},()=>this.saveCursor()),this._parser.registerEscHandler({final:"8"},()=>this.restoreCursor()),this._parser.registerEscHandler({final:"D"},()=>this.index()),this._parser.registerEscHandler({final:"E"},()=>this.nextLine()),this._parser.registerEscHandler({final:"H"},()=>this.tabSet()),this._parser.registerEscHandler({final:"M"},()=>this.reverseIndex()),this._parser.registerEscHandler({final:"="},()=>this.keypadApplicationMode()),this._parser.registerEscHandler({final:">"},()=>this.keypadNumericMode()),this._parser.registerEscHandler({final:"c"},()=>this.fullReset()),this._parser.registerEscHandler({final:"n"},()=>this.setgLevel(2)),this._parser.registerEscHandler({final:"o"},()=>this.setgLevel(3)),this._parser.registerEscHandler({final:"|"},()=>this.setgLevel(3)),this._parser.registerEscHandler({final:"}"},()=>this.setgLevel(2)),this._parser.registerEscHandler({final:"~"},()=>this.setgLevel(1)),this._parser.registerEscHandler({intermediates:"%",final:"@"},()=>this.selectDefaultCharset()),this._parser.registerEscHandler({intermediates:"%",final:"G"},()=>this.selectDefaultCharset());for(let c in Ar)this._parser.registerEscHandler({intermediates:"(",final:c},()=>this.selectCharset("("+c)),this._parser.registerEscHandler({intermediates:")",final:c},()=>this.selectCharset(")"+c)),this._parser.registerEscHandler({intermediates:"*",final:c},()=>this.selectCharset("*"+c)),this._parser.registerEscHandler({intermediates:"+",final:c},()=>this.selectCharset("+"+c)),this._parser.registerEscHandler({intermediates:"-",final:c},()=>this.selectCharset("-"+c)),this._parser.registerEscHandler({intermediates:".",final:c},()=>this.selectCharset("."+c)),this._parser.registerEscHandler({intermediates:"/",final:c},()=>this.selectCharset("/"+c));this._parser.registerEscHandler({intermediates:"#",final:"8"},()=>this.screenAlignmentPattern()),this._parser.setErrorHandler(c=>(this._logService.error("Parsing error: ",c),c)),this._parser.registerDcsHandler({intermediates:"$",final:"q"},new bH((c,d)=>this.requestStatusString(c,d)))}getAttrData(){return this._curAttrData}_preserveStack(t,e,n,r){this._parseStack.paused=!0,this._parseStack.cursorStartX=t,this._parseStack.cursorStartY=e,this._parseStack.decodedLength=n,this._parseStack.position=r}_logSlowResolvingAsync(t){this._logService.logLevel<=3&&Promise.race([t,new Promise((e,n
105)=>setTimeout(()=>n("#SLOW_TIMEOUT"),SH))]).catch(e=>{if(e!=="#SLOW_TIMEOUT")throw e;console.warn(`async parser handler taking longer than ${SH} ms`)})}_getCurrentLinkId(){return this._curAttrData.extended.urlId}parse(t,e){let n,r=this._activeBuffer.x,i=this._activeBuffer.y,s=0,a=this._parseStack.paused;if(a){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,e))return this._logSlowResolvingAsync(n),n;r=this._parseStack.cursorStartX,i=this._parseStack.cursorStartY,this._parseStack.paused=!1,t.length>Cc&&(s=this._parseStack.position+Cc)}if(this._logService.logLevel<=1&&this._logService.debug(`parsing data ${typeof t=="string"?` "${t}"`:` "${Array.prototype.map.call(t,c=>String.fromCharCode(c)).join("")}"`}`),this._logService.logLevel===0&&this._logService.trace("parsing data (codes)",typeof t=="string"?t.split("").map(c=>c.charCodeAt(0)):t),this._parseBuffer.length<t.length&&this._parseBuffer.length<Cc&&(this._parseBuffer=new Uint32Array(Math.min(t.length,Cc))),a||this._dirtyRowTracker.clearRange(),t.length>Cc)for(let c=s;c<t.length;c+=Cc){let d=c+Cc<t.length?c+Cc:t.length,f=typeof t=="string"?this._stringDecoder.decode(t.substring(c,d),this._parseBuffer):this._utf8Decoder.decode(t.subarray(c,d),this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,f))return this._preserveStack(r,i,f,c),this._logSlowResolvingAsync(n),n}else if(!a){let c=typeof t=="string"?this._stringDecoder.decode(t,this._parseBuffer):this._utf8Decoder.decode(t,this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,c))return this._preserveStack(r,i,c,0),this._logSlowResolvingAsync(n),n}(this._activeBuffer.x!==r||this._activeBuffer.y!==i)&&this._onCursorMove.fire();let o=this._dirtyRowTracker.end+(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp),l=this._dirtyRowTracker.start+(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp);l<this._bufferService.rows&&this._onRequestRefreshRows.fire({start:Math.min(l,this._bufferService.rows-1),end:Math.min(o,this._bufferService.rows-1)})}print(t,e,n){let r,i,s=this._charsetService.charset,a=this._optionsService.rawOptions.screenReaderMode,o=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,c=this._coreService.modes.insertMode,d=this._curAttrData,f=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._activeBuffer.x&&n-e>0&&f.getWidth(this._activeBuffer.x-1)===2&&f.setCellFromCodepoint(this._activeBuffer.x-1,0,1,d);let p=this._parser.precedingJoinState;for(let g=e;g<n;++g){if(r=t[g],r<127&&s){let S=s[String.fromCharCode(r)];S&&(r=S.charCodeAt(0))}let b=this._unicodeService.charProperties(r,p);i=fd.extractWidth(b);let y=fd.extractShouldJoin(b),w=y?fd.extractWidth(p):0;if(p=b,a&&this._onA11yChar.fire(Mc(r)),this._getCurrentLinkId()&&this._oscLinkService.addLineToLink(this._getCurrentLinkId(),this._activeBuffer.ybase+this._activeBuffer.y),this._activeBuffer.x+i-w>o){if(l){let S=f,_=this._activeBuffer.x-w;for(this._activeBuffer.x=w,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),f=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y),w>0&&f instanceof rg&&f.copyCellsFrom(S,_,0,w,!1);_<o;)S.setCellFromCodepoint(_++,0,1,d)}else if(this._activeBuffer.x=o-1,i===2)continue}if(y&&this._activeBuffer.x){let S=f.getWidth(this._activeBuffer.x-1)?1:2;f.addCodepointToCell(this._activeBuffer.x-S,r,i);for(let _=i-w;--_>=0;)f.setCellFromCodepoint(this._activeBuffer.x++,0,0,d);continue}if(c&&(f.insertCells(this._activeBuffer.x,i-w,this._activeBuffer.getNullCell(d)),f.getWidth(o-1)===2&&f.setCellFromCodepoint(o-1,0,1,d)),f.setCellFromCodepoint(this._activeBuffer.x++,r,i,d),i>0)for(;--i;)f.setCellFromCodepoint(this._activeBuffer.x++,0,0,d)}this._parser.precedingJoinState=p,this._activeBuffer.x<o&&n-e>0&&f.getWidth(this._activeBuffer.x)===0&&!f.hasContent(this._activeBuffer.x)&&f.setCellFromCodepoint(this._activeBuffer.x,0,1,d),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}
vendor: 4,505 bytes, line 105
105registerCsiHandler(t,e){return t.final==="t"&&!t.prefix&&!t.intermediates?this._parser.registerCsiHandler(t,n=>wH(n.params[0],this._optionsService.rawOptions.windowOptions)?e(n):!0):this._parser.registerCsiHandler(t,e)}registerDcsHandler(t,e){return this._parser.registerDcsHandler(t,new bH(e))}registerEscHandler(t,e){return this._parser.registerEscHandler(t,e)}registerOscHandler(t,e){return this._parser.registerOscHandler(t,new As(e))}bell(){return this._onRequestBell.fire(),!0}lineFeed(){return this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows?this._activeBuffer.y=this._bufferService.rows-1:this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0}carriageReturn(){return this._activeBuffer.x=0,!0}backspace(){if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(this._activeBuffer.x===0&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)?.isWrapped){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;let t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);t.hasWidth(this._activeBuffer.x)&&!t.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0}tab(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-t),!0}shiftOut(){return this._charsetService.setgLevel(1),!0}shiftIn(){return this._charsetService.setgLevel(0),!0}_restrictCursor(t=this._bufferService.cols-1){this._activeBuffer.x=Math.min(t,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_setCursor(t,e){this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=t,this._activeBuffer.y=this._activeBuffer.scrollTop+e):(this._activeBuffer.x=t,this._activeBuffer.y=e),this._restrictCursor(),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_moveCursor(t,e){this._restrictCursor(),this._setCursor(this._activeBuffer.x+t,this._activeBuffer.y+e)}cursorUp(t){let e=this._activeBuffer.y-this._activeBuffer.scrollTop;return e>=0?this._moveCursor(0,-Math.min(e,t.params[0]||1)):this._moveCursor(0,-(t.params[0]||1)),!0}cursorDown(t){let e=this._activeBuffer.scrollBottom-this._activeBuffer.y;return e>=0?this._moveCursor(0,Math.min(e,t.params[0]||1)):this._moveCursor(0,t.params[0]||1),!0}cursorForward(t){return this._moveCursor(t.params[0]||1,0),!0}cursorBackward(t){return this._moveCursor(-(t.params[0]||1),0),!0}cursorNextLine(t){return this.cursorDown(t),this._activeBuffer.x=0,!0}cursorPrecedingLine(t){return this.cursorUp(t),this._activeBuffer.x=0,!0}cursorCharAbsolute(t){return this._setCursor((t.params[0]||1)-1,this._activeBuffer.y),!0}cursorPosition(t){return this._setCursor(t.length>=2?(t.params[1]||1)-1:0,(t.params[0]||1)-1),!0}charPosAbsolute(t){return this._setCursor((t.params[0]||1)-1,this._activeBuffer.y),!0}hPositionRelative(t){return this._moveCursor(t.params[0]||1,0),!0}linePosAbsolute(t){return this._setCursor(this._activeBuffer.x,(t.params[0]||1)-1),!0}vPositionRelative(t){return this._moveCursor(0,t.params[0]||1),!0}hVPosition(t){return this.cursorPosition(t),!0}tabClear(t){let e=t.params[0];return e===0?delete this._activeBuffer.tabs[this._activeBuffer.x]:e===3&&(this._activeBuffer.tabs={}),!0}cursorForwardTab(t){if(this._activeBuffer.x>
105=this._bufferService.cols)return!0;let e=t.params[0]||1;for(;e--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0}cursorBackwardTab(t){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let e=t.params[0]||1;for(;e--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0}selectProtected(t){let e=t.params[0];return e===1&&(this._curAttrData.bg|=536870912),(e===2||e===0)&&(this._curAttrData.bg&=-536870913),!0}_eraseInBufferLine(t,e,n,r=!1,i=!1){let s=this._activeBuffer.lines.get(this._activeBuffer.ybase+t);s.replaceCells(e,n,this._activeBuffer.getNullCell(this._eraseAttrData()),i),r&&(s.isWrapped=!1)}_resetBufferLine(t,e=!1){let n=this._activeBuffer.lines.get(this._activeBuffer.ybase+t);n&&(n.fill(this._activeBuffer.getNullCell(this._eraseAttrData()),e),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+t),n.isWrapped=!1)}eraseInDisplay(t,e=!1){this._restrictCursor(this._bufferService.cols);let n;switch(t.params[0]){case 0:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n++,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0,e);n<this._bufferService.rows;n++)this._resetBufferLine(n,e);this._dirtyRowTracker.markDirty(n);break;case 1:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n,0,this._activeBuffer.x+1,!0,e),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(n+1).isWrapped=!1);n--;)this._resetBufferLine(n,e);this._dirtyRowTracker.markDirty(0);break;case 2:if(this._optionsService.rawOptions.scrollOnEraseInDisplay){for(n=this._bufferService.rows,this._dirtyRowTracker.markRangeDirty(0,n-1);n--&&!this._activeBuffer.lines.get(this._activeBuffer.ybase+n)?.getTrimmedLength(););for(;n>=0;n--)this._bufferService.scroll(this._eraseAttrData())}else{for(n=this._bufferService.rows,this._dirtyRowTracker.markDirty(n-1);n--;)this._resetBufferLine(n,e);this._dirtyRowTracker.markDirty(0)}break;case 3:let r=this._activeBuffer.lines.length-this._bufferService.rows;r>0&&(this._activeBuffer.lines.trimStart(r),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-r,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-r,0),this._onScroll.fire(0));break}return!0}eraseInLine(t,e=!1){switch(this._restrictCursor(this._bufferService.cols),t.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0,e);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1,e);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0,e);break}return this._dirtyRowTracker.markDirty(this._activeBuffer.y),!0}insertLines(t){this._restrictCursor();let e=t.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let n=this._activeBuffer.ybase+this._activeBuffer.y,r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,i=this._bufferService.rows-1+this._activeBuffer.ybase-r+1;for(;e--;)this._activeBuffer.lines.splice(i-1,1),this._activeBuffer.lines.splice(n,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}deleteLines(t){this._restrictCursor();let e=t.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let n=this._activeBuffer.ybase+this._activeBuffer.y,r;for(r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,r=this._bufferService.rows-1+this._activeBuffer.ybase-r;e--;)this._activeBuffer.lines.splice(n,1),this._activeBuffer.lines.splice(r,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}insertChars(t){this._restrictCursor();let e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return e&&(e.insertCells(this._activeBuffer.x,t.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}
vendor: 6,235 bytes, line 105
105deleteChars(t){this._restrictCursor();let e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return e&&(e.deleteCells(this._activeBuffer.x,t.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}scrollUp(t){let e=t.params[0]||1;for(;e--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollDown(t){let e=t.params[0]||1;for(;e--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(or));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollLeft(t){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let e=t.params[0]||1;for(let n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){let r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.deleteCells(0,e,this._activeBuffer.getNullCell(this._eraseAttrData())),r.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollRight(t){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let e=t.params[0]||1;for(let n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){let r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.insertCells(0,e,this._activeBuffer.getNullCell(this._eraseAttrData())),r.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}insertColumns(t){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let e=t.params[0]||1;for(let n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){let r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.insertCells(this._activeBuffer.x,e,this._activeBuffer.getNullCell(this._eraseAttrData())),r.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}deleteColumns(t){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;let e=t.params[0]||1;for(let n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){let r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.deleteCells(this._activeBuffer.x,e,this._activeBuffer.getNullCell(this._eraseAttrData())),r.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}eraseChars(t){this._restrictCursor();let e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return e&&(e.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(t.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}repeatPrecedingCharacter(t){let e=this._parser.precedingJoinState;if(!e)return!0;let n=t.params[0]||1,r=fd.extractWidth(e),i=this._activeBuffer.x-r,s=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).getString(i),a=new Uint32Array(s.length*n),o=0;for(let c=0;c<s.length;){let d=s.codePointAt(c)||0;a[o++]=d,c+=d>65535?2:1}let l=o;for(let c=1;c<n;++c)a.copyWithin(l,0,o),l+=o;return this.print(a,0,l),!0}sendDeviceAttributesPrimary(t){return t.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(Ne.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(Ne.ESC+"[?6c")),!0}sendDeviceAttributesSecondary(t){return t.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(Ne.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(Ne.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(t.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(Ne.ESC+"[>83;40003;0c")),!0}_is(t){return(this._optionsService.rawOptions.termName+"").indexOf(t)===0}setMode(t){for(let e=0;e<t.length;e++)switch(t.params[e]){case 4:this._coreService.modes.insertMode=!0;break;case 20:this._optionsService.options.convertEol=!0;break}return!0}setModePrivate(t){for(let e=0;e<t.length;e++)switch(t.params[e]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,Ju),this._charsetService.setgCharset(1,Ju),this._charsetService.setgCharset(2,Ju),this._charsetService.setgCharset(3,Ju);break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:this._optionsService.options.cursorBlink=!0;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0,this._onRequestSendFocus.fire();break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 1016:this._coreMouseService.activeEncoding="SGR_PIXELS";break;case 25:this._coreService.isCursorHidden=!1;break;
105case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(void 0),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0;break;case 2026:this._coreService.decPrivateModes.synchronizedOutput=!0;break}return!0}resetMode(t){for(let e=0;e<t.length;e++)switch(t.params[e]){case 4:this._coreService.modes.insertMode=!1;break;case 20:this._optionsService.options.convertEol=!1;break}return!0}resetModePrivate(t){for(let e=0;e<t.length;e++)switch(t.params[e]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:this._optionsService.options.cursorBlink=!1;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 1016:this._coreMouseService.activeEncoding="DEFAULT";break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),t.params[e]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(void 0),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1;break;case 2026:this._coreService.decPrivateModes.synchronizedOutput=!1,this._onRequestRefreshRows.fire(void 0);break}return!0}requestMode(t,e){let n;(y=>(y[y.NOT_RECOGNIZED=0]="NOT_RECOGNIZED",y[y.SET=1]="SET",y[y.RESET=2]="RESET",y[y.PERMANENTLY_SET=3]="PERMANENTLY_SET",y[y.PERMANENTLY_RESET=4]="PERMANENTLY_RESET"))(n||={});let r=this._coreService.decPrivateModes,{activeProtocol:i,activeEncoding:s}=this._coreMouseService,a=this._coreService,{buffers:o,cols:l}=this._bufferService,{active:c,alt:d}=o,f=this._optionsService.rawOptions,p=(y,w)=>(a.triggerDataEvent(`${Ne.ESC}[${e?"":"?"}${y};${w}$y`),!0),g=y=>y?1:2,b=t.params[0];return e?b===2?p(b,4):b===4?p(b,g(a.modes.insertMode)):b===12?p(b,3):b===20?p(b,g(f.convertEol)):p(b,0):b===1?p(b,g(r.applicationCursorKeys)):b===3?p(b,f.windowOptions.setWinLines?l===80?2:l===132?1:0:0):b===6?p(b,g(r.origin)):b===7?p(b,g(r.wraparound)):b===8?p(b,3):b===9?p(b,g(i==="X10")):b===12?p(b,g(f.cursorBlink)):b===25?p(b,g(!a.isCursorHidden)):b===45?p(b,g(r.reverseWraparound)):b===66?p(b,g(r.applicationKeypad)):b===67?p(b,4):b===1e3?p(b,g(i==="VT200")):b===1002?p(b,g(i==="DRAG")):b===1003?p(b,g(i==="ANY")):b===1004?p(b,g(r.sendFocus)):b===1005?p(b,4):b===1006?p(b,g(s==="SGR")):b===1015?p(b,4):b===1016?p(b,g(s==="SGR_PIXELS")):b===1048?p(b,1):b===47||b===1047||b===1049?p(b,g(c===d)):b===2004?p(b,g(r.bracketedPasteMode)):b===2026?p(b,g(r.synchronizedOutput)):p(b,0)}_updateAttrColor(t,e,n,r,i){return e===2?(t|=50331648,t&=-16777216,t|=Z0.fromColorRGB([n,r,i])):e===5&&(t&=-50331904,t|=33554432|n&255),t}_extractColor(t,e,n){let r=[0,0,-1,0,0,0],i=0,s=0;do{if(r[s+i]=t.params[e+s],t.hasSubParams(e+s)){let a=t.getSubParams(e+s),o=0;do r[1]===5&&(i=1),r[s+o+1+i]=a[o];while(++o<a.length&&o+s+1+i<r.length);break}if(r[1]===5&&s+i>=2||r[1]===2&&s+i>=5)break;r[1]&&(i=1)}while(++s+e<t.length&&s+i<r.length);for(let a=2;a<r.length;++a)r[a]===-1&&(r[a]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return s}_processUnderline(t,e){e.extended=e.extended.clone(),(!~t||t>5)&&(t=1),e.extended.underlineStyle=t,e.fg|=268435456,t===0&&(e.fg&=-268435457),e.updateExtended()}_processSGR0(t){t.fg=or.fg,t.bg=or.bg,t.extended=t.extended.clone(),t.extended.underlineStyle=0,t.extended.underlineColor&=-67108864,t.updateExtended()}charAttributes(t){if(t.length===1&&t.params[0]===0)return this._processSGR0(this._curAttrData),!0;let e=t.length,n,r=this._curAttrData;for(let i=0;i<e;i++)n=t.params[i],n>=30&&n<=37?(r.fg&=-50331904,r.fg|=16777216|n-30):n>=40&&n<=47?(r.bg&=-50331904,r.bg|=16777216|n-40):n>=90&&n<=97?(r.fg&=-50331904,r.fg|=16777216|n-90|8):n>=100&&n<=107?(r.bg&=-50331904,r.bg|=16777216|n-100|8):n===0?this._processSGR0(r):n===1?r.fg|=134217728:n===3?r.bg|=67108864:n===4?(r.fg|=268435456,this._processUnderline(t.hasSubParams(i)?t.getSubParams(i)[0]:1,r)):n===5?r.fg|=536870912:n===7?r.fg|=67108864:n===8?r.fg|=1073741824:n===9?r.fg|=2147483648:n===2?r.bg|=134217728:n===21?this._processUnderline(2,r):n===22?(r.fg&=-134217729,r.bg&=-134217729):n===23?r.bg&=-67108865:n===24?(r.fg&=-268435457,this._processUnderline(0,r)):n===25?r.fg&=-536870913:n===27?r.fg&=-67108865:n===28?r.fg&=-1073741825:n===29?r.fg&=2147483647:n===39?(r.fg&=-67108864,r.fg|=or.fg&16777215):n===49?(r.bg&=-67108864,r.bg|=or.bg&16777215):n===38||n===48||n===58?i+=this._extractColor(t,i,r):n===53?r.bg|=1073741824:n===55?r.bg&=-1073741825:n===59?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):n===100?(r.fg&=-67108864,r.fg|=or.fg&16777215,r.bg&=-67108864,r.bg|=or.bg&16777215):this._logService.debug("Unknown SGR attribute: %d.",n);return!0}deviceStatus(t){switch(t.params[0]){case 5:this._coreService.triggerDataEvent(`${Ne.ESC}[0n`);break;case 6:let e=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${Ne.ESC}[${e};${n}R`);break}return!0}deviceStatusPrivate(t){if(t.params[0]===6){let e=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${Ne.ESC}[?${e};${n}R`)}return!0}softReset(t){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=or.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0}setCursorStyle(t){let e=t.length===0?1:t.params[0];if(e===0)this._coreService.decPrivateModes.cursorStyle=void 0,this._coreService.decPrivateModes.cursorBlink=void 0;else{switch(e){case 1:case 2:this._coreService.decPrivateModes.cursorStyle="block";break;case 3:case 4:this._coreService.decPrivateModes.cursorStyle="underline";break;
105case 5:case 6:this._coreService.decPrivateModes.cursorStyle="bar";break}let n=e%2===1;this._coreService.decPrivateModes.cursorBlink=n}return!0}setScrollRegion(t){let e=t.params[0]||1,n;return(t.length<2||(n=t.params[1])>this._bufferService.rows||n===0)&&(n=this._bufferService.rows),n>e&&(this._activeBuffer.scrollTop=e-1,this._activeBuffer.scrollBottom=n-1,this._setCursor(0,0)),!0}windowOptions(t){if(!wH(t.params[0],this._optionsService.rawOptions.windowOptions))return!0;let e=t.length>1?t.params[1]:0;switch(t.params[0]){case 14:e!==2&&this._onRequestWindowsOptionsReport.fire(0);break;case 16:this._onRequestWindowsOptionsReport.fire(1);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(`${Ne.ESC}[8;${this._bufferService.rows};${this._bufferService.cols}t`);break;case 22:(e===0||e===2)&&(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>vH&&this._windowTitleStack.shift()),(e===0||e===1)&&(this._iconNameStack.push(this._iconName),this._iconNameStack.length>vH&&this._iconNameStack.shift());break;case 23:(e===0||e===2)&&this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),(e===0||e===1)&&this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop());break}return!0}saveCursor(t){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0}restoreCursor(t){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0}setTitle(t){return this._windowTitle=t,this._onTitleChange.fire(t),!0}setIconName(t){return this._iconName=t,!0}setOrReportIndexedColor(t){let e=[],n=t.split(";");for(;n.length>1;){let r=n.shift(),i=n.shift();if(/^\d+$/.exec(r)){let s=parseInt(r);if(xH(s))if(i==="?")e.push({type:0,index:s});else{let a=yH(i);a&&e.push({type:1,index:s,color:a})}}}return e.length&&this._onColor.fire(e),!0}setHyperlink(t){let e=t.indexOf(";");if(e===-1)return!0;let n=t.slice(0,e).trim(),r=t.slice(e+1);return r?this._createHyperlink(n,r):n.trim()?!1:this._finishHyperlink()}_createHyperlink(t,e){this._getCurrentLinkId()&&this._finishHyperlink();let n=t.split(":"),r,i=n.findIndex(s=>s.startsWith("id="));return i!==-1&&(r=n[i].slice(3)||void 0),this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=this._oscLinkService.registerLink({id:r,uri:e}),this._curAttrData.updateExtended(),!0}_finishHyperlink(){return this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=0,this._curAttrData.updateExtended(),!0}_setOrReportSpecialColor(t,e){let n=t.split(";");for(let r=0;r<n.length&&!(e>=this._specialColors.length);++r,++e)if(n[r]==="?")this._onColor.fire([{type:0,index:this._specialColors[e]}]);else{let i=yH(n[r]);i&&this._onColor.fire([{type:1,index:this._specialColors[e],color:i}])}return!0}setOrReportFgColor(t){return this._setOrReportSpecialColor(t,0)}setOrReportBgColor(t){return this._setOrReportSpecialColor(t,1)}setOrReportCursorColor(t){return this._setOrReportSpecialColor(t,2)}restoreIndexedColor(t){if(!t)return this._onColor.fire([{type:2}]),!0;let e=[],n=t.split(";");for(let r=0;r<n.length;++r)if(/^\d+$/.exec(n[r])){let i=parseInt(n[r]);xH(i)&&e.push({type:2,index:i})}return e.length&&this._onColor.fire(e),!0}restoreFgColor(t){return this._onColor.fire([{type:2,index:256}]),!0}restoreBgColor(t){return this._onColor.fire([{type:2,index:257}]),!0}restoreCursorColor(t){return this._onColor.fire([{type:2,index:258}]),!0}nextLine(){return this._activeBuffer.x=0,this.index(),!0}keypadApplicationMode(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0}keypadNumericMode(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0}selectDefaultCharset(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,Ju),!0}selectCharset(t){return t.length!==2?(this.selectDefaultCharset(),!0):(t[0]==="/"||this._charsetService.setgCharset(E9e[t[0]],Ar[t[1]]||Ju),!0)}
105index(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0}tabSet(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0}reverseIndex(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){let t=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,t,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0}fullReset(){return this._parser.reset(),this._onRequestReset.fire(),!0}reset(){this._curAttrData=or.clone(),this._eraseAttrDataInternal=or.clone()}_eraseAttrData(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=this._curAttrData.bg&67108863,this._eraseAttrDataInternal}setgLevel(t){return this._charsetService.setgLevel(t),!0}screenAlignmentPattern(){let t=new Sa;t.content=1<<22|69,t.fg=this._curAttrData.fg,t.bg=this._curAttrData.bg,this._setCursor(0,0);for(let e=0;e<this._bufferService.rows;++e){let n=this._activeBuffer.ybase+this._activeBuffer.y+e,r=this._activeBuffer.lines.get(n);r&&(r.fill(t),r.isWrapped=!1)}return this._dirtyRowTracker.markAllDirty(),this._setCursor(0,0),!0}requestStatusString(t,e){let n=a=>(this._coreService.triggerDataEvent(`${Ne.ESC}${a}${Ne.ESC}\\`),!0),r=this._bufferService.buffer,i=this._optionsService.rawOptions;return n(t==='"q'?`P1$r${this._curAttrData.isProtected()?1:0}"q`:t==='"p'?'P1$r61;1"p':t==="r"?`P1$r${r.scrollTop+1};${r.scrollBottom+1}r`:t==="m"?"P1$r0m":t===" q"?`P1$r${{block:2,underline:4,bar:6}[i.cursorStyle]-(i.cursorBlink?1:0)} q`:"P0$r")}markRangeDirty(t,e){this._dirtyRowTracker.markRangeDirty(t,e)}},l4=class{constructor(t){this._bufferService=t,this.clearRange()}clearRange(){this.start=this._bufferService.buffer.y,this.end=this._bufferService.buffer.y}markDirty(t){t<this.start?this.start=t:t>this.end&&(this.end=t)}markRangeDirty(t,e){t>e&&(_H=t,t=e,e=_H),t<this.start&&(this.start=t),e>this.end&&(this.end=e)}markAllDirty(){this.markRangeDirty(0,this._bufferService.rows-1)}};l4=Kn([et(0,ji)],l4);function xH(t){return 0<=t&&t<256}var C9e=5e7,EH=12,T9e=50,A9e=class extends Lt{constructor(e){super(),this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._didUserInput=!1,this._onWriteParsed=this._register(new Ve),this.onWriteParsed=this._onWriteParsed.event}handleUserInput(){this._didUserInput=!0}writeSync(e,n){if(n!==void 0&&this._syncCalls>n){this._syncCalls=0;return}if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,this._isSyncWriting)return;this._isSyncWriting=!0;let r;for(;r=this._writeBuffer.shift();){this._action(r);let i=this._callbacks.shift();i&&i()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}write(e,n){if(this._pendingData>C9e)throw new Error("write data discarded, use flow control to avoid losing data");if(!this._writeBuffer.length){if(this._bufferOffset=0,this._didUserInput){this._didUserInput=!1,this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(n),this._innerWrite();return}setTimeout(()=>this._innerWrite())}
105this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(n)}_innerWrite(e=0,n=!0){let r=e||performance.now();for(;this._writeBuffer.length>this._bufferOffset;){let i=this._writeBuffer[this._bufferOffset],s=this._action(i,n);if(s){let o=l=>performance.now()-r>=EH?setTimeout(()=>this._innerWrite(0,l)):this._innerWrite(r,l);s.catch(l=>(queueMicrotask(()=>{throw l}),Promise.resolve(!1))).then(o);return}let a=this._callbacks[this._bufferOffset];if(a&&a(),this._bufferOffset++,this._pendingData-=i.length,performance.now()-r>=EH)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>T9e&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(()=>this._innerWrite())):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()}},c4=class{constructor(t){this._bufferService=t,this._nextId=1,this._entriesWithId=new Map,this._dataByLinkId=new Map}registerLink(t){let e=this._bufferService.buffer;if(t.id===void 0){let o=e.addMarker(e.ybase+e.y),l={data:t,id:this._nextId++,lines:[o]};return o.onDispose(()=>this._removeMarkerFromLink(l,o)),this._dataByLinkId.set(l.id,l),l.id}let n=t,r=this._getEntryIdKey(n),i=this._entriesWithId.get(r);if(i)return this.addLineToLink(i.id,e.ybase+e.y),i.id;let s=e.addMarker(e.ybase+e.y),a={id:this._nextId++,key:this._getEntryIdKey(n),data:n,lines:[s]};return s.onDispose(()=>this._removeMarkerFromLink(a,s)),this._entriesWithId.set(a.key,a),this._dataByLinkId.set(a.id,a),a.id}addLineToLink(t,e){let n=this._dataByLinkId.get(t);if(n&&n.lines.every(r=>r.line!==e)){let r=this._bufferService.buffer.addMarker(e);n.lines.push(r),r.onDispose(()=>this._removeMarkerFromLink(n,r))}}getLinkData(t){return this._dataByLinkId.get(t)?.data}_getEntryIdKey(t){return`${t.id};;${t.uri}`}_removeMarkerFromLink(t,e){let n=t.lines.indexOf(e);n!==-1&&(t.lines.splice(n,1),t.lines.length===0&&(t.data.id!==void 0&&this._entriesWithId.delete(t.key),this._dataByLinkId.delete(t.id)))}};c4=Kn([et(0,ji)],c4);var kH=!1,R9e=class extends Lt{constructor(t){super(),this._windowsWrappingHeuristics=this._register(new rp),this._onBinary=this._register(new Ve),this.onBinary=this._onBinary.event,this._onData=this._register(new Ve),this.onData=this._onData.event,this._onLineFeed=this._register(new Ve),this.onLineFeed=this._onLineFeed.event,this._onResize=this._register(new Ve),this.onResize=this._onResize.event,this._onWriteParsed=this._register(new Ve),this.onWriteParsed=this._onWriteParsed.event,this._onScroll=this._register(new Ve),this._instantiationService=new J7e,this.optionsService=this._register(new c9e(t)),this._instantiationService.setService(Hi,this.optionsService),this._bufferService=this._register(this._instantiationService.createInstance(i4)),this._instantiationService.setService(ji,this._bufferService),this._logService=this._register(this._instantiationService.createInstance(r4)),this._instantiationService.setService(fte,this._logService),this.coreService=this._register(this._instantiationService.createInstance(s4)),this._instantiationService.setService(Zd,this.coreService),this.coreMouseService=this._register(this._instantiationService.createInstance(a4)),this._instantiationService.setService(hte,this.coreMouseService),this.unicodeService=this._register(this._instantiationService.createInstance(fd)),this._instantiationService.setService(YLe,this.unicodeService),this._charsetService=this._instantiationService.createInstance(p9e),this._instantiationService.setService(KLe,this._charsetService),this._oscLinkService=this._instantiationService.createInstance(c4),this._instantiationService.setService(pte,this._oscLinkService),this._inputHandler=this._register(new k9e(this._bufferService,this._charsetService,this.coreService,this._logService,this.optionsService,this._oscLinkService,this.coreMouseService,this.unicodeService)),this._register(Jr.forward(this._inputHandler.onLineFeed,this._onLineFeed)),this._register(this._inputHandler),this._register(Jr.forward(this._bufferService.onResize,this._onResize)),this._register(Jr.forward(this.coreService.onData,this._onData)),this._register(Jr.forward(this.coreService.onBinary,this._onBinary)),this._register(this.coreService.onRequestScrollToBottom(()=>this.scrollToBottom(!0))),this._register(this.coreService.onUserInput(()=>this._writeBuffer.handleUserInput())),this._register(this.optionsService.onMultipleOptionChange(["windowsMode","windowsPty"],()=>this._handleWindowsPtyOptionChange())),this._register(this._bufferService.onScroll(()=>{this._onScroll.fire({position:this._bufferService.buffer.ydisp}),this._inputHandler.markRangeDirty(this._bufferService.buffer.scrollTop,this._bufferService.buffer.scrollBottom)})),this._writeBuffer=this._register(new A9e((e,n)=>this._inputHandler.parse(e,n))),this._register(Jr.forward(this._writeBuffer.onWriteParsed,this._onWriteParsed))}get onScroll(){return this._onScrollApi||(this._onScrollApi=this._register(new Ve),this._onScroll.event(t=>{this._onScrollApi?.fire(t.position)})),this._onScrollApi.event}
105get cols(){return this._bufferService.cols}get rows(){return this._bufferService.rows}get buffers(){return this._bufferService.buffers}get options(){return this.optionsService.options}set options(t){for(let e in t)this.optionsService.options[e]=t[e]}write(t,e){this._writeBuffer.write(t,e)}writeSync(t,e){this._logService.logLevel<=3&&!kH&&(this._logService.warn("writeSync is unreliable and will be removed soon."),kH=!0),this._writeBuffer.writeSync(t,e)}input(t,e=!0){this.coreService.triggerDataEvent(t,e)}resize(t,e){isNaN(t)||isNaN(e)||(t=Math.max(t,qte),e=Math.max(e,Wte),this._bufferService.resize(t,e))}scroll(t,e=!1){this._bufferService.scroll(t,e)}scrollLines(t,e){this._bufferService.scrollLines(t,e)}scrollPages(t){this.scrollLines(t*(this.rows-1))}scrollToTop(){this.scrollLines(-this._bufferService.buffer.ydisp)}scrollToBottom(t){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)}scrollToLine(t){let e=t-this._bufferService.buffer.ydisp;e!==0&&this.scrollLines(e)}registerEscHandler(t,e){return this._inputHandler.registerEscHandler(t,e)}registerDcsHandler(t,e){return this._inputHandler.registerDcsHandler(t,e)}registerCsiHandler(t,e){return this._inputHandler.registerCsiHandler(t,e)}registerOscHandler(t,e){return this._inputHandler.registerOscHandler(t,e)}_setup(){this._handleWindowsPtyOptionChange()}reset(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()}_handleWindowsPtyOptionChange(){let t=!1,e=this.optionsService.rawOptions.windowsPty;e&&e.buildNumber!==void 0&&e.buildNumber!==void 0?t=e.backend==="conpty"&&e.buildNumber<21376:this.optionsService.rawOptions.windowsMode&&(t=!0),t?this._enableWindowsWrappingHeuristics():this._windowsWrappingHeuristics.clear()}_enableWindowsWrappingHeuristics(){if(!this._windowsWrappingHeuristics.value){let t=[];t.push(this.onLineFeed(gH.bind(null,this._bufferService))),t.push(this.registerCsiHandler({final:"H"},()=>(gH(this._bufferService),!1))),this._windowsWrappingHeuristics.value=In(()=>{for(let e of t)e.dispose()})}}},N9e={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};function O9e(t,e,n,r){let i={type:0,cancel:!1,key:void 0},s=(t.shiftKey?1:0)|(t.altKey?2:0)|(t.ctrlKey?4:0)|(t.metaKey?8:0);switch(t.keyCode){case 0:t.key==="UIKeyInputUpArrow"?e?i.key=Ne.ESC+"OA":i.key=Ne.ESC+"[A":t.key==="UIKeyInputLeftArrow"?e?i.key=Ne.ESC+"OD":i.key=Ne.ESC+"[D":t.key==="UIKeyInputRightArrow"?e?i.key=Ne.ESC+"OC":i.key=Ne.ESC+"[C":t.key==="UIKeyInputDownArrow"&&(e?i.key=Ne.ESC+"OB":i.key=Ne.ESC+"[B");break;case 8:i.key=t.ctrlKey?"\b":Ne.DEL,t.altKey&&(i.key=Ne.ESC+i.key);break;case 9:if(t.shiftKey){i.key=Ne.ESC+"[Z";break}i.key=Ne.HT,i.cancel=!0;break;case 13:i.key=t.altKey?Ne.ESC+Ne.CR:Ne.CR,i.cancel=!0;break;case 27:i.key=Ne.ESC,t.altKey&&(i.key=Ne.ESC+Ne.ESC),i.cancel=!0;break;case 37:if(t.metaKey)break;s?i.key=Ne.ESC+"[1;"+(s+1)+"D":e?i.key=Ne.ESC+"OD":i.key=Ne.ESC+"[D";break;case 39:if(t.metaKey)break;s?i.key=Ne.ESC+"[1;"+(s+1)+"C":e?i.key=Ne.ESC+"OC":i.key=Ne.ESC+"[C";break;case 38:if(t.metaKey)break;s?i.key=Ne.ESC+"[1;"+(s+1)+"A":e?i.key=Ne.ESC+"OA":i.key=Ne.ESC+"[A";break;case 40:if(t.metaKey)break;s?i.key=Ne.ESC+"[1;"+(s+1)+"B":e?i.key=Ne.ESC+"OB":i.key=Ne.ESC+"[B";break;case 45:!t.shiftKey&&!t.ctrlKey&&(i.key=Ne.ESC+"[2~");break;case 46:s?i.key=Ne.ESC+"[3;"+(s+1)+"~":i.key=Ne.ESC+"[3~";break;case 36:s?i.key=Ne.ESC+"[1;"+(s+1)+"H":e?i.key=Ne.ESC+"OH":i.key=Ne.ESC+"[H";break;case 35:s?i.key=Ne.ESC+"[1;"+(s+1)+"F":e?i.key=Ne.ESC+"OF":i.key=Ne.ESC+"[F";break;case 33:t.shiftKey?i.type=2:t.ctrlKey?i.key=Ne.ESC+"[5;"+(s+1)+"~":i.key=Ne.ESC+"[5~";break;case 34:t.shiftKey?i.type=3:t.ctrlKey?i.key=Ne.ESC+"[6;"+(s+1)+"~":i.key=Ne.ESC+"[6~";break;case 112:s?i.key=Ne.ESC+"[1;"+(s+1)+"P":i.key=Ne.ESC+"OP";break;case 113:s?i.key=Ne.ESC+"[1;"+(s+1)+"Q":i.key=Ne.ESC+"OQ";break;case 114:s?i.key=Ne.ESC+"[1;"+(s+1)+"R":i.key=Ne.ESC+"OR";break;case 115:s?i.key=Ne.ESC+"[1;"+(s+1)+"S":i.key=Ne.ESC+"OS";break;case 116:s?i.key=Ne.ESC+"[15;"+(s+1)+"~":i.key=Ne.ESC+"[15~";break;case 117:s?i.key=Ne.ESC+"[17;"+(s+1)+"~":i.key=Ne.ESC+"[17~";break;case 118:s?i.key=Ne.ESC+"[18;"+(s+1)+"~":i.key=Ne.ESC+"[18~";break;case 119:s?i.key=Ne.ESC+"[19;"+(s+1)+"~":i.key=Ne.ESC+"[19~";break;case 120:s?i.key=Ne.ESC+"[20;"+(s+1)+"~":i.key=Ne.ESC+"[20~";break;case 121:s?i.key=Ne.ESC+"[21;"+(s+1)+"~":i.key=Ne.ESC+"[21~";break;case 122:s?i.key=Ne.ESC+"[23;"+(s+1)+"~":i.key=Ne.ESC+"[23~";break;case 123:s?i.key=Ne.ESC+"[24;"+(s+1)+"~":i.key=Ne.ESC+"[24~";break;default:if(t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey)t.keyCode>=65&&t.keyCode<=90?i.key=String.fromCharCode(t.keyCode-64):t.keyCode===32?i.key=Ne.NUL:t.keyCode>=51&&t.keyCode<=55?i.key=String.fromCharCode(t.keyCode-51+27):t.keyCode===56?i.key=Ne.DEL:t.keyCode===219?i.key=Ne.ESC:t.keyCode===220?i.key=Ne.FS:t.keyCode===221&&(i.key=Ne.GS);else if((!n||r)&&t.altKey&&!t.metaKey){let a=N9e[t.keyCode]?.[t.shiftKey?1:0];if(a)i.key=Ne.ESC+a;else if(t.keyCode>=65&&t.keyCode<=90){let o=t.ctrlKey?t.keyCode-64:t.keyCode+32,l=String.fromCharCode(o);t.shiftKey&&(l=l.toUpperCase()),i.key=Ne.ESC+l}else if(t.keyCode===32)i.key=Ne.ESC+(t.ctrlKey?Ne.NUL:" ");else if(t.key==="Dead"&&t.code.startsWith("Key")){let o=t.code.slice(3,4);t.shiftKey||(o=o.toLowerCase()),i.key=Ne.ESC+o,i.cancel=!0}}else n&&!t.altKey&&!t.ctrlKey&&!t.shiftKey&&t.metaKey?t.keyCode===65&&(i.type=1):t.key&&!t.ctrlKey&&!t.altKey&&!t.metaKey&&t.keyCode>=48&&t.key.length===1?i.key=t.key:t.key&&t.ctrlKey&&(t.key==="_"&&(i.key=Ne.US),t.key==="@"&&(i.key=Ne.NUL));break}return i}var Qn=0,I9e=class{constructor(t){this._getKey=t,this._array=[],this._insertedValues=[],this._flushInsertedTask=new Pw,this._isFlushingInserted=!1,this._deletedIndices=[],this._flushDeletedTask=new Pw,this._isFlushingDeleted=!1}clear(){this._array.length=0,this._insertedValues.length=0,this._flushInsertedTask.clear(),this._isFlushingInserted=!1,this._deletedIndices.length=0,this._flushDeletedTask.clear(),this._isFlushingDeleted=!1}insert(t){this._flushCleanupDeleted(),this._insertedValues.length===0&&this._flushInsertedTask.enqueue(()=>this._flushInserted()),this._insertedValues.push(t)}_flushInserted(){let t=this._insertedValues.sort((i,s)=>this._getKey(i)-this._getKey(s)),e=0,n=0,r=new Array(this._array.length+this._insertedValues.length);for(let i=0;i<r.length;i++)n>=this._array.length||this._getKey(t[e])<=this._getKey(this._array[n])?(r[i]=t[e],e++):r[i]=this._array[n++];this._array=r,this._insertedValues.length=0}_flushCleanupInserted(){!this._isFlushingInserted&&this._insertedValues.length>0&&this._flushInsertedTask.flush()}delete(t){if(this._flushCleanupInserted(),this._array.length===0)return!1;let e=this._getKey(t);if(e===void 0||(Qn=this._search(e),Qn===-1)||this._getKey(this._array[Qn])!==e)return!1;do if(this._array[Qn]===t)return this._deletedIndices.length===0&&this._flushDeletedTask.enqueue(()=>this._flushDeleted()),this._deletedIndices.push(Qn),!0;while(++Qn<this._array.length&&this._getKey(this._array[Qn])===e);return!1}_flushDeleted(){this._isFlushingDeleted=!0;let t=this._deletedIndices.sort((i,s)=>i-s),e=0,n=new Array(this._array.length-t.length),r=0;for(let i=0;i<this._array.length;i++)t[e]===i?e++:n[r++]=this._array[i];this._array=n,this._deletedIndices.length=0,this._isFlushingDeleted=!1}_flushCleanupDeleted(){!this._isFlushingDeleted&&this._deletedIndices.length>0&&this._flushDeletedTask.flush()}*getKeyIterator(t){if(this._flushCleanupInserted(),this._flushCleanupDeleted(),this._array.length!==0&&(Qn=this._search(t),!(Qn<0||Qn>=this._array.length)&&this._getKey(this._array[Qn])===t))do yield this._array[Qn];while(++Qn<this._array.length&&this._getKey(this._array[Qn])===t)}forEachByKey(t,e){if(this._flushCleanupInserted(),this._flushCleanupDeleted(),this._array.length!==0&&(Qn=this._search(t),!(Qn<0||Qn>=this._array.length)&&this._getKey(this._array[Qn])===t))do e(this._array[Qn]);while(++Qn<this._array.length&&this._getKey(this._array[Qn])===t)}values(){return this._flushCleanupInserted(),this._flushCleanupDeleted(),[...this._array].values()}_search(t){let e=0,n=this._array.length-1;for(;n>=e;){let r=e+n>>1,i=this._getKey(this._array[r]);if(i>t)n=r-1;else if(i<t)e=r+1;else{for(;r>0&&this._getKey(this._array[r-1])===t;)r--;return r}}return e}},Lk=0,CH=0,D9e=class extends Lt{constructor(){super(),this._decorations=new I9e(t=>t?.marker.line),this._onDecorationRegistered=this._register(new Ve),this.onDecorationRegistered=this._onDecorationRegistered.event,this._onDecorationRemoved=this._register(new Ve),this.onDecorationRemoved=this._onDecorationRemoved.event,this._register(In(()=>this.reset()))}get decorations(){return this._decorations.values()}registerDecoration(t){if(t.marker.isDisposed)return;let e=new M9e(t);if(e){let n=e.marker.onDispose(()=>
105e.dispose()),r=e.onDispose(()=>{r.dispose(),e&&(this._decorations.delete(e)&&this._onDecorationRemoved.fire(e),n.dispose())});this._decorations.insert(e),this._onDecorationRegistered.fire(e)}return e}reset(){for(let t of this._decorations.values())t.dispose();this._decorations.clear()}*getDecorationsAtCell(t,e,n){let r=0,i=0;for(let s of this._decorations.getKeyIterator(e))r=s.options.x??0,i=r+(s.options.width??1),t>=r&&t<i&&(!n||(s.options.layer??"bottom")===n)&&(yield s)}forEachDecorationAtCell(t,e,n,r){this._decorations.forEachByKey(e,i=>{Lk=i.options.x??0,CH=Lk+(i.options.width??1),t>=Lk&&t<CH&&(!n||(i.options.layer??"bottom")===n)&&r(i)})}},M9e=class extends Wc{constructor(t){super(),this.options=t,this.onRenderEmitter=this.add(new Ve),this.onRender=this.onRenderEmitter.event,this._onDispose=this.add(new Ve),this.onDispose=this._onDispose.event,this._cachedBg=null,this._cachedFg=null,this.marker=t.marker,this.options.overviewRulerOptions&&!this.options.overviewRulerOptions.position&&(this.options.overviewRulerOptions.position="full")}get backgroundColorRGB(){return this._cachedBg===null&&(this.options.backgroundColor?this._cachedBg=Pn.toColor(this.options.backgroundColor):this._cachedBg=void 0),this._cachedBg}get foregroundColorRGB(){return this._cachedFg===null&&(this.options.foregroundColor?this._cachedFg=Pn.toColor(this.options.foregroundColor):this._cachedFg=void 0),this._cachedFg}dispose(){this._onDispose.fire(),super.dispose()}},L9e=1e3,B9e=class{constructor(t,e=L9e){this._renderCallback=t,this._debounceThresholdMS=e,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}dispose(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)}refresh(t,e,n){this._rowCount=n,t=t!==void 0?t:0,e=e!==void 0?e:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,t):t,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,e):e;let r=performance.now();if(r-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=r,this._innerRefresh();else if(!this._additionalRefreshRequested){let i=r-this._lastRefreshMs,s=this._debounceThresholdMS-i;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(()=>{this._lastRefreshMs=performance.now(),this._innerRefresh(),this._additionalRefreshRequested=!1,this._refreshTimeoutID=void 0},s)}}_innerRefresh(){if(this._rowStart===void 0||this._rowEnd===void 0||this._rowCount===void 0)return;let t=Math.max(this._rowStart,0),e=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(t,e)}},TH=20,Fw=class extends Lt{constructor(t,e,n,r){super(),this._terminal=t,this._coreBrowserService=n,this._renderService=r,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="";let i=this._coreBrowserService.mainDocument;this._accessibilityContainer=i.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=i.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let s=0;s<this._terminal.rows;s++)this._rowElements[s]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[s]);if(this._topBoundaryFocusListener=s=>this._handleBoundaryFocus(s,0),this._bottomBoundaryFocusListener=s=>this._handleBoundaryFocus(s,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=i.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this._register(new B9e(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this._register(this._terminal.onResize(s=>this._handleResize(s.rows))),this._register(this._terminal.onRender(s=>this._refreshRows(s.start,s.end))),this._register(this._terminal.onScroll(()=>this._refreshRows())),this._register(this._terminal.onA11yChar(s=>this._handleChar(s))),this._register(this._terminal.onLineFeed(()=>this._handleChar(`
106`))),this._register(this._terminal.onA11yTab(s=>this._handleTab(s))),this._register(this._terminal.onKey(s=>this._handleKey(s.key))),this._register(this._terminal.onBlur(()=>this._clearLiveRegion())),this._register(this._renderService.onDimensionsChange(()=>this._refreshRowsDimensions())),this._register(St(i,"selectionchange",()=>this._handleSelectionChange())),this._register(this._coreBrowserService.onDprChange(()=>this._refreshRowsDimensions())),this._refreshRowsDimensions(),this._refreshRows(),this._register(In(()=>{this._accessibilityContainer.remove(),this._rowElements.length=0}))}_handleTab(t){for(let e=0;e<t;e++)this._handleChar(" ")}_handleChar(t){this._liveRegionLineCount<TH+1&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==t&&(this._charsToAnnounce+=t):this._charsToAnnounce+=t,t===`
107`&&(this._liveRegionLineCount++,this._liveRegionLineCount===TH+1&&(this._liveRegion.textContent+=RA.get())))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0}_handleKey(t){this._clearLiveRegion(),new RegExp("\\p{Control}","u").test(t)||this._charsToConsume.push(t)}_refreshRows(t,e){this._liveRegionDebouncer.refresh(t,e,this._terminal.rows)}_renderRows(t,e){let n=this._terminal.buffer,r=n.lines.length.toString();for(let i=t;i<=e;i++){let s=n.lines.get(n.ydisp+i),a=[],o=s?.translateToString(!0,void 0,void 0,a)||"",l=(n.ydisp+i+1).toString(),c=this._rowElements[i];c&&(o.length===0?(c.textContent=" ",this._rowColumns.set(c,[0,1])):(c.textContent=o,this._rowColumns.set(c,a)),c.setAttribute("aria-posinset",l),c.setAttribute("aria-setsize",r),this._alignRowWidth(c))}this._announceCharacters()}_announceCharacters(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce
107="")}_handleBoundaryFocus(t,e){let n=t.target,r=this._rowElements[e===0?1:this._rowElements.length-2],i=n.getAttribute("aria-posinset"),s=e===0?"1":`${this._terminal.buffer.lines.length}`;if(i===s||t.relatedTarget!==r)return;let a,o;if(e===0?(a=n,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(a=this._rowElements.shift(),o=n,this._rowContainer.removeChild(a)),a.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),e===0){let l=this._createAccessibilityTreeNode();this._rowElements.unshift(l),this._rowContainer.insertAdjacentElement("afterbegin",l)}else{let l=this._createAccessibilityTreeNode();this._rowElements.push(l),this._rowContainer.appendChild(l)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(e===0?-1:1),this._rowElements[e===0?1:this._rowElements.length-2].focus(),t.preventDefault(),t.stopImmediatePropagation()}_handleSelectionChange(){if(this._rowElements.length===0)return;let t=this._coreBrowserService.mainDocument.getSelection();if(!t)return;if(t.isCollapsed){this._rowContainer.contains(t.anchorNode)&&this._terminal.clearSelection();return}if(!t.anchorNode||!t.focusNode){console.error("anchorNode and/or focusNode are null");return}let e={node:t.anchorNode,offset:t.anchorOffset},n={node:t.focusNode,offset:t.focusOffset};if((e.node.compareDocumentPosition(n.node)&Node.DOCUMENT_POSITION_PRECEDING||e.node===n.node&&e.offset>n.offset)&&([e,n]=[n,e]),e.node.compareDocumentPosition(this._rowElements[0])&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING)&&(e={node:this._rowElements[0].childNodes[0],offset:0}),!this._rowContainer.contains(e.node))return;let r=this._rowElements.slice(-1)[0];if(n.node.compareDocumentPosition(r)&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_PRECEDING)&&(n={node:r,offset:r.textContent?.length??0}),!this._rowContainer.contains(n.node))return;let i=({node:o,offset:l})=>{let c=o instanceof Text?o.parentNode:o,d=parseInt(c?.getAttribute("aria-posinset"),10)-1;if(isNaN(d))return console.warn("row is invalid. Race condition?"),null;let f=this._rowColumns.get(c);if(!f)return console.warn("columns is null. Race condition?"),null;let p=l<f.length?f[l]:f.slice(-1)[0]+1;return p>=this._terminal.cols&&(++d,p=0),{row:d,column:p}},s=i(e),a=i(n);if(!(!s||!a)){if(s.row>a.row||s.row===a.row&&s.column>=a.column)throw new Error("invalid range");this._terminal.select(s.column,s.row,(a.row-s.row)*this._terminal.cols-s.column+a.column)}}_handleResize(t){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let e=this._rowContainer.children.length;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){let t=this._coreBrowserService.mainDocument.createElement("div");return t.setAttribute("role","listitem"),t.tabIndex=-1,this._refreshRowDimensions(t),t}_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){Object.assign(this._accessibilityContainer.style,{width:`${this._renderService.dimensions.css.canvas.width}px`,fontSize:`${this._terminal.options.fontSize}px`}),this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let t=0;t<this._terminal.rows;t++)this._refreshRowDimensions(this._rowElements[t]),this._alignRowWidth(this._rowElements[t])}}_refreshRowDimensions(t){t.style.height=`${this._renderService.dimensions.css.cell.height}px`}_alignRowWidth(t){t.style.transform="";let e=t.getBoundingClientRect().width,n=this._rowColumns.get(t)?.slice(-1)?.[0];if(!n)return;
107let r=n*this._renderService.dimensions.css.cell.width;t.style.transform=`scaleX(${r/e})`}};Fw=Kn([et(1,_5),et(2,ql),et(3,Wl)],Fw);var u4=class extends Lt{constructor(t,e,n,r,i){super(),this._element=t,this._mouseService=e,this._renderService=n,this._bufferService=r,this._linkProviderService=i,this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this._register(new Ve),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this._register(new Ve),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this._register(In(()=>{jd(this._linkCacheDisposables),this._linkCacheDisposables.length=0,this._lastMouseEvent=void 0,this._activeProviderReplies?.clear()})),this._register(this._bufferService.onResize(()=>{this._clearCurrentLink(),this._wasResized=!0})),this._register(St(this._element,"mouseleave",()=>{this._isMouseOut=!0,this._clearCurrentLink()})),this._register(St(this._element,"mousemove",this._handleMouseMove.bind(this))),this._register(St(this._element,"mousedown",this._handleMouseDown.bind(this))),this._register(St(this._element,"mouseup",this._handleMouseUp.bind(this)))}get currentLink(){return this._currentLink}_handleMouseMove(t){this._lastMouseEvent=t;let e=this._positionFromMouseEvent(t,this._element,this._mouseService);if(!e)return;this._isMouseOut=!1;let n=t.composedPath();for(let r=0;r<n.length;r++){let i=n[r];if(i.classList.contains("xterm"))break;if(i.classList.contains("xterm-hover"))return}(!this._lastBufferCell||e.x!==this._lastBufferCell.x||e.y!==this._lastBufferCell.y)&&(this._handleHover(e),this._lastBufferCell=e)}_handleHover(t){if(this._activeLine!==t.y||this._wasResized){this._clearCurrentLink(),this._askForLink(t,!1),this._wasResized=!1;return}this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))}_askForLink(t,e){(!this._activeProviderReplies||!e)&&(this._activeProviderReplies?.forEach(r=>{r?.forEach(i=>{i.link.dispose&&i.link.dispose()})}
107),this._activeProviderReplies=new Map,this._activeLine=t.y);let n=!1;for(let[r,i]of this._linkProviderService.linkProviders.entries())e?this._activeProviderReplies?.get(r)&&(n=this._checkLinkProviderResult(r,t,n)):i.provideLinks(t.y,s=>{if(this._isMouseOut)return;let a=s?.map(o=>({link:o}));this._activeProviderReplies?.set(r,a),n=this._checkLinkProviderResult(r,t,n),this._activeProviderReplies?.size===this._linkProviderService.linkProviders.length&&this._removeIntersectingLinks(t.y,this._activeProviderReplies)})}_removeIntersectingLinks(t,e){let n=new Set;for(let r=0;r<e.size;r++){let i=e.get(r);if(i)for(let s=0;s<i.length;s++){let a=i[s],o=a.link.range.start.y<t?0:a.link.range.start.x,l=a.link.range.end.y>t?this._bufferService.cols:a.link.range.end.x;for(let c=o;c<=l;c++){if(n.has(c)){i.splice(s--,1);break}n.add(c)}}}}_checkLinkProviderResult(t,e,n){if(!this._activeProviderReplies)return n;let r=this._activeProviderReplies.get(t),i=!1;for(let s=0;s<t;s++)(!this._activeProviderReplies.has(s)||this._activeProviderReplies.get(s))&&(i=!0);if(!i&&r){let s=r.find(a=>this._linkAtPosition(a.link,e));s&&(n=!0,this._handleNewLink(s))}if(this._activeProviderReplies.size===this._linkProviderService.linkProviders.length&&!n)for(let s=0;s<this._activeProviderReplies.size;s++){let a=this._activeProviderReplies.get(s)?.find(o=>this._linkAtPosition(o.link,e));if(a){n=!0,this._handleNewLink(a);break}}return n}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(t){if(!this._currentLink)return;let e=this._positionFromMouseEvent(t,this._element,this._mouseService);e&&this._mouseDownLink&&P9e(this._mouseDownLink.link,this._currentLink.link)&&this._linkAtPosition(this._currentLink.link,e)&&this._currentLink.link.activate(t,this._currentLink.link.text)}_clearCurrentLink(t,e){!this._currentLink||!this._lastMouseEvent||(!t||!e||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=e)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,jd(this._linkCacheDisposables),this._linkCacheDisposables.length=0)}_handleNewLink(t){if(!this._lastMouseEvent)return;let e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._linkAtPosition(t.link,e)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0?!0:t.link.decorations.underline,pointerCursor:t.link.decorations===void 0?!0:t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:()=>this._currentLink?.state?.decorations.pointerCursor,set:n=>{this._currentLink?.state&&this._currentLink.state.decorations.pointerCursor!==n&&(this._currentLink.state.decorations.pointerCursor=n,this._currentLink.state.isHovered&&this._element.classList.toggle("xterm-cursor-pointer",n))}},underline:{get:()=>this._currentLink?.state?.decorations.underline,set:n=>{this._currentLink?.state&&this._currentLink?.state?.decorations.underline!==n&&(this._currentLink.state.decorations.underline=n,this._currentLink.state.isHovered&&this._fireUnderlineEvent(t.link,n))}}}),this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(n=>{if(!this._currentLink)return;let r=n.start===0?0:n.start+1+this._bufferService.buffer.ydisp,i=this._bufferService.buffer.ydisp+1+n.end;if(this._currentLink.link.range.start.y>=r&&this._currentLink.link.range.end.y<=i&&(this._clearCurrentLink(r,i),this._lastMouseEvent)){let s=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);s&&this._askForLink(s,!1)}})))}_linkHover(t,e,n){this._currentLink?.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),e.hover&&e.hover(n,e.text)}_fireUnderlineEvent(t,e){let n=t.range,r=this._bufferService.buffer.ydisp,i=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(e?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(i)}_linkLeave(t,e,n){this._currentLink?.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),e.leave&&e.leave(n,e.text)}_linkAtPosition(t,e){let n=t.range.start.y*this._bufferService.cols+t.range.start.x,r=t.range.end.y*this._bufferService.cols+t.range.end.x,i=e.y*this._bufferService.cols+e.x;return n<=i&&i<=r}_positionFromMouseEvent(t,e,n){let r=n.getCoords(t,e,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(t,e,n,r,i){return{x1:t,y1:e,x2:n,y2:r,cols:this._bufferService.cols,fg:i}}};u4=Kn([et(1,x5),et(2,Wl),et(3,ji),et(4,gte)],u4);function P9e(t,e){return t.text===e.text&&t.range.start.x===e.range.start.x&&t.range.start.y===e.range.start.y&&t.range.end.x===e.range.end.x&&t.range.end.y===e.range.end.y}var F9e=class extends R9e{constructor(t={}){super(t),this._linkifier=this._register(new rp),this.browser=Lte,this._keyDownHandled=!1,this._keyDownSeen=!1,this._keyPressHandled=!1,this._unprocessedDeadKey=!1,this._accessibilityManager=this._register(new rp),this._onCursorMove=this._register(new Ve),this.onCursorMove=this._onCursorMove.event,this._onKey=this._register(new Ve),this.onKey=this._onKey.event,this._onRender=this._register(new Ve),this.onRender=this._onRender.event,this._onSelectionChange=this._register(new Ve),this.onSelectionChange=this._onSelectionChange.event,this._onTitleChange=this._register(new Ve),this.onTitleChange=this._onTitleChange.event,this._onBell=this._register(new Ve),this.onBell=this._onBell.event,this._onFocus=this._register(new Ve),this._onBlur=this._register(new Ve),this._onA11yCharEmitter=this._register(new Ve),this._onA11yTabEmitter=this._register(new Ve),this._onWillOpen=this._register(new Ve),this._setup(),this._decorationService=this._instantiationService.createInstance(D9e),this._instantiationService.setService(Q0,this._decorationService),this._linkProviderService=this._instantiationService.createInstance(T7e),this._instantiationService.setService(gte,this._linkProviderService),this._linkProviderService.registerLinkProvider(this._instantiationService.createInstance(OA)),this._register(this._inputHandler.onRequestBell(()=>this._onBell.fire())),this._register(this._inputHandler.onRequestRefreshRows(e=>this.refresh(e?.start??0,e?.end??this.rows-1))),this._register(this._inputHandler.onRequestSendFocus(()=>this._reportFocus())),this._register(this._inputHandler.onRequestReset(()=>this.reset())),this._register(this._inputHandler.onRequestWindowsOptionsReport(e=>this._reportWindowsOptions(e))),this._register(this._inputHandler.onColor(e=>this._handleColorEvent(e))),this._register(Jr.forward(this._inputHandler.onCursorMove,this._onCursorMove)),this._register(Jr.forward(this._inputHandler.onTitleChange,this._onTitleChange)),this._register(Jr.forward(this._inputHandler.onA11yChar,this._onA11yCharEmitter)),this._register(Jr.forward(this._inputHandler.onA11yTab,this._onA11yTabEmitter)),this._register(this._bufferService.onResize(e=>this._afterResize(e.cols,e.rows))),this._register(In(()=>{this._customKeyEventHandler=void 0,this.element?.parentNode?.removeChild(this.element)}))}get linkifier(){return this._linkifier.value}get onFocus(){return this._onFocus.event}get onBlur(){return this._onBlur.event}
107get onA11yChar(){return this._onA11yCharEmitter.event}get onA11yTab(){return this._onA11yTabEmitter.event}get onWillOpen(){return this._onWillOpen.event}_handleColorEvent(t){if(this._themeService)for(let e of t){let n,r="";switch(e.index){case 256:n="foreground",r="10";break;case 257:n="background",r="11";break;case 258:n="cursor",r="12";break;default:n="ansi",r="4;"+e.index}switch(e.type){case 0:let i=Cn.toColorRGB(n==="ansi"?this._themeService.colors.ansi[e.index]:this._themeService.colors[n]);this.coreService.triggerDataEvent(`${Ne.ESC}]${r};${x9e(i)}${Dte.ST}`);break;case 1:if(n==="ansi")this._themeService.modifyColors(s=>s.ansi[e.index]=ur.toColor(...e.color));else{let s=n;this._themeService.modifyColors(a=>a[s]=ur.toColor(...e.color))}break;case 2:this._themeService.restoreColor(e.index);break}}}_setup(){super._setup(),this._customKeyEventHandler=void 0}get buffer(){return this.buffers.active}focus(){this.textarea&&this.textarea.focus({preventScroll:!0})}_handleScreenReaderModeOptionChange(t){t?!this._accessibilityManager.value&&this._renderService&&(this._accessibilityManager.value=this._instantiationService.createInstance(Fw,this)):this._accessibilityManager.clear()}_handleTextAreaFocus(t){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(Ne.ESC+"[I"),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()}blur(){return this.textarea?.blur()}_handleTextAreaBlur(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(Ne.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()}_syncTextArea(){if(!this.textarea||!this.buffer.isCursorInViewport||this._compositionHelper.isComposing||!this._renderService)return;let t=this.buffer.ybase+this.buffer.y,e=this.buffer.lines.get(t);if(!e)return;let n=Math.min(this.buffer.x,this.cols-1),r=this._renderService.dimensions.css.cell.height,i=e.getWidth(n),s=this._renderService.dimensions.css.cell.width*i,a=this.buffer.y*this._renderService.dimensions.css.cell.height,o=n*this._renderService.dimensions.css.cell.width;this.textarea.style.left=o+"px",this.textarea.style.top=a+"px",this.textarea.style.width=s+"px",this.textarea.style.height=r+"px",this.textarea.style.lineHeight=r+"px",this.textarea.style.zIndex="-5"}_initGlobal(){this._bindKeys(),this._register(St(this.element,"copy",e=>{this.hasSelection()&&HLe(e,this._selectionService)}));let t=e=>$Le(e,this.textarea,this.coreService,this.optionsService);this._register(St(this.textarea,"paste",t)),this._register(St(this.element,"paste",t)),Bte?this._register(St(this.element,"mousedown",e=>{e.button===2&&Pj(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)})):this._register(St(this.element,"contextmenu",e=>{Pj(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)})),O5&&this._register(St(this.element,"auxclick",e=>{e.button===1&&ote(e,this.textarea,this.screenElement)}))}_bindKeys(){this._register(St(this.textarea,"keyup",t=>this._keyUp(t),!0)),this._register(St(this.textarea,"keydown",t=>this._keyDown(t),!0)),this._register(St(this.textarea,"keypress",t=>this._keyPress(t),!0)),this._register(St(this.textarea,"compositionstart",()=>this._compositionHelper.compositionstart())),this._register(St(this.textarea,"compositionupdate",t=>this._compositionHelper.compositionupdate(t))),this._register(St(this.textarea,"compositionend",()=>this._compositionHelper.compositionend())),this._register(St(this.textarea,"input",t=>this._inputEvent(t),!0)),this._register(this.onRender(()=>this._compositionHelper.updateCompositionElements()))}open(t){if(!t)throw new Error("Terminal requires a parent element.");if(t.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this.element?.ownerDocument.defaultView&&this._coreBrowserService){this.element.ownerDocument.defaultView!==this._coreBrowserService.window&&(this._coreBrowserService.window=this.element.ownerDocument.defaultView);return}this._document=t.ownerDocument,this.options.documentOverride&&this.options.documentOverride instanceof Document&&(this._document=this.optionsService.rawOptions.documentOverride),this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),t.appendChild(this.element);let e=this._document.createDocumentFragment();this._viewportElement=this._document.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),e.appendChild(this._viewportElement),this.screenElement=this._document.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._register(St(this.screenElement,"mousemove",i=>this.updateCursorStyle(i))),this._helperContainer=this._document.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),e.appendChild(this.screenElement);let n=this.textarea=this._document.createElement("textarea");this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",AA.get()),zte||this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","fal
107se"),this.textarea.tabIndex=0,this._register(this.optionsService.onSpecificOptionChange("disableStdin",()=>n.readOnly=this.optionsService.rawOptions.disableStdin)),this.textarea.readOnly=this.optionsService.rawOptions.disableStdin,this._coreBrowserService=this._register(this._instantiationService.createInstance(k7e,this.textarea,t.ownerDocument.defaultView??window,this._document??typeof window<"u"?window.document:null)),this._instantiationService.setService(ql,this._coreBrowserService),this._register(St(this.textarea,"focus",i=>this._handleTextAreaFocus(i))),this._register(St(this.textarea,"blur",()=>this._handleTextAreaBlur())),this._helperContainer.appendChild(this.textarea),this._charSizeService=this._instantiationService.createInstance(QA,this._document,this._helperContainer),this._instantiationService.setService(t_,this._charSizeService),this._themeService=this._instantiationService.createInstance(n4),this._instantiationService.setService(Cp,this._themeService),this._characterJoinerService=this._instantiationService.createInstance(Lw),this._instantiationService.setService(mte,this._characterJoinerService),this._renderService=this._register(this._instantiationService.createInstance(e4,this.rows,this.screenElement)),this._instantiationService.setService(Wl,this._renderService),this._register(this._renderService.onRenderedViewportChange(i=>this._onRender.fire(i))),this.onResize(i=>this._renderService.resize(i.cols,i.rows)),this._compositionView=this._document.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(YA,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this._mouseService=this._instantiationService.createInstance(JA),this._instantiationService.setService(x5,this._mouseService);let r=this._linkifier.value=this._register(this._instantiationService.createInstance(u4,this.screenElement));this.element.appendChild(e);try{this._onWillOpen.fire(this.element)}catch{}this._renderService.hasRenderer()||this._renderService.setRenderer(this._createRenderer()),this._register(this.onCursorMove(()=>{this._renderService.handleCursorMove(),this._syncTextArea()})),this._register(this.onResize(()=>this._renderService.handleResize(this.cols,this.rows))),this._register(this.onBlur(()=>this._renderService.handleBlur())),this._register(this.onFocus(()=>this._renderService.handleFocus())),this._viewport=this._register(this._instantiationService.createInstance(WA,this.element,this.screenElement)),this._register(this._viewport.onRequestScrollLines(i=>{super.scrollLines(i,!1),this.refresh(0,this.rows-1)})),this._selectionService=this._register(this._instantiationService.createInstance(t4,this.element,this.screenElement,r)),this._instantiationService.setService(ZLe,this._selectionService),this._register(this._selectionService.onRequestScrollLines(i=>this.scrollLines(i.amount,i.suppressScrollEvent))),this._register(this._selectionService.onSelectionChange(()=>this._onSelectionChange.fire())),this._register(this._selectionService.onRequestRedraw(i=>this._renderService.handleSelectionChanged(i.start,i.end,i.columnSelectMode))),this._register(this._selectionService.onLinuxMouseSelection(i=>{this.textarea.value=i,this.textarea.focus(),this.textarea.select()}
107)),this._register(Jr.any(this._onScroll.event,this._inputHandler.onScroll)(()=>{this._selectionService.refresh(),this._viewport?.queueSync()})),this._register(this._instantiationService.createInstance(KA,this.screenElement)),this._register(St(this.element,"mousedown",i=>this._selectionService.handleMouseDown(i))),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager.value=this._instantiationService.createInstance(Fw,this)),this._register(this.optionsService.onSpecificOptionChange("screenReaderMode",i=>this._handleScreenReaderModeOptionChange(i))),this.options.overviewRuler.width&&(this._overviewRulerRenderer=this._register(this._instantiationService.createInstance(Mw,this._viewportElement,this.screenElement))),this.optionsService.onSpecificOptionChange("overviewRuler",i=>{!this._overviewRulerRenderer&&i&&this._viewportElement&&this.screenElement&&(this._overviewRulerRenderer=this._register(this._instantiationService.createInstance(Mw,this._viewportElement,this.screenElement)))}),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()}_createRenderer(){return this._instantiationService.createInstance(ZA,this,this._document,this.element,this.screenElement,this._viewportElement,this._helperContainer,this.linkifier)}bindMouse(){let t=this,e=this.element;function n(s){let a=t._mouseService.getMouseReportCoords(s,t.screenElement);if(!a)return!1;let o,l;switch(s.overrideType||s.type){case"mousemove":l=32,s.buttons===void 0?(o=3,s.button!==void 0&&(o=s.button<3?s.button:3)):o=s.buttons&1?0:s.buttons&4?1:s.buttons&2?2:3;break;case"mouseup":l=0,o=s.button<3?s.button:3;break;case"mousedown":l=1,o=s.button<3?s.button:3;break;case"wheel":if(t._customWheelEventHandler&&t._customWheelEventHandler(s)===!1)return!1;let c=s.deltaY;if(c===0||t.coreMouseService.consumeWheelEvent(s,t._renderService?.dimensions?.device?.cell?.height,t._coreBrowserService?.dpr)===0)return!1;l=c<0?0:1,o=4;break;default:return!1}return l===void 0||o===void 0||o>4?!1:t.coreMouseService.triggerMouseEvent({col:a.col,row:a.row,x:a.x,y:a.y,button:o,action:l,ctrl:s.ctrlKey,alt:s.altKey,shift:s.shiftKey})}let r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},i={mouseup:s=>(n(s),s.buttons||(this._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.removeEventListener("mousemove",r.mousedrag)),this.cancel(s)),wheel:s=>(n(s),this.cancel(s,!0)),mousedrag:s=>{s.buttons&&n(s)},mousemove:s=>{s.buttons||n(s)}};this._register(this.coreMouseService.onProtocolChange(s=>{s?(this.optionsService.rawOptions.logLevel==="debug"&&this._logService.debug("Binding to mouse events:",this.coreMouseService.explainEvents(s)),this.element.classList.add("enable-mouse-events"),this._selectionService.disable()):(this._logService.debug("Unbinding from mouse events."),this.element.classList.remove("enable-mouse-events"),this._selectionService.enable()),s&8?r.mousemove||(e.addEventListener("mousemove",i.mousemove),r.mousemove=i.mousemove):(e.removeEventListener("mousemove",r.mousemove),r.mousemove=null),s&16?r.wheel||(e.addEventListener("wheel",i.wheel,{passive:!1}),r.wheel=i.wheel):(e.removeEventListener("wheel",r.wheel),r.wheel=null),s&2?r.mouseup||(r.mouseup=i.mouseup):(this._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),s&4?r.mousedrag||(r.mousedrag=i.mousedrag):(this._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this._register(St(e,"mousedown",s=>{if(s.preventDefault(),this.focus(),!(!this.coreMouseService.areMouseEventsActive||this._selectionService.shouldForceSelection(s)))return n(s),r.mouseup&&this._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.addEventListener("mousemove",r.mousedrag),this.cancel(s)})),this._register(St(e,"wheel",s=>{if(!r.wheel){if(this._customWheelEventHandler&&this._customWheelEventHandler(s)===!1)return!1;if(!this.buffer.hasScrollback){if(s.deltaY===0)return!1;if(t.coreMouseService.consumeWheelEvent(s,t._renderService?.dimensions?.device?.cell?.height,t._coreBrowserService?.dpr)===0)return this.cancel(s,!0);let a=Ne.ESC+(this.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(s.deltaY<0?"A":"B");return this.coreService.triggerDataEvent(a,!0),this.cancel(s,!0)}}},{passive:!1}))}refresh(t,e){this._renderService?.refreshRows(t,e)}updateCursorStyle(t){this._selectionService?.shouldColumnSelect(t)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")}_showCursor(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))}scrollLines(t,e){this._viewport?this._viewport.scrollLines(t):super.scrollLines(t,e),this.refresh(0,this.rows-1)}scrollPages(t){this.scrollLines(t*(this.rows-1))}scrollToTop(){this.scrollLines(-this._bufferService.buffer.ydisp)}scrollToBottom(t){t&&this._viewport?this._viewport.scrollToLine(this.buffer.ybase,!0):this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)}scrollToLine(t){let e=t-this._bufferService.buffer.ydisp;e!==0&&this.scrollLines(e)}paste(t){ate(t,this.textarea,this.coreService,this.optionsService)}attachCustomKeyEventHandler(t){this._customKeyEventHandler=t}attachCustomWheelEventHandler(t){this._customWheelEventHandler=t}registerLinkProvider(t){return this._linkProviderService.registerLinkProvider(t)}registerCharacterJoiner(t){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");let e=this._characterJoinerService.register(t);return this.refresh(0,this.rows-1),e}deregisterCharacterJoiner(t){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(t)&&this.refresh(0,this.rows-1)}get markers(){return this.buffer.markers}registerMarker(t){return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+t)}registerDecoration(t){return this._decorationService.registerDecoration(t)}hasSelection(){return this._selectionService?this._selectionService.hasSelection:!1}select(t,e,n){this._selectionService.setSelection(t,e,n)}getSelection(){return this._selectionService?this._selectionService.selectionText:""}getSelectionPosition(){if(!(!this._selectionService||!this._selectionService.hasSelection))return{start:{x:this._selectionService.selectionStart[0],y:this._selectionService.selectionStart[1]},end:{x:this._selectionService.selectionEnd[0],y:this._selectionService.selectionEnd[1]}}}clearSelection(){this._selectionService?.clearSelection()}selectAll(){this._selectionService?.selectAll()}selectLines(t,e){this._selectionService?.selectLines(t,e)}_keyDown(t){if(this._keyDownHandled=!1,this._keyDownSeen=!0,this._customKeyEventHandler&&this._customKeyEventHandler(t)===!1)return!1;let e=this.browser.isMac&&this.options.macOptionIsMeta&&t.altKey;if(!e&&!this._compositionHelper.keydown(t))return this.options.scrollOnUserInput&&this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(!0),!1;!e&&(t.key==="Dead"||t.key==="AltGraph")&&(this._unprocessedDeadKey=!0);let n=O9e(t,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(t),n.type===3||n.type===2){let r=this.rows-1;return this.scrollLines(n.type===2?-r:r),this.cancel(t,!0)}if(n.type===1&&this.selectAll(),this._isThirdLevelShift(this.browser,t)||(n.cancel&&this.cancel(t,!0),!n.key)||t.key&&!t.ctrlKey&&!t.altKey&&!t.metaKey&&t.key.length===1&&t.key.charCo
107deAt(0)>=65&&t.key.charCodeAt(0)<=90)return!0;if(this._unprocessedDeadKey)return this._unprocessedDeadKey=!1,!0;if((n.key===Ne.ETX||n.key===Ne.CR)&&(this.textarea.value=""),this._onKey.fire({key:n.key,domEvent:t}),this._showCursor(),this.coreService.triggerDataEvent(n.key,!0),!this.optionsService.rawOptions.screenReaderMode||t.altKey||t.ctrlKey)return this.cancel(t,!0);this._keyDownHandled=!0}_isThirdLevelShift(t,e){let n=t.isMac&&!this.options.macOptionIsMeta&&e.altKey&&!e.ctrlKey&&!e.metaKey||t.isWindows&&e.altKey&&e.ctrlKey&&!e.metaKey||t.isWindows&&e.getModifierState("AltGraph");return e.type==="keypress"?n:n&&(!e.keyCode||e.keyCode>47)}_keyUp(t){this._keyDownSeen=!1,!(this._customKeyEventHandler&&this._customKeyEventHandler(t)===!1)&&(z9e(t)||this.focus(),this.updateCursorStyle(t),this._keyPressHandled=!1)}_keyPress(t){let e;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(t)===!1)return!1;if(this.cancel(t),t.charCode)e=t.charCode;else if(t.which===null||t.which===void 0)e=t.keyCode;else if(t.which!==0&&t.charCode!==0)e=t.which;else return!1;return!e||(t.altKey||t.ctrlKey||t.metaKey)&&!this._isThirdLevelShift(this.browser,t)?!1:(e=String.fromCharCode(e),this._onKey.fire({key:e,domEvent:t}),this._showCursor(),this.coreService.triggerDataEvent(e,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,!0)}_inputEvent(t){if(t.data&&t.inputType==="insertText"&&(!t.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;let e=t.data;return this.coreService.triggerDataEvent(e,!0),this.cancel(t),!0}return!1}resize(t,e){if(t===this.cols&&e===this.rows){this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure();return}super.resize(t,e)}_afterResize(t,e){this._charSizeService?.measure()}clear(){if(!(this.buffer.ybase===0&&this.buffer.y===0)){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(let t=1;t<this.rows;t++)this.buffer.lines.push(this.buffer.getBlankLine(or));this._onScroll.fire({position:this.buffer.ydisp}),this.refresh(0,this.rows-1)}}reset(){this.options.rows=this.rows,this.options.cols=this.cols;let t=this._customKeyEventHandler;this._setup(),super.reset(),this._selectionService?.reset(),this._decorationService.reset(),this._customKeyEventHandler=t,this.refresh(0,this.rows-1)}clearTextureAtlas(){this._renderService?.clearTextureAtlas()}_reportFocus(){this.element?.classList.contains("focus")?this.coreService.triggerDataEvent(Ne.ESC+"[I"):this.coreService.triggerDataEvent(Ne.ESC+"[O")}_reportWindowsOptions(t){if(this._renderService)switch(t){case 0:let e=this._renderService.dimensions.css.canvas.width.toFixed(0),n=this._renderService.dimensions.css.canvas.height.toFixed(0);this.coreService.triggerDataEvent(`${Ne.ESC}[4;${n};${e}t`);break;case 1:let r=this._renderService.dimensions.css.cell.width.toFixed(0),i=this._renderService.dimensions.css.cell.height.toFixed(0);this.coreService.triggerDataEvent(`${Ne.ESC}[6;${i};${r}t`);break}}cancel(t,e){if(!(!this.options.cancelEvents&&!e))return t.preventDefault(),t.stopPropagation(),!1}};function z9e(t){return t.keyCode===16||t.keyCode===17||t.keyCode===18}var U9e=class{constructor(){this._addons=[]}dispose(){for(let t=this._addons.length-1;t>=0;t--)this._addons[t].instance.dispose()}loadAddon(t,e){let n={instance:e,dispose:e.dispose,isDisposed:!1};this._addons.push(n),e.dispose=()=>this._wrappedAddonDispose(n),e.activate(t)}_wrappedAddonDispose(t){if(t.isDisposed)return;let e=-1;for(let n=0;n<this._addons.length;n++)if(this._addons[n]===t){e=n;break}if(e===-1)throw new Error("Could not dispose an addon that has not been loaded");t.isDisposed=!0,t.dispose.apply(t.instance),this._addons.splice(e,1)}},j9e=class{constructor(t){this._line=t}get isWrapped(){return this._line.isWrapped}get length(){return this._line.length}getCell(t,e){if(!(t<0||t>=this._line.length))return e?(this._line.loadCell(t,e),e):this._line.loadCell(t,new Sa)}translateToString(t,e,n){return this._line.translateToString(t,e,n)}},AH=class{constructor(t,e){this._buffer=t,this.type=e}init(t){return this._buffer=t,this}get cursorY(){return this._buffer.y}get cursorX(){return this._buffer.x}get viewportY(){return this._buffer.ydisp}get baseY(){return this._buffer.ybase}get length(){return this._buffer.lines.length}getLine(t){let e=this._buffer.lines.get(t);if(e)return new j9e(e)}getNullCell(){return new Sa}},H9e=class extends Lt{constructor(t){super(),this._core=t,this._onBufferChange=this._register(new Ve),this.onBufferChange=this._onBufferChange.event,this._normal=new AH(this._core.buffers.normal,"normal"),this._alternate=new AH(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(()=>this._onBufferChange.fire(this.active))}get active(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")}get normal(){return this._normal.init(this._core.buffers.normal)}get alternate(){return this._alternate.init(this._core.buffers.alt)}},$9e=class{constructor(t){this._core=t}
107registerCsiHandler(t,e){return this._core.registerCsiHandler(t,n=>e(n.toArray()))}addCsiHandler(t,e){return this.registerCsiHandler(t,e)}registerDcsHandler(t,e){return this._core.registerDcsHandler(t,(n,r)=>e(n,r.toArray()))}addDcsHandler(t,e){return this.registerDcsHandler(t,e)}registerEscHandler(t,e){return this._core.registerEscHandler(t,e)}addEscHandler(t,e){return this.registerEscHandler(t,e)}registerOscHandler(t,e){return this._core.registerOscHandler(t,e)}addOscHandler(t,e){return this.registerOscHandler(t,e)}},V9e=class{constructor(t){this._core=t}register(t){this._core.unicodeService.register(t)}get versions(){return this._core.unicodeService.versions}get activeVersion(){return this._core.unicodeService.activeVersion}set activeVersion(t){this._core.unicodeService.activeVersion=t}},G9e=["cols","rows"],yo=0,q9e=class extends Lt{constructor(t){super(),this._core=this._register(new F9e(t)),this._addonManager=this._register(new U9e),this._publicOptions={...this._core.options};let e=r=>this._core.options[r],n=(r,i)=>{this._checkReadonlyOptions(r),this._core.options[r]=i};for(let r in this._core.options){let i={get:e.bind(this,r),set:n.bind(this,r)};Object.defineProperty(this._publicOptions,r,i)}}_checkReadonlyOptions(t){if(G9e.includes(t))throw new Error(`Option "${t}" can only be set in the constructor`)}_checkProposedApi(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")}get onBell(){return this._core.onBell}get onBinary(){return this._core.onBinary}get onCursorMove(){return this._core.onCursorMove}get onData(){return this._core.onData}get onKey(){return this._core.onKey}get onLineFeed(){return this._core.onLineFeed}get onRender(){return this._core.onRender}get onResize(){return this._core.onResize}get onScroll(){return this._core.onScroll}get onSelectionChange(){return this._core.onSelectionChange}get onTitleChange(){return this._core.onTitleChange}get onWriteParsed(){return this._core.onWriteParsed}get element(){return this._core.element}get parser(){return this._parser||(this._parser=new $9e(this._core)),this._parser}get unicode(){return this._checkProposedApi(),new V9e(this._core)}get textarea(){return this._core.textarea}get rows(){return this._core.rows}get cols(){return this._core.cols}get buffer(){return this._buffer||(this._buffer=this._register(new H9e(this._core))),this._buffer}get markers(){return this._checkProposedApi(),this._core.markers}get modes(){let t=this._core.coreService.decPrivateModes,e="none";switch(this._core.coreMouseService.activeProtocol){case"X10":e="x10";break;case"VT200":e="vt200";break;case"DRAG":e="drag";break;case"ANY":e="any";break}return{applicationCursorKeysMode:t.applicationCursorKeys,applicationKeypadMode:t.applicationKeypad,bracketedPasteMode:t.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:e,originMode:t.origin,reverseWraparoundMode:t.reverseWraparound,sendFocusMode:t.sendFocus,synchronizedOutputMode:t.synchronizedOutput,wraparoundMode:t.wraparound}}get options(){return this._publicOptions}set options(t){for(let e in t)this._publicOptions[e]=t[e]}blur(){this._core.blur()}focus(){this._core.focus()}input(t,e=!0){this._core.input(t,e)}resize(t,e){this._verifyIntegers(t,e),this._core.resize(t,e)}open(t){this._core.open(t)}attachCustomKeyEventHandler(t){this._core.attachCustomKeyEventHandler(t)}attachCustomWheelEventHandler(t){this._core.attachCustomWheelEventHandler(t)}registerLinkProvider(t){return this._core.registerLinkProvider(t)}registerCharacterJoiner(t){return this._checkProposedApi(),this._core.registerCharacterJoiner(t)}deregisterCharacterJoiner(t){this._checkProposedApi(),this._core.deregisterCharacterJoiner(t)}registerMarker(t=0){return this._verifyIntegers(t),this._core.registerMarker(t)}registerDecoration(t){return this._checkProposedApi(),this._verifyPositiveIntegers(t.x??0,t.width??0,t.height??0),this._core.registerDecoration(t)}hasSelection(){return this._core.hasSelection()}select(t,e,n){this._verifyIntegers(t,e,n),this._core.select(t,e,n)}getSelection(){return this._core.getSelection()}getSelectionPosition(){return this._core.getSelectionPosition()}clearSelection(){this._core.clearSelection()}selectAll(){this._core.selectAll()}selectLines(t,e){this._verifyIntegers(t,e),this._core.selectLines(t,e)}dispose(){super.dispose()}scrollLines(t){this._verifyIntegers(t),this._core.scrollLines(t)}scrollPages(t){this._verifyIntegers(t),this._core.scrollPages(t)}scrollToTop(){this._core.scrollToTop()}scrollToBottom(){this._core.scrollToBottom()}scrollToLine(t){this._verifyIntegers(t),this._core.scrollToLine(t)}clear(){this._core.clear()}write(t,e){this._core.write(t,e)}writeln(t,e){this._core.write(t),this._core.write(`\r
108`,e)}paste(t){this._core.paste(t)}refresh(t,e){this._verifyIntegers(t,e),this._core.refresh(t,e)}reset(){this._core.reset()}clearTextureAtlas(){this._core.clearTextureAtlas()}loadAddon(t){this._addonManager.loadAddon(this,t)}static get strings(){return{get promptLabel(){return AA.get()},set promptLabel(t){AA.set(t)},get tooMuchOutput(){return RA.get()},set tooMuchOutput(t){RA.set(t)}}}_verifyIntegers(...t){for(yo of t)if(yo===1/0||isNaN(yo)||yo%1!==0)throw new Error("This API only accepts integers")}_verifyPositiveIntegers(...t){for(yo of t)if(yo&&(yo===1/0||isNaN(yo)||yo%1!==0||yo<0))throw new Error("This API only accepts positive integers")}};function Bk(t){return{cursor:"#aeafad",cursorAccent:"#000000",foreground:"#cccccc",background:"#1e1e1e",selectionBackgroun
108d:"#264f78",selectionForeground:"#ffffff",selectionInactiveBackground:"#3a3d41",black:"#000000",red:"#cd3131",green:"#0dbc79",yellow:"#e5e510",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#11a8cd",white:"#e5e5e5",brightBlack:"#666666",brightRed:"#f14c4c",brightGreen:"#23d18b",brightYellow:"#f5f543",brightBlue:"#3b8eea",brightMagenta:"#d670d6",brightCyan:"#29b8db",brightWhite:"#e5e5e5",...t}}const W9e=A.memo(A.forwardRef(({className:t,readonly:e=!0,onTerminalReady:n,onTerminalResize:r,onData:i},s)=>{const a=A.useRef(null),o=A.useRef(void 0),l=A.useRef(void 0),c=A.useRef(r);return c.current=r,A.useEffect(()=>{const d=a.current;if(!d)return;const f=new OLe;l.current=f;const p=new PLe,g=new q9e({cursorBlink:!e,convertEol:!0,disableStdin:e,theme:Bk(e?{cursor:"#00000000"}:{}),fontSize:13,fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',lineHeight:1.2,scrollback:1e4});o.current=g,g.loadAddon(f),g.loadAddon(p),g.open(d);const b=setTimeout(()=>{f.fit()},0),y=new ResizeObserver(()=>{f.fit(),c.current?.(g.cols,g.rows)});return y.observe(d),n?.(g),()=>{clearTimeout(b),y.disconnect(),g.dispose()}},[]),A.useEffect(()=>{const d=o.current;if(!d||e||!i)return;const f=d.onData(i);return()=>f.dispose()},[e,i]),A.useEffect(()=>{const d=o.current;d&&(d.options.theme=Bk(e?{cursor:"#00000000"}:{}),d.options.disableStdin=e,d.options.cursorBlink=!e)},[e]),A.useImperativeHandle(s,()=>({reloadStyles:()=>{const d=o.current;d&&(d.options.theme=Bk(e?{cursor:"#00000000"}:{}))},write:d=>{o.current?.write(d)},writeln:d=>{o.current?.writeln(d)},clear:()=>{o.current?.clear()},getTerminal:()=>o.current}),[e]),x.jsx("div",{className:tt("h-full w-full",t),ref:a})}));W9e.displayName="Terminal";class as{constructor(e,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=n,this.end=r}static range(e,n){return n?!e||!e.loc||!n.loc||e.loc.lexer!==n.loc.lexer?null:new as(e.loc.lexer,e.loc.start,n.loc.end):e&&e.loc}}let Ka=class Yte{constructor(e,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=n}range(e,n){return new Yte(n,as.range(this,e))}};class Ue{constructor(e,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,i,s,a=n&&n.loc;if(a&&a.start<=a.end){var o=a.lexer.input;i=a.start,s=a.end,i===o.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=o.slice(i,s).replace(/[^]/g,"$&̲"),c;i>15?c="…"+o.slice(i-15,i):c=o.slice(0,i);var d;s+15<o.length?d=o.slice(s,s+15)+"…":d=o.slice(s),r+=c+l+d}var f=new Error(r);return f.name="ParseError",f.__proto__=Ue.prototype,f.position=i,i!=null&&s!=null&&(f.length=s-i),f.rawMessage=e,f}}Ue.prototype.__proto__=Error.prototype;var K9e=function(e,n){return e===void 0?n:e},Y9e=/([A-Z])/g,X9e=function(e){return e.replace(Y9e,"-$1").toLowerCase()},Z9e={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Q9e=/[&><"']/g;function J9e(t){return String(t).replace(Q9e,e=>Z9e[e])}var Xte=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},eBe=function(e){var n=Xte(e);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},tBe=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},nBe=function(e){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},tn={deflt:K9e,escape:J9e,hyphenate:X9e,getBaseElem:Xte,isCharacterBox:eBe,protocolFromUrl:nBe},x1={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function rBe(t){if(t.default)return t.default;var e=t.type,n=Array.isArray(e)?e[0]:e;
vendor: 4,914 bytes, lines 108-140
108if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class I5{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var n in x1)if(x1.hasOwnProperty(n)){var r=x1[n];this[n]=e[n]!==void 0?r.processor?r.processor(e[n]):e[n]:rBe(r)}}reportNonstrict(e,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(e,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Ue("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+e+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]"))}}useStrictBehavior(e,n,r){var i=this.strict;if(typeof i=="function")try{i=i(e,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var n=tn.protocolFromUrl(e.url);if(n==null)return!1;e.protocol=n}var r=typeof this.trust=="function"?this.trust(e):this.trust;return!!r}}class Tc{constructor(e,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=n,this.cramped=r}sup(){return Eo[iBe[this.id]]}sub(){return Eo[sBe[this.id]]}fracNum(){return Eo[aBe[this.id]]}fracDen(){return Eo[oBe[this.id]]}cramp(){return Eo[lBe[this.id]]}text(){return Eo[cBe[this.id]]}isTight(){return this.size>=2}}var D5=0,zw=1,Pf=2,Dl=3,u0=4,ya=5,ip=6,Bi=7,Eo=[new Tc(D5,0,!1),new Tc(zw,0,!0),new Tc(Pf,1,!1),new Tc(Dl,1,!0),new Tc(u0,2,!1),new Tc(ya,2,!0),new Tc(ip,3,!1),new Tc(Bi,3,!0)],iBe=[u0,ya,u0,ya,ip,Bi,ip,Bi],sBe=[ya,ya,ya,ya,Bi,Bi,Bi,Bi],aBe=[Pf,Dl,u0,ya,ip,Bi,ip,Bi],oBe=[Dl,Dl,ya,ya,Bi,Bi,Bi,Bi],lBe=[zw,zw,Dl,Dl,ya,ya,Bi,Bi],cBe=[D5,zw,Pf,Dl,Pf,Dl,Pf,Dl],bt={DISPLAY:Eo[D5],TEXT:Eo[Pf],SCRIPT:Eo[u0],SCRIPTSCRIPT:Eo[ip]},d4=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function uBe(t){for(var e=0;e<d4.length;e++)for(var n=d4[e],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(t>=i[0]&&t<=i[1])return n.name}return null}var E1=[];d4.forEach(t=>t.blocks.forEach(e=>E1.push(...e)));function Zte(t){for(var e=0;e<E1.length;e+=2)if(t>=E1[e]&&t<=E1[e+1])return!0;return!1}var Jh=80,dBe=function(e,n){return"M95,"+(622+e+n)+`
109c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
110c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
111c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
112s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
113c69,-144,104.5,-217.7,106.5,-221
114l`+e/2.075+" -"+e+`
115c5.3,-9.3,12,-14,20,-14
116H400000v`+(40+e)+`H845.2724
117s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
118c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
119M`+(834+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},hBe=function(e,n){return"M263,"+(601+e+n)+`c0.7,0,18,39.7,52,119
120c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
121c340,-704.7,510.7,-1060.3,512,-1067
122l`+e/2.084+" -"+e+`
123c4.7,-7.3,11,-11,19,-11
124H40000v`+(40+e)+`H1012.3
125s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
126c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
127s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
128c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
129M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},fBe=function(e,n){return"M983 "+(10+e+n)+`
130l`+e/3.13+" -"+e+`
131c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
132H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
133s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
134c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
135c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
136c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
137c53.7,-170.3,84.5,-266.8,92.5,-289.5z
138M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},pBe=function(e,n){return"M424,"+(2398+e+n)+`
139c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
140c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
141s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
142s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
143l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
144v`+(40+e)+`H1014.6
145s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
146c-2,6,-10,9,-24,9
147c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+n+`
148h400000v`+(40+e)+"h-400000z"},mBe=function(e,n){return"M473,"+(2713+e+n)+`
149c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
150c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
151s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
152c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
153c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
154s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
155606zM`+(1001+e)+" "+n+"h400000v"+(40+e)+"H1017.7z"},gBe=function(e){var n=e/2;return"M400000 "+e+" H0 L"+n+" 0 l65 45 L145 "+(e-80)+" H400000z"},bBe=function(e,n,r){var i=r-54-n-e;return"M702 "+(e+n)+"H400000"+(40+e)+`
156H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
157h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
158c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
159219 661 l218 661zM702 `+n+"H400000v"+(40+e)+"H742z"},yBe=function(e,n,r){n=1e3*n;var i="";switch(e){case"sqrtMain":i=dBe(n,Jh);break;case"sqrtSize1":i=hBe(n,Jh);break;case"sqrtSize2":i=fBe(n,Jh);break;case"sqrtSize3":i=pBe(n,Jh);break;case"sqrtSize4":i=mBe(n,Jh);break;case"sqrtTall":i=bBe(n,Jh,r)}return i},vBe=function(e,n){switch(e){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},RH
vendor: 15,381 bytes, lines 159-334
159={doubleleftarrow:`M262 157
160l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
161 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
162 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
163c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
164 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
165-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
166-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
167m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
168-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
169 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
170-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
171-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
172-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
173c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
174-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
175 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
176-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
177c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
178 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
179 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
180 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
181-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
182 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
183 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
184 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
185-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
186H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
187 435 0h399565z`,leftgroupunder:`M400000 262
188H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
189 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
190-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
191-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
192-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
193 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
194-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
195-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
196m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
197 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
198 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
199-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
200 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
201-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
202v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
203-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
204-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
205 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
206M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
207M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
208-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
209c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
210 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
211M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
212c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
213-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
214 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
215 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
216c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
217 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
218 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
219-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
220-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
221m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
22260.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
223-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
224m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
225c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
226-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
227m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
22885.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
229-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
230m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
231c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
232-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
233 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
234 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
235-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
236-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
237 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
238-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
239s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
240c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
241 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
242-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
243 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
244 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
245-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
246-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
247 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
248-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
249 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
250m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
251 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
252-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
253-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
254 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
255 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
256-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
257m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
258 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
259-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
260 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
261M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
262 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
263-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
264-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
265 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
266-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
267-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
268-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
269 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
270c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
271 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
272 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
273-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
274 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
275-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
276 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
277 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
278-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
279-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
280 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
281c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
282 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
283-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
284 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
285 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
286 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
287-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
288 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
289 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
290 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
2913.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
29210.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
293-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
294-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
295H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
296c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
297c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
298-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
299-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
300-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
301-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
302-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
303-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
304-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
305c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
306c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
307s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
308121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
309s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
310c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
311M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
312-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
31313.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
314-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
315-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
316-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
317151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
318c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
319c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
320c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
321c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
322M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
323c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
324-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
325c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
326M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
327c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
3281c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
329-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
330M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
331c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
332-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
333c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
334M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,206 bytes, lines 334-362
334wBe=function(e,n){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
335H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
336M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
337c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
338c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
339c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
340c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
341M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
342c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
343c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
344MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
345MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
346M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
347M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
348c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
349-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
350949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
351c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
352-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
353l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
354-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
35563,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
356c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
357c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
358c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
359c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
360c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
361l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
362-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let tb=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){for(var e="",n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e}toText(){var e=n=>n.toText();return this.children.map(e).join("")}};var Mo
vendor: 57,629 bytes, line 362
362={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},
vendor: 2,749 bytes, line 362
362Rv={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},NH={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function SBe(t,e){Mo[t]=e}function M5(t,e,n){if(!Mo[e])throw new Error("Font metrics not found for font: "+e+".");var r=t.charCodeAt(0),i=Mo[e][r];if(!i&&t[0]in NH&&(r=NH[t[0]].charCodeAt(0),i=Mo[e][r]),!i&&n==="text"&&Zte(r)&&(i=Mo[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Pk={};function _Be(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Pk[e]){var n=Pk[e]={cssEmPerMu:Rv.quad[e]/18};for(var r in Rv)Rv.hasOwnProperty(r)&&(n[r]=Rv[r][e])}return Pk[e]}var xBe=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],OH=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],IH=function(e,n){return n.size<2?e:xBe[e-1][n.size-1]};class _l{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||_l.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=OH[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,ph
vendor: 12,861 bytes, line 362
362antom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return new _l(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:IH(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:OH[e-1]})}havingBaseStyle(e){e=e||this.style.text();var n=IH(_l.BASESIZE,e);return this.size===n&&this.textSize===_l.BASESIZE&&this.style===e?this:this.extend({style:e,size:n})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==_l.BASESIZE?["sizing","reset-size"+this.size,"size"+_l.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=_Be(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}_l.BASESIZE=6;var h4={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},EBe={ex:!0,em:!0,mu:!0},Qte=function(e){return typeof e!="string"&&(e=e.unit),e in h4||e in EBe||e==="ex"},Fn=function(e,n){var r;if(e.unit in h4)r=h4[e.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(e.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,e.unit==="ex")r=i.fontMetrics().xHeight;else if(e.unit==="em")r=i.fontMetrics().quad;else throw new Ue("Invalid unit: '"+e.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(e.number*r,n.maxSize)},Ke=function(e){return+e.toFixed(4)+"em"},lu=function(e){return e.filter(n=>n).join(" ")},Jte=function(e,n,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},ene=function(e){var n=document.createElement(e);n.className=lu(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},kBe=/[\s"'>/=\x00-\x1f]/,tne=function(e){var n="<"+e;this.classes.length&&(n+=' class="'+tn.escape(lu(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=tn.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+tn.escape(r)+'"');for(var s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(kBe.test(s))throw new Ue("Invalid attribute name '"+s+"'");n+=" "+s+'="'+tn.escape(this.attributes[s])+'"'}n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</"+e+">",n};class nb{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Jte.call(this,e,r,i),this.children=n||[]}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return this.classes.includes(e)}toNode(){return ene.call(this,"span")}toMarkup(){return tne.call(this,"span")}}class L5{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Jte.call(this,n,i),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return this.classes.includes(e)}toNode(){return ene.call(this,"a")}toMarkup(){return tne.call(this,"a")}}class CBe{constructor(e,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);return e}toMarkup(){var e='<img src="'+tn.escape(this.src)+'"'+(' alt="'+tn.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=tn.hyphenate(r)+":"+this.style[r]+";");return n&&(e+=' style="'+tn.escape(n)+'"'),e+="'/>",e}}var TBe={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ka{constructor(e,n,r,i,s,a,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=s||0,this.width=a||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var c=uBe(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=TBe[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Ke(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=lu(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(e),n):e}toMarkup(){var e=!1,n="<span";this.classes.length&&(e=!0,n+=' class="',n+=tn.escape(lu(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=tn.hyphenate(i)+":"+this.style[i]+";");r&&(e=!0,n+=' style="'+tn.escape(r)+'"');var s=tn.escape(this.text);return e?(n+=">",n+=s,n+="</span>",n):s}}class Hl{constructor(e,n){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=n||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="'+tn.escape(this.attributes[n])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>",e}}class cu{constructor(e,n){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=n}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",RH[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+tn.escape(this.alternate)+'"/>':'<path d="'+tn.escape(RH[this.pathName])+'"/>'}}class f4{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var e="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="'+tn.escape(this.attributes[n])+'"');return e+="/>",e}}function DH(t){if(t instanceof ka)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function ABe(t){if(t instanceof nb)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var RBe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},NBe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xn={math:{},text:{}};function O(t,e,n,r,i,s){xn[t][i]={font:e,group:n,replace:r},s&&r&&(xn[t][r]=xn[t][i])}var M="math",Be="text",V="main",ie="ams",Dn="accent-token",rt="bin",$i="close",Ap="inner",gt="mathord",gr="op-token",$s="open",i_="punct",se="rel",Kl="spacing",de="textord";O(M,V,se,"≡","\\equiv",!0);O(M,V,se,"≺","\\prec",!0);O(M,V,se,"≻","\\succ",!0);O(M,V,se,"∼","\\sim",!0);O(M,V,se,"⊥","\\perp");O(M,V,se,"⪯","\\preceq",!0);O(M,V,se,"⪰","\\succeq",!0);O(M,V,se,"≃","\\simeq",!0);O(M,V,se,"∣","\\mid",!0);O(M,V,se,"≪","\\ll",!0);O(M,V,se,"≫","\\gg",!0);O(M,V,se,"≍","\\asymp",!0);O(M,V,se,"∥","\\parallel");O(M,V,se,"⋈","\\bowtie",!0);O(M,V,se,"⌣","\\smile",!0);O(M,V,se,"⊑","\\sqsubseteq",!0);O(M,V,se,"⊒","\\sqsupseteq",!0);O(M,V,se,"≐","\\doteq",!0);O(M,V,se,"⌢","\\frown",!0);O(M,V,se,"∋","\\ni",!0);O(M,V,se,"∝","\\propto",!0);O(M,V,se,"⊢","\\vdash",!0);O(M,V,se,"⊣","\\dashv",!0);O(M,V,se,"∋","\\owns");O(M,V,i_,".","\\ldotp");O(M,V,i_,"⋅","\\cdotp");O(M,V,de,"#","\\#");O(Be,V,de,"#","\\#");O(M,V,de,"&","\\&");O(Be,V,de,"&","\\&");O(M,V,de,"ℵ","\\aleph",!0);O(M,V,de,"∀","\\forall",!0);O(M,V,de,"ℏ","\\hbar",!0);O(M,V,de,"∃","\\exists",!0);O(M,V,de,"∇","\\nabla",!0);O(M,V,de,"♭","\\flat",!0);O(M,V,de,"ℓ","\\ell",!0);O(M,V,de,"♮","\\natural",!0);O(M,V,de,"♣","\\clubsuit",!0);O(M,V,de,"℘","\\wp",!0);O(M,V,de,"♯","\\sharp",!0);O(M,V,de,"♢","\\diamondsuit",!0);O(M,V,de,"ℜ","\\Re",!0);O(M,V,de,"♡","\\heartsuit",!0);O(M,V,de,"ℑ","\\Im",!0);O(M,V,de,"♠","\\spadesuit",!0);O(M,V,de,"§","\\S",!0);O(Be,V,de,"§","\\S");O(M,V,de,"¶","\\P",!0);O(Be,V,de,"¶","\\P");O(M,V,de,"†","\\dag");O(Be,V,de,"†","\\dag");O(Be,V,de,"†","\\textdagger");O(M,V,de,"‡","\\ddag");O(Be,V,de,"‡","\\ddag");O(Be,V,de,"‡","\\textdaggerdbl");O(M,V,$i,"⎱","\\rmoustache",!0);O(M,V,$s,"⎰","\\lmoustache",!0);O(M,V,$i,"⟯","\\rgroup",!0);O(M,V,$s,"⟮","\\lgroup",!0);O(M,V,rt,"∓","\\mp",!0);O(M,V,rt,"⊖","\\ominus",!0);O(M,V,rt,"⊎","\\uplus",!0);O(M,V,rt,"⊓","\\sqcap",!0);O(M,V,rt,"∗","\\ast");O(M,V,rt,"⊔","\\sqcup",!0);O(M,V,rt,"◯","\\bigcirc",!0);O(M,V,rt,"∙","\\bullet",!0);O(M,V,rt,"‡","\\ddagger");O(M,V,rt,"≀","\\wr",!0);O(M,V,rt,"⨿","\\amalg");O(M,V,rt,"&","\\And");O(M,V,se,"⟵","\\longleftarrow",!0);O(M,V,se,"⇐","\\Leftarrow",!0);O(M,V,se,"⟸","\\Longleftarrow",!0);O(M,V,se,"⟶","\\longrightarrow",!0);O(M,V,se,"⇒","\\Rightarrow",!0);O(M,V,se,"⟹","\\Longrightarrow",!0);O(M,V,se,"↔","\\leftrightarrow",!0);O(M,V,se,"⟷","\\longleftrightarrow",!0);O(M,V,se,"⇔","\\Leftrightarrow",!0);O(M,V,se,"⟺","\\Longleftrightarrow",!0);O(M,V,se,"↦","\\mapsto",!0);O(M,V,se,"⟼","\\longmapsto",!0);O(M,V,se,"↗","\\nearrow",!0);O(M,V,se,"↩","\\hookleftarrow",!0);O(M,V,se,"↪","\\hookrightarrow",!0);O(M,V,se,"↘","\\searrow",!0);O(M,V,se,"↼","\\leftharpoonup",!0);O(M,V,se,"⇀","\\rightharpoonup",!0);O(M,V,se,"↙","\\swarrow",!0);O(M,V,se,"↽","\\leftharpoondown",!0);O(M,V,se,"⇁","\\rightharpoondown",!0);O(M,V,se,"↖","\\nwarrow",!0);O(M,V,se,"⇌","\\rightleftharpoons",!0);O(M,ie,se,"≮","\\nless",!0);O(M,ie,se,"","\\@nleqslant");O(M,ie,se,"","\\@nleqq");O(M,ie,se,"⪇","\\lneq",!0);O(M,ie,se,"≨","\\lneqq",!0);O(M,ie,se,"","\\@lvertneqq");O(M,ie,se,"⋦","\\lnsim",!0);O(M,ie,se,"⪉","\\lnapprox",!0);O(M,ie,se,"⊀","\\nprec",!0);O(M,ie,se,"⋠","\\npreceq",!0);O(M,ie,se,"⋨","\\precnsim",!0);O(M,ie,se,"⪹","\\precnapprox",!0);O(M,ie,se,"≁","\\nsim",!0);O(M,ie,se,"","\\@nshortmid");O(M,ie,se,"∤","\\nmid",!0);O(M,ie,se,"⊬","\\nvdash",!0);O(M,ie,se,"⊭","\\nvDash",!0);O(M,ie,se,"⋪","\\ntriangleleft");O(M,ie,se,"⋬","\\ntrianglelefteq",!0);O(M,ie,se,"⊊","\\subsetneq",!0);O(M,ie,se,"","\\@varsubsetneq");O(M,ie,se,"⫋","\\subsetneqq",!0);O(M,ie,se,"","\\@varsubsetneqq");O(M,ie,se,"≯","\\ngtr",!0);O(M,ie,se,"","\\@ngeqslant");O(M,ie,se,"","\\@ngeqq");O(M,ie,se,"⪈","\\gneq",!0);O(M,ie,se,"≩","\\gneqq",!0);O(M,ie,se,"","\\@gvertneqq");O(M,ie,se,"⋧","\\gnsim",!0);O(M,ie,se,"⪊","\\gnapprox",!0);O(M,ie,se,"⊁","\\nsucc",!0);O(M,ie,se,"⋡","\\nsucceq",!0);O(M,ie,se,"⋩","\\succnsim",!0);O(M,ie,se,"⪺","\\succnapprox",!0);O(M,ie,se,"≆","\\ncong",!0);O(M,ie,se,"","\\@nshortparallel");O(M,ie,se,"∦","\\nparallel",!0);O(M,ie,se,"⊯","\\nVDash",!0);O(M,ie,se,"⋫","\\ntriangleright");O(M,ie,se,"⋭","\\ntrianglerighteq",!0);O(M,ie,se,"","\\@nsupseteqq");O(M,ie,se,"⊋","\\supsetneq",!0);O(M,ie,se,"","\\@varsupsetneq");O(M,ie,se,"⫌","\\supsetneqq",!0);O(M,ie,se,"","\\@varsupsetneqq");O(M,ie,se,"⊮","\\nVdash",!0);O(M,ie,se,"⪵","\\precneqq",!0);O(M,ie,se,"⪶","\\succneqq",!0);
362O(M,ie,se,"","\\@nsubseteqq");O(M,ie,rt,"⊴","\\unlhd");O(M,ie,rt,"⊵","\\unrhd");O(M,ie,se,"↚","\\nleftarrow",!0);O(M,ie,se,"↛","\\nrightarrow",!0);O(M,ie,se,"⇍","\\nLeftarrow",!0);O(M,ie,se,"⇏","\\nRightarrow",!0);O(M,ie,se,"↮","\\nleftrightarrow",!0);O(M,ie,se,"⇎","\\nLeftrightarrow",!0);O(M,ie,se,"△","\\vartriangle");O(M,ie,de,"ℏ","\\hslash");O(M,ie,de,"▽","\\triangledown");O(M,ie,de,"◊","\\lozenge");O(M,ie,de,"Ⓢ","\\circledS");O(M,ie,de,"®","\\circledR");O(Be,ie,de,"®","\\circledR");O(M,ie,de,"∡","\\measuredangle",!0);O(M,ie,de,"∄","\\nexists");O(M,ie,de,"℧","\\mho");O(M,ie,de,"Ⅎ","\\Finv",!0);O(M,ie,de,"⅁","\\Game",!0);O(M,ie,de,"‵","\\backprime");O(M,ie,de,"▲","\\blacktriangle");O(M,ie,de,"▼","\\blacktriangledown");O(M,ie,de,"■","\\blacksquare");O(M,ie,de,"⧫","\\blacklozenge");O(M,ie,de,"★","\\bigstar");O(M,ie,de,"∢","\\sphericalangle",!0);O(M,ie,de,"∁","\\complement",!0);O(M,ie,de,"ð","\\eth",!0);O(Be,V,de,"ð","ð");O(M,ie,de,"╱","\\diagup");O(M,ie,de,"╲","\\diagdown");O(M,ie,de,"□","\\square");O(M,ie,de,"□","\\Box");O(M,ie,de,"◊","\\Diamond");O(M,ie,de,"¥","\\yen",!0);O(Be,ie,de,"¥","\\yen",!0);O(M,ie,de,"✓","\\checkmark",!0);O(Be,ie,de,"✓","\\checkmark");O(M,ie,de,"ℶ","\\beth",!0);O(M,ie,de,"ℸ","\\daleth",!0);O(M,ie,de,"ℷ","\\gimel",!0);O(M,ie,de,"ϝ","\\digamma",!0);O(M,ie,de,"ϰ","\\varkappa");O(M,ie,$s,"┌","\\@ulcorner",!0);O(M,ie,$i,"┐","\\@urcorner",!0);O(M,ie,$s,"└","\\@llcorner",!0);O(M,ie,$i,"┘","\\@lrcorner",!0);O(M,ie,se,"≦","\\leqq",!0);O(M,ie,se,"⩽","\\leqslant",!0);O(M,ie,se,"⪕","\\eqslantless",!0);O(M,ie,se,"≲","\\lesssim",!0);O(M,ie,se,"⪅","\\lessapprox",!0);O(M,ie,se,"≊","\\approxeq",!0);O(M,ie,rt,"⋖","\\lessdot");O(M,ie,se,"⋘","\\lll",!0);O(M,ie,se,"≶","\\lessgtr",!0);O(M,ie,se,"⋚","\\lesseqgtr",!0);O(M,ie,se,"⪋","\\lesseqqgtr",!0);O(M,ie,se,"≑","\\doteqdot");O(M,ie,se,"≓","\\risingdotseq",!0);O(M,ie,se,"≒","\\fallingdotseq",!0);O(M,ie,se,"∽","\\backsim",!0);O(M,ie,se,"⋍","\\backsimeq",!0);O(M,ie,se,"⫅","\\subseteqq",!0);O(M,ie,se,"⋐","\\Subset",!0);O(M,ie,se,"⊏","\\sqsubset",!0);O(M,ie,se,"≼","\\preccurlyeq",!0);O(M,ie,se,"⋞","\\curlyeqprec",!0);O(M,ie,se,"≾","\\precsim",!0);O(M,ie,se,"⪷","\\precapprox",!0);O(M,ie,se,"⊲","\\vartriangleleft");O(M,ie,se,"⊴","\\trianglelefteq");O(M,ie,se,"⊨","\\vDash",!0);O(M,ie,se,"⊪","\\Vvdash",!0);O(M,ie,se,"⌣","\\smallsmile");O(M,ie,se,"⌢","\\smallfrown");O(M,ie,se,"≏","\\bumpeq",!0);O(M,ie,se,"≎","\\Bumpeq",!0);O(M,ie,se,"≧","\\geqq",!0);O(M,ie,se,"⩾","\\geqslant",!0);O(M,ie,se,"⪖","\\eqslantgtr",!0);O(M,ie,se,"≳","\\gtrsim",!0);O(M,ie,se,"⪆","\\gtrapprox",!0);O(M,ie,rt,"⋗","\\gtrdot");O(M,ie,se,"⋙","\\ggg",!0);O(M,ie,se,"≷","\\gtrless",!0);O(M,ie,se,"⋛","\\gtreqless",!0);O(M,ie,se,"⪌","\\gtreqqless",!0);O(M,ie,se,"≖","\\eqcirc",!0);O(M,ie,se,"≗","\\circeq",!0);O(M,ie,se,"≜","\\triangleq",!0);O(M,ie,se,"∼","\\thicksim");O(M,ie,se,"≈","\\thickapprox");O(M,ie,se,"⫆","\\supseteqq",!0);O(M,ie,se,"⋑","\\Supset",!0);O(M,ie,se,"⊐","\\sqsupset",!0);O(M,ie,se,"≽","\\succcurlyeq",!0);O(M,ie,se,"⋟","\\curlyeqsucc",!0);O(M,ie,se,"≿","\\succsim",!0);O(M,ie,se,"⪸","\\succapprox",!0);O(M,ie,se,"⊳","\\vartriangleright");O(M,ie,se,"⊵","\\trianglerighteq");O(M,ie,se,"⊩","\\Vdash",!0);O(M,ie,se,"∣","\\shortmid");O(M,ie,se,"∥","\\shortparallel");O(M,ie,se,"≬","\\between",!0);O(M,ie,se,"⋔","\\pitchfork",!0);O(M,ie,se,"∝","\\varpropto");O(M,ie,se,"◀","\\blacktriangleleft");O(M,ie,se,"∴","\\therefore",!0);O(M,ie,se,"∍","\\backepsilon");O(M,ie,se,"▶","\\blacktriangleright");O(M,ie,se,"∵","\\because",!0);O(M,ie,se,"⋘","\\llless");O(M,ie,se,"⋙","\\gggtr");O(M,ie,rt,"⊲","\\lhd");O(M,ie,rt,"⊳","\\rhd");O(M,ie,se,"≂","\\eqsim",!0);O(M,V,se,"⋈","\\Join");O(M,ie,se,"≑","\\Doteq",!0);O(M,ie,rt,"∔","\\dotplus",!0);O(M,ie,rt,"∖","\\smallsetminus");O(M,ie,rt,"⋒","\\Cap",!0);O(M,ie,rt,"⋓","\\Cup",!0);O(M,ie,rt,"⩞","\\doublebarwedge",!0);O(M,ie,rt,"⊟","\\boxminus",!0);O(M,ie,rt,"⊞","\\boxplus",!0);
362O(M,ie,rt,"⋇","\\divideontimes",!0);O(M,ie,rt,"⋉","\\ltimes",!0);O(M,ie,rt,"⋊","\\rtimes",!0);O(M,ie,rt,"⋋","\\leftthreetimes",!0);O(M,ie,rt,"⋌","\\rightthreetimes",!0);O(M,ie,rt,"⋏","\\curlywedge",!0);O(M,ie,rt,"⋎","\\curlyvee",!0);O(M,ie,rt,"⊝","\\circleddash",!0);O(M,ie,rt,"⊛","\\circledast",!0);O(M,ie,rt,"⋅","\\centerdot");O(M,ie,rt,"⊺","\\intercal",!0);O(M,ie,rt,"⋒","\\doublecap");O(M,ie,rt,"⋓","\\doublecup");O(M,ie,rt,"⊠","\\boxtimes",!0);O(M,ie,se,"⇢","\\dashrightarrow",!0);O(M,ie,se,"⇠","\\dashleftarrow",!0);O(M,ie,se,"⇇","\\leftleftarrows",!0);O(M,ie,se,"⇆","\\leftrightarrows",!0);O(M,ie,se,"⇚","\\Lleftarrow",!0);O(M,ie,se,"↞","\\twoheadleftarrow",!0);O(M,ie,se,"↢","\\leftarrowtail",!0);O(M,ie,se,"↫","\\looparrowleft",!0);O(M,ie,se,"⇋","\\leftrightharpoons",!0);O(M,ie,se,"↶","\\curvearrowleft",!0);O(M,ie,se,"↺","\\circlearrowleft",!0);O(M,ie,se,"↰","\\Lsh",!0);O(M,ie,se,"⇈","\\upuparrows",!0);O(M,ie,se,"↿","\\upharpoonleft",!0);O(M,ie,se,"⇃","\\downharpoonleft",!0);O(M,V,se,"⊶","\\origof",!0);O(M,V,se,"⊷","\\imageof",!0);O(M,ie,se,"⊸","\\multimap",!0);O(M,ie,se,"↭","\\leftrightsquigarrow",!0);O(M,ie,se,"⇉","\\rightrightarrows",!0);O(M,ie,se,"⇄","\\rightleftarrows",!0);O(M,ie,se,"↠","\\twoheadrightarrow",!0);O(M,ie,se,"↣","\\rightarrowtail",!0);O(M,ie,se,"↬","\\looparrowright",!0);O(M,ie,se,"↷","\\curvearrowright",!0);O(M,ie,se,"↻","\\circlearrowright",!0);O(M,ie,se,"↱","\\Rsh",!0);O(M,ie,se,"⇊","\\downdownarrows",!0);O(M,ie,se,"↾","\\upharpoonright",!0);O(M,ie,se,"⇂","\\downharpoonright",!0);O(M,ie,se,"⇝","\\rightsquigarrow",!0);O(M,ie,se,"⇝","\\leadsto");O(M,ie,se,"⇛","\\Rrightarrow",!0);O(M,ie,se,"↾","\\restriction");O(M,V,de,"‘","`");O(M,V,de,"$","\\$");O(Be,V,de,"$","\\$");O(Be,V,de,"$","\\textdollar");O(M,V,de,"%","\\%");O(Be,V,de,"%","\\%");O(M,V,de,"_","\\_");O(Be,V,de,"_","\\_");O(Be,V,de,"_","\\textunderscore");O(M,V,de,"∠","\\angle",!0);O(M,V,de,"∞","\\infty",!0);O(M,V,de,"′","\\prime");O(M,V,de,"△","\\triangle");O(M,V,de,"Γ","\\Gamma",!0);O(M,V,de,"Δ","\\Delta",!0);O(M,V,de,"Θ","\\Theta",!0);O(M,V,de,"Λ","\\Lambda",!0);O(M,V,de,"Ξ","\\Xi",!0);O(M,V,de,"Π","\\Pi",!0);O(M,V,de,"Σ","\\Sigma",!0);O(M,V,de,"Υ","\\Upsilon",!0);O(M,V,de,"Φ","\\Phi",!0);O(M,V,de,"Ψ","\\Psi",!0);O(M,V,de,"Ω","\\Omega",!0);O(M,V,de,"A","Α");O(M,V,de,"B","Β");O(M,V,de,"E","Ε");O(M,V,de,"Z","Ζ");O(M,V,de,"H","Η");O(M,V,de,"I","Ι");O(M,V,de,"K","Κ");O(M,V,de,"M","Μ");O(M,V,de,"N","Ν");O(M,V,de,"O","Ο");O(M,V,de,"P","Ρ");O(M,V,de,"T","Τ");O(M,V,de,"X","Χ");O(M,V,de,"¬","\\neg",!0);O(M,V,de,"¬","\\lnot");O(M,V,de,"⊤","\\top");O(M,V,de,"⊥","\\bot");O(M,V,de,"∅","\\emptyset");O(M,ie,de,"∅","\\varnothing");O(M,V,gt,"α","\\alpha",!0);O(M,V,gt,"β","\\beta",!0);O(M,V,gt,"γ","\\gamma",!0);O(M,V,gt,"δ","\\delta",!0);O(M,V,gt,"ϵ","\\epsilon",!0);O(M,V,gt,"ζ","\\zeta",!0);O(M,V,gt,"η","\\eta",!0);O(M,V,gt,"θ","\\theta",!0);O(M,V,gt,"ι","\\iota",!0);O(M,V,gt,"κ","\\kappa",!0);O(M,V,gt,"λ","\\lambda",!0);O(M,V,gt,"μ","\\mu",!0);O(M,V,gt,"ν","\\nu",!0);O(M,V,gt,"ξ","\\xi",!0);O(M,V,gt,"ο","\\omicron",!0);O(M,V,gt,"π","\\pi",!0);O(M,V,gt,"ρ","\\rho",!0);O(M,V,gt,"σ","\\sigma",!0);O(M,V,gt,"τ","\\tau",!0);O(M,V,gt,"υ","\\upsilon",!0);O(M,V,gt,"ϕ","\\phi",!0);O(M,V,gt,"χ","\\chi",!0);O(M,V,gt,"ψ","\\psi",!0);O(M,V,gt,"ω","\\omega",!0);O(M,V,gt,"ε","\\varepsilon",!0);O(M,V,gt,"ϑ","\\vartheta",!0);O(M,V,gt,"ϖ","\\varpi",!0);O(M,V,gt,"ϱ","\\varrho",!0);O(M,V,gt,"ς","\\varsigma",!0);O(M,V,gt,"φ","\\varphi",!0);O(M,V,rt,"∗","*",!0);O(M,V,rt,"+","+");O(M,V,rt,"−","-",!0);O(M,V,rt,"⋅","\\cdot",!0);O(M,V,rt,"∘","\\circ",!0);O(M,V,rt,"÷","\\div",!0);O(M,V,rt,"±","\\pm",!0);O(M,V,rt,"×","\\times",!0);O(M,V,rt,"∩","\\cap",!0);O(M,V,rt,"∪","\\cup",!0);O(M,V,rt,"∖","\\setminus",!0);O(M,V,rt,"∧","\\land");O(M,V,rt,"∨","\\lor");O(M,V,rt,"∧","\\wedge",!0);O(M,V,rt,"∨","\\vee",!0);O(M,V,de,"√","\\surd");O(M,V,$s,"⟨","\\langle",!0);O(M,V,$s,"∣","\\lvert");O(M,V,$s,"∥","\\lVert");O(M,V,$i,"?","?");O(M,V,$i,"!","!");O(M,V,$i,"⟩","\\rangle",!0);O(M,V,$i,"∣","\\rvert");O(M,V,$i,"∥","\\rVert");O(M,V,se,"=","=");O(M,V,se,":",":");O(M,V,se,"≈","\\approx",!0);O(M,V,se,"≅","\\cong",!0);O(M,V,se,"≥","\\ge");O(M,V,se,"≥","\\geq",!0);O(M,V,se,"←","\\gets");O(M,V,se,">","\\gt",!0);O(M,V,se,"∈","\\in",!0);O(M,V,se,"","\\@not");O(M,V,se,"⊂","\\subset",!0);O(M,V,se,"⊃","\\supset",!0);O(M,V,se,"⊆","\\subseteq",!0);O(M,V,se,"⊇","\\supseteq",!0);O(M,ie,se,"⊈","\\nsubseteq",!0);O(M,ie,se,"⊉","\\nsupseteq",!0);O(M,V,se,"⊨","\\models");O(M,V,se,"←","\\leftarrow",!0);O(M,V,se,"≤","\\le");O(M,V,se,"≤","\\leq",!0);O(M,V,se,"<","\\lt",!0);O(M,V,se,"→","\\rightarrow",!0);O(M,V,se,"→","\\to");O(M,ie,se,"≱","\\ngeq",!0);O(M,ie,se,"≰","\\nleq",!0);O(M,V,Kl," ","\\ ");O(M,V,Kl," ","\\space");O(M,V,Kl," ","\\nobreakspace");O(Be,V,Kl," ","\\ ");O(Be,V,Kl," "," ");O(Be,V,Kl," ","\\space");O(Be,V,Kl," ","\\nobreakspace");O(M,V,Kl,null,"\\nobreak");O(M,V,Kl,null,"\\allowbreak");O(M,V,i_,",",",");O(M,V,i_,";",";");O(M,ie,rt,"⊼","\\barwedge",!0);O(M,ie,rt,"⊻","\\veebar",!0);O(M,V,rt,"⊙","\\odot",!0);O(M,V,rt,"⊕","\\oplus",!0);O(M,V,rt,"⊗","\\otimes",!0);O(M,V,de,"∂","\\partial",!0);O(M,V,rt,"⊘","\\oslash",!0);O(M,ie,rt,"⊚","\\circledcirc",!0);O(M,ie,rt,"⊡","\\boxdot",!0);
vendor: 8,413 bytes, line 362
362O(M,V,rt,"△","\\bigtriangleup");O(M,V,rt,"▽","\\bigtriangledown");O(M,V,rt,"†","\\dagger");O(M,V,rt,"⋄","\\diamond");O(M,V,rt,"⋆","\\star");O(M,V,rt,"◃","\\triangleleft");O(M,V,rt,"▹","\\triangleright");O(M,V,$s,"{","\\{");O(Be,V,de,"{","\\{");O(Be,V,de,"{","\\textbraceleft");O(M,V,$i,"}","\\}");O(Be,V,de,"}","\\}");O(Be,V,de,"}","\\textbraceright");O(M,V,$s,"{","\\lbrace");O(M,V,$i,"}","\\rbrace");O(M,V,$s,"[","\\lbrack",!0);O(Be,V,de,"[","\\lbrack",!0);O(M,V,$i,"]","\\rbrack",!0);O(Be,V,de,"]","\\rbrack",!0);O(M,V,$s,"(","\\lparen",!0);O(M,V,$i,")","\\rparen",!0);O(Be,V,de,"<","\\textless",!0);O(Be,V,de,">","\\textgreater",!0);O(M,V,$s,"⌊","\\lfloor",!0);O(M,V,$i,"⌋","\\rfloor",!0);O(M,V,$s,"⌈","\\lceil",!0);O(M,V,$i,"⌉","\\rceil",!0);O(M,V,de,"\\","\\backslash");O(M,V,de,"∣","|");O(M,V,de,"∣","\\vert");O(Be,V,de,"|","\\textbar",!0);O(M,V,de,"∥","\\|");O(M,V,de,"∥","\\Vert");O(Be,V,de,"∥","\\textbardbl");O(Be,V,de,"~","\\textasciitilde");O(Be,V,de,"\\","\\textbackslash");O(Be,V,de,"^","\\textasciicircum");O(M,V,se,"↑","\\uparrow",!0);O(M,V,se,"⇑","\\Uparrow",!0);O(M,V,se,"↓","\\downarrow",!0);O(M,V,se,"⇓","\\Downarrow",!0);O(M,V,se,"↕","\\updownarrow",!0);O(M,V,se,"⇕","\\Updownarrow",!0);O(M,V,gr,"∐","\\coprod");O(M,V,gr,"⋁","\\bigvee");O(M,V,gr,"⋀","\\bigwedge");O(M,V,gr,"⨄","\\biguplus");O(M,V,gr,"⋂","\\bigcap");O(M,V,gr,"⋃","\\bigcup");O(M,V,gr,"∫","\\int");O(M,V,gr,"∫","\\intop");O(M,V,gr,"∬","\\iint");O(M,V,gr,"∭","\\iiint");O(M,V,gr,"∏","\\prod");O(M,V,gr,"∑","\\sum");O(M,V,gr,"⨂","\\bigotimes");O(M,V,gr,"⨁","\\bigoplus");O(M,V,gr,"⨀","\\bigodot");O(M,V,gr,"∮","\\oint");O(M,V,gr,"∯","\\oiint");O(M,V,gr,"∰","\\oiiint");O(M,V,gr,"⨆","\\bigsqcup");O(M,V,gr,"∫","\\smallint");O(Be,V,Ap,"…","\\textellipsis");O(M,V,Ap,"…","\\mathellipsis");O(Be,V,Ap,"…","\\ldots",!0);O(M,V,Ap,"…","\\ldots",!0);O(M,V,Ap,"⋯","\\@cdots",!0);O(M,V,Ap,"⋱","\\ddots",!0);O(M,V,de,"⋮","\\varvdots");O(Be,V,de,"⋮","\\varvdots");O(M,V,Dn,"ˊ","\\acute");O(M,V,Dn,"ˋ","\\grave");O(M,V,Dn,"¨","\\ddot");O(M,V,Dn,"~","\\tilde");O(M,V,Dn,"ˉ","\\bar");O(M,V,Dn,"˘","\\breve");O(M,V,Dn,"ˇ","\\check");O(M,V,Dn,"^","\\hat");O(M,V,Dn,"⃗","\\vec");O(M,V,Dn,"˙","\\dot");O(M,V,Dn,"˚","\\mathring");O(M,V,gt,"","\\@imath");O(M,V,gt,"","\\@jmath");O(M,V,de,"ı","ı");O(M,V,de,"ȷ","ȷ");O(Be,V,de,"ı","\\i",!0);O(Be,V,de,"ȷ","\\j",!0);O(Be,V,de,"ß","\\ss",!0);O(Be,V,de,"æ","\\ae",!0);O(Be,V,de,"œ","\\oe",!0);O(Be,V,de,"ø","\\o",!0);O(Be,V,de,"Æ","\\AE",!0);O(Be,V,de,"Œ","\\OE",!0);O(Be,V,de,"Ø","\\O",!0);O(Be,V,Dn,"ˊ","\\'");O(Be,V,Dn,"ˋ","\\`");O(Be,V,Dn,"ˆ","\\^");O(Be,V,Dn,"˜","\\~");O(Be,V,Dn,"ˉ","\\=");O(Be,V,Dn,"˘","\\u");O(Be,V,Dn,"˙","\\.");O(Be,V,Dn,"¸","\\c");O(Be,V,Dn,"˚","\\r");O(Be,V,Dn,"ˇ","\\v");O(Be,V,Dn,"¨",'\\"');O(Be,V,Dn,"˝","\\H");O(Be,V,Dn,"◯","\\textcircled");var nne={"--":!0,"---":!0,"``":!0,"''":!0};O(Be,V,de,"–","--",!0);O(Be,V,de,"–","\\textendash");O(Be,V,de,"—","---",!0);O(Be,V,de,"—","\\textemdash");O(Be,V,de,"‘","`",!0);O(Be,V,de,"‘","\\textquoteleft");O(Be,V,de,"’","'",!0);O(Be,V,de,"’","\\textquoteright");O(Be,V,de,"“","``",!0);O(Be,V,de,"“","\\textquotedblleft");O(Be,V,de,"”","''",!0);O(Be,V,de,"”","\\textquotedblright");O(M,V,de,"°","\\degree",!0);O(Be,V,de,"°","\\degree");O(Be,V,de,"°","\\textdegree",!0);O(M,V,de,"£","\\pounds");O(M,V,de,"£","\\mathsterling",!0);O(Be,V,de,"£","\\pounds");O(Be,V,de,"£","\\textsterling",!0);O(M,ie,de,"✠","\\maltese");O(Be,ie,de,"✠","\\maltese");var MH='0123456789/@."';for(var Fk=0;Fk<MH.length;Fk++){var LH=MH.charAt(Fk);O(M,V,de,LH,LH)}var BH='0123456789!@*()-=+";:?/.,';for(var zk=0;zk<BH.length;zk++){var PH=BH.charAt(zk);O(Be,V,de,PH,PH)}var Uw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Uk=0;Uk<Uw.length;Uk++){var Nv=Uw.charAt(Uk);O(M,V,gt,Nv,Nv),O(Be,V,de,Nv,Nv)}O(M,ie,de,"C","ℂ");O(Be,ie,de,"C","ℂ");O(M,ie,de,"H","ℍ");O(Be,ie,de,"H","ℍ");O(M,ie,de,"N","ℕ");O(Be,ie,de,"N","ℕ");O(M,ie,de,"P","ℙ");O(Be,ie,de,"P","ℙ");O(M,ie,de,"Q","ℚ");O(Be,ie,de,"Q","ℚ");O(M,ie,de,"R","ℝ");O(Be,ie,de,"R","ℝ");O(M,ie,de,"Z","ℤ");O(Be,ie,de,"Z","ℤ");O(M,V,gt,"h","ℎ");O(Be,V,gt,"h","ℎ");var vt="";for(var Ai=0;Ai<Uw.length;Ai++){var Vn=Uw.charAt(Ai);vt=String.fromCharCode(55349,56320+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56372+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56424+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56580+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56684+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56736+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56788+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56840+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56944+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),Ai<26&&(vt=String.fromCharCode(55349,56632+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt),vt=String.fromCharCode(55349,56476+Ai),O(M,V,gt,Vn,vt),O(Be,V,de,Vn,vt))}vt="𝕜";O(M,V,gt,"k",vt);O(Be,V,de,"k",vt);for(var Wu=0;Wu<10;Wu++){var Ac=Wu.toString();vt=String.fromCharCode(55349,57294+Wu),O(M,V,gt,Ac,vt),O(Be,V,de,Ac,vt),vt=String.fromCharCode(55349,57314+Wu),O(M,V,gt,Ac,vt),O(Be,V,de,Ac,vt),vt=String.fromCharCode(55349,57324+Wu),O(M,V,gt,Ac,vt),O(Be,V,de,Ac,vt),vt=String.fromCharCode(55349,57334+Wu),O(M,V,gt,Ac,vt),O(Be,V,de,Ac,vt)}var p4="ÐÞþ";for(var jk=0;jk<p4.length;jk++){var Ov=p4.charAt(jk);O(M,V,gt,Ov,Ov),O(Be,V,de,Ov,Ov)}var Iv=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],FH=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],OBe=function(e,n){var r=e.charCodeAt(0),i=e.charCodeAt(1),s=(r-55296)*1024+(i-56320)+65536,a=n==="math"?0:1;if(119808<=s&&s<120484){var o=Math.floor((s-119808)/26);return[Iv[o][2],Iv[o][a]]}else if(120782<=s&&s<=120831){var l=Math.floor((s-120782)/10);return[FH[l][2],FH[l][a]]}else{if(s===120485||s===120486)return[Iv[0][2],Iv[0][a]];if(120486<s&&s<120782)return["",""];throw new Ue("Unsupported character: "+e)}},s_=function(e,n,r){return xn[r][e]&&xn[r][e].replace&&(e=xn[r][e].replace),{value:e,metrics:M5(e,n,r)}},Ba=function(e,n,r,i,s){var a=s_(e,n,r),o=a.metrics;e=a.value;var l;if(o){var c=o.italic;(r==="text"||i&&i.font==="mathit")&&(c=0),l=new ka(e,o.height,o.depth,c,o.skew,o.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+n+"' and mode '"+r+"'")),l=new ka(e,0,0,0,0,0,s);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},IBe=function(e,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&s_(e,"Main-Bold",n).metrics?Ba(e,"Main-Bold",n,r,i.concat(["mathbf"])):e==="\\"||xn[n][e].font==="main"?Ba(e,"Main-Regular",n,r,i):Ba(e,"AMS-Regular",n,r,i.concat(["amsrm"]))},DBe=function(e,n,r,i,s){return s!=="textord"&&s_(e,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},MBe=function(e,n,r){var i=e.mode,s=e.text,a=["mord"],o=i==="math"||i==="text"&&n.font,l=o?n.font:n.fontFamily,c="",d="";if(s.charCodeAt(0)===55349&&([c,d]=OBe(s,i)),c.length>0)return Ba(s,c,i,n,a.concat(d));if(l){var f,p;if(l==="boldsymbol"){var g=DBe(s,i,n,a,r);f=g.fontName,p=[g.fontClass]}
vendor: 5,095 bytes, line 362
362else o?(f=sne[l].fontName,p=[l]):(f=Dv(l,n.fontWeight,n.fontShape),p=[l,n.fontWeight,n.fontShape]);if(s_(s,f,i).metrics)return Ba(s,f,i,n,a.concat(p));if(nne.hasOwnProperty(s)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<s.length;y++)b.push(Ba(s[y],f,i,n,a.concat(p)));return ine(b)}}if(r==="mathord")return Ba(s,"Math-Italic",i,n,a.concat(["mathnormal"]));if(r==="textord"){var w=xn[i][s]&&xn[i][s].font;if(w==="ams"){var S=Dv("amsrm",n.fontWeight,n.fontShape);return Ba(s,S,i,n,a.concat("amsrm",n.fontWeight,n.fontShape))}else if(w==="main"||!w){var _=Dv("textrm",n.fontWeight,n.fontShape);return Ba(s,_,i,n,a.concat(n.fontWeight,n.fontShape))}else{var E=Dv(w,n.fontWeight,n.fontShape);return Ba(s,E,i,n,a.concat(E,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},LBe=(t,e)=>{if(lu(t.classes)!==lu(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var n=t.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in t.style)if(t.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},BBe=t=>{for(var e=0;e<t.length-1;e++){var n=t[e],r=t[e+1];n instanceof ka&&r instanceof ka&&LBe(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,t.splice(e+1,1),e--)}return t},B5=function(e){for(var n=0,r=0,i=0,s=0;s<e.children.length;s++){var a=e.children[s];a.height>n&&(n=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>i&&(i=a.maxFontSize)}e.height=n,e.depth=r,e.maxFontSize=i},rs=function(e,n,r,i){var s=new nb(e,n,r,i);return B5(s),s},rne=(t,e,n,r)=>new nb(t,e,n,r),PBe=function(e,n,r){var i=rs([e],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=Ke(i.height),i.maxFontSize=1,i},FBe=function(e,n,r,i){var s=new L5(e,n,r,i);return B5(s),s},ine=function(e){var n=new tb(e);return B5(n),n},zBe=function(e,n){return e instanceof tb?rs([],[e],n):e},UBe=function(e){if(e.positionType==="individualShift"){for(var n=e.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,s=i,a=1;a<n.length;a++){var o=-n[a].shift-s-n[a].elem.depth,l=o-(n[a-1].elem.height+n[a-1].elem.depth);s=s+o,r.push({type:"kern",size:l}),r.push(n[a])}return{children:r,depth:i}}var c;if(e.positionType==="top"){for(var d=e.positionData,f=0;f<e.children.length;f++){var p=e.children[f];d-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}c=d}else if(e.positionType==="bottom")c=-e.positionData;else{var g=e.children[0];if(g.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-g.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-g.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},jBe=function(e,n){for(var{children:r,depth:i}=UBe(e),s=0,a=0;a<r.length;a++){var o=r[a];if(o.type==="elem"){var l=o.elem;s=Math.max(s,l.maxFontSize,l.height)}}s+=2;var c=rs(["pstrut"],[]);c.style.height=Ke(s);for(var d=[],f=i,p=i,g=i,b=0;b<r.length;b++){var y=r[b];if(y.type==="kern")g+=y.size;else{var w=y.elem,S=y.wrapperClasses||[],_=y.wrapperStyle||{},E=rs(S,[c,w],void 0,_);E.style.top=Ke(-s-g-w.depth),y.marginLeft&&(E.style.marginLeft=y.marginLeft),y.marginRight&&(E.style.marginRight=y.marginRight),d.push(E),g+=w.height+w.depth}f=Math.min(f,g),p=Math.max(p,g)}var T=rs(["vlist"],d);T.style.height=Ke(p);var R;if(f<0){var N=rs([],[]),I=rs(["vlist"],[N]);I.style.height=Ke(-f);var P=rs(["vlist-s"],[new ka("​")]);R=[rs(["vlist-r"],[T,P]),rs(["vlist-r"],[I])]}else R=[rs(["vlist-r"],[T])];var z=rs(["vlist-t"],R);return R.length===2&&z.classes.push("vlist-t2"),z.height=p,z.depth=-f,z},HBe=(t,e)=>{var n=rs(["mspace"],[],e),r=Fn(t,e);return n.style.marginRight=Ke(r),n},Dv=function(e,n,r){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var s;return n==="textbf"&&r==="textit"?s="BoldItalic":n==="textbf"?s="Bold":n==="textit"?s="Italic":s="Regular",i+"-"+s},sne={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},ane={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},$Be=function(e,n){var[r,i,s]=ane[e],a=new cu(r),o=new Hl([a],{width:Ke(i),height:Ke(s),style:"width:"+Ke(i),viewB
vendor: 15,501 bytes, line 362
362ox:"0 0 "+1e3*i+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),l=rne(["overlay"],[o],n);return l.height=s,l.style.height=Ke(s),l.style.width=Ke(i),l},ye={fontMap:sne,makeSymbol:Ba,mathsym:IBe,makeSpan:rs,makeSvgSpan:rne,makeLineSpan:PBe,makeAnchor:FBe,makeFragment:ine,wrapFragment:zBe,makeVList:jBe,makeOrd:MBe,makeGlue:HBe,staticSvg:$Be,svgData:ane,tryCombineChars:BBe},Bn={number:3,unit:"mu"},Ku={number:4,unit:"mu"},vl={number:5,unit:"mu"},VBe={mord:{mop:Bn,mbin:Ku,mrel:vl,minner:Bn},mop:{mord:Bn,mop:Bn,mrel:vl,minner:Bn},mbin:{mord:Ku,mop:Ku,mopen:Ku,minner:Ku},mrel:{mord:vl,mop:vl,mopen:vl,minner:vl},mopen:{},mclose:{mop:Bn,mbin:Ku,mrel:vl,minner:Bn},mpunct:{mord:Bn,mop:Bn,mrel:vl,mopen:Bn,mclose:Bn,mpunct:Bn,minner:Bn},minner:{mord:Bn,mop:Bn,mbin:Ku,mrel:vl,mopen:Bn,mpunct:Bn,minner:Bn}},GBe={mord:{mop:Bn},mop:{mord:Bn,mop:Bn},mbin:{},mrel:{},mopen:{},mclose:{mop:Bn},mpunct:{},minner:{mop:Bn}},one={},jw={},Hw={};function Qe(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:a}=t,o={type:e,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l<n.length;++l)one[n[l]]=o;e&&(s&&(jw[e]=s),a&&(Hw[e]=a))}function Qd(t){var{type:e,htmlBuilder:n,mathmlBuilder:r}=t;Qe({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var $w=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},tr=function(e){return e.type==="ordgroup"?e.body:[e]},$l=ye.makeSpan,qBe=["leftmost","mbin","mopen","mrel","mop","mpunct"],WBe=["rightmost","mrel","mclose","mpunct"],KBe={display:bt.DISPLAY,text:bt.TEXT,script:bt.SCRIPT,scriptscript:bt.SCRIPTSCRIPT},YBe={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Rr=function(e,n,r,i){i===void 0&&(i=[null,null]);for(var s=[],a=0;a<e.length;a++){var o=Zt(e[a],n);if(o instanceof tb){var l=o.children;s.push(...l)}else s.push(o)}if(ye.tryCombineChars(s),!r)return s;var c=n;if(e.length===1){var d=e[0];d.type==="sizing"?c=n.havingSize(d.size):d.type==="styling"&&(c=n.havingStyle(KBe[d.style]))}var f=$l([i[0]||"leftmost"],[],n),p=$l([i[1]||"rightmost"],[],n),g=r==="root";return zH(s,(b,y)=>{var w=y.classes[0],S=b.classes[0];w==="mbin"&&WBe.includes(S)?y.classes[0]="mord":S==="mbin"&&qBe.includes(w)&&(b.classes[0]="mord")},{node:f},p,g),zH(s,(b,y)=>{var w=m4(y),S=m4(b),_=w&&S?b.hasClass("mtight")?GBe[w][S]:VBe[w][S]:null;if(_)return ye.makeGlue(_,c)},{node:f},p,g),s},zH=function t(e,n,r,i,s){i&&e.push(i);for(var a=0;a<e.length;a++){var o=e[a],l=lne(o);if(l){t(l.children,n,r,null,s);continue}var c=!o.hasClass("mspace");if(c){var d=n(o,r.node);d&&(r.insertAfter?r.insertAfter(d):(e.unshift(d),a++))}c?r.node=o:s&&o.hasClass("newline")&&(r.node=$l(["leftmost"])),r.insertAfter=(f=>p=>{e.splice(f+1,0,p),a++})(a)}i&&e.pop()},lne=function(e){return e instanceof tb||e instanceof L5||e instanceof nb&&e.hasClass("enclosing")?e:null},XBe=function t(e,n){var r=lne(e);if(r){var i=r.children;if(i.length){if(n==="right")return t(i[i.length-1],"right");if(n==="left")return t(i[0],"left")}}return e},m4=function(e,n){return e?(n&&(e=XBe(e,n)),YBe[e.classes[0]]||null):null},d0=function(e,n){var r=["nulldelimiter"].concat(e.baseSizingClasses());return $l(n.concat(r))},Zt=function(e,n,r){if(!e)return $l();if(jw[e.type]){var i=jw[e.type](e,n);if(r&&n.size!==r.size){i=$l(n.sizingClasses(r),[i],n);var s=n.sizeMultiplier/r.sizeMultiplier;i.height*=s,i.depth*=s}return i}else throw new Ue("Got group of unknown type: '"+e.type+"'")};function Mv(t,e){var n=$l(["base"],t,e),r=$l(["strut"]);return r.style.height=Ke(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ke(-n.depth)),n.children.unshift(r),n}function g4(t,e){var n=null;t.length===1&&t[0].type==="tag"&&(n=t[0].tag,t=t[0].body);var r=Rr(t,e,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var s=[],a=[],o=0;o<r.length;o++)if(a.push(r[o]),r[o].hasClass("mbin")||r[o].hasClass("mrel")||r[o].hasClass("allowbreak")){for(var l=!1;o<r.length-1&&r[o+1].hasClass("mspace")&&!r[o+1].hasClass("newline");)o++,a.push(r[o]),r[o].hasClass("nobreak")&&(l=!0);l||(s.push(Mv(a,e)),a=[])}else r[o].hasClass("newline")&&(a.pop(),a.length>0&&(s.push(Mv(a,e)),a=[]),s.push(r[o]));a.length>0&&s.push(Mv(a,e));var c;n?(c=Mv(Rr(n,e,!0)),c.classes=["tag"],s.push(c)):i&&s.push(i);var d=$l(["katex-html"],s);if(d.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Ke(d.height+d.depth),d.depth&&(f.style.verticalAlign=Ke(-d.depth))}return d}function cne(t){return new tb(t)}class Ms{constructor(e,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(e,n){this.attributes[e]=n}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);this.classes.length>0&&(e.className=lu(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Lo&&this.children[r+1]instanceof Lo){for(var i=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Lo;)i+=this.children[++r].toText();e.appendChild(new Lo(i).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="',e+=tn.escape(this.attributes[n]),e+='"');this.classes.length>0&&(e+=' class ="'+tn.escape(lu(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Lo{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return tn.escape(this.toText())}toText(){return this.text}}class ZBe{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Ke(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ke(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ze={MathNode:Ms,TextNode:Lo,SpaceNode:ZBe,newDocumentFragment:cne},Ca=function(e,n,r){return xn[n][e]&&xn[n][e].replace&&e.charCodeAt(0)!==55349&&!(nne.hasOwnProperty(e)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(e=xn[n][e].replace),new ze.TextNode(e)},P5=function(e){return e.length===1?e[0]:new ze.MathNode("mrow",e)},F5=function(e,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=e.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var s=e.text;if(["\\imath","\\jmath"].includes(s))return null;xn[i][s]&&xn[i][s].replace&&(s=xn[i][s].replace);var a=ye.fontMap[r].fontName;return M5(s,a,i)?ye.fontMap[r].variant:null};function Hk(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var e=t.children[0];return e instanceof Lo&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var n=t.children[0];return n instanceof Lo&&n.text===","}else return!1}var gs=function(e,n,r){if(e.length===1){var i=yn(e[0],n);return r&&i instanceof Ms&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var s=[],a,o=0;o<e.length;o++){var l=yn(e[o],n);if(l instanceof Ms&&a instanceof Ms){if(l.type==="mtext"&&a.type==="mtext"&&l.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...l.children);continue}else if(l.type==="mn"&&a.type==="mn"){a.children.push(...l.children);continue}else if(Hk(l)&&a.type==="mn"){a.children.push(...l.children);continue}else if(l.type==="mn"&&Hk(a))l.children=[...a.children,...l.children],s.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(a.type==="mn"||Hk(a))){var c=l.children[0];c instanceof Ms&&c.type==="mn"&&(c.children=[...a.children,...c.children],s.pop())}else if(a.type==="mi"&&a.children.length===1){var d=a.children[0];if(d instanceof Lo&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof Lo&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),s.pop())}}}s.push(l),a=l}return s},uu=function(e,n,r){return P5(gs(e,n,r))},yn=function(e,n){if(!e)return new ze.MathNode("mrow");if(Hw[e.type]){var r=Hw[e.type](e,n);return r}else throw new Ue("Got group of unknown type: '"+e.type+"'")};function UH(t,e,n,r,i){var s=gs(t,n),a;s.length===1&&s[0]instanceof Ms&&["mrow","mtable"].includes(s[0].type)?a=s[0]:a=new ze.MathNode("mrow",s);var o=new ze.MathNode("annotation",[new ze.TextNode(e)]);o.setAttribute("encoding","application/x-tex");var l=new ze.MathNode("semantics",[a,o]),c=new ze.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var d=i?"katex":"katex-mathml";return ye.makeSpan([d],[c])}var une=function(e){return new _l({style:e.displayMode?bt.DISPLAY:bt.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},dne=function(e,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),e=ye.makeSpan(r,[e])}return e},QBe=function(e,n,r){var i=une(r),s;if(r.output==="mathml")return UH(e,n,i,r.displayMode,!0);if(r.output==="html"){var a=g4(e,i);s=ye.makeSpan(["katex"],[a])}else{var o=UH(e,n,i,r.displayMode,!1),l=g4(e,i);s=ye.makeSpan(["katex"],[o,l])}return dne(s,r)},JBe=function(e,n,r){var i=une(r),s=g4(e,i),a=ye.makeSpan(["katex"],[s]);return dne(a,r)},ePe={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},tPe=function(e){var n=new ze.MathNode("mo",[new ze.TextNode(ePe[e.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},nPe={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},rPe=function(e){return e.type==="ordgroup"?e.body.length:1},iPe=function(e,n){function r(){var o=4e5,l=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var c=e,d=rPe(c.base),f,p,g;if(d>5)l==="widehat"||l==="widecheck"?(f=420,o=2364,g=.42,p=l+"4"):(f=312,o=2340,g=.34,p="tilde4");else{var b=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][b],f=[0,239,300,360,420][b],g=[0,.24,.3,.3,.36,.42][b],p=l+b):(o=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],g=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new cu(p),w=new Hl([y],{width:"100%",height:Ke(g),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:ye.makeSvgSpan([],[w],n),minWidth:0,height:g}}else{var S=[],_=nPe[l],[E,T,R]=_,N=R/1e3,I=E.length,P,z;if(I===1){var U=_[3];P=["hide-tail"],z=[U]}else if(I===2)P=["halfarrow-left","halfarrow-right"],z=["xMinYMin","xMaxYMin"];else if(I===3)P=["brace-left","brace-center","brace-right"],z=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to supp
362ort
363                    `+I+" children.");for(var Z=0;Z<I;Z++){var L=new cu(E[Z]),$=new Hl([L],{width:"400em",height:Ke(N),viewBox:"0 0 "+o+" "+R,preserveAspectRatio:z[Z]+" slice"}),D=ye.makeSvgSpan([P[Z]],[$],n);if(I===1)return{span:D,minWidth:T,height:N};D.style.height=Ke(N),S.push(D)}return{span:ye.makeSpan(["stretchy"],S,n),minWidth:T,height:N}}}var{span:i,minWidth:s,height:a}=r();return i.height=a,i.style.height=Ke(a),s>0&&(i.style.minWidth=Ke(s)),i},sPe=function(e,n,r,i,s){var a,o=e.height+e.depth+r+i;if(/fbox|color|angl/.test(n)){if(a=ye.makeSpan(["stretchy",n],[],s),n==="fbox"){var l=s.color&&s.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new f4({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new f4({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Hl(c,{width:"100%",height:Ke(o)});a=ye.makeSvgSpan([],[d],s)}return a.height=o,a.style.height=Ke(o),a},Vl={encloseSpan:sPe,mathMLnode:tPe,svgSpan:iPe};function Nt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function z5(t){var e=a_(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function a_(t){return t&&(t.type==="atom"||NBe.hasOwnProperty(t.type))?t:null}var U5=(t,e)=>{var n,r,i;t&&t.type==="supsub"?(r=Nt(t.base,"accent"),n=r.base,t.base=n,i=ABe(Zt(t,e)),t.base=r):(r=Nt(t,"accent"),n=r.base);var s=Zt(n,e.havingCrampedStyle()),a=r.isShifty&&tn.isCharacterBox(n),o=0;if(a){var l=tn.getBaseElem(n),c=Zt(l,e.havingCrampedStyle());o=DH(c).skew}var d=r.label==="\\c",f=d?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight),p;if(r.isStretchy)p=Vl.svgSpan(r,e),p=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+Ke(2*o)+")",marginLeft:Ke(2*o)}:void 0}]},e);else{var g,b;r.label==="\\vec"?(g=ye.staticSvg("vec",e),b=ye.svgData.vec[1]):(g=ye.makeOrd({mode:r.mode,text:r.label},e,"textord"),g=DH(g),g.italic=0,b=g.width,d&&(f+=g.depth)),p=ye.makeSpan(["accent-body"],[g]);var y=r.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=s.height);var w=o;y||(w-=b/2),p.style.left=Ke(w),r.label==="\\textcircled"&&(p.style.top=".2em"),p=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-f},{type:"elem",elem:p}]},e)}var S=ye.makeSpan(["mord","accent"],[p],e);return i?(i.children[0]=S,i.height=Math.max(S.height,i.height),i.classes[0]="mord",i):S},hne=(t,e)=>{var n=t.isStretchy?Vl.mathMLnode(t.label):new ze.MathNode("mo",[Ca(t.label,t.mode)]),r=new ze.MathNode("mover",[yn(t.base,e),n]);return r.setAttribute("accent","true"),r},aPe=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var n=$w(e[0]),r=!aPe.test(t.funcName),i=!r||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:U5,mathmlBuilder:hne});Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var n=e[0],r=t.parser.mode;return r==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:U5,mathmlBuilder:hne});Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(t,e)=>{var n=Zt(t.base,e),r=Vl.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,s=ye.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},e);return ye.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{var n=Vl.mathMLnode(t.label),r=new ze.MathNode("munder",[yn(t.base,e),n]);return r.setAttribute("accentunder","true"),r}});var Lv=t=>{var e=new ze.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r,funcName:i}=t;return{type:"xArrow",mode:r.mode,label:i,body:e[0],below:n[0]}},htmlBuilder(t,e){var n=e.style,r=e.havingStyle(n.sup()),i=ye.wrapFragment(Zt(t.body,r,e),e),s=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(s+"-arrow-pad");var a;t.below&&(r=e.havingStyle(n.sub()),a=ye.wrapFragment(Zt(t.below,r,e),e),a.classes.push(s+"-arrow-pad"));var o=Vl.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*o.height,c=-e.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(c-=i.depth);var d;if(a){var f=-e.fontMetrics().axisHeight+a.height+.5*o.height+.111;d=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:o,shift:l},{type:"elem",elem:a,shift:f}]},e)}else d=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:o,shift:l}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),ye.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var n=Vl.mathMLnode(t.label);n.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(t.body){var i=Lv(yn(t.body,e));if(t.below){var s=Lv(yn(t.below,e));r=new ze.MathNode("munderover",[n,s,i])}else r=new ze.MathNode("mover",[n,i])}else if(t.below){var a=Lv(yn(t.below,e));r=new ze.MathNode("munder",[n,a])}else r=Lv(),r=new ze.MathNode("mover",[n,r]);return r}});var oPe=ye.makeSpan;function fne(t,e){var n=Rr(t.body,e,!0);return oPe([t.mclass],n,e)}function pne(t,e){var n,r=gs(t.body,e);return t.mclass==="minner"?n=new ze.MathNode("mpadded",r):t.mclass==="mord"?t.isCharacterBox?(n=r[0],n.type="mi"):n=new ze.MathNode("mi",r):(t.isCharacterBox?(n=r[0],n.type="mo"):n=new ze.MathNode("mo",r),t.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):t.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):t.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Qe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:tr(i),isCharacterBox:tn.isCharacterBox(i)}},htmlBuilder:fne,mathmlBuilder:pne});var o_=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Qe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:n}=t;return{type:"mclass",mode:n.mode,mclass:o_(e[0]),body:tr(e[1]),isCharacterBox:tn.isCharacterBox(e[1])}}});Qe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:n,funcName:r}=t,i=e[1],s=e[0],a;r!=="\\stackrel"?a=o_(i):a="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:tr(i)},l={type:"supsub",mode:s.mode,base:o,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:a,body:[l],isCharacterBox:tn.isCharacterBox(l)}},htmlBuilder:fne,mathmlBuilder:pne});Qe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"pmb",mode:n.mode,mclass:o_(e[0]),body:tr(e[0])}},htmlBuilder(t,e){var n=Rr(t.body,e,!0),r=ye.makeSpan([t.mclass],n,e);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(t,e){var n=gs(t.body,e),r=new ze.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var lPe={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},jH=()=>({type:"styling",body:[],mode:"math",style:"display"}),HH=t=>t.type==="textord"&&t.text==="@",cPe=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function uPe(t,e,n){var r=lPe[t];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[e[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[s],[]),o=n.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[i,a,o]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);
vendor: 4,132 bytes, line 363
363case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function dPe(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var n=t.fetch().text;if(n==="&"||n==="\\\\")t.consume();else if(n==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new Ue("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var r=[],i=[r],s=0;s<e.length;s++){for(var a=e[s],o=jH(),l=0;l<a.length;l++)if(!HH(a[l]))o.body.push(a[l]);else{r.push(o),l+=1;var c=z5(a[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var p=!0,g=l+1;g<a.length;g++){if(cPe(a[g],c)){p=!1,l=g;break}if(HH(a[g]))throw new Ue("Missing a "+c+" character to complete a CD arrow.",a[g]);d[f].body.push(a[g])}if(p)throw new Ue("Missing a "+c+" character to complete a CD arrow.",a[l])}else throw new Ue('Expected one of "<>AV=|." after @',a[l]);var b=uPe(c,d,t),y={type:"styling",body:[b],mode:"math",style:"display"};r.push(y),o=jH()}s%2===0?r.push(o):r.shift(),r=[],i.push(r)}t.gullet.endGroup(),t.gullet.endGroup();var w=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:w,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Qe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:e[0]}},htmlBuilder(t,e){var n=e.havingStyle(e.style.sup()),r=ye.wrapFragment(Zt(t.label,n,e),e);return r.classes.push("cd-label-"+t.side),r.style.bottom=Ke(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(t,e){var n=new ze.MathNode("mrow",[yn(t.label,e)]);return n=new ze.MathNode("mpadded",[n]),n.setAttribute("width","0"),t.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new ze.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Qe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:n}=t;return{type:"cdlabelparent",mode:n.mode,fragment:e[0]}},htmlBuilder(t,e){var n=ye.wrapFragment(Zt(t.fragment,e),e);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(t,e){return new ze.MathNode("mrow",[yn(t.fragment,e)])}});Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:n}=t,r=Nt(e[0],"ordgroup"),i=r.body,s="",a=0;a<i.length;a++){var o=Nt(i[a],"textord");s+=o.text}var l=parseInt(s),c;if(isNaN(l))throw new Ue("\\@char has non-numeric argument "+s);if(l<0||l>=1114111)throw new Ue("\\@char with invalid code point "+s);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var mne=(t,e)=>{var n=Rr(t.body,e.withColor(t.color),!1);return ye.makeFragment(n)},gne=(t,e)=>{var n=gs(t.body,e.withColor(t.color)),r=new ze.MathNode("mstyle",n);return r.setAttribute("mathcolor",t.color),r};Qe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:n}=t,r=Nt(e[0],"color-token").color,i=e[1];return{type:"color",mode:n.mode,color:r,body:tr(i)}},htmlBuilder:mne,mathmlBuilder:gne});Qe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:n,breakOnTokenText:r}=t,i=Nt(e[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:s}},htmlBuilder:mne,mathmlBuilder:gne});Qe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,n){var{parser:r}=t,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTe
363X, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:i&&Nt(i,"size").value}},htmlBuilder(t,e){var n=ye.makeSpan(["mspace"],[],e);return t.newLine&&(n.classes.push("newline"),t.size&&(n.style.marginTop=Ke(Fn(t.size,e)))),n},mathmlBuilder(t,e){var n=new ze.MathNode("mspace");return t.newLine&&(n.setAttribute("linebreak","newline"),t.size&&n.setAttribute("height",Ke(Fn(t.size,e)))),n}});var b4={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},bne=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Ue("Expected a control sequence",t);return e},hPe=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},yne=(t,e,n,r)=>{var i=t.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!t.gullet.isExpandable(n.text)}),t.gullet.macros.set(e,i,r)};Qe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:n}=t;e.consumeSpaces();var r=e.fetch();if(b4[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=b4[r.text]),Nt(e.parseFunction(),"internal");throw new Ue("Invalid token after macro prefix",r)}});Qe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=e.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Ue("Expected a control sequence",r);for(var s=0,a,o=[[]];e.gullet.future().text!=="{";)if(r=e.gullet.popToken(),r.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),o[s].push("{");break}if(r=e.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Ue('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new Ue('Argument number "'+r.text+'" out of order');s++,o.push([])}else{if(r.text==="EOF")throw new Ue("Expected a macro definition");o[s].push(r.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(n==="\\edef"||n==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(i,{tokens:l,numArgs:s,delimiters:o},n===b4[n]),{type:"internal",mode:e.mode}}});Qe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=bne(e.gullet.popToken());e.gullet.consumeSpaces();var i=hPe(e);return yne(e,r,i,n==="\\\\globallet"),{type:"internal",mode:e.mode}}});Qe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=bne(e.gullet.popToken()),i=e.gullet.popToken(),s=e.gullet.popToken();return yne(e,r,s,n==="\\\\globalfuture"),e.gullet.pushToken(s),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var ag=function(e,n,r){var i=xn.math[e]&&xn.math[e].replace,s=M5(i||e,n,r);if(!s)throw new Error("Unsupported symbol "+e+" and font size "+n+".");return s},j5=function(e,n,r,i){var s=r.havingBaseStyle(n),a=ye.makeSpan(i.concat(s.sizingClasses(r)),[e],r),o=s.sizeMultiplier/r.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=s.sizeMultiplier,a},vne=function(e,n,r){var i=n.havingBaseStyle(r),s=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ke(s),e.height-=s,e.depth+=s},fPe=function(e,n,r,i,s,a){var o=ye.makeSymbol(e,"Main-Regular",s,i),l=j5(o,n,i,a);return r&&vne(l,i,n),l},pPe=function(e,n,r,i){return ye.makeSymbol(e,"Size"+n+"-Regular",r,i)},wne=function(e,n,r,i,s,a){var o=pPe(e,n,s,i),l=j5(ye.makeSpan(["delimsizing","size"+n],[o],i),bt.TEXT,i,a);return r&&vne(l,i,bt.TEXT),l},$k=function(e,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var s=ye.makeSpan(["delimsizinginner",i],[ye.makeSpan([],[ye.makeSymbol(e,n,r)])]);return{type:"elem",elem:s}},Vk=function(e,n,r){var i=Mo["Size4-Regular"][e.charCodeAt(0)]?Mo["Size4-Regular"][e.charCodeAt(0)][4]:Mo["Size1-Regular"][e.charCodeAt(0)][4],s=new cu("inner",vBe(e,Math.round(1e3*n))),a=new Hl([s],{width:Ke(i),height:Ke(n),style:"width:"+Ke(i),viewB
vendor: 8,267 bytes, line 363
363ox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),o=ye.makeSvgSpan([],[a],r);return o.height=n,o.style.height=Ke(n),o.style.width=Ke(i),{type:"elem",elem:o}},y4=.008,Bv={type:"kern",size:-1*y4},mPe=["|","\\lvert","\\rvert","\\vert"],gPe=["\\|","\\lVert","\\rVert","\\Vert"],Sne=function(e,n,r,i,s,a){var o,l,c,d,f="",p=0;o=c=d=e,l=null;var g="Size1-Regular";e==="\\uparrow"?c=d="⏐":e==="\\Uparrow"?c=d="‖":e==="\\downarrow"?o=c="⏐":e==="\\Downarrow"?o=c="‖":e==="\\updownarrow"?(o="\\uparrow",c="⏐",d="\\downarrow"):e==="\\Updownarrow"?(o="\\Uparrow",c="‖",d="\\Downarrow"):mPe.includes(e)?(c="∣",f="vert",p=333):gPe.includes(e)?(c="∥",f="doublevert",p=556):e==="["||e==="\\lbrack"?(o="⎡",c="⎢",d="⎣",g="Size4-Regular",f="lbrack",p=667):e==="]"||e==="\\rbrack"?(o="⎤",c="⎥",d="⎦",g="Size4-Regular",f="rbrack",p=667):e==="\\lfloor"||e==="⌊"?(c=o="⎢",d="⎣",g="Size4-Regular",f="lfloor",p=667):e==="\\lceil"||e==="⌈"?(o="⎡",c=d="⎢",g="Size4-Regular",f="lceil",p=667):e==="\\rfloor"||e==="⌋"?(c=o="⎥",d="⎦",g="Size4-Regular",f="rfloor",p=667):e==="\\rceil"||e==="⌉"?(o="⎤",c=d="⎥",g="Size4-Regular",f="rceil",p=667):e==="("||e==="\\lparen"?(o="⎛",c="⎜",d="⎝",g="Size4-Regular",f="lparen",p=875):e===")"||e==="\\rparen"?(o="⎞",c="⎟",d="⎠",g="Size4-Regular",f="rparen",p=875):e==="\\{"||e==="\\lbrace"?(o="⎧",l="⎨",d="⎩",c="⎪",g="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(o="⎫",l="⎬",d="⎭",c="⎪",g="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(o="⎧",d="⎩",c="⎪",g="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(o="⎫",d="⎭",c="⎪",g="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(o="⎧",d="⎭",c="⎪",g="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(o="⎫",d="⎩",c="⎪",g="Size4-Regular");var b=ag(o,g,s),y=b.height+b.depth,w=ag(c,g,s),S=w.height+w.depth,_=ag(d,g,s),E=_.height+_.depth,T=0,R=1;if(l!==null){var N=ag(l,g,s);T=N.height+N.depth,R=2}var I=y+E+T,P=Math.max(0,Math.ceil((n-I)/(R*S))),z=I+P*R*S,U=i.fontMetrics().axisHeight;r&&(U*=i.sizeMultiplier);var Z=z/2-U,L=[];if(f.length>0){var $=z-y-E,D=Math.round(z*1e3),W=wBe(f,Math.round($*1e3)),G=new cu(f,W),K=(p/1e3).toFixed(3)+"em",Y=(D/1e3).toFixed(3)+"em",te=new Hl([G],{width:K,height:Y,viewBox:"0 0 "+p+" "+D}),q=ye.makeSvgSpan([],[te],i);q.height=D/1e3,q.style.width=K,q.style.height=Y,L.push({type:"elem",elem:q})}else{if(L.push($k(d,g,s)),L.push(Bv),l===null){var j=z-y-E+2*y4;L.push(Vk(c,j,i))}else{var X=(z-y-E-T)/2+2*y4;L.push(Vk(c,X,i)),L.push(Bv),L.push($k(l,g,s)),L.push(Bv),L.push(Vk(c,X,i))}L.push(Bv),L.push($k(o,g,s))}var H=i.havingBaseStyle(bt.TEXT),ae=ye.makeVList({positionType:"bottom",positionData:Z,children:L},H);return j5(ye.makeSpan(["delimsizing","mult"],[ae],H),bt.TEXT,i,a)},Gk=80,qk=.08,Wk=function(e,n,r,i,s){var a=yBe(e,i,r),o=new cu(e,a),l=new Hl([o],{width:"400em",height:Ke(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return ye.makeSvgSpan(["hide-tail"],[l],s)},bPe=function(e,n){var r=n.havingBaseSizing(),i=kne("\\surd",e*r.sizeMultiplier,Ene,r),s=r.sizeMultiplier,a=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),o,l=0,c=0,d=0,f;return i.type==="small"?(d=1e3+1e3*a+Gk,e<1?s=1:e<1.4&&(s=.7),l=(1+a+qk)/s,c=(1+a)/s,o=Wk("sqrtMain",l,d,a,n),o.style.minWidth="0.853em",f=.833/s):i.type==="large"?(d=(1e3+Gk)*xg[i.size],c=(xg[i.size]+a)/s,l=(xg[i.size]+a+qk)/s,o=Wk("sqrtSize"+i.size,l,d,a,n),o.style.minWidth="1.02em",f=1/s):(l=e+a+qk,c=e+a,d=Math.floor(1e3*e+a)+Gk,o=Wk("sqrtTall",l,d,a,n),o.style.minWidth="0.742em",f=1.056),o.height=c,o.style.height=Ke(l),{span:o,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+a)*s}},_ne=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],yPe=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],xne=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],xg=[0,1.2,1.8,2.4,3],vPe=function(e,n,r,i,s){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),_ne.includes(e)||xne.includes(e))return wne(e,n,!1,r,i,s);if(yPe.includes(e))return Sne(e,xg[n],!1,r,i,s);throw new Ue("Illegal delimiter: '"+e+"'")},wPe=[{type:"small",style:bt.SCRIPTSCRIPT},{type:"small",style:bt.SCRIPT},{type:"small",style:bt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],SPe=[{type:"small",style:bt.SCRIPTSCRIPT},{type:"small",style:bt.SCRIPT},{type:"small",style:bt.TEXT},{type:"stack"}],Ene=[{type:"small",style:bt.SCRIPTSCRIPT},{type:"small",style:bt.SCRIPT},{type:"small",style:bt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_Pe=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},kne=function(e,n,r,i){for(var s=Math.min(2,3-i.style.size),a=s;a<r.length&&r[a].type!=="stack";a++){var o=ag(e,_Pe(r[a]),"math"),l=o.height+o.depth;if(r[a].type==="small"){var c=i.havingBaseStyle(r[a].style);l*=c.sizeMultiplier}if(l>n)return r[a]}return r[r.length-1]},Cne=function(e,n,r,i,s,a){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var o;xne.includes(e)?o=wPe:_ne.includes(e)?o=Ene:o=SPe;var l=kne(e,n,o,i);return l.type==="small"?fPe(e,l.style,r,i,s,a):l.type==="large"?wne(e,l.size,r,i,s,a):Sne(e,n,r,i,s,a)},xPe=function(e,n,r,i,s,a){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,d=Math.max(n-o,r+o),f=Math.max(d/500*l,2*d-c);return Cne(e,f,!0,i,s,a)},Ml={sqrtImage:bPe,sizedDelim:vPe,sizeToMaxHeight:xg,customSizedDelim:Cne,leftRightDelim:xPe},$H={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},EPe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function l_(t,e){var n=a_(t);if(n&&EPe.includes(n.text))return n;throw n?new Ue("Invalid delimiter '"+n.text+"' after '"+e.funcName+"'",t):new Ue("Invalid delimiter type '"+t.type+"'",t)}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var n=l_(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:$H[t.funcName].size,mclass:$H[t.funcName].mclass,delim:n.text}},htmlBuilder:(t,e)=>t.delim==="."?ye.makeSpan([t.mclass]):Ml.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ca(t.delim,t.mode));var n=new ze.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Ke(Ml.sizeToMaxHeight[t.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function VH(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=t.parser.gullet.macros.get("\\current@color");
vendor: 15,550 bytes, line 363
363if(n&&typeof n!="string")throw new Ue("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:l_(e[0],t).text,color:n}}});Qe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=l_(e[0],t),r=t.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=Nt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{VH(t);for(var n=Rr(t.body,e,!0,["mopen","mclose"]),r=0,i=0,s=!1,a=0;a<n.length;a++)n[a].isMiddle?s=!0:(r=Math.max(n[a].height,r),i=Math.max(n[a].depth,i));r*=e.sizeMultiplier,i*=e.sizeMultiplier;var o;if(t.left==="."?o=d0(e,["mopen"]):o=Ml.leftRightDelim(t.left,r,i,e,t.mode,["mopen"]),n.unshift(o),s)for(var l=1;l<n.length;l++){var c=n[l],d=c.isMiddle;d&&(n[l]=Ml.leftRightDelim(d.delim,r,i,d.options,t.mode,[]))}var f;if(t.right===".")f=d0(e,["mclose"]);else{var p=t.rightColor?e.withColor(t.rightColor):e;f=Ml.leftRightDelim(t.right,r,i,p,t.mode,["mclose"])}return n.push(f),ye.makeSpan(["minner"],n,e)},mathmlBuilder:(t,e)=>{VH(t);var n=gs(t.body,e);if(t.left!=="."){var r=new ze.MathNode("mo",[Ca(t.left,t.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(t.right!=="."){var i=new ze.MathNode("mo",[Ca(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),n.push(i)}return P5(n)}});Qe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=l_(e[0],t);if(!t.parser.leftrightDepth)throw new Ue("\\middle without preceding \\left",n);return{type:"middle",mode:t.parser.mode,delim:n.text}},htmlBuilder:(t,e)=>{var n;if(t.delim===".")n=d0(e,[]);else{n=Ml.sizedDelim(t.delim,1,e,t.mode,[]);var r={delim:t.delim,options:e};n.isMiddle=r}return n},mathmlBuilder:(t,e)=>{var n=t.delim==="\\vert"||t.delim==="|"?Ca("|","text"):Ca(t.delim,t.mode),r=new ze.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var H5=(t,e)=>{var n=ye.wrapFragment(Zt(t.body,e),e),r=t.label.slice(1),i=e.sizeMultiplier,s,a=0,o=tn.isCharacterBox(t.body);if(r==="sout")s=ye.makeSpan(["stretchy","sout"]),s.height=e.fontMetrics().defaultRuleThickness/i,a=-.5*e.fontMetrics().xHeight;else if(r==="phase"){var l=Fn({number:.6,unit:"pt"},e),c=Fn({number:.35,unit:"ex"},e),d=e.havingBaseSizing();i=i/d.sizeMultiplier;var f=n.height+n.depth+l+c;n.style.paddingLeft=Ke(f/2+l);var p=Math.floor(1e3*f*i),g=gBe(p),b=new Hl([new cu("phase",g)],{width:"400em",height:Ke(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});s=ye.makeSvgSpan(["hide-tail"],[b],e),s.style.height=Ke(f),a=n.depth+l+c}else{/cancel/.test(r)?o||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var y=0,w=0,S=0;/box/.test(r)?(S=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),y=e.fontMetrics().fboxsep+(r==="colorbox"?0:S),w=y):r==="angl"?(S=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),y=4*S,w=Math.max(0,.25-n.depth)):(y=o?.2:0,w=y),s=Vl.encloseSpan(n,r,y,w,e),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=Ke(S)):r==="angl"&&S!==.049&&(s.style.borderTopWidth=Ke(S),s.style.borderRightWidth=Ke(S)),a=n.depth+w,t.backgroundColor&&(s.style.backgroundColor=t.backgroundColor,t.borderColor&&(s.style.borderColor=t.borderColor))}var _;if(t.backgroundColor)_=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:a},{type:"elem",elem:n,shift:0}]},e);else{var E=/cancel|phase/.test(r)?["svg-align"]:[];_=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:a,wrapperClasses:E}]},e)}return/cancel/.test(r)&&(_.height=n.height,_.depth=n.depth),/cancel/.test(r)&&!o?ye.makeSpan(["mord","cancel-lap"],[_],e):ye.makeSpan(["mord"],[_],e)},$5=(t,e)=>{var n=0,r=new ze.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[yn(t.body,e)]);switch(t.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&r.setAttribute("mathbackground",t.backgroundColor),r};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,s=Nt(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,body:a}},htmlBuilder:H5,mathmlBuilder:$5});Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,s=Nt(e[0],"color-token").color,a=Nt(e[1],"color-token").color,o=e[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:s,body:o}},htmlBuilder:H5,mathmlBuilder:$5});Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}});Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:H5,mathmlBuilder:$5});Qe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\angl",body:e[0]}}});var Tne={};function Wo(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:a}=t,o={type:e,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)Tne[n[l]]=o;s&&(jw[e]=s),a&&(Hw[e]=a)}var Ane={};function J(t,e){Ane[t]=e}function GH(t){var e=[];t.consumeSpaces();var n=t.fetch().text;for(n==="\\relax"&&(t.consume(),t.consumeSpaces(),n=t.fetch().text);n==="\\hline"||n==="\\hdashline";)t.consume(),e.push(n==="\\hdashline"),t.consumeSpaces(),n=t.fetch().text;return e}var c_=t=>{var e=t.parser.settings;if(!e.displayMode)throw new Ue("{"+t.envName+"} can be used only in display mode.")};function V5(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function bu(t,e,n){var{hskipBeforeAndAfter:r,addJot:i,cols:s,arraystretch:a,colSeparationType:o,autoTag:l,singleRow:c,emptySingleRow:d,maxNumCols:f,leqno:p}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var g=t.gullet.expandMacroAsText("\\arraystretch");if(g==null)a=1;else if(a=parseFloat(g),!a||a<0)throw new Ue("Invalid \\arraystretch: "+g)}t.gullet.beginGroup();var b=[],y=[b],w=[],S=[],_=l!=null?[]:void 0;function E(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function T(){_&&(t.gullet.macros.get("\\df@tag")?(_.push(t.subparse([new Ka("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):_.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(E(),S.push(GH(t));;){var R=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),R={type:"ordgroup",mode:t.mode,body:R},n&&(R={type:"styling",mode:t.mode,style:n,body:[R]}),b.push(R);var N=t.fetch().text;if(N==="&"){if(f&&b.length===f){if(c||o)throw new Ue("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(N==="\\end"){T(),b.length===1&&R.type==="styling"&&R.body[0].body.length===0&&(y.length>1||!d)&&y.pop(),S.length<y.length+1&&S.push([]);break}else if(N==="\\\\"){t.consume();var I=void 0;t.gullet.future().text!==" "&&(I=t.parseSizeGroup(!0)),w.push(I?I.value:null),T(),S.push(GH(t)),b=[],y.push(b),E()}else throw new Ue("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:a,body:y,cols:s,rowGaps:w,hskipBeforeAndAfter:r,hLinesBeforeRow:S,colSeparationType:o,tags:_,leqno:p}}function G5(t){return t.slice(0,1)==="d"?"display":"text"}var Ko=function(e,n){var r,i,s=e.body.length,a=e.hLinesBeforeRow,o=0,l=new Array(s),c=[],d=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),f=1/n.fontMetrics().ptPerEm,p=5*f;if(e.colSeparationType&&e.colSeparationType==="small"){var g=n.havingStyle(bt.SCRIPT).sizeMultiplier;p=.2778*(g/n.sizeMultiplier)}var b=e.colSeparationType==="CD"?Fn({number:3,unit:"ex"},n):12*f,y=3*f,w=e.arraystretch*b,S=.7*w,_=.3*w,E=0;function T(ne){for(var ue=0;ue<ne.length;++ue)ue>0&&(E+=.25),c.push({pos:E,isDashed:ne[ue]})}for(T(a[0]),r=0;r<e.body.length;++r){var R=e.body[r],N=S,I=_;o<R.length&&(o=R.length);var P=new Array(R.length);for(i=0;i<R.length;++i){var z=Zt(R[i],n);I<z.depth&&(I=z.depth),N<z.height&&(N=z.height),P[i]=z}var U=e.rowGaps[r],Z=0;U&&(Z=Fn(U,n),Z>0&&(Z+=_,I<Z&&(I=Z),Z=0)),e.addJot&&(I+=y),P.height=N,P.depth=I,E+=N,P.pos=E,E+=I+Z,l[r]=P,T(a[r+1])}var L=E/2+n.fontMetrics().axisHeight,$=e.cols||[],D=[],W,G,K=[];if(e.tags&&e.tags.some(ne=>ne))for(r=0;r<s;++r){var Y=l[r],te=Y.pos-L,q=e.tags[r],j=void 0;q===!0?j=ye.makeSpan(["eqn-num"],[],n):q===!1?j=ye.makeSpan([],[],n):j=ye.makeSpan([],Rr(q,n,!0),n),j.depth=Y.depth,j.height=Y.height,K.push({type:"elem",elem:j,shift:te})}for(i=0,G=0;i<o||G<$.length;++i,++G){for(var X=$[G]||{},H=!0;X.type==="separator";){if(H||(W=ye.makeSpan(["arraycolsep"],[]),W.style.width=Ke(n.fontMetrics().doubleRuleSep),D.push(W)),X.separator==="|"||X.separator===":"){var ae=X.separator==="|"?"solid":"dashed",le=ye.makeSpan(["vertical-separator"],[],n);le.style.height=Ke(E),le.style.borderRightWidth=Ke(d),le.style.borderRightStyle=ae,le.style.margin="0 "+Ke(-d/2);var Ee=E-L;Ee&&(le.style.verticalAlign=Ke(-Ee)),D.push(le)}else throw new Ue("Invalid separator type: "+X.separator);G++,X=$[G]||{},H=!1}if(!(i>=o)){var me=void 0;(i>0||e.hskipBeforeAndAfter)&&(me=tn.deflt(X.pregap,p),me!==0&&(W=ye.makeSpan(["arraycolsep"],[]),W.style.width=Ke(me),D.push(W)));var ke=[];for(r=0;r<s;++r){var Le=l[r],qe=Le[i];if(qe){var Xe=Le.pos-L;qe.depth=Le.depth,qe.height=Le.height,ke.push({type:"elem",elem:qe,shift:Xe})}}ke=ye.makeVList({positionType:"individualShift",children:ke},n),ke=ye.makeSpan(["col-align-"+(X.align||"c")],[ke]),D.push(ke),(i<o-1||e.hskipBeforeAndAfter)&&(me=tn.deflt(X.postgap,p),me!==0&&(W=ye.makeSpan(["arraycolsep"],[]),W.style.width=Ke(me),D.push(W)))}}if(l=ye.makeSpan(["mtable"],D),c.length>0){for(var ut=ye.makeLineSpan("hline",n,d),it=ye.makeLineSpan("hdashline",n,d),F=[{type:"elem",elem:l,shift:0}];c.length>0;){var Ce=c.pop(),Se=Ce.pos-L;Ce.isDashed?F.push({type:"elem",elem:it,shift:Se}):F.push({type:"elem",elem:ut,shift:Se})}l=ye.makeVList({positionType:"individualShift",children:F},n)}if(K.length===0)return ye.makeSpan(["mord"],[l],n);var re=ye.makeVList({positionType:"individualShift",children:K},n);return re=ye.makeSpan(["tag"],[re],n),ye.makeFragment([l,re])},kPe={c:"center ",l:"left ",r:"right "},Yo=function(e,n){for(var r=[],i=new ze.MathNode("mtd",[],["mtr-glue"]),s=new ze.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var o=e.body[a],l=[],c=0;c<o.length;c++)l.push(new ze.MathNode("mtd",[yn(o[c],n)]));e.tags&&e.tags[a]&&(l.unshift(i),l.push(i),e.leqno?l.unshift(s):l.push(s)),r.push(new ze.MathNode("mtr",l))}var d=new ze.MathNode("mtable",r),f=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);d.setAttribute("rowspacing",Ke(f));var p="",g="";if(e.cols&&e.cols.length>0){var b=e.cols,y="",w=!1,S=0,_=b.length;b[0].type==="separator"&&(p+="top ",S=1),b[b.length-1].type==="separator"&&(p+="bottom ",_-=1);for(var E=S;E<_;E++)b[E].type==="align"?(g+=kPe[b[E].align],w&&(y+="none "),w=!0):b[E].type==="separator"&&w&&(y+=b[E].separator==="|"?"solid ":"dashed ",w=!1);d.setAttribute("columnalign",g.trim()),/[sd]/.test(y)&&d.setAttribute("columnlines",y.trim())}if(e.colSeparationType==="align"){for(var T=e.cols||[],R="",N=1;N<T.length;N++)R+=N%2?"0em ":"1em ";d.setAttribute("columnspacing",R.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var I="",P=e.hLinesBeforeRow;p+=P[0].length>0?"left ":"",p+=P[P.length-1].length>0?"right ":"";for(var z=1;z<P.length-1;z++)I+=P[z].length===0?"none ":P[z][0]?"dashed ":"solid ";return/[sd]/.test(I)&&d.setAttribute("rowlines",I.trim()),p!==""&&(d=new ze.MathNode("menclose",[d]),d.setAttribute("notation",p.trim())),e.arraystretch&&e.arraystretch<1&&(d=new ze.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},Rne=function(e,n){e.envName.indexOf("ed")===-1&&c_(e);var r=[],i=e.envName.indexOf("at")>-1?"alignat":"align",s=e.envName==="split",a=bu(e.parser,{cols:r,addJot:!0,autoTag:s?void 0:V5(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),o,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var d="",f=0;f<n[0].body.length;f++){var p=Nt(n[0].body[f],"textord");d+=p.text}o=Number(d),l=o*2}var g=!l;a.body.forEach(function(S){for(var _=1;_<S.length;_+=2){var E=Nt(S[_],"styling"),T=Nt(E.body[0],"ordgroup");T.body.unshift(c)}if(g)l<S.length&&(l=S.length);else{var R=S.length/2;if(o<R)throw new Ue("Too many math in a row: "+("expected "+o+", but got "+R),S[0])}});for(var b=0;b<l;++b){var y="r",w=0;b%2===1?y="l":b>0&&g&&(w=1),r[b]={type:"align",align:y,pregap:w,postgap:0}}return a.colSeparationType=g?"align":"alignat",a};Wo({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var n=a_(e[0]),r=n?[e[0]]:Nt(e[0],"ordgroup").body,i=r.map(function(a){var o=z5(a),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Ue("Unknown column alignment: "+l,a)}),s={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return bu(t.parser,s,G5(t.envName))},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new Ue("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var s=bu(t.parser,r,G5(t.envName)),a=Math.max(0,...s.body.map(o=>o.length));return s.cols=new Array(a).fill({type:"align",align:n}
vendor: 26,504 bytes, line 363
363),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},n=bu(t.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var n=a_(e[0]),r=n?[e[0]]:Nt(e[0],"ordgroup").body,i=r.map(function(a){var o=z5(a),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Ue("Unknown column alignment: "+l,a)});if(i.length>1)throw new Ue("{subarray} can contain only one column");var s={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=bu(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new Ue("{subarray} can contain only one column");return s},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=bu(t.parser,e,G5(t.envName));return{type:"leftright",mode:t.mode,body:[n],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Rne,htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){["gather","gather*"].includes(t.envName)&&c_(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:V5(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return bu(t.parser,e,"display")},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Rne,htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){c_(t);var e={autoTag:V5(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return bu(t.parser,e,"display")},htmlBuilder:Ko,mathmlBuilder:Yo});Wo({type:"array",names:["CD"],props:{numArgs:0},handler(t){return c_(t),dPe(t.parser)},htmlBuilder:Ko,mathmlBuilder:Yo});J("\\nonumber","\\gdef\\@eqnsw{0}");J("\\notag","\\nonumber");Qe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Ue(t.funcName+" valid only within array environment")}});var qH=Tne;Qe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];if(i.type!=="ordgroup")throw new Ue("Invalid environment name",i);for(var s="",a=0;a<i.body.length;++a)s+=Nt(i.body[a],"textord").text;if(r==="\\begin"){if(!qH.hasOwnProperty(s))throw new Ue("No such environment: "+s,i);var o=qH[s],{args:l,optArgs:c}=n.parseArguments("\\begin{"+s+"}",o),d={mode:n.mode,envName:s,parser:n},f=o.handler(d,l,c);n.expect("\\end",!1);var p=n.nextToken,g=Nt(n.parseFunction(),"environment");if(g.name!==s)throw new Ue("Mismatch: \\begin{"+s+"} matched by \\end{"+g.name+"}",p);return f}return{type:"environment",mode:n.mode,name:s,nameGroup:i}}});var Nne=(t,e)=>{var n=t.font,r=e.withFont(n);return Zt(t.body,r)},One=(t,e)=>{var n=t.font,r=e.withFont(n);return yn(t.body,r)},WH={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=$w(e[0]),s=r;return s in WH&&(s=WH[s]),{type:"font",mode:n.mode,font:s.slice(1),body:i}},htmlBuilder:Nne,mathmlBuilder:One});Qe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:n}=t,r=e[0],i=tn.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:o_(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});Qe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,breakOnTokenText:i}=t,{mode:s}=n,a=n.parseExpression(!0,i),o="math"+r.slice(1);return{type:"font",mode:s,font:o,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Nne,mathmlBuilder:One});var Ine=(t,e)=>{var n=e;return t==="display"?n=n.id>=bt.SCRIPT.id?n.text():bt.DISPLAY:t==="text"&&n.size===bt.DISPLAY.size?n=bt.TEXT:t==="script"?n=bt.SCRIPT:t==="scriptscript"&&(n=bt.SCRIPTSCRIPT),n},q5=(t,e)=>{var n=Ine(t.size,e.style),r=n.fracNum(),i=n.fracDen(),s;s=e.havingStyle(r);var a=Zt(t.numer,s,e);if(t.continued){var o=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height<o?o:a.height,a.depth=a.depth<l?l:a.depth}s=e.havingStyle(i);var c=Zt(t.denom,s,e),d,f,p;t.hasBarLine?(t.barSize?(f=Fn(t.barSize,e),d=ye.makeLineSpan("frac-line",e,f)):d=ye.makeLineSpan("frac-line",e),f=d.height,p=d.height):(d=null,f=0,p=e.fontMetrics().defaultRuleThickness);var g,b,y;n.size===bt.DISPLAY.size||t.size==="display"?(g=e.fontMetrics().num1,f>0?b=3*p:b=7*p,y=e.fontMetrics().denom1):(f>0?(g=e.fontMetrics().num2,b=p):(g=e.fontMetrics().num3,b=3*p),y=e.fontMetrics().denom2);var w;if(d){var _=e.fontMetrics().axisHeight;g-a.depth-(_+.5*f)<b&&(g+=b-(g-a.depth-(_+.5*f))),_-.5*f-(c.height-y)<b&&(y+=b-(_-.5*f-(c.height-y)));var E=-(_-.5*f);w=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:y},{type:"elem",elem:d,shift:E},{type:"elem",elem:a,shift:-g}]},e)}else{var S=g-a.depth-(c.height-y);S<b&&(g+=.5*(b-S),y+=.5*(b-S)),w=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:y},{type:"elem",elem:a,shift:-g}]},e)}s=e.havingStyle(n),w.height*=s.sizeMultiplier/e.sizeMultiplier,w.depth*=s.sizeMultiplier/e.sizeMultiplier;var T;n.size===bt.DISPLAY.size?T=e.fontMetrics().delim1:n.size===bt.SCRIPTSCRIPT.size?T=e.havingStyle(bt.SCRIPT).fontMetrics().delim2:T=e.fontMetrics().delim2;var R,N;return t.leftDelim==null?R=d0(e,["mopen"]):R=Ml.customSizedDelim(t.leftDelim,T,!0,e.havingStyle(n),t.mode,["mopen"]),t.continued?N=ye.makeSpan([]):t.rightDelim==null?N=d0(e,["mclose"]):N=Ml.customSizedDelim(t.rightDelim,T,!0,e.havingStyle(n),t.mode,["mclose"]),ye.makeSpan(["mord"].concat(s.sizingClasses(e)),[R,ye.makeSpan(["mfrac"],[w]),N],e)},W5=(t,e)=>{var n=new ze.MathNode("mfrac",[yn(t.numer,e),yn(t.denom,e)]);if(!t.hasBarLine)n.setAttribute("linethickness","0px");else if(t.barSize){var r=Fn(t.barSize,e);n.setAttribute("linethickness",Ke(r))}var i=Ine(t.size,e.style);if(i.size!==e.style.size){n=new ze.MathNode("mstyle",[n]);var s=i.size===bt.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",s),n.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var o=new ze.MathNode("mo",[new ze.TextNode(t.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}if(a.push(n),t.rightDelim!=null){var l=new ze.MathNode("mo",[new ze.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return P5(a)}return n};Qe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],s=e[1],a,o=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,o="(",l=")";break;case"\\\\bracefrac":a=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:s,hasBarLine:a,leftDelim:o,rightDelim:l,size:c,barSize:null}},htmlBuilder:q5,mathmlBuilder:W5});Qe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],s=e[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Qe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:n,token:r}=t,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:r}}});var KH=["display","text","script","scriptscript"],YH=function(e){var n=null;return e.length>0&&(n=e,n=n==="."?null:n),n};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:n}=t,r=e[4],i=e[5],s=$w(e[0]),a=s.type==="atom"&&s.family==="open"?YH(s.text):null,o=$w(e[1]),l=o.type==="atom"&&o.family==="close"?YH(o.text):null,c=Nt(e[2],"size"),d,f=null;c.isBlank?d=!0:(f=c.value,d=f.number>0);var p="auto",g=e[3];if(g.type==="ordgroup"){if(g.body.length>0){var b=Nt(g.body[0],"textord");p=KH[Number(b.text)]}}else g=Nt(g,"textord"),p=KH[Number(g.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:d,barSize:f,leftDelim:a,rightDelim:l,size:p}},htmlBuilder:q5,mathmlBuilder:W5});Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:n,funcName:r,token:i}=t;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Nt(e[0],"size").value,token:i}}});Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],s=tBe(Nt(e[1],"infix").size),a=e[2],o=s.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:o,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:q5,mathmlBuilder:W5});var Dne=(t,e)=>{var n=e.style,r,i;t.type==="supsub"?(r=t.sup?Zt(t.sup,e.havingStyle(n.sup()),e):Zt(t.sub,e.havingStyle(n.sub()),e),i=Nt(t.base,"horizBrace")):i=Nt(t,"horizBrace");var s=Zt(i.base,e.havingBaseStyle(bt.DISPLAY)),a=Vl.svgSpan(i,e),o;if(i.isOver?(o=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),o.children[0].children[0].children[1].classes.push("svg-align")):(o=ye.makeVList({positionType:"bottom",positionData:s.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),o.children[0].children[0].children[0].classes.push("svg-align")),r){var l=ye.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e);i.isOver?o=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},e):o=ye.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return ye.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e)},CPe=(t,e)=>{var n=Vl.mathMLnode(t.label);return new ze.MathNode(t.isOver?"mover":"munder",[yn(t.base,e),n])};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:e[0]}},htmlBuilder:Dne,mathmlBuilder:CPe});Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[1],i=Nt(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:tr(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var n=Rr(t.body,e,!1);return ye.makeAnchor(t.href,[],n,e)},mathmlBuilder:(t,e)=>{var n=uu(t.body,e);return n instanceof Ms||(n=new Ms("mrow",[n])),n.setAttribute("href",t.href),n}});Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=Nt(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],s=0;s<r.length;s++){var a=r[s];a==="~"&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var o={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:tr(o)}}});Qe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:n}=t;return{type:"hbox",mode:n.mode,body:tr(e[0])}},htmlBuilder(t,e){var n=Rr(t.body,e,!1);return ye.makeFragment(n)},mathmlBuilder(t,e){return new ze.MathNode("mrow",gs(t.body,e))}});Qe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,token:i}=t,s=Nt(e[0],"raw").string,a=e[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(r){case"\\htmlClass":l.class=s,o={command:"\\htmlClass",class:s};break;case"\\htmlId":l.id=s,o={command:"\\htmlId",id:s};break;case"\\htmlStyle":l.style=s,o={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var c=s.split(","),d=0;d<c.length;d++){var f=c[d],p=f.indexOf("=");if(p<0)throw new Ue("\\htmlData key/value '"+f+"' missing equals sign");var g=f.slice(0,p),b=f.slice(p+1);l["data-"+g.trim()]=b}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(o)?{type:"html",mode:n.mode,attributes:l,body:tr(a)}:n.formatUnsupportedCmd(r)},htmlBuilder:(t,e)=>{var n=Rr(t.body,e,!1),r=["enclosing"];t.attributes.class&&r.push(...t.attributes.class.trim().split(/\s+/));var i=ye.makeSpan(r,n,e);for(var s in t.attributes)s!=="class"&&t.attributes.hasOwnProperty(s)&&i.setAttribute(s,t.attributes[s]);return i},mathmlBuilder:(t,e)=>uu(t.body,e)});Qe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"htmlmathml",mode:n.mode,html:tr(e[0]),mathml:tr(e[1])}},htmlBuilder:(t,e)=>{var n=Rr(t.html,e,!1);return ye.makeFragment(n)},mathmlBuilder:(t,e)=>uu(t.mathml,e)});var Kk=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!n)throw new Ue("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!Qte(r))throw new Ue("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Qe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,n)=>{var{parser:r}=t,i={number:0,unit:"em"},s={number:.9,unit:"em"},a={number:0,unit:"em"},o="";if(n[0])for(var l=Nt(n[0],"raw").string,c=l.split(","),d=0;d<c.length;d++){var f=c[d].split("=");if(f.length===2){var p=f[1].trim();switch(f[0].trim()){case"alt":o=p;break;case"width":i=Kk(p);break;case"height":s=Kk(p);break;case"totalheight":a=Kk(p);break;default:throw new Ue("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var g=Nt(e[0],"url").url;return o===""&&(o=g,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:g})?{type:"includegraphics",mode:r.mode,alt:o,width:i,height:s,totalheight:a,src:g}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var n=Fn(t.height,e),r=0;t.totalheight.number>0&&(r=Fn(t.totalheight,e)-n);var i=0;t.width.number>0&&(i=Fn(t.width,e));var s={height:Ke(n+r)};i>0&&(s.width=Ke(i)),r>0&&(s.verticalAlign=Ke(-r));var a=new CBe(t.src,t.alt,s);return a.height=n,a.depth=r,a},mathmlBuilder:(t,e)=>{var n=new ze.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var r=Fn(t.height,e),i=0;if(t.totalheight.number>0&&(i=Fn(t.totalheight,e)-r,n.setAttribute("valign",Ke(-i))),n.setAttribute("height",Ke(r+i)),t.width.number>0){var s=Fn(t.width,e);n.setAttribute("width",Ke(s))}return n.setAttribute("src",t.src),n}});Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=Nt(e[0],"size");if(n.settings.strict){var s=r[1]==="m",a=i.value.unit==="mu";s?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(t,e){return ye.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var n=Fn(t.dimension,e);return new ze.SpaceNode(n)}});Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(t,e)=>{var n;t.alignment==="clap"?(n=ye.makeSpan([],[Zt(t.body,e)]),n=ye.makeSpan(["inner"],[n],e)):n=ye.makeSpan(["inner"],[Zt(t.body,e)]);var r=ye.makeSpan(["fix"],[]),i=ye.makeSpan([t.alignment],[n,r],e),s=ye.makeSpan(["strut"]);return s.style.height=Ke(i.height+i.depth),i.depth&&(s.style.verticalAlign=Ke(-i.depth)),i.children.unshift(s),i=ye.makeSpan(["thinbox"],[i],e),ye.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var n=new ze.MathNode("mpadded",[yn(t.body,e)]);if(t.alignment!=="rlap"){var r=t.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:n,parser:r}=t,i=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",a=r.parseExpression(!1,s);return r.expect(s),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}});Qe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Ue("Mismatched "+t.funcName)}});var XH=(t,e)=>{switch(e.style.size){case bt.DISPLAY.size:return t.display;case bt.TEXT.size:return t.text;case bt.SCRIPT.size:return t.script;case bt.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"mathchoice",mode:n.mode,display:tr(e[0]),text:tr(e[1]),script:tr(e[2]),scriptscript:tr(e[3])}},htmlBuilder:(t,e)=>{var n=XH(t,e),r=Rr(n,e,!1);return ye.makeFragment(r)},mathmlBuilder:(t,e)=>{var n=XH(t,e);return uu(n,e)}});var Mne=(t,e,n,r,i,s,a)=>{t=ye.makeSpan([],[t]);var o=n&&tn.isCharacterBox(n),l,c;if(e){var d=Zt(e,r.havingStyle(i.sup()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var f=Zt(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var p;if(c&&l){var g=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+a;p=ye.makeVList({positionType:"bottom",positionData:g,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ke(-s)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ke(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var b=t.height-a;p=ye.makeVList({positionType:"top",positionData:b,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ke(-s)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},r)}else if(c){var y=t.depth+a;p=ye.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ke(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return t;var w=[p];if(l&&s!==0&&!o){var S=ye.makeSpan(["mspace"],[],r);S.style.marginRight=Ke(s),w.unshift(S)}return ye.makeSpan(["mop","op-limits"],w,r)},Lne=["\\smallint"],Rp=(t,e)=>{var n,r,i=!1,s;t.type==="supsub"?(n=t.sup,r=t.sub,s=Nt(t.base,"op"),i=!0):s=Nt(t,"op");var a=e.style,o=!1;a.size===bt.DISPLAY.size&&s.symbol&&!Lne.includes(s.name)&&(o=!0);var l;if(s.symbol){var c=o?"Size2-Regular":"Size1-Regular",d="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(d=s.name.slice(1),s.name=d==="oiint"?"\\iint":"\\iiint"),l=ye.makeSymbol(s.name,c,"math",e,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var f=l.italic,p=ye.staticSvg(d+"Size"+(o?"2":"1"),e);l=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:p,shift:o?.08:0}]},e),s.name="\\"+d,l.classes.unshift("mop"),l.italic=f}}else if(s.body){var g=Rr(s.body,e,!0);g.length===1&&g[0]instanceof ka?(l=g[0],l.classes[0]="mop"):l=ye.makeSpan(["mop"],g,e)}else{for(var b=[],y=1;y<s.name.length;y++)b.push(ye.mathsym(s.name[y],s.mode,e));l=ye.makeSpan(["mop"],b,e)}var w=0,S=0;return(l instanceof ka||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(w=(l.height-l.depth)/2-e.fontMetrics().axisHeight,S=l.italic),i?Mne(l,n,r,e,a,S,w):(w&&(l.style.position="relative",l.style.top=Ke(w)),l)},rb=(t,e)=>{var n;if(t.symbol)n=new Ms("mo",[Ca(t.name,t.mode)]),Lne.includes(t.name)&&n.setAttribute("largeop","false");else if(t.body)n=new Ms("mo",gs(t.body,e));else{n=new Ms("mi",[new Lo(t.name.slice(1))]);var r=new Ms("mo",[Ca("⁡","text")]);t.parentIsSupSub?n=new Ms("mrow",[n,r]):n=cne([n,r])}return n},TPe={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Qe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=r;return i.length===1&&(i=TPe[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Rp,mathmlBuilder:rb});Qe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tr(r)}},htmlBuilder:Rp,mathmlBuilder:rb});var APe={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Qe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Rp,mathmlBuilder:rb});Qe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Rp,mathmlBuilder:rb});Qe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(t){var{parser:e,funcName:n}=t,r=n;return r.length===1&&(r=APe[r]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Rp,mathmlBuilder:rb});var Bne=(t,e)=>{var n,r,i=!1,s;t.type==="supsub"?(n=t.sup,r=t.sub,s=Nt(t.base,"operatorname"),i=!0):s=Nt(t,"operatorname");var a;if(s.body.length>0){for(var o=s.body.map(f=>{var p=f.text;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),l=Rr(o,e.withFont("mathrm"),!0),c=0;c<l.length;c++){var d=l[c];d instanceof ka&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=ye.makeSpan(["mop"],l,e)}else a=ye.makeSpan(["mop"],[],e);return i?Mne(a,n,r,e,e.style,0,0):a},RPe=(t,e)=>{for(var n=gs(t.body,e.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var s=n[i];if(!(s instanceof ze.SpaceNode))if(s instanceof ze.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=s.children[0];s.children.length===1&&a instanceof ze.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var o=n.map(d=>d.toText()).join("");n=[new ze.TextNode(o)]}var l=new ze.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new ze.MathNode("mo",[Ca("⁡","text")]);return t.parentIsSupSub?new ze.MathNode("mrow",[l,c]):ze.newDocumentFragment([l,c])};Qe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"operatorname",mode:n.mode,body:tr(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Bne,mathmlBuilder:RPe});J("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Qd({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?ye.makeFragment(Rr(t.body,e,!1)):ye.makeSpan(["mord"],Rr(t.body,e,!0),e)},mathmlBuilder(t,e){return uu(t.body,e,!0)}});Qe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:n}=t,r=e[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(t,e){var n=Zt(t.body,e.havingCrampedStyle()),r=ye.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,s=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},e);return ye.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(t,e){var n=new ze.MathNode("mo",[new ze.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new ze.MathNode("mover",[yn(t.body,e),n]);return r.setAttribute("accent","true"),r}});Qe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"phantom",mode:n.mode,body:tr(r)}},htmlBuilder:(t,e)=>{var n=Rr(t.body,e.withPhantom(),!1);return ye.makeFragment(n)},mathmlBuilder:(t,e)=>{var n=gs(t.body,e);return new ze.MathNode("mphantom",n)}});Qe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>
vendor: 4,803 bytes, line 363
363{var n=ye.makeSpan([],[Zt(t.body,e.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e),ye.makeSpan(["mord"],[n],e)},mathmlBuilder:(t,e)=>{var n=gs(tr(t.body),e),r=new ze.MathNode("mphantom",n),i=new ze.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});Qe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>{var n=ye.makeSpan(["inner"],[Zt(t.body,e.withPhantom())]),r=ye.makeSpan(["fix"],[]);return ye.makeSpan(["mord","rlap"],[n,r],e)},mathmlBuilder:(t,e)=>{var n=gs(tr(t.body),e),r=new ze.MathNode("mphantom",n),i=new ze.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});Qe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t,r=Nt(e[0],"size").value,i=e[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(t,e){var n=Zt(t.body,e),r=Fn(t.dy,e);return ye.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){var n=new ze.MathNode("mpadded",[yn(t.body,e)]),r=t.dy.number+t.dy.unit;return n.setAttribute("voffset",r),n}});Qe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Qe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,n){var{parser:r}=t,i=n[0],s=Nt(e[0],"size"),a=Nt(e[1],"size");return{type:"rule",mode:r.mode,shift:i&&Nt(i,"size").value,width:s.value,height:a.value}},htmlBuilder(t,e){var n=ye.makeSpan(["mord","rule"],[],e),r=Fn(t.width,e),i=Fn(t.height,e),s=t.shift?Fn(t.shift,e):0;return n.style.borderRightWidth=Ke(r),n.style.borderTopWidth=Ke(i),n.style.bottom=Ke(s),n.width=r,n.height=i+s,n.depth=-s,n.maxFontSize=i*1.125*e.sizeMultiplier,n},mathmlBuilder(t,e){var n=Fn(t.width,e),r=Fn(t.height,e),i=t.shift?Fn(t.shift,e):0,s=e.color&&e.getColor()||"black",a=new ze.MathNode("mspace");a.setAttribute("mathbackground",s),a.setAttribute("width",Ke(n)),a.setAttribute("height",Ke(r));var o=new ze.MathNode("mpadded",[a]);return i>=0?o.setAttribute("height",Ke(i)):(o.setAttribute("height",Ke(i)),o.setAttribute("depth",Ke(-i))),o.setAttribute("voffset",Ke(i)),o}});function Pne(t,e,n){for(var r=Rr(t,e,!1),i=e.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var a=r[s].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[s].classes,e.sizingClasses(n)):r[s].classes[a+1]==="reset-size"+e.size&&(r[s].classes[a+1]="reset-size"+n.size),r[s].height*=i,r[s].depth*=i}return ye.makeFragment(r)}var ZH=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],NPe=(t,e)=>{var n=e.havingSize(t.size);return Pne(t.body,n,e)};Qe({type:"sizing",names:ZH,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:n,funcName:r,parser:i}=t,s=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:ZH.indexOf(r)+1,body:s}},htmlBuilder:NPe,mathmlBuilder:(t,e)=>{var n=e.havingSize(t.size),r=gs(t.body,n),i=new ze.MathNode("mstyle",r);return i.setAttribute("mathsize",Ke(n.sizeMultiplier)),i}});Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,n)=>{var{parser:r}=t,i=!1,s=!1,a=n[0]&&Nt(n[0],"ordgroup");if(a)for(var o="",l=0;l<a.body.length;++l){var c=a.body[l];if(o=c.text,o==="t")i=!0;else if(o==="b")s=!0;else{i=!1,s=!1;break}}else i=!0,s=!0;var d=e[0];return{type:"smash",mode:r.mode,body:d,smashHeight:i,smashDepth:s}},htmlBuilder:(t,e)=>{var n=ye.makeSpan([],[Zt(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return n;if(t.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(t.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var s=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e);return ye.makeSpan(["mord"],[s],e)},mathmlBuilder:(t,e)=>{var n=new ze.MathNode("mpadded",[yn(t.body,e)]);return t.smashHeight&&n.setAttribute("height","0px"),t.smashDepth&&n.setAttribute("depth","0px"),n}});Qe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r}=t,i=n[0],s=e[0];return{type:"sqrt",mode:r.mode,body:s,index:i}},htmlBuilder(t,e){var n=Zt(t.body,e.havingCrampedStyle());n.height===0&&(n.height=e.fontMetrics().xHeight),n=ye.wrapFragment(n,e);var r=e.fontMetrics(),i=r.defaultRuleThickness,s=i;
vendor: 14,161 bytes, lines 363-367
363e.style.id<bt.TEXT.id&&(s=e.fontMetrics().xHeight);var a=i+s/4,o=n.height+n.depth+a+i,{span:l,ruleWidth:c,advanceWidth:d}=Ml.sqrtImage(o,e),f=l.height-c;f>n.height+n.depth+a&&(a=(a+f-n.height-n.depth)/2);var p=l.height-n.height-a-c;n.style.paddingLeft=Ke(d);var g=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var b=e.havingStyle(bt.SCRIPTSCRIPT),y=Zt(t.index,b,e),w=.6*(g.height-g.depth),S=ye.makeVList({positionType:"shift",positionData:-w,children:[{type:"elem",elem:y}]},e),_=ye.makeSpan(["root"],[S]);return ye.makeSpan(["mord","sqrt"],[_,g],e)}else return ye.makeSpan(["mord","sqrt"],[g],e)},mathmlBuilder(t,e){var{body:n,index:r}=t;return r?new ze.MathNode("mroot",[yn(n,e),yn(r,e)]):new ze.MathNode("msqrt",[yn(n,e)])}});var QH={display:bt.DISPLAY,text:bt.TEXT,script:bt.SCRIPT,scriptscript:bt.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:n,funcName:r,parser:i}=t,s=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:s}},htmlBuilder(t,e){var n=QH[t.style],r=e.havingStyle(n).withFont("");return Pne(t.body,r,e)},mathmlBuilder(t,e){var n=QH[t.style],r=e.havingStyle(n),i=gs(t.body,r),s=new ze.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=a[t.style];return s.setAttribute("scriptlevel",o[0]),s.setAttribute("displaystyle",o[1]),s}});var OPe=function(e,n){var r=e.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===bt.DISPLAY.size||r.alwaysHandleSupSub);return i?Rp:null}else if(r.type==="operatorname"){var s=r.alwaysHandleSupSub&&(n.style.size===bt.DISPLAY.size||r.limits);return s?Bne:null}else{if(r.type==="accent")return tn.isCharacterBox(r.base)?U5:null;if(r.type==="horizBrace"){var a=!e.sub;return a===r.isOver?Dne:null}else return null}else return null};Qd({type:"supsub",htmlBuilder(t,e){var n=OPe(t,e);if(n)return n(t,e);var{base:r,sup:i,sub:s}=t,a=Zt(r,e),o,l,c=e.fontMetrics(),d=0,f=0,p=r&&tn.isCharacterBox(r);if(i){var g=e.havingStyle(e.style.sup());o=Zt(i,g,e),p||(d=a.height-g.fontMetrics().supDrop*g.sizeMultiplier/e.sizeMultiplier)}if(s){var b=e.havingStyle(e.style.sub());l=Zt(s,b,e),p||(f=a.depth+b.fontMetrics().subDrop*b.sizeMultiplier/e.sizeMultiplier)}var y;e.style===bt.DISPLAY?y=c.sup1:e.style.cramped?y=c.sup3:y=c.sup2;var w=e.sizeMultiplier,S=Ke(.5/c.ptPerEm/w),_=null;if(l){var E=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof ka||E)&&(_=Ke(-a.italic))}var T;if(o&&l){d=Math.max(d,y,o.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var R=c.defaultRuleThickness,N=4*R;if(d-o.depth-(l.height-f)<N){f=N-(d-o.depth)+l.height;var I=.8*c.xHeight-(d-o.depth);I>0&&(d+=I,f-=I)}var P=[{type:"elem",elem:l,shift:f,marginRight:S,marginLeft:_},{type:"elem",elem:o,shift:-d,marginRight:S}];T=ye.makeVList({positionType:"individualShift",children:P},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var z=[{type:"elem",elem:l,marginLeft:_,marginRight:S}];T=ye.makeVList({positionType:"shift",positionData:f,children:z},e)}else if(o)d=Math.max(d,y,o.depth+.25*c.xHeight),T=ye.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:S}]},e);else throw new Error("supsub must have either sup or sub.");var U=m4(a,"right")||"mord";return ye.makeSpan([U],[a,ye.makeSpan(["msupsub"],[T])],e)},mathmlBuilder(t,e){var n=!1,r,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(n=!0,r=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var s=[yn(t.base,e)];t.sub&&s.push(yn(t.sub,e)),t.sup&&s.push(yn(t.sup,e));var a;if(n)a=r?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===bt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===bt.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===bt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===bt.DISPLAY)?a="munder":a="msub"}else{var o=t.base;o&&o.type==="op"&&o.limits&&(e.style===bt.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||e.style===bt.DISPLAY)?a="mover":a="msup"}return new ze.MathNode(a,s)}});Qd({type:"atom",htmlBuilder(t,e){return ye.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var n=new ze.MathNode("mo",[Ca(t.text,t.mode)]);if(t.family==="bin"){var r=F5(t,e);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else t.family==="punct"?n.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&n.setAttribute("stretchy","false");return n}});var Fne={mi:"italic",mn:"normal",mtext:"normal"};Qd({type:"mathord",htmlBuilder(t,e){return ye.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var n=new ze.MathNode("mi",[Ca(t.text,t.mode,e)]),r=F5(t,e)||"italic";return r!==Fne[n.type]&&n.setAttribute("mathvariant",r),n}});Qd({type:"textord",htmlBuilder(t,e){return ye.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var n=Ca(t.text,t.mode,e),r=F5(t,e)||"normal",i;return t.mode==="text"?i=new ze.MathNode("mtext",[n]):/[0-9]/.test(t.text)?i=new ze.MathNode("mn",[n]):t.text==="\\prime"?i=new ze.MathNode("mo",[n]):i=new ze.MathNode("mi",[n]),r!==Fne[i.type]&&i.setAttribute("mathvariant",r),i}});var Yk={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Xk={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Qd({type:"spacing",htmlBuilder(t,e){if(Xk.hasOwnProperty(t.text)){var n=Xk[t.text].className||"";if(t.mode==="text"){var r=ye.makeOrd(t,e,"textord");return r.classes.push(n),r}else return ye.makeSpan(["mspace",n],[ye.mathsym(t.text,t.mode,e)],e)}else{if(Yk.hasOwnProperty(t.text))return ye.makeSpan(["mspace",Yk[t.text]],[],e);throw new Ue('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var n;if(Xk.hasOwnProperty(t.text))n=new ze.MathNode("mtext",[new ze.TextNode(" ")]);else{if(Yk.hasOwnProperty(t.text))return new ze.MathNode("mspace");throw new Ue('Unknown type of space "'+t.text+'"')}return n}});var JH=()=>{var t=new ze.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Qd({type:"tag",mathmlBuilder(t,e){var n=new ze.MathNode("mtable",[new ze.MathNode("mtr",[JH(),new ze.MathNode("mtd",[uu(t.body,e)]),JH(),new ze.MathNode("mtd",[uu(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var e$={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},t$={"\\textbf":"textbf","\\textmd":"textmd"},IPe={"\\textit":"textit","\\textup":"textup"},n$=(t,e)=>{var n=t.font;if(n){if(e$[n])return e.withTextFontFamily(e$[n]);if(t$[n])return e.withTextFontWeight(t$[n]);if(n==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(IPe[n])};Qe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"text",mode:n.mode,body:tr(i),font:r}},htmlBuilder(t,e){var n=n$(t,e),r=Rr(t.body,n,!0);return ye.makeSpan(["mord","text"],r,n)},mathmlBuilder(t,e){var n=n$(t,e);return uu(t.body,n)}});Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=Zt(t.body,e),r=ye.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,s=ye.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},e);return ye.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(t,e){var n=new ze.MathNode("mo",[new ze.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new ze.MathNode("munder",[yn(t.body,e),n]);return r.setAttribute("accentunder","true"),r}});Qe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"vcenter",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=Zt(t.body,e),r=e.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return ye.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){return new ze.MathNode("mpadded",[yn(t.body,e)],["vcenter"])}});Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,n){throw new Ue("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var n=r$(t),r=[],i=e.havingStyle(e.style.text()),s=0;s<n.length;s++){var a=n[s];a==="~"&&(a="\\textasciitilde"),r.push(ye.makeSymbol(a,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return ye.makeSpan(["mord","text"].concat(i.sizingClasses(e)),ye.tryCombineChars(r),i)},mathmlBuilder(t,e){var n=new ze.TextNode(r$(t)),r=new ze.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var r$=t=>t.body.replace(/ /g,t.star?"␣":" "),jc=one,zne=`[ \r
364	]`,DPe="\\\\[a-zA-Z@]+",MPe="\\\\[^\uD800-\uDFFF]",LPe="("+DPe+")"+zne+"*",BPe=`\\\\(
365|[ \r	]+
366?)[ \r	]*`,v4="[̀-ͯ]",PPe=new RegExp(v4+"+$"),FPe="("+zne+"+)|"+(BPe+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(v4+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(v4+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+LPe)+("|"+MPe+")");class i${constructor(e,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=n,this.tokenRegex=new RegExp(FPe,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,n){this.catcodes[e]=n}lex(){var e=this.input,n=this.tokenRegex.lastIndex;if(n===e.length)return new Ka("EOF",new as(this,n,n));var r=this.tokenRegex.exec(e);if(r===null||r.index!==n)throw new Ue("Unexpected character: '"+e[n]+"'",new Ka(e[n],new as(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var s=e.indexOf(`
367`,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new Ka(i,new as(this,n,this.tokenRegex.lastIndex))}}class zPe{constructor(e,n){e===void 0&&(e={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ue("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var n in e)e.hasOwnProperty(n)&&(e[n]==null?delete this.current[n]:this.current[n]=e[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}n==null?delete this.current[e]:this.current[e]=n}}var UPe=Ane;J("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});J("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});J("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});J("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});J("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var n=t.future();return e[0].length===1&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});J("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");J("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var s$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};J("\\char",function(t){var e=t.popToken(),n,r="";if(e.text==="'")n=8,e=t.popToken();else if(e.text==='"')n=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")r=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new Ue("\\char` missing argument");r=e.text.charCodeAt(0)}else n=10;if(n){if(r=s$[e.text],r==null||r>=n)throw new Ue("Invalid base-"+n+" digit "+e.text);for(var i;(i=s$[t.future().text])!=null&&i<n;)r*=n,r+=i,t.popToken()}return"\\@char{"+r+"}"});var K5=(t,e,n,r)=>{var i=t.consumeArg().tokens;if(i.length!==1)throw new Ue("\\newcommand's first argument must be a macro name");var s=i[0].text,a=t.isDefined(s);if(a&&!e)throw new Ue("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!a&&!n)throw new Ue("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var o=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var l="",c=t.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new Ue("Invalid number of arguments: "+l);o=parseInt(l),i=t.consumeArg().tokens}return a&&r||t.macros.set(s,{tokens:i,numArgs:o}),""};J("\\newcommand",t=>K5(t,!1,!0,!1));J("\\renewcommand",t=>K5(t,!0,!1,!1));J("\\providecommand",t=>K5(t,!0,!0,!0));J("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(n=>n.text).join("")),""});J("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(n=>n.text).join("")),""});J("\\show",t=>{var e=t.popToken(),n=e.text;return console.log(e,t.macros.get(n),jc[n],xn.math[n],xn.text[n]),""});J("\\bgroup","{");J("\\egroup","}");
vendor: 6,574 bytes, line 367
367J("~","\\nobreakspace");J("\\lq","`");J("\\rq","'");J("\\aa","\\r a");J("\\AA","\\r A");J("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");J("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");J("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");J("ℬ","\\mathscr{B}");J("ℰ","\\mathscr{E}");J("ℱ","\\mathscr{F}");J("ℋ","\\mathscr{H}");J("ℐ","\\mathscr{I}");J("ℒ","\\mathscr{L}");J("ℳ","\\mathscr{M}");J("ℛ","\\mathscr{R}");J("ℭ","\\mathfrak{C}");J("ℌ","\\mathfrak{H}");J("ℨ","\\mathfrak{Z}");J("\\Bbbk","\\Bbb{k}");J("·","\\cdotp");J("\\llap","\\mathllap{\\textrm{#1}}");J("\\rlap","\\mathrlap{\\textrm{#1}}");J("\\clap","\\mathclap{\\textrm{#1}}");J("\\mathstrut","\\vphantom{(}");J("\\underbar","\\underline{\\text{#1}}");J("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');J("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");J("\\ne","\\neq");J("≠","\\neq");J("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");J("∉","\\notin");J("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");J("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");J("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");J("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");J("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");J("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");J("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");J("⟂","\\perp");J("‼","\\mathclose{!\\mkern-0.8mu!}");J("∌","\\notni");J("⌜","\\ulcorner");J("⌝","\\urcorner");J("⌞","\\llcorner");J("⌟","\\lrcorner");J("©","\\copyright");J("®","\\textregistered");J("️","\\textregistered");J("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');J("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');J("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');J("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');J("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");J("⋮","\\vdots");J("\\varGamma","\\mathit{\\Gamma}");J("\\varDelta","\\mathit{\\Delta}");J("\\varTheta","\\mathit{\\Theta}");J("\\varLambda","\\mathit{\\Lambda}");J("\\varXi","\\mathit{\\Xi}");J("\\varPi","\\mathit{\\Pi}");J("\\varSigma","\\mathit{\\Sigma}");J("\\varUpsilon","\\mathit{\\Upsilon}");J("\\varPhi","\\mathit{\\Phi}");J("\\varPsi","\\mathit{\\Psi}");J("\\varOmega","\\mathit{\\Omega}");J("\\substack","\\begin{subarray}{c}#1\\end{subarray}");J("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");J("\\boxed","\\fbox{$\\displaystyle{#1}$}");J("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");J("\\implies","\\DOTSB\\;\\Longrightarrow\\;");J("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");J("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");J("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var a$={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};J("\\dots",function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in a$?e=a$[n]:(n.slice(0,4)==="\\not"||n in xn.math&&["bin","rel"].includes(xn.math[n].group))&&(e="\\dotsb"),e});var Y5={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};J("\\dotso",function(t){var e=t.future().text;return e in Y5?"\\ldots\\,":"\\ldots"});J("\\dotsc",function(t){var e=t.future().text;return e in Y5&&e!==","?"\\ldots\\,":"\\ldots"});J("\\cdots",function(t){var e=t.future().text;return e in Y5?"\\@cdots\\,":"\\@cdots"});J("\\dotsb","\\cdots");J("\\dotsm","\\cdots");J("\\dotsi","\\!\\cdots");J("\\dotsx","\\ldots\\,");J("\\DOTSI","\\relax");J("\\DOTSB","\\relax");J("\\DOTSX","\\relax");J("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");J("\\,","\\tmspace+{3mu}{.1667em}");J("\\thinspace","\\,");J("\\>","\\mskip{4mu}");J("\\:","\\tmspace+{4mu}{.2222em}");J("\\medspace","\\:");J("\\;","\\tmspace+{5mu}{.2777em}");J("\\thickspace","\\;");J("\\!","\\tmspace-{3mu}{.1667em}");J("\\negthinspace","\\!");J("\\negmedspace","\\tmspace-{4mu}{.2222em}");J("\\negthickspace","\\tmspace-{5mu}{.277em}");J("\\enspace","\\kern.5em ");J("\\enskip","\\hskip.5em\\relax");J("\\quad","\\hskip1em\\relax");J("\\qquad","\\hskip2em\\relax");J("\\tag","\\@ifstar\\tag@literal\\tag@paren");J("\\tag@paren","\\tag@literal{({#1})}");J("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Ue("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});J("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");J("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");J("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");J("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");J("\\newline","\\\\\\relax");J("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Une=Ke(Mo["Main-Regular"][84][1]-.7*Mo["Main-Regular"][65][1]);J("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Une+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");J("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Une+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");
367J("\\hspace","\\@ifstar\\@hspacer\\@hspace");J("\\@hspace","\\hskip #1\\relax");J("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");J("\\ordinarycolon",":");J("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");J("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');J("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');J("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');J("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');J("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');J("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');J("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');J("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');J("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');J("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');J("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');J("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');J("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');J("∷","\\dblcolon");J("∹","\\eqcolon");J("≔","\\coloneqq");J("≕","\\eqqcolon");J("⩴","\\Coloneqq");J("\\ratio","\\vcentcolon");J("\\coloncolon","\\dblcolon");J("\\colonequals","\\coloneqq");J("\\coloncolonequals","\\Coloneqq");J("\\equalscolon","\\eqqcolon");J("\\equalscoloncolon","\\Eqqcolon");J("\\colonminus","\\coloneq");J("\\coloncolonminus","\\Coloneq");J("\\minuscolon","\\eqcolon");J("\\minuscoloncolon","\\Eqcolon");J("\\coloncolonapprox","\\Colonapprox");J("\\coloncolonsim","\\Colonsim");J("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");J("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");J("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");J("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");J("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");J("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");J("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");J("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");J("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");J("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");J("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");J("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");J("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");J("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");J("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");J("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");J("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");J("\\nleqq","\\html@mathml{\\@nleqq}{≰}");J("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");J("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");J("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");J("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");J("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");J("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");J("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");J("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");J("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");J("\\imath","\\html@mathml{\\@imath}{ı}");J("\\jmath","\\html@mathml{\\@jmath}{ȷ}");J("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");J("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");J("⟦","\\llbracket");J("⟧","\\rrbracket");J("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
367{\\mathopen{\\char`⦃}}");J("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");J("⦃","\\lBrace");J("⦄","\\rBrace");J("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");J("⦵","\\minuso");J("\\darr","\\downarrow");J("\\dArr","\\Downarrow");J("\\Darr","\\Downarrow");J("\\lang","\\langle");J("\\rang","\\rangle");J("\\uarr","\\uparrow");J("\\uArr","\\Uparrow");J("\\Uarr","\\Uparrow");J("\\N","\\mathbb{N}");J("\\R","\\mathbb{R}");J("\\Z","\\mathbb{Z}");J("\\alef","\\aleph");J("\\alefsym","\\aleph");J("\\Alpha","\\mathrm{A}");J("\\Beta","\\mathrm{B}");J("\\bull","\\bullet");J("\\Chi","\\mathrm{X}");J("\\clubs","\\clubsuit");J("\\cnums","\\mathbb{C}");J("\\Complex","\\mathbb{C}");J("\\Dagger","\\ddagger");J("\\diamonds","\\diamondsuit");J("\\empty","\\emptyset");J("\\Epsilon","\\mathrm{E}");J("\\Eta","\\mathrm{H}");J("\\exist","\\exists");J("\\harr","\\leftrightarrow");J("\\hArr","\\Leftrightarrow");J("\\Harr","\\Leftrightarrow");J("\\hearts","\\heartsuit");J("\\image","\\Im");J("\\infin","\\infty");J("\\Iota","\\mathrm{I}");J("\\isin","\\in");J("\\Kappa","\\mathrm{K}");J("\\larr","\\leftarrow");J("\\lArr","\\Leftarrow");J("\\Larr","\\Leftarrow");J("\\lrarr","\\leftrightarrow");J("\\lrArr","\\Leftrightarrow");J("\\Lrarr","\\Leftrightarrow");J("\\Mu","\\mathrm{M}");J("\\natnums","\\mathbb{N}");J("\\Nu","\\mathrm{N}");J("\\Omicron","\\mathrm{O}");J("\\plusmn","\\pm");J("\\rarr","\\rightarrow");J("\\rArr","\\Rightarrow");J("\\Rarr","\\Rightarrow");J("\\real","\\Re");J("\\reals","\\mathbb{R}");J("\\Reals","\\mathbb{R}");J("\\Rho","\\mathrm{P}");J("\\sdot","\\cdot");J("\\sect","\\S");J("\\spades","\\spadesuit");J("\\sub","\\subset");J("\\sube","\\subseteq");J("\\supe","\\supseteq");J("\\Tau","\\mathrm{T}");J("\\thetasym","\\vartheta");J("\\weierp","\\wp");J("\\Zeta","\\mathrm{Z}");J("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");J("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");J("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");J("\\bra","\\mathinner{\\langle{#1}|}");J("\\ket","\\mathinner{|{#1}\\rangle}");J("\\braket","\\mathinner{\\langle{#1}\\rangle}");J("\\Bra","\\left\\langle#1\\right|");J("\\Ket","\\left|#1\\right\\rangle");var jne=t=>e=>{var n=e.consumeArg().tokens,r=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.consumeArg().tokens,a=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var l=f=>p=>{t&&(p.macros.set("|",a),i.length&&p.macros.set("\\|",o));var g=f;if(!f&&i.length){var b=p.future();b.text==="|"&&(p.popToken(),g=!0)}return{tokens:g?i:r,numArgs:0}};e.macros.set("|",l(!1)),i.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,d=e.expandTokens([...s,...c,...n]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};J("\\bra@ket",jne(!1));J("\\bra@set",jne(!0));J("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");J("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");J("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");J("\\angln","{\\angl n}");J("\\blue","\\textcolor{##6495ed}{#1}");J("\\orange","\\textcolor{##ffa500}{#1}");J("\\pink","\\textcolor{##ff00af}{#1}");J("\\red","\\textcolor{##df0030}{#1}");J("\\green","\\textcolor{##28ae7b}{#1}");J("\\gray","\\textcolor{gray}{#1}");J("\\purple","\\textcolor{##9d38bd}{#1}");J("\\blueA","\\textcolor{##ccfaff}{#1}");J("\\blueB","\\textcolor{##80f6ff}{#1}");J("\\blueC","\\textcolor{##63d9ea}{#1}");J("\\blueD","\\textcolor{##11accd}{#1}");J("\\blueE","\\textcolor{##0c7f99}{#1}");J("\\tealA","\\textcolor{##94fff5}{#1}");J("\\tealB","\\textcolor{##26edd5}{#1}");J("\\tealC","\\textcolor{##01d1c1}{#1}");J("\\tealD","\\textcolor{##01a995}{#1}");
vendor: 5,238 bytes, line 367
367J("\\tealE","\\textcolor{##208170}{#1}");J("\\greenA","\\textcolor{##b6ffb0}{#1}");J("\\greenB","\\textcolor{##8af281}{#1}");J("\\greenC","\\textcolor{##74cf70}{#1}");J("\\greenD","\\textcolor{##1fab54}{#1}");J("\\greenE","\\textcolor{##0d923f}{#1}");J("\\goldA","\\textcolor{##ffd0a9}{#1}");J("\\goldB","\\textcolor{##ffbb71}{#1}");J("\\goldC","\\textcolor{##ff9c39}{#1}");J("\\goldD","\\textcolor{##e07d10}{#1}");J("\\goldE","\\textcolor{##a75a05}{#1}");J("\\redA","\\textcolor{##fca9a9}{#1}");J("\\redB","\\textcolor{##ff8482}{#1}");J("\\redC","\\textcolor{##f9685d}{#1}");J("\\redD","\\textcolor{##e84d39}{#1}");J("\\redE","\\textcolor{##bc2612}{#1}");J("\\maroonA","\\textcolor{##ffbde0}{#1}");J("\\maroonB","\\textcolor{##ff92c6}{#1}");J("\\maroonC","\\textcolor{##ed5fa6}{#1}");J("\\maroonD","\\textcolor{##ca337c}{#1}");J("\\maroonE","\\textcolor{##9e034e}{#1}");J("\\purpleA","\\textcolor{##ddd7ff}{#1}");J("\\purpleB","\\textcolor{##c6b9fc}{#1}");J("\\purpleC","\\textcolor{##aa87ff}{#1}");J("\\purpleD","\\textcolor{##7854ab}{#1}");J("\\purpleE","\\textcolor{##543b78}{#1}");J("\\mintA","\\textcolor{##f5f9e8}{#1}");J("\\mintB","\\textcolor{##edf2df}{#1}");J("\\mintC","\\textcolor{##e0e5cc}{#1}");J("\\grayA","\\textcolor{##f6f7f7}{#1}");J("\\grayB","\\textcolor{##f0f1f2}{#1}");J("\\grayC","\\textcolor{##e3e5e6}{#1}");J("\\grayD","\\textcolor{##d6d8da}{#1}");J("\\grayE","\\textcolor{##babec2}{#1}");J("\\grayF","\\textcolor{##888d93}{#1}");J("\\grayG","\\textcolor{##626569}{#1}");J("\\grayH","\\textcolor{##3b3e40}{#1}");J("\\grayI","\\textcolor{##21242c}{#1}");J("\\kaBlue","\\textcolor{##314453}{#1}");J("\\kaGreen","\\textcolor{##71B307}{#1}");var Hne={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class jPe{constructor(e,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(e),this.macros=new zPe(UPe,n.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new i$(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var n,r,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new Ka("EOF",r.loc)),this.pushTokens(i),new Ka("",as.range(n,r))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var n=[],r=e&&e.length>0;r||this.consumeSpaces();var i=this.future(),s,a=0,o=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++a;else if(s.text==="}"){if(--a,a===-1)throw new Ue("Extra }",s)}else if(s.text==="EOF")throw new Ue("Unexpected end of input in a macro argument, expected '"+(e&&r?e[o]:"}")+"'",s);if(e&&r)if((a===0||a===1&&e[o]==="{")&&s.text===e[o]){if(++o,o===e.length){n.splice(-o,o);break}}else o=0}while(a!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:s}}consumeArgs(e,n){if(n){if(n.length!==e+1)throw new Ue("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var s=this.popToken();if(r[i]!==s.text)throw new Ue("Use of the macro doesn't match its definition",s)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(n&&n[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new Ue("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||e&&i.unexpandable){if(e&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new Ue("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){s=s.slice();for(var o=s.length-1;o>=0;--o){var l=s[o];if(l.text==="#"){if(o===0)throw new Ue("Incomplete placeholder at end of macro body",l);if(l=s[--o],l.text==="#")s.splice(o+1,1);else if(/^[1-9]$/.test(l.text))s.splice(o,2,...a[+l.text-1]);else throw new Ue("Not a valid argument number",l)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Ka(e)]):void 0}expandTokens(e){var n=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return this.countExpansion(n.length),n}expandMacroAsText(e){var n=this.expandMacro(e);return n&&n.map(r=>r.text).join("")}_getExpansion(e){var n=this.macros.get(e);if(n==null)return n;if(e.length===1){var r=this.lexer.catcodes[e];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;
vendor: 16,140 bytes, lines 367-368
367if(typeof i=="string"){var s=0;if(i.indexOf("#")!==-1)for(var a=i.replace(/##/g,"");a.indexOf("#"+(s+1))!==-1;)++s;for(var o=new i$(i,this.settings),l=[],c=o.lex();c.text!=="EOF";)l.push(c),c=o.lex();l.reverse();var d={tokens:l,numArgs:s};return d}return i}isDefined(e){return this.macros.has(e)||jc.hasOwnProperty(e)||xn.math.hasOwnProperty(e)||xn.text.hasOwnProperty(e)||Hne.hasOwnProperty(e)}isExpandable(e){var n=this.macros.get(e);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:jc.hasOwnProperty(e)&&!jc[e].primitive}}var o$=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Pv=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Zk={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},l$={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class u_{constructor(e,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new jPe(e,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(e,n){if(n===void 0&&(n=!0),this.fetch().text!==e)throw new Ue("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Ka("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(e,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(u_.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||e&&jc[i.text]&&jc[i.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var n=-1,r,i=0;i<e.length;i++)if(e[i].type==="infix"){if(n!==-1)throw new Ue("only one infix operator per group",e[i].token);n=i,r=e[i].replaceWith}if(n!==-1&&r){var s,a,o=e.slice(0,n),l=e.slice(n+1);o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l};var c;return r==="\\\\abovefrac"?c=this.callFunction(r,[s,e[n],a],[]):c=this.callFunction(r,[s,a],[]),[c]}else return e}handleSupSubscript(e){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var i;do{var s;i=this.parseGroup(e)}while(((s=i)==null?void 0:s.type)==="internal");if(!i)throw new Ue("Expected group after '"+r+"'",n);return i}formatUnsupportedCmd(e){for(var n=[],r=0;r<e.length;r++)n.push({type:"textord",mode:"text",text:e[r]});var i={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return s}parseAtom(e){var n=this.parseGroup("atom",e);if(n?.type==="internal"||this.mode==="text")return n;for(var r,i;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var a=s.text==="\\limits";n.limits=a,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new Ue("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new Ue("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(i)throw new Ue("Double subscript",s);i=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new Ue("Double superscript",s);var o={type:"textord",mode:this.mode,text:"\\prime"},l=[o];for(this.consume();this.fetch().text==="'";)l.push(o),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:l}}else if(Pv[s.text]){var c=o$.test(s.text),d=[];for(d.push(new Ka(Pv[s.text])),this.consume();;){var f=this.fetch().text;if(!Pv[f]||o$.test(f)!==c)break;d.unshift(new Ka(Pv[f])),this.consume()}var p=this.subparse(d);c?i={type:"ordgroup",mode:"math",body:p}:r={type:"ordgroup",mode:"math",body:p}}else break}return r||i?{type:"supsub",mode:this.mode,base:n,sup:r,sub:i}:n}parseFunction(e,n){var r=this.fetch(),i=r.text,s=jc[i];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new Ue("Got function '"+i+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new Ue("Can't use function '"+i+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new Ue("Can't use function '"+i+"' in math mode",r);var{args:a,optArgs:o}=this.parseArguments(i,s);return this.callFunction(i,a,o,r,e)}callFunction(e,n,r,i,s){var a={funcName:e,parser:this,token:i,breakOnTokenText:s},o=jc[e];if(o&&o.handler)return o.handler(a,n,r);throw new Ue("No function handler for "+e)}parseArguments(e,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],s=[],a=0;a<r;a++){var o=n.argTypes&&n.argTypes[a],l=a<n.numOptionalArgs;(n.primitive&&o==null||n.type==="sqrt"&&a===1&&s[0]==null)&&(o="primitive");var c=this.parseGroupOfType("argument to '"+e+"'",o,l);if(l)s.push(c);else if(c!=null)i.push(c);else throw new Ue("Null argument, please report this as a bug")}return{args:i,optArgs:s}}parseGroupOfType(e,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var i=this.parseArgumentGroup(r,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new Ue("A primitive argument cannot be optional");var a=this.parseGroup(e);if(a==null)throw new Ue("Expected group as "+e,this.fetch());return a}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Ue("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var i="",s;(s=this.fetch()).text!=="EOF";)i+=s.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(e,n){for(var r=this.fetch(),i=r,s="",a;(a=this.fetch()).text!=="EOF"&&e.test(s+a.text);)i=a,s+=i.text,this.consume();if(s==="")throw new Ue("Invalid "+n+": '"+r.text+"'",r);return r.range(i,s)}parseColorGroup(e){var n=this.parseStringGroup("color",e);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new Ue("Invalid color: '"+n.text+"'",n);var i=r[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var n,r=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",e),!n)return null;!e&&n.text.length===0&&(n.text="0pt",r=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!i)throw new Ue("Invalid size: '"+n.text+"'",n);var s={number:+(i[1]+i[2]),unit:i[3]};if(!Qte(s))throw new Ue("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,n){var r=this.gullet.scanArgument(e);if(r==null)return null;var i=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(i),a}parseGroup(e,n){var r=this.fetch(),i=r.text,s;if(i==="{"||i==="\\begingroup"){this.consume();var a=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,a),l=this.fetch();this.expect(a),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:as.range(r,l),body:o,semisimple:i==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,e)||this.parseSymbol(),s==null&&i[0]==="\\"&&!Hne.hasOwnProperty(i)){if(this.settings.throwOnError)throw new Ue("Undefined control sequence: "+i,r);s=this.formatUnsupportedCmd(i),this.consume()}return s}formLigatures(e){for(var n=e.length-1,r=0;r<n;++r){var i=e[r],s=i.text;s==="-"&&e[r+1].text==="-"&&(r+1<n&&e[r+2].text==="-"?(e.splice(r,3,{type:"textord",mode:"text",loc:as.range(i,e[r+2]),text:"---"}),n-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:as.range(i,e[r+1]),text:"--"}),n-=1)),(s==="'"||s==="`")&&e[r+1].text===s&&(e.splice(r,2,{type:"textord",mode:"text",loc:as.range(i,e[r+1]),text:s+s}),n-=1)}}parseSymbol(){var e=this.fetch(),n=e.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i=r.charAt(0)==="*";if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new Ue(`\\verb assertion failed --
368                    please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}l$.hasOwnProperty(n[0])&&!xn[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',e),n=l$[n[0]]+n.slice(1));var s=PPe.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var a;if(xn[this.mode][n]){this.settings.strict&&this.mode==="math"&&p4.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',e);var o=xn[this.mode][n].group,l=as.range(e),c;if(RBe.hasOwnProperty(o)){var d=o;c={type:"atom",mode:this.mode,family:d,loc:l,text:n}}else c={type:o,mode:this.mode,loc:l,text:n};a=c}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Zte(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),e)),a={type:"textord",mode:"text",loc:as.range(e),text:n};else return null;if(this.consume(),s)for(var f=0;f<s[0].length;f++){var p=s[0][f];if(!Zk[p])throw new Ue("Unknown accent ' "+p+"'",e);var g=Zk[p][this.mode]||Zk[p].text;if(!g)throw new Ue("Accent "+p+" unsupported in "+this.mode+" mode",e);a={type:"accent",mode:this.mode,loc:as.range(e),label:g,isStretchy:!1,isShifty:!0,base:a}}return a}}u_.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var X5=function(e,n){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new u_(e,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new Ue("\\tag works only in display equations");
vendor: 6,768 bytes, lines 368-369
368i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new Ka("\\df@tag")])}]}return i},$ne=function(e,n,r){n.textContent="";var i=Z5(e,r).toNode();n.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),$ne=function(){throw new Ue("KaTeX doesn't work in quirks mode.")});var HPe=function(e,n){var r=Z5(e,n).toMarkup();return r},$Pe=function(e,n){var r=new I5(n);return X5(e,r)},Vne=function(e,n,r){if(r.throwOnError||!(e instanceof Ue))throw e;var i=ye.makeSpan(["katex-error"],[new ka(n)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+r.errorColor),i},Z5=function(e,n){var r=new I5(n);try{var i=X5(e,r);return QBe(i,e,r)}catch(s){return Vne(s,e,r)}},VPe=function(e,n){var r=new I5(n);try{var i=X5(e,r);return JBe(i,e,r)}catch(s){return Vne(s,e,r)}},GPe="0.16.27",qPe={Span:nb,Anchor:L5,SymbolNode:ka,SvgNode:Hl,PathNode:cu,LineNode:f4},c$={version:GPe,render:$ne,renderToString:HPe,ParseError:Ue,SETTINGS_SCHEMA:x1,__parse:$Pe,__renderToDomTree:Z5,__renderToHTMLTree:VPe,__setFontMetrics:SBe,__defineSymbol:O,__defineFunction:Qe,__defineMacro:J,__domTree:qPe};function u$(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;i!==-1;)r++,i=n.indexOf(e,i+e.length);return r}function WPe(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function KPe(t,e,n){const i=j0((n||{}).ignore||[]),s=YPe(e);let a=-1;for(;++a<s.length;)I3(t,"text",o);function o(c,d){let f=-1,p;for(;++f<d.length;){const g=d[f],b=p?p.children:void 0;if(i(g,b?b.indexOf(g):void 0,p))return;p=g}if(p)return l(c,d)}function l(c,d){const f=d[d.length-1],p=s[a][0],g=s[a][1];let b=0;const w=f.children.indexOf(c);let S=!1,_=[];p.lastIndex=0;let E=p.exec(c.value);for(;E;){const T=E.index,R={index:E.index,input:E.input,stack:[...d,c]};let N=g(...E,R);if(typeof N=="string"&&(N=N.length>0?{type:"text",value:N}:void 0),N===!1?p.lastIndex=T+1:(b!==T&&_.push({type:"text",value:c.value.slice(b,T)}),Array.isArray(N)?_.push(...N):N&&_.push(N),b=T+E[0].length,S=!0),!p.global)break;E=p.exec(c.value)}return S?(b<c.value.length&&_.push({type:"text",value:c.value.slice(b)}),f.children.splice(w,1,..._)):_=[c],w+_.length}}function YPe(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let r=-1;for(;++r<n.length;){const i=n[r];e.push([XPe(i[0]),ZPe(i[1])])}return e}function XPe(t){return typeof t=="string"?new RegExp(WPe(t),"g"):t}function ZPe(t){return typeof t=="function"?t:function(){return t}}const Qk="phrasing",Jk=["autolink","link","image","label"];function QPe(){return{transforms:[sFe],enter:{literalAutolink:eFe,literalAutolinkEmail:eC,literalAutolinkHttp:eC,literalAutolinkWww:eC},exit:{literalAutolink:iFe,literalAutolinkEmail:rFe,literalAutolinkHttp:tFe,literalAutolinkWww:nFe}}}function JPe(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Qk,notInConstruct:Jk},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Qk,notInConstruct:Jk},{character:":",before:"[ps]",after:"\\/",inConstruct:Qk,notInConstruct:Jk}]}}function eFe(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function eC(t){this.config.enter.autolinkProtocol.call(this,t)}function tFe(t){this.config.exit.autolinkProtocol.call(this,t)}function nFe(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function rFe(t){this.config.exit.autolinkEmail.call(this,t)}function iFe(t){this.exit(t)}function sFe(t){KPe(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,aFe],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),oFe]],{ignore:["link","linkReference"]})}function aFe(t,e,n,r,i){let s="";if(!Gne(i)||(/^w/i.test(e)&&(n=e+n,e="",s="http://"),!lFe(n)))return!1;const a=cFe(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:s+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function oFe(t,e,n,r){return!Gne(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function lFe(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function cFe(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")");const i=u$(t,"(");let s=u$(t,")");for(;r!==-1&&i>s;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[t,n]}function Gne(t,e){const n=t.input.charCodeAt(t.index-1);return(t.index===0||Dd(n)||BS(n))&&(!e||n!==47)}qne.peek=yFe;function uFe(){this.buffer()}function dFe(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function hFe(){this.buffer()}function fFe(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function pFe(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Wa(this.sliceSerialize(t)).toLowerCase(),n.label=e}function mFe(t){this.exit(t)}function gFe(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Wa(this.sliceSerialize(t)).toLowerCase(),n.label=e}function bFe(t){this.exit(t)}function yFe(){return"["}function qne(t,e,n,r){const i=n.createTracker(r);let s=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return s+=i.move(n.safe(n.associationId(t),{after:"]",before:s})),o(),a(),s+=i.move("]"),s}function vFe(){return{enter:{gfmFootnoteCallString:uFe,gfmFootnoteCall:dFe,gfmFootnoteDefinitionLabelString:hFe,gfmFootnoteDefinition:fFe},exit:{gfmFootnoteCallString:pFe,gfmFootnoteCall:mFe,gfmFootnoteDefinitionLabelString:gFe,gfmFootnoteDefinition:bFe}}}function wFe(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:n,footnoteReference:qne},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,s,a){const o=s.createTracker(a);let l=o.move("[^");const c=s.enter("footnoteDefinition"),d=s.enter("label");return l+=o.move(s.safe(s.associationId(r),{before:l,after:"]"})),d(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((e?`
369`:" ")+s.indentLines(s.containerFlow(r,o.current()),e?Wne:SFe))),c(),l}}function SFe(t,e,n){return e===0?t:Wne(t,e,n)}function Wne(t,e,n){return(n?"":"    ")+t}const _Fe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Kne.peek=TFe;
vendor: 12,141 bytes, lines 369-381
369function xFe(){return{canContainEols:["delete"],enter:{strikethrough:kFe},exit:{strikethrough:CFe}}}function EFe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_Fe}],handlers:{delete:Kne}}}function kFe(t){this.enter({type:"delete",children:[]},t)}function CFe(t){this.exit(t)}function Kne(t,e,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(t,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),s(),a}function TFe(){return"~"}function AFe(t){return t.length}function RFe(t,e){const n=e||{},r=(n.align||[]).concat(),i=n.stringLength||AFe,s=[],a=[],o=[],l=[];let c=0,d=-1;for(;++d<t.length;){const y=[],w=[];let S=-1;for(t[d].length>c&&(c=t[d].length);++S<t[d].length;){const _=NFe(t[d][S]);if(n.alignDelimiters!==!1){const E=i(_);w[S]=E,(l[S]===void 0||E>l[S])&&(l[S]=E)}y.push(_)}a[d]=y,o[d]=w}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)s[f]=d$(r[f]);else{const y=d$(r);for(;++f<c;)s[f]=y}f=-1;const p=[],g=[];for(;++f<c;){const y=s[f];let w="",S="";y===99?(w=":",S=":"):y===108?w=":":y===114&&(S=":");let _=n.alignDelimiters===!1?1:Math.max(1,l[f]-w.length-S.length);const E=w+"-".repeat(_)+S;n.alignDelimiters!==!1&&(_=w.length+_+S.length,_>l[f]&&(l[f]=_),g[f]=_),p[f]=E}a.splice(1,0,p),o.splice(1,0,g),d=-1;const b=[];for(;++d<a.length;){const y=a[d],w=o[d];f=-1;const S=[];for(;++f<c;){const _=y[f]||"";let E="",T="";if(n.alignDelimiters!==!1){const R=l[f]-(w[f]||0),N=s[f];N===114?E=" ".repeat(R):N===99?R%2?(E=" ".repeat(R/2+.5),T=" ".repeat(R/2-.5)):(E=" ".repeat(R/2),T=E):T=" ".repeat(R)}n.delimiterStart!==!1&&!f&&S.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&_==="")&&(n.delimiterStart!==!1||f)&&S.push(" "),n.alignDelimiters!==!1&&S.push(E),S.push(_),n.alignDelimiters!==!1&&S.push(T),n.padding!==!1&&S.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&S.push("|")}b.push(n.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return b.join(`
370`)}function NFe(t){return t==null?"":String(t)}function d$(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function OFe(t,e,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const a=n.indentLines(n.containerFlow(t,s.current()),IFe);return i(),a}function IFe(t,e,n){return">"+(n?"":" ")+t}function DFe(t,e){return h$(t,e.inConstruct,!0)&&!h$(t,e.notInConstruct,!1)}function h$(t,e,n){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return n;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function f$(t,e,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
371`&&DFe(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
372`}function Yne(t,e){const n=String(t);let r=n.indexOf(e),i=r,s=0,a=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>a&&(a=s):s=1,i=r+e.length,r=n.indexOf(e,i);return a}function MFe(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function LFe(t){const e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function BFe(t,e,n,r){const i=LFe(n),s=t.value||"",a=i==="`"?"GraveAccent":"Tilde";if(MFe(t,n)){const f=n.enter("codeIndented"),p=n.indentLines(s,PFe);return f(),p}const o=n.createTracker(r),l=i.repeat(Math.max(Yne(s,i)+1,3)),c=n.enter("codeFenced");let d=o.move(l);if(t.lang){const f=n.enter(`codeFencedLang${a}`);d+=o.move(n.safe(t.lang,{before:d,after:" ",encode:["`"],...o.current()})),f()}if(t.lang&&t.meta){const f=n.enter(`codeFencedMeta${a}`);d+=o.move(" "),d+=o.move(n.safe(t.meta,{before:d,after:`
373`,encode:["`"],...o.current()})),f()}return d+=o.move(`
374`),s&&(d+=o.move(s+`
375`)),d+=o.move(l),c(),d}function PFe(t,e,n){return(n?"":"    ")+t}function Q5(t){const e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function FFe(t,e,n,r){const i=Q5(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(t),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!t.url||/[\0- \u007F]/.test(t.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":`
376`,...l.current()}))),o(),t.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),a(),c}function zFe(t){const e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function h0(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Vw(t,e,n){const r=Yf(t),i=Yf(e);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Xne.peek=UFe;function Xne(t,e,n,r){const i=zFe(n),s=n.enter("emphasis"),a=n.createTracker(r),o=a.move(i);let l=a.move(n.containerPhrasing(t,{after:i,before:o,...a.current()}));const c=l.charCodeAt(0),d=Vw(r.before.charCodeAt(r.before.length-1),c,i);d.inside&&(l=h0(c)+l.slice(1));const f=l.charCodeAt(l.length-1),p=Vw(r.after.charCodeAt(0),f,i);p.inside&&(l=l.slice(0,-1)+h0(f));const g=a.move(i);return s(),n.attentionEncodeSurroundingInfo={after:p.outside,before:d.outside},o+l+g}function UFe(t,e,n){return n.options.emphasis||"*"}function jFe(t,e){let n=!1;return D3(t,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,OT}),!!((!t.depth||t.depth<3)&&C3(t)&&(e.options.setext||n))}function HFe(t,e,n,r){const i=Math.max(Math.min(6,t.depth||1),1),s=n.createTracker(r);if(jFe(t,n)){const d=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(t,{...s.current(),before:`
377`,after:`
378`});return f(),d(),p+`
379`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
380`))+1))}const a="#".repeat(i),o=n.enter("headingAtx"),l=n.enter("phrasing");s.move(a+" ");let c=n.containerPhrasing(t,{before:"# ",after:`
381`,...s.current()});return/^[\t ]/.test(c)&&(c=h0(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Zne.peek=$Fe;function Zne(t){return t.value||""}function $Fe(){return"<"}Qne.peek=VFe;function Qne(t,e,n,r){const i=Q5(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(t.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":")",...l.current()}))),o(),t.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function VFe(){return"!"}Jne.peek=GFe;function Jne(t,e,n,r){const i=t.referenceType,s=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(t.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(t),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function GFe(){return"!"}ere.peek=qFe;function ere(t,e,n){let r=t.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const a=n.unsafe[s],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function qFe(){return"`"}function tre(t,e){const n=C3(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}nre.peek=WFe;function nre(t,e,n,r){const i=Q5(n),s=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(tre(t,n)){const d=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(t,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=d,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,{before:c,after:t.title?" ":")",...a.current()}))),l(),t.title&&(l=n.enter(`title${s}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function WFe(t,e,n){return tre(t,n)?"<":"["}rre.peek=KFe;function rre(t,e,n,r){const i=t.referenceType,s=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(t,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(t),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function KFe(){return"["}function J5(t){const e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function YFe(t){const e=J5(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function XFe(t){const e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function ire(t){const e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function ZFe(t,e,n,r){const i=n.enter("list"),s=n.bulletCurrent;let a=t.ordered?XFe(n):J5(n);const o=t.ordered?a==="."?")":".":YFe(n);let l=e&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!t.ordered){const d=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.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&&(l=!0),ire(n)===a&&d){let f=-1;for(;++f<t.children.length;){const p=t.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(t,r);return n.bulletLastUsed=a,n.bulletCurrent=s,i(),c}function QFe(t){const e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function JFe(t,e,n,r){const i=QFe(n);let s=n.bulletCurrent||J5(n);e&&e.type==="list"&&e.ordered&&(s=(typeof e.start=="number"&&e.start>
vendor: 5,763 bytes, lines 381-383
381-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+s);let a=s.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(s+" ".repeat(a-s.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,o.current()),d);return l(),c;function d(f,p,g){return p?(g?"":" ".repeat(a))+f:(g?s:s+" ".repeat(a-s.length))+f}}function eze(t,e,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),a=n.containerPhrasing(t,r);return s(),i(),a}const tze=j0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function nze(t,e,n,r){return(t.children.some(function(a){return tze(a)})?n.containerPhrasing:n.containerFlow).call(n,t,r)}function rze(t){const e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}sre.peek=ize;function sre(t,e,n,r){const i=rze(n),s=n.enter("strong"),a=n.createTracker(r),o=a.move(i+i);let l=a.move(n.containerPhrasing(t,{after:i,before:o,...a.current()}));const c=l.charCodeAt(0),d=Vw(r.before.charCodeAt(r.before.length-1),c,i);d.inside&&(l=h0(c)+l.slice(1));const f=l.charCodeAt(l.length-1),p=Vw(r.after.charCodeAt(0),f,i);p.inside&&(l=l.slice(0,-1)+h0(f));const g=a.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:p.outside,before:d.outside},o+l+g}function ize(t,e,n){return n.options.strong||"*"}function sze(t,e,n,r){return n.safe(t.value,r)}function aze(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function oze(t,e,n){const r=(ire(n)+(n.options.ruleSpaces?" ":"")).repeat(aze(n));return n.options.ruleSpaces?r.slice(0,-1):r}const are={blockquote:OFe,break:f$,code:BFe,definition:FFe,emphasis:Xne,hardBreak:f$,heading:HFe,html:Zne,image:Qne,imageReference:Jne,inlineCode:ere,link:nre,linkReference:rre,list:ZFe,listItem:JFe,paragraph:eze,root:nze,strong:sre,text:sze,thematicBreak:oze};function lze(){return{enter:{table:cze,tableData:p$,tableHeader:p$,tableRow:dze},exit:{codeText:hze,table:uze,tableData:tC,tableHeader:tC,tableRow:tC}}}function cze(t){const e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function uze(t){this.exit(t),this.data.inTable=void 0}function dze(t){this.enter({type:"tableRow",children:[]},t)}function tC(t){this.exit(t)}function p$(t){this.enter({type:"tableCell",children:[]},t)}function hze(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,fze));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function fze(t,e){return e==="|"?e:t}function pze(t){const e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
382`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:a,tableCell:l,tableRow:o}};function a(g,b,y,w){return c(d(g,y,w),g.align)}function o(g,b,y,w){const S=f(g,y,w),_=c([S]);return _.slice(0,_.indexOf(`
383`))}function l(g,b,y,w){const S=y.enter("tableCell"),_=y.enter("phrasing"),E=y.containerPhrasing(g,{...w,before:s,after:s});return _(),S(),E}function c(g,b){return RFe(g,{align:b,alignDelimiters:r,padding:n,stringLength:i})}function d(g,b,y){const w=g.children;let S=-1;const _=[],E=b.enter("table");for(;++S<w.length;)_[S]=f(w[S],b,y);return E(),_}function f(g,b,y){const w=g.children;let S=-1;const _=[],E=b.enter("tableRow");for(;++S<w.length;)_[S]=l(w[S],g,b,y);return E(),_}function p(g,b,y){let w=are.inlineCode(g,b,y);return y.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function mze(){return{exit:{taskListCheckValueChecked:m$,taskListCheckValueUnchecked:m$,paragraph:bze}}}function gze(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:yze}}}function m$(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function bze(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=e.children;let s=-1,a;for(;++s<i.length;){const o=i[s];if(o.type==="paragraph"){a=o;break}}a===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(t)}function yze(t,e,n,r){const i=t.children[0],s=typeof t.checked=="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",o=n.createTracker(r);s&&o.move(a);let l=are.listItem(t,e,n,{...r,...o.current()});return s&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(d){return d+a}}function vze(){return[QPe(),vFe(),xFe(),lze(),mze()]}function wze(t){return{extensions:[JPe(),wFe(t),EFe(),pze(t),gze()]}}const Sze={tokenize:Tze,partial:!0},ore={tokenize:Aze,partial:!0},lre={tokenize:Rze,partial:!0},cre={tokenize:Nze,partial:!0},_ze={tokenize:Oze,partial:!0},ure={name:"wwwAutolink",tokenize:kze,previous:hre},dre={name:"protocolAutolink",tokenize:Cze,previous:fre},Yl={name:"emailAutolink",tokenize:Eze,previous:pre},Xo={};function xze(){return{text:Xo}}let Yu=48;for(;Yu<123;)Xo[Yu]=Yl,Yu++,Yu===58?Yu=65:Yu===91&&(Yu=97);Xo[43]=Yl;
vendor: 8,912 bytes, line 383
383Xo[45]=Yl;Xo[46]=Yl;Xo[95]=Yl;Xo[72]=[Yl,dre];Xo[104]=[Yl,dre];Xo[87]=[Yl,ure];Xo[119]=[Yl,ure];function Eze(t,e,n){const r=this;let i,s;return a;function a(f){return!w4(f)||!pre.call(r,r.previous)||eN(r.events)?n(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),o(f))}function o(f){return w4(f)?(t.consume(f),o):f===64?(t.consume(f),l):n(f)}function l(f){return f===46?t.check(_ze,d,c)(f):f===45||f===95||mi(f)?(s=!0,t.consume(f),l):d(f)}function c(f){return t.consume(f),i=!0,l}function d(f){return s&&i&&Di(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):n(f)}}function kze(t,e,n){const r=this;return i;function i(a){return a!==87&&a!==119||!hre.call(r,r.previous)||eN(r.events)?n(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Sze,t.attempt(ore,t.attempt(lre,s),n),n)(a))}function s(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function Cze(t,e,n){const r=this;let i="",s=!1;return a;function a(f){return(f===72||f===104)&&fre.call(r,r.previous)&&!eN(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),t.consume(f),o):n(f)}function o(f){if(Di(f)&&i.length<5)return i+=String.fromCodePoint(f),t.consume(f),o;if(f===58){const p=i.toLowerCase();if(p==="http"||p==="https")return t.consume(f),l}return n(f)}function l(f){return f===47?(t.consume(f),s?c:(s=!0,l)):n(f)}function c(f){return f===null||iw(f)||bn(f)||Dd(f)||BS(f)?n(f):t.attempt(ore,t.attempt(lre,d),n)(f)}function d(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function Tze(t,e,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,t.consume(a),i):a===46&&r===3?(t.consume(a),s):n(a)}function s(a){return a===null?n(a):e(a)}}function Aze(t,e,n){let r,i,s;return a;function a(c){return c===46||c===95?t.check(cre,l,o)(c):c===null||bn(c)||Dd(c)||c!==45&&BS(c)?l(c):(s=!0,t.consume(c),a)}function o(c){return c===95?r=!0:(i=r,r=void 0),t.consume(c),a}function l(c){return i||r||!s?n(c):e(c)}}function Rze(t,e){let n=0,r=0;return i;function i(a){return a===40?(n++,t.consume(a),i):a===41&&r<n?s(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?t.check(cre,e,s)(a):a===null||bn(a)||Dd(a)?e(a):(t.consume(a),i)}function s(a){return a===41&&r++,t.consume(a),i}}function Nze(t,e,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(t.consume(o),r):o===38?(t.consume(o),s):o===93?(t.consume(o),i):o===60||o===null||bn(o)||Dd(o)?e(o):n(o)}function i(o){return o===null||o===40||o===91||bn(o)||Dd(o)?e(o):r(o)}function s(o){return Di(o)?a(o):n(o)}function a(o){return o===59?(t.consume(o),r):Di(o)?(t.consume(o),a):n(o)}}function Oze(t,e,n){return r;function r(s){return t.consume(s),i}function i(s){return mi(s)?n(s):e(s)}}function hre(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||bn(t)}function fre(t){return!Di(t)}function pre(t){return!(t===47||w4(t))}function w4(t){return t===43||t===45||t===46||t===95||mi(t)}function eN(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Ize={tokenize:Uze,partial:!0};function Dze(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Pze,continuation:{tokenize:Fze},exit:zze}},text:{91:{name:"gfmFootnoteCall",tokenize:Bze},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Mze,resolveTo:Lze}}}}function Mze(t,e,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Wa(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function Lze(t,e){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[t[n+1],t[n+2],["enter",r,e],t[n+3],t[n+4],["enter",i,e],["exit",i,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",r,e]];return t.splice(n,t.length-n+1,...o),t}function Bze(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,a;return o;function o(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!a||f===null||f===91||bn(f))return n(f);if(f===93){t.exit("chunkString");const p=t.exit("gfmFootnoteCallString");return i.includes(Wa(r.sliceSerialize(p)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(f)}return bn(f)||(a=!0),s++,t.consume(f),f===92?d:c}function d(f){return f===91||f===92||f===93?(t.consume(f),s++,c):c(f)}}function Pze(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,a=0,o;return l;function l(b){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(b),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(b),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):n(b)}function d(b){if(a>999||b===93&&!o||b===null||b===91||bn(b))return n(b);if(b===93){t.exit("chunkString");const y=t.exit("gfmFootnoteDefinitionLabelString");return s=Wa(r.sliceSerialize(y)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(b),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),p}return bn(b)||(o=!0),a++,t.consume(b),b===92?f:d}function f(b){return b===91||b===92||b===93?(t.consume(b),a++,d):d(b)}function p(b){return b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),i.includes(s)||i.push(s),Bt(t,g,"gfmFootnoteDefinitionWhitespace")):n(b)}function g(b){return e(b)}}function Fze(t,e,n){return t.check(U0,e,t.attempt(Ize,e,n))}function zze(t){t.exit("gfmFootnoteDefinition")}function Uze(t,e,n){const r=this;return Bt(t,i,"gfmFootnoteDefinitionIndent",5);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(s):n(s)}}function jze(t){let n=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},p=[["enter",d,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],g=o.parser.constructs.insideSpan.null;g&&zs(p,p.length,0,PS(g,a.slice(c+1,l),o)),zs(p,p.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",d,o]]),zs(a,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function s(a,o,l){const c=this.previous,d=this.events;let f=0;return p;function p(b){return c===126&&d[d.length-1][1].type!=="characterEscape"?l(b):(a.enter("strikethroughSequenceTemporary"),g(b))}function g(b){const y=Yf(c);if(b===126)return f>1?l(b):(a.consume(b),f++,g);
vendor: 7,888 bytes, line 383
383if(f<2&&!n)return l(b);const w=a.exit("strikethroughSequenceTemporary"),S=Yf(b);return w._open=!S||S===2&&!!y,w._close=!y||y===2&&!!S,o(b)}}}class Hze{constructor(){this.map=[]}add(e,n,r){$ze(this,e,n,r)}consume(e){if(this.map.sort(function(s,a){return s[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push(e.slice()),e.length=0;let i=r.pop();for(;i;){for(const s of i)e.push(s);i=r.pop()}this.map.length=0}}function $ze(t,e,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...r);return}i+=1}t.map.push([e,n,r])}}function Vze(t,e){let n=!1;const r=[];for(;e<t.length;){const i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function Gze(){return{flow:{null:{name:"table",tokenize:qze,resolveAll:Wze}}}}function qze(t,e,n){const r=this;let i=0,s=0,a;return o;function o(U){let Z=r.events.length-1;for(;Z>-1;){const D=r.events[Z][1].type;if(D==="lineEnding"||D==="linePrefix")Z--;else break}const L=Z>-1?r.events[Z][1].type:null,$=L==="tableHead"||L==="tableRow"?N:l;return $===N&&r.parser.lazy[r.now().line]?n(U):$(U)}function l(U){return t.enter("tableHead"),t.enter("tableRow"),c(U)}function c(U){return U===124||(a=!0,s+=1),d(U)}function d(U){return U===null?n(U):ht(U)?s>1?(s=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(U),t.exit("lineEnding"),g):n(U):jt(U)?Bt(t,d,"whitespace")(U):(s+=1,a&&(a=!1,i+=1),U===124?(t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),a=!0,d):(t.enter("data"),f(U)))}function f(U){return U===null||U===124||bn(U)?(t.exit("data"),d(U)):(t.consume(U),U===92?p:f)}function p(U){return U===92||U===124?(t.consume(U),f):f(U)}function g(U){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(U):(t.enter("tableDelimiterRow"),a=!1,jt(U)?Bt(t,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):b(U))}function b(U){return U===45||U===58?w(U):U===124?(a=!0,t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),y):R(U)}function y(U){return jt(U)?Bt(t,w,"whitespace")(U):w(U)}function w(U){return U===58?(s+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(U),t.exit("tableDelimiterMarker"),S):U===45?(s+=1,S(U)):U===null||ht(U)?T(U):R(U)}function S(U){return U===45?(t.enter("tableDelimiterFiller"),_(U)):R(U)}function _(U){return U===45?(t.consume(U),_):U===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(U),t.exit("tableDelimiterMarker"),E):(t.exit("tableDelimiterFiller"),E(U))}function E(U){return jt(U)?Bt(t,T,"whitespace")(U):T(U)}function T(U){return U===124?b(U):U===null||ht(U)?!a||i!==s?R(U):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(U)):R(U)}function R(U){return n(U)}function N(U){return t.enter("tableRow"),I(U)}function I(U){return U===124?(t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),I):U===null||ht(U)?(t.exit("tableRow"),e(U)):jt(U)?Bt(t,I,"whitespace")(U):(t.enter("data"),P(U))}function P(U){return U===null||U===124||bn(U)?(t.exit("data"),I(U)):(t.consume(U),U===92?z:P)}function z(U){return U===92||U===124?(t.consume(U),P):P(U)}}function Wze(t,e){let n=-1,r=!0,i=0,s=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,d,f;const p=new Hze;for(;++n<t.length;){const g=t[n],b=g[1];g[0]==="enter"?b.type==="tableHead"?(o=!1,l!==0&&(g$(p,e,l,c,d),d=void 0,l=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(n,0,[["enter",c,e]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(r=!0,f=void 0,s=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(n,0,[["enter",d,e]])),i=b.type==="tableDelimiterRow"?2:d?3:1):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(s[1]!==0&&(a[0]=a[1],f=Fv(p,e,s,i,void 0,f),s=[0,0,0,0]),a[2]=n)):b.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(a[0]=a[1],f=Fv(p,e,s,i,void 0,f)),s=a,a=[s[1],n,0,0])):b.type==="tableHead"?(o=!0,l=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=n,s[1]!==0?(a[0]=a[1],f=Fv(p,e,s,i,n,f)):a[1]!==0&&(f=Fv(p,e,a,i,n,f)),i=0):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&g$(p,e,l,c,d),p.consume(e.events),n=-1;++n<e.events.length;){const g=e.events[n];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=Vze(e.events,n))}return t}function Fv(t,e,n,r,i,s){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(s.end=Object.assign({},sf(e.events,n[0])),t.add(n[0],0,[["exit",s,e]]));const l=sf(e.events,n[1]);if(s={type:a,start:Object.assign({},l),end:Object.assign({},l)},t.add(n[1],0,[["enter",s,e]]),n[2]!==0){const c=sf(e.events,n[2]),d=sf(e.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},d)};if(t.add(n[2],0,[["enter",f,e]]),r!==2){const p=e.events[n[2]],g=e.events[n[3]];if(p[1].end=Object.assign({},g[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const b=n[2]+1,y=n[3]-n[2]-1;t.add(b,y,[])}}t.add(n[3]+1,0,[["exit",f,e]])}return i!==void 0&&(s.end=Object.assign({},sf(e.events,i)),t.add(i,0,[["exit",s,e]]),s=void 0),s}function g$(t,e,n,r,i){const s=[],a=sf(e.events,n);i&&(i.end=Object.assign({},a),s.push(["exit",i,e])),r.end=Object.assign({},a),s.push(["exit",r,e]),t.add(n+1,0,s)}function sf(t,e){const n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}const Kze={name:"tasklistCheck",tokenize:Xze};function Yze(){return{text:{91:Kze}}}function Xze(t,e,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),s)}function s(l){return bn(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):n(l)}function o(l){return ht(l)?e(l):jt(l)?t.check({tokenize:Zze},e,n)(l):n(l)}}function Zze(t,e,n){return Bt(t,r,"whitespace");function r(i){return i===null?n(i):e(i)}}function Qze(t){return BZ([xze(),Dze(),jze(t),Gze(),Yze()])}const Jze={};function eUe(t){const e=this,n=t||Jze,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Qze(n)),s.push(vze()),a.push(wze(n))}function tUe(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:s},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:o,mathText:a,mathTextData:o}};function t(l){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function n(){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c;const f=d.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function s(l){this.enter({type:"inlineMath",value:"",data:{hName:"
383code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function a(l){const c=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c,d.data.hChildren.push({type:"text",value:c})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function nUe(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
384`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,a,o,l){const c=s.value||"",d=o.createTracker(l),f="$".repeat(Math.max(Yne(c,"$")+1,2)),p=o.enter("mathFlow");let g=d.move(f);if(s.meta){const b=o.enter("mathFlowMeta");g+=d.move(o.safe(s.meta,{after:`
385`,before:g,encode:["$"],...d.current()})),b()}return g+=d.move(`
386`),c&&(g+=d.move(c+`
387`)),g+=d.move(f),p(),g}function r(s,a,o){let l=s.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const d="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<o.unsafe.length;){const p=o.unsafe[f];if(!p.atBreak)continue;const g=o.compilePattern(p);let b;for(;b=g.exec(l);){let y=b.index;l.codePointAt(y)===10&&l.codePointAt(y-1)===13&&y--,l=l.slice(0,y)+" "+l.slice(b.index+1)}}return d+l+d}function i(){return"$"}}const rUe={tokenize:iUe,concrete:!0,name:"mathFlow"},b$={tokenize:sUe,partial:!0};function iUe(t,e,n){const r=this,i=r.events[r.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let a=0;return o;function o(_){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(_)}function l(_){return _===36?(t.consume(_),a++,l):a<2?n(_):(t.exit("mathFlowFenceSequence"),Bt(t,c,"whitespace")(_))}function c(_){return _===null||ht(_)?f(_):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(_))}function d(_){return _===null||ht(_)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(_)):_===36?n(_):(t.consume(_),d)}function f(_){return t.exit("mathFlowFence"),r.interrupt?e(_):t.attempt(b$,p,w)(_)}function p(_){return t.attempt({tokenize:S,partial:!0},w,g)(_)}function g(_){return(s?Bt(t,b,"linePrefix",s+1):b)(_)}function b(_){return _===null?w(_):ht(_)?t.attempt(b$,p,w)(_):(t.enter("mathFlowValue"),y(_))}function y(_){return _===null||ht(_)?(t.exit("mathFlowValue"),b(_)):(t.consume(_),y)}function w(_){return t.exit("mathFlow"),e(_)}function S(_,E,T){let R=0;return Bt(_,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function N(z){return _.enter("mathFlowFence"),_.enter("mathFlowFenceSequence"),I(z)}function I(z){return z===36?(R++,_.consume(z),I):R<a?T(z):(_.exit("mathFlowFenceSequence"),Bt(_,P,"whitespace")(z))}function P(z){return z===null||ht(z)?(_.exit("mathFlowFence"),E(z)):T(z)}}}function sUe(t,e,n){const r=this;return i;function i(a){return a===null?e(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s)}function s(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function aUe(t){let n=(t||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:oUe,previous:lUe,name:"mathText"};function r(i,s,a){let o=0,l,c;return d;function d(y){return i.enter("mathText"),i.enter("mathTextSequence"),f(y)}function f(y){return y===36?(i.consume(y),o++,f):o<2&&!n?a(y):(i.exit("mathTextSequence"),p(y))}function p(y){return y===null?a(y):y===36?(c=i.enter("mathTextSequence"),l=0,b(y)):y===32?(i.enter("space"),i.consume(y),i.exit("space"),p):ht(y)?(i.enter("lineEnding"),i.consume(y),i.exit("lineEnding"),p):(i.enter("mathTextData"),g(y))}function g(y){return y===null||y===32||y===36||ht(y)?(i.exit("mathTextData"),p(y)):(i.consume(y),g)}function b(y){return y===36?(i.consume(y),l++,b):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),s(y)):(c.type="mathTextData",g(y))}}}function oUe(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[n][1].type="mathTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)i===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(i=r):(r===e||t[r][1].type==="lineEnding")&&(t[i][1].type="mathTextData",r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return t}function lUe(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function cUe(t){return{flow:{36:rUe},text:{36:aUe(t)}}}const uUe={};function dUe(t){const e=this,n=t||uUe,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(cUe(n)),s.push(tUe()),a.push(nUe(n))}const y$=/[#.]/g;function hUe(t,e){const n=t||"",r={};let i=0,s,a;for(;i<n.length;){y$.lastIndex=i;const o=y$.exec(n),l=n.slice(i,o?o.index:n.length);l&&(s?s==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),o&&(s=o[0],i++)}return{type:"element",tagName:a||e||"div",properties:r,children:[]}}function mre(t,e,n){const r=n?gUe(n):void 0;function i(s,a,...o){let l;if(s==null){l={type:"root",children:[]};const c=a;o.unshift(c)}else{l=hUe(s,e);const c=l.tagName.toLowerCase(),d=r?r.get(c):void 0;if(l.tagName=d||c,fUe(a))o.unshift(a);else for(const[f,p]of Object.entries(a))pUe(t,l.properties,f,p)}for(const c of o)S4(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function fUe(t){if(t===null||typeof t!="object"||Array.isArray(t))return!0;
vendor: 5,600 bytes, lines 387-388
387if(typeof t.type!="string")return!1;const e=t,n=Object.keys(t);for(const r of n){const i=e[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const s=i;for(const a of s)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in t&&Array.isArray(t.children))}function pUe(t,e,n,r){const i=TZ(t,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?i.spaceSeparated?s=rz(r):i.commaSeparated?s=QF(r):i.commaOrSpaceSeparated?s=rz(QF(r).join(" ")):s=v$(i,i.property,r):Array.isArray(r)?s=[...r]:s=i.property==="style"?mUe(r):String(r);if(Array.isArray(s)){const a=[];for(const o of s)a.push(v$(i,i.property,o));s=a}i.property==="className"&&Array.isArray(e.className)&&(s=e.className.concat(s)),e[i.property]=s}}function S4(t,e){if(e!=null)if(typeof e=="number"||typeof e=="string")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const n of e)S4(t,n);else if(typeof e=="object"&&"type"in e)e.type==="root"?S4(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function v$(t,e,n){if(typeof n=="string"){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(n===""||Vg(n)===Vg(e)))return!0}return n}function mUe(t){const e=[];for(const[n,r]of Object.entries(t))e.push([n,r].join(": "));return e.join("; ")}function gUe(t){const e=new Map;for(const n of t)e.set(n.toLowerCase(),n);return e}const bUe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],gre=mre(AZ,"div"),yUe=mre(LS,"g",bUe),nC={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function vUe(t,e){return bre(t,{})||{type:"root",children:[]}}function bre(t,e){const n=wUe(t,e);return n&&e.afterTransform&&e.afterTransform(t,n),n}function wUe(t,e){switch(t.nodeType){case 1:return EUe(t,e);case 3:return _Ue(t);case 8:return xUe(t);case 9:return w$(t,e);case 10:return SUe();case 11:return w$(t,e);default:return}}function w$(t,e){return{type:"root",children:yre(t,e)}}function SUe(){return{type:"doctype"}}function _Ue(t){return{type:"text",value:t.nodeValue||""}}function xUe(t){return{type:"comment",value:t.nodeValue||""}}function EUe(t,e){const n=t.namespaceURI,r=n===nC.svg?yUe:gre,i=n===nC.html?t.tagName.toLowerCase():t.tagName,s=n===nC.html&&i==="template"?t.content:t,a=t.getAttributeNames(),o={};let l=-1;for(;++l<a.length;)o[a[l]]=t.getAttribute(a[l])||"";return r(i,o,yre(s,e))}function yre(t,e){const n=t.childNodes,r=[];let i=-1;for(;++i<n.length;){const s=bre(n[i],e);s!==void 0&&r.push(s)}return r}new DOMParser;function kUe(t,e){const n=CUe(t);return vUe(n)}function CUe(t){const e=document.createElement("template");return e.innerHTML=t,e.content}const S$=(function(t,e,n){const r=j0(n);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(r(t.children[e],e,t))return t.children[e]}),Jd=(function(t){if(t==null)return RUe;if(typeof t=="string")return AUe(t);if(typeof t=="object")return TUe(t);if(typeof t=="function")return tN(t);throw new Error("Expected function, string, or array as `test`")});function TUe(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=Jd(t[n]);return tN(r);function r(...i){let s=-1;for(;++s<e.length;)if(e[s].apply(this,i))return!0;return!1}}function AUe(t){return tN(e);function e(n){return n.tagName===t}}function tN(t){return e;function e(n,r,i){return!!(NUe(n)&&t.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function RUe(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function NUe(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}const _$=/\n/g,x$=/[\t ]+/g,_4=Jd("br"),E$=Jd(FUe),OUe=Jd("p"),k$=Jd("tr"),IUe=Jd(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",PUe,zUe]),vre=Jd(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function DUe(t,e){const n=e||{},r="children"in t?t.children:[],i=vre(t),s=_re(t,{whitespace:n.whitespace||"normal"}),a=[];(t.type==="text"||t.type==="comment")&&a.push(...Sre(t,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<r.length;)a.push(...wre(r[o],t,{whitespace:s,breakBefore:o?void 0:i,breakAfter:o<r.length-1?_4(r[o+1]):i}));const l=[];let c;for(o=-1;++o<a.length;){const d=a[o];typeof d=="number"?c!==void 0&&d>c&&(c=d):d&&(c!==void 0&&c>-1&&l.push(`
388`.repeat(c)||" "),c=-1,l.push(d))}return l.join("")}function wre(t,e,n){return t.type==="element"?MUe(t,e,n):t.type==="text"?n.whitespace==="normal"?Sre(t,n):LUe(t):[]}function MUe(t,e,n){const r=_re(t,n),i=t.children||[];let s=-1,a=[];if(IUe(t))return a;let o,l;
388for(_4(t)||k$(t)&&S$(e,t,k$)?l=`
389`:OUe(t)?(o=2,l=2):vre(t)&&(o=1,l=1);++s<i.length;)a=a.concat(wre(i[s],t,{whitespace:r,breakBefore:s?void 0:o,breakAfter:s<i.length-1?_4(i[s+1]):l}));return E$(t)&&S$(e,t,E$)&&a.push("	"),o&&a.unshift(o),l&&a.push(l),a}function Sre(t,e){const n=String(t.value),r=[],i=[];let s=0;for(;s<=n.length;){_$.lastIndex=s;const l=_$.exec(n),c=l&&"index"in l?l.index:n.length;r.push(BUe(n.slice(s,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?e.breakBefore:!0,c===n.length?e.breakAfter:!0)),s=c+1}let a=-1,o;for(;++a<r.length;)r[a].charCodeAt(r[a].length-1)===8203||a<r.length-1&&r[a+1].charCodeAt(0)===8203?(i.push(r[a]),o=void 0):r[a]?(typeof o=="number"&&i.push(o),i.push(r[a]),o=0):(a===0||a===r.length-1)&&i.push(0);return i}function LUe(t){return[String(t.value)]}function BUe(t,e,n){const r=[];let i=0,s;for(;i<t.length;){x$.lastIndex=i;const a=x$.exec(t);s=a?a.index:t.length,!i&&!s&&a&&!e&&r.push(""),i!==s&&r.push(t.slice(i,s)),i=a?s+a[0].length:s}return i!==s&&!n&&r.push(""),r.join(" ")}function _re(t,e){if(t.type==="element"){const n=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function PUe(t){return!!(t.properties||{}).hidden}function FUe(t){return t.tagName==="td"||t.tagName==="th"}function zUe(t){return t.tagName==="dialog"&&!(t.properties||{}).open}const UUe={},jUe=[];function HUe(t){const e=t||UUe;return function(n,r){I3(n,"element",function(i,s){const a=Array.isArray(i.properties.className)?i.properties.className:jUe,o=a.includes("language-math"),l=a.includes("math-display"),c=a.includes("math-inline");let d=l;if(!o&&!l&&!c)return;let f=s[s.length-1],p=i;if(i.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=s[s.length-2],d=!0),!f)return;const g=DUe(p,{whitespace:"pre"});let b;try{b=c$.renderToString(g,{...e,displayMode:d,throwOnError:!0})}catch(w){const S=w,_=S.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...s,i],cause:S,place:i.position,ruleId:_,source:"rehype-katex"});try{b=c$.renderToString(g,{...e,displayMode:d,strict:"ignore",throwOnError:!1})}catch{b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(w)},children:[{type:"text",value:g}]}]}}typeof b=="string"&&(b=kUe(b).children);const y=f.children.indexOf(p);return f.children.splice(y,1,...b),tQ})}}var rC={exports:{}},C$;function $Ue(){return C$||(C$=1,(function(t){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};var n=(function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,s=0,a={},o={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function _(E){return E instanceof l?new l(E.type,_(E.content),E.alias):Array.isArray(E)?E.map(_):E.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(_){return Object.prototype.toString.call(_).slice(8,-1)},objId:function(_){return _.__id||Object.defineProperty(_,"__id",{value:++s}),_.__id},clone:function _(E,T){T=T||{};var R,N;switch(o.util.type(E)){case"Object":if(N=o.util.objId(E),T[N])return T[N];R={},T[N]=R;for(var I in E)E.hasOwnProperty(I)&&(R[I]=_(E[I],T));return R;case"Array":return N=o.util.objId(E),T[N]?T[N]:(R=[],T[N]=R,E.forEach(function(P,z){R[z]=_(P,T)}),R);default:return E}},getLanguage:function(_){for(;_;){var E=i.exec(_.className);if(E)return E[1].toLowerCase();_=_.parentElement}return"none"},setLanguage:function(_,E){_.className=_.className.replace(RegExp(i,"gi"),""),_.classList.add("language-"+E)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(R){var _=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(R.stack)||[])[1];if(_){var E=document.getElementsByTagName("script");for(var T in E)if(E[T].src==_)return E[T]}return null}},isActive:function(_,E,T){for(var R="no-"+E;_;){var N=_.classList;if(N.contains(E))return!0;
vendor: 4,834 bytes, line 389
389if(N.contains(R))return!1;_=_.parentElement}return!!T}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(_,E){var T=o.util.clone(o.languages[_]);for(var R in E)T[R]=E[R];return T},insertBefore:function(_,E,T,R){R=R||o.languages;var N=R[_],I={};for(var P in N)if(N.hasOwnProperty(P)){if(P==E)for(var z in T)T.hasOwnProperty(z)&&(I[z]=T[z]);T.hasOwnProperty(P)||(I[P]=N[P])}var U=R[_];return R[_]=I,o.languages.DFS(o.languages,function(Z,L){L===U&&Z!=_&&(this[Z]=I)}),I},DFS:function _(E,T,R,N){N=N||{};var I=o.util.objId;for(var P in E)if(E.hasOwnProperty(P)){T.call(E,P,E[P],R||P);var z=E[P],U=o.util.type(z);U==="Object"&&!N[I(z)]?(N[I(z)]=!0,_(z,T,null,N)):U==="Array"&&!N[I(z)]&&(N[I(z)]=!0,_(z,T,P,N))}}},plugins:{},highlightAll:function(_,E){o.highlightAllUnder(document,_,E)},highlightAllUnder:function(_,E,T){var R={callback:T,container:_,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",R),R.elements=Array.prototype.slice.apply(R.container.querySelectorAll(R.selector)),o.hooks.run("before-all-elements-highlight",R);for(var N=0,I;I=R.elements[N++];)o.highlightElement(I,E===!0,R.callback)},highlightElement:function(_,E,T){var R=o.util.getLanguage(_),N=o.languages[R];o.util.setLanguage(_,R);var I=_.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&o.util.setLanguage(I,R);var P=_.textContent,z={element:_,language:R,grammar:N,code:P};function U(L){z.highlightedCode=L,o.hooks.run("before-insert",z),z.element.innerHTML=z.highlightedCode,o.hooks.run("after-highlight",z),o.hooks.run("complete",z),T&&T.call(z.element)}if(o.hooks.run("before-sanity-check",z),I=z.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!z.code){o.hooks.run("complete",z),T&&T.call(z.element);return}if(o.hooks.run("before-highlight",z),!z.grammar){U(o.util.encode(z.code));return}if(E&&r.Worker){var Z=new Worker(o.filename);Z.onmessage=function(L){U(L.data)},Z.postMessage(JSON.stringify({language:z.language,code:z.code,immediateClose:!0}))}else U(o.highlight(z.code,z.grammar,z.language))},highlight:function(_,E,T){var R={code:_,grammar:E,language:T};if(o.hooks.run("before-tokenize",R),!R.grammar)throw new Error('The language "'+R.language+'" has no grammar.');return R.tokens=o.tokenize(R.code,R.grammar),o.hooks.run("after-tokenize",R),l.stringify(o.util.encode(R.tokens),R.language)},tokenize:function(_,E){var T=E.rest;if(T){for(var R in T)E[R]=T[R];delete E.rest}var N=new f;return p(N,N.head,_),d(_,N,E,N.head,0),b(N)},hooks:{all:{},add:function(_,E){var T=o.hooks.all;T[_]=T[_]||[],T[_].push(E)},run:function(_,E){var T=o.hooks.all[_];if(!(!T||!T.length))for(var R=0,N;N=T[R++];)N(E)}},Token:l};r.Prism=o;function l(_,E,T,R){this.type=_,this.content=E,this.alias=T,this.length=(R||"").length|0}l.stringify=function _(E,T){if(typeof E=="string")return E;if(Array.isArray(E)){var R="";return E.forEach(function(U){R+=_(U,T)}),R}var N={type:E.type,content:_(E.content,T),tag:"span",classes:["token",E.type],attributes:{},language:T},I=E.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(N.classes,I):N.classes.push(I)),o.hooks.run("wrap",N);var P="";for(var z in N.attributes)P+=" "+z+'="'+(N.attributes[z]||"").replace(/"/g,"&quot;")+'"';return"<"+N.tag+' class="'+N.classes.join(" ")+'"'+P+">"+N.content+"</"+N.tag+">"};function c(_,E,T,R){_.lastIndex=E;var N=_.exec(T);if(N&&R&&N[1]){var I=N[1].length;N.index+=I,N[0]=N[0].slice(I)}return N}function d(_,E,T,R,N,I){for(var P in T)if(!(!T.hasOwnProperty(P)||!T[P])){var z=T[P];z=Array.isArray(z)?z:[z];for(var U=0;U<z.length;++U){if(I&&I.cause==P+","+U)return;var Z=z[U],L=Z.inside,$=!!Z.lookbehind,D=!!Z.greedy,W=Z.alias;if(D&&!Z.pattern.global){var G=Z.pattern.toString().match(/[imsuy]*$/)[0];Z.pattern=RegExp(Z.pattern.source,G+"g")}for(var K=Z.pattern||Z,Y=R.next,te=N;Y!==E.tail&&!(I&&te>=I.reach);te+=Y.value.length,Y=Y.next){var q=Y.value;if(E.length>_.length)return;if(!(q instanceof l)){var j=1,X;if(D){if(X=c(K,te,_,$),!X||X.index>=_.length)break;var Ee=X.index,H=X.index+X[0].length,ae=te;for(ae+=Y.value.length;Ee>=ae;)Y=Y.next,ae+=Y.value.length;if(ae-=Y.value.length,te=ae,Y.value instanceof l)continue;for(var le=Y;le!==E.tail&&(ae<H||typeof le.value=="string");le=le.next)j++,ae+=le.value.length;j--,q=_.slice(te,ae),X.index-=te}else if(X=c(K,0,q,$),!X)continue;var Ee=X.index,me=X[0],ke=q.slice(0,Ee),Le=q.slice(Ee+me.length),qe=te+q.length;I&&qe>I.reach&&(I.reach=qe);var Xe=Y.prev;ke&&(Xe=p(E,Xe,ke),te+=ke.length),g(E,Xe,j);var ut=new l(P,L?o.tokenize(me,L):me,W,me);if(Y=p(E,Xe,ut),Le&&p(E,Y,Le),j>1){var it={cause:P+","+U,reach:qe};d(_,E,T,Y.prev,te,it),I&&it.reach>I.reach&&(I.reach=it.reach)}}}}}}function f(){var _={value:null,prev:null,next:null},E={value:null,prev:_,next:null};
vendor: 4,132 bytes, line 389
389_.next=E,this.head=_,this.tail=E,this.length=0}function p(_,E,T){var R=E.next,N={value:T,prev:E,next:R};return E.next=N,R.prev=N,_.length++,N}function g(_,E,T){for(var R=E.next,N=0;N<T&&R!==_.tail;N++)R=R.next;E.next=R,R.prev=E,_.length-=N}function b(_){for(var E=[],T=_.head.next;T!==_.tail;)E.push(T.value),T=T.next;return E}if(!r.document)return r.addEventListener&&(o.disableWorkerMessageHandler||r.addEventListener("message",function(_){var E=JSON.parse(_.data),T=E.language,R=E.code,N=E.immediateClose;r.postMessage(o.highlight(R,o.languages[T],T)),N&&r.close()},!1)),o;var y=o.util.currentScript();y&&(o.filename=y.src,y.hasAttribute("data-manual")&&(o.manual=!0));function w(){o.manual||o.highlightAll()}if(!o.manual){var S=document.readyState;S==="loading"||S==="interactive"&&y&&y.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return o})(e);t.exports&&(t.exports=n),typeof To<"u"&&(To.Prism=n),n.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,s){var a={};a["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[s]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};o["language-"+s]={pattern:/[\s\S]+/,inside:n.languages[s]};var l={};l[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,i){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:[i,"language-"+i],inside:n.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,(function(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
vendor: 4,267 bytes, line 389
389*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var s=r.languages.markup;s&&(s.tag.addInlined("style","css"),s.tag.addAttribute("style","css"))})(n),n.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:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript}
vendor: 5,303 bytes, lines 389-390
389,{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript,(function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",i=function(y,w){return"✖ Error "+y+" while fetching file: "+w},s="✖ Error: File does not exist or is empty",a={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},o="data-src-status",l="loading",c="loaded",d="failed",f="pre[data-src]:not(["+o+'="'+c+'"]):not(['+o+'="'+l+'"])';function p(y,w,S){var _=new XMLHttpRequest;_.open("GET",y,!0),_.onreadystatechange=function(){_.readyState==4&&(_.status<400&&_.responseText?w(_.responseText):_.status>=400?S(i(_.status,_.statusText)):S(s))},_.send(null)}function g(y){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(w){var S=Number(w[1]),_=w[2],E=w[3];return _?E?[S,Number(E)]:[S,void 0]:[S,S]}}n.hooks.add("before-highlightall",function(y){y.selector+=", "+f}),n.hooks.add("before-sanity-check",function(y){var w=y.element;if(w.matches(f)){y.code="",w.setAttribute(o,l);var S=w.appendChild(document.createElement("CODE"));S.textContent=r;var _=w.getAttribute("data-src"),E=y.language;if(E==="none"){var T=(/\.(\w+)$/.exec(_)||[,"none"])[1];E=a[T]||T}n.util.setLanguage(S,E),n.util.setLanguage(w,E);var R=n.plugins.autoloader;R&&R.loadLanguages(E),p(_,function(N){w.setAttribute(o,c);var I=g(w.getAttribute("data-range"));if(I){var P=N.split(/\r\n?|\n/g),z=I[0],U=I[1]==null?P.length:I[1];z<0&&(z+=P.length),z=Math.max(0,Math.min(z-1,P.length)),U<0&&(U+=P.length),U=Math.max(0,Math.min(U,P.length)),N=P.slice(z,U).join(`
390`),w.hasAttribute("data-start")||w.setAttribute("data-start",String(z+1))}S.textContent=N,n.highlightElement(S)},function(N){w.setAttribute(o,d),S.textContent=N})}}),n.plugins.fileHighlight={highlight:function(w){for(var S=(w||document).querySelectorAll(f),_=0,E;E=S[_++];)n.highlightElement(E)}};var b=!1;n.fileHighlight=function(){b||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),b=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}})()})(rC)),rC.exports}var VUe=$Ue();const QVe=sp(VUe);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.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+)*(?
390:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.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:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.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:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.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:Prism.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"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.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"));Prism.languages.js=Prism.languages.javascript;var T$={},A$;function GUe(){return A$||(A$=1,(function(t){t.languages.typescript=t.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/}),t.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 t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.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:e}}
vendor: 4,584 bytes, line 390
390}}),t.languages.ts=t.languages.typescript})(Prism)),T$}GUe();(function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(l,c){return l=l.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),RegExp(l,c)}i=s(i).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var a=function(l){return l?typeof l=="string"?l:typeof l.content=="string"?l.content:l.content.map(a).join(""):""},o=function(l){for(var c=[],d=0;d<l.length;d++){var f=l[d],p=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?c.length>0&&c[c.length-1].tagName===a(f.content[0].content[1])&&c.pop():f.content[f.content.length-1].content==="/>"||c.push({tagName:a(f.content[0].content[1]),openedBraces:0}):c.length>0&&f.type==="punctuation"&&f.content==="{"?c[c.length-1].openedBraces++:c.length>0&&c[c.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?c[c.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&c.length>0&&c[c.length-1].openedBraces===0){var g=a(f);d<l.length-1&&(typeof l[d+1]=="string"||l[d+1].type==="plain-text")&&(g+=a(l[d+1]),l.splice(d+1,1)),d>0&&(typeof l[d-1]=="string"||l[d-1].type==="plain-text")&&(g=a(l[d-1])+g,l.splice(d-1,1),d--),l[d]=new t.Token("plain-text",g,null,g)}f.content&&typeof f.content!="string"&&o(f.content)}};t.hooks.add("after-tokenize",function(l){l.language!=="jsx"&&l.language!=="tsx"||o(l.tokens)})})(Prism);(function(t){var e=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",e),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var n=t.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0})(Prism);var R$={},N$;function qUe(){return N$||(N$=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
390])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),R$}qUe();(function(t){var e="\\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_
390CURRENT_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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+e),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("(\\{)"+e),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})/};t.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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|java|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|sysctl|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[<>]&?|[<>][&=]?|&[>
vendor: 5,211 bytes, line 390
390&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=r.variable[1].inside,a=0;a<i.length;a++)s[i[a]]=t.languages.bash[i[a]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash})(Prism);Prism.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"}};Prism.languages.webmanifest=Prism.languages.json;(function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(d){return d=d.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.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:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+s+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+s+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:t.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:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<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:n(/!?\[(?:(?!\])<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(d){["url","bold","italic","strike","code-snippet"].forEach(function(f){d!==f&&(t.languages.markdown[d].inside.content.inside[f]=t.languages.markdown[f])})}),t.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function f(p){if(!(!p||typeof p=="string"))for(var g=0,b=p.length;g<b;g++){var y=p[g];if(y.type!=="code"){f(y.content);continue}var w=y.content[1],S=y.content[3];if(w&&S&&w.type==="code-language"&&S.type==="code-block"&&typeof w.content=="string"){var _=w.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");_=(/[a-z][\w-]*/i.exec(_)||[""])[0].toLowerCase();var E="language-"+_;
390S.alias?typeof S.alias=="string"?S.alias=[S.alias,E]:S.alias.push(E):S.alias=[E]}}}f(d.tokens)}),t.hooks.add("wrap",function(d){if(d.type==="code-block"){for(var f="",p=0,g=d.classes.length;p<g;p++){var b=d.classes[p],y=/language-(.+)/.exec(b);if(y){f=y[1];break}}var w=t.languages[f];if(w)d.content=t.highlight(c(d.content),w,f);else if(f&&f!=="none"&&t.plugins.autoloader){var S="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);d.attributes.id=S,t.plugins.autoloader.loadLanguages(f,function(){var _=document.getElementById(S);_&&(_.innerHTML=t.highlight(_.textContent,t.languages[f],f))})}}});var a=RegExp(t.languages.markup.tag.pattern.source,"gi"),o={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(d){var f=d.replace(a,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,g){if(g=g.toLowerCase(),g[0]==="#"){var b;return g[1]==="x"?b=parseInt(g.slice(2),16):b=Number(g.slice(1)),l(b)}else{var y=o[g];return y||p}}),f}t.languages.md=t.languages.markdown})(Prism);(function(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(Prism);var O$={},I$;function WUe(){return I$||(I$=1,(function(t){for(var e=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)e=e.replace(/<self>/g,function(){return e});e=e.replace(/<self>/g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+e),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"}
390,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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(Prism)),O$}WUe();Prism.languages.go=Prism.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/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];var D$={},M$;function KUe(){return M$||(M$=1,(function(t){var e=/\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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[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:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.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},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.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":r,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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 e.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism)),D$}KUe();Prism.languages.c=Prism.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|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.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},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.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:Prism.languages.c}}}});Prism.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 Prism.languages.c.boolean;var L$={},B$;function YUe(){return B$||(B$=1,(function(t){var e=/\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_
390cast|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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return e.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:e,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/}),t.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 n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.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:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])})(Prism)),L$}YUe();var XUe="Separator",P$="horizontal",ZUe=["horizontal","vertical"],xre=A.forwardRef((t,e)=>{const{decorative:n,orientation:r=P$,...i}=t,s=QUe(r)?r:P$,o=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return x.jsx(Vd.div,{"data-orientation":s,...o,...i,ref:e})});xre.displayName=XUe;function QUe(t){return ZUe.includes(t)}var Ere=xre;const JUe=A.forwardRef(({className:t,orientation:e="horizontal",decorative:n=!0,...r},i)=>x.jsx(Ere,{ref:i,decorative:n,orientation:e,className:tt("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...r}));JUe.displayName=Ere.displayName;var kre=["PageUp","PageDown"],Cre=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Tre={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Np="Slider",[x4,eje,tje]=fS(Np),[Are]=$o(Np,[tje]),[nje,d_]=Are(Np),Rre=A.forwardRef((t,e)=>{const{name:n,min:r=0,max:i=100,step:s=1,orientation:a="horizontal",disabled:o=!1,minStepsBetweenThumbs:l=0,defaultValue:c=[r],value:d,onValueChange:f=()=>{},onValueCommit:p=()=>{},inverted:g=!1,form:b,...y}=t,w=A.useRef(new Set),S=A.useRef(0),E=a==="horizontal"?rje:ije,[T=[],R]=Kc({prop:d,defaultProp:c,onChange:Z=>{[...w.current][S.current]?.focus(),f(Z)}}),N=A.useRef(T);function I(Z){const L=cje(T,Z);U(Z,L)}function P(Z){U(Z,S.current)}function z(){const Z=N.current[S.current];T[S.current]!==Z&&p(T)}function U(Z,L,{commit:$}={commit:!1}){const D=fje(s),W=pje(Math.round((Z-r)/s)*s+r,D),G=G1(W,[r,i]);R((K=[])=>{const Y=oje(K,G,L);if(hje(Y,l*s)){S.current=Y.indexOf(G);const te=String(Y)!==String(K);return te&&$&&p(Y),te?Y:K}else return K})}return x.jsx(nje,{scope:t.__scopeSlider,name:n,disabled:o,min:r,max:i,valueIndexToChangeRef:S,thumbs:w.current,values:T,orientation:a,form:b,children:x.jsx(x4.Provider,{scope:t.__scopeSlider,children:x.jsx(x4.Slot,{scope:t.__scopeSlider,children:x.jsx(E,{"aria-disabled":o,"data-disabled":o?"":void 0,...y,ref:e,onPointerDown:Je(y.onPointerDown,()=>{o||(N.current=T)}),min:r,max:i,inverted:g,onSlideStart:o?void 0:I,onSlideMove:o?void 0:P,onSlideEnd:o?void 0:z,onHomeKeyDown:()=>!o&&U(r,0,{commit:!0}),onEndKeyDown:()=>!o&&U(i,T.length-1,{commit:!0}),onStepKeyDown:({event:Z,direction:L})=>{if(!o){const W=kre.includes(Z.key)||Z.shiftKey&&Cre.includes(Z.key)?10:1,G=S.current,K=T[G],Y=s*W*L;U(K+Y,G,{commit:!0})}}})})})})});Rre.displayName=Np;var[Nre,Ore]=Are(Np,{startEdge:"left",endEdge:"right",size:"width",direction:1}),rje=A.forwardRef((t,e)=>{const{min:n,max:r,dir:i,inverted:s,onSlideStart:a,onSlideMove:o,onSlideEnd:l,onStepKeyDown:c,...d}=t,[f,p]=A.useState(null),g=Yt(e,E=>p(E)),b=A.useRef(void 0),y=A0(i),w=y==="ltr",S=w&&!s||!w&&s;function _(E){const T=b.current||f.getBoundingClientRect(),R=[0,T.width],I=nN(R,S?[n,r]:[r,n]);return b.current=T,I(E-T.left)}return x.jsx(Nre,{scope:t.__scopeSlider,startEdge:S?"left":"right",endEdge:S?"right":"left",direction:S?1:-1,size:"width",children:x.jsx(Ire,{dir:y,"data-orientation":"horizontal",...d,ref:g,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:E=>{const T=_(E.clientX);a?.(T)},onSlideMove:E=>{const T=_(E.clientX);o?.(T)},onSlideEnd:()=>{b.current=void 0,l?.()},onStepKeyDown:E=>
390{const R=Tre[S?"from-left":"from-right"].includes(E.key);c?.({event:E,direction:R?-1:1})}})})}),ije=A.forwardRef((t,e)=>{const{min:n,max:r,inverted:i,onSlideStart:s,onSlideMove:a,onSlideEnd:o,onStepKeyDown:l,...c}=t,d=A.useRef(null),f=Yt(e,d),p=A.useRef(void 0),g=!i;function b(y){const w=p.current||d.current.getBoundingClientRect(),S=[0,w.height],E=nN(S,g?[r,n]:[n,r]);return p.current=w,E(y-w.top)}return x.jsx(Nre,{scope:t.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:x.jsx(Ire,{"data-orientation":"vertical",...c,ref:f,style:{...c.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:y=>{const w=b(y.clientY);s?.(w)},onSlideMove:y=>{const w=b(y.clientY);a?.(w)},onSlideEnd:()=>{p.current=void 0,o?.()},onStepKeyDown:y=>{const S=Tre[g?"from-bottom":"from-top"].includes(y.key);l?.({event:y,direction:S?-1:1})}})})}),Ire=A.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:s,onHomeKeyDown:a,onEndKeyDown:o,onStepKeyDown:l,...c}=t,d=d_(Np,n);return x.jsx(Et.span,{...c,ref:e,onKeyDown:Je(t.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(o(f),f.preventDefault()):kre.concat(Cre).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:Je(t.onPointerDown,f=>{const p=f.target;p.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(p)?p.focus():r(f)}),onPointerMove:Je(t.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&i(f)}),onPointerUp:Je(t.onPointerUp,f=>{const p=f.target;p.hasPointerCapture(f.pointerId)&&(p.releasePointerCapture(f.pointerId),s(f))})})}),Dre="SliderTrack",Mre=A.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,i=d_(Dre,n);return x.jsx(Et.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:e})});Mre.displayName=Dre;var E4="SliderRange",Lre=A.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,i=d_(E4,n),s=Ore(E4,n),a=A.useRef(null),o=Yt(e,a),l=i.values.length,c=i.values.map(p=>Fre(p,i.min,i.max)),d=l>1?Math.min(...c):0,f=100-Math.max(...c);return x.jsx(Et.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...r,ref:o,style:{...t.style,[s.startEdge]:d+"%",[s.endEdge]:f+"%"}})});Lre.displayName=E4;var k4="SliderThumb",Bre=A.forwardRef((t,e)=>{const n=eje(t.__scopeSlider),[r,i]=A.useState(null),s=Yt(e,o=>i(o)),a=A.useMemo(()=>r?n().findIndex(o=>o.ref.current===r):-1,[n,r]);return x.jsx(sje,{...t,ref:s,index:a})}),sje=A.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:i,...s}=t,a=d_(k4,n),o=Ore(k4,n),[l,c]=A.useState(null),d=Yt(e,_=>c(_)),f=l?a.form||!!l.closest("form"):!0,p=nK(l),g=a.values[r],b=g===void 0?0:Fre(g,a.min,a.max),y=lje(r,a.values.length),w=p?.[o.size],S=w?uje(w,b,o.direction):0;return A.useEffect(()=>{if(l)return a.thumbs.add(l),()=>{a.thumbs.delete(l)}},[l,a.thumbs]),x.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[o.startEdge]:`calc(${b}% + ${S}px)`},children:[x.jsx(x4.ItemSlot,{scope:t.__scopeSlider,children:x.jsx(Et.span,{role:"slider","aria-label":t["aria-label"]||y,"aria-valuemin":a.min,"aria-valuenow":g,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...s,ref:d,style:g===void 0?{display:"none"}:t.style,onFocus:Je(t.onFocus,()=>{a.valueIndexToChangeRef.current=r})})}),f&&x.jsx(Pre,{name:i??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:g},r)]})});Bre.displayName=k4;var aje="RadioBubbleInput",Pre=A.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const i=A.useRef(null),s=Yt(i,r),a=hK(e);return A.useEffect(()=>{const o=i.current;if(!o)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==e&&d){const f=new Event("input",{bubbles:!0});d.call(o,e),o.dispatchEvent(f)}},[a,e]),x.jsx(Et.input,{style:{display:"none"},...n,ref:s,defaultValue:e})});Pre.displayName=aje;function oje(t=[],e,n){const r=[...t];return r[n]=e,r.sort((i,s)=>i-s)}function Fre(t,e,n){const s=100/(n-e)*(t-e);return G1(s,[0,100])}function lje(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function cje(t,e){if(t.length===1)return 0;const n=t.map(i=>Math.abs(i-e)),r=Math.min(...n);return n.indexOf(r)}function uje(t,e,n){const r=t/2,s=nN([0,50],[0,r]);return(r-s(e)*n)*n}function dje(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function hje(t,e){if(e>0){const n=dje(t);return Math.min(...n)>=e}return!0}function nN(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function fje(t){return(String(t).split(".")[1]||"").length}function pje(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}
390var zre=Rre,mje=Mre,gje=Lre,bje=Bre;const yje=A.forwardRef(({className:t,...e},n)=>x.jsxs(zre,{ref:n,className:tt("relative flex w-full touch-none select-none items-center",t),...e,children:[x.jsx(mje,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:x.jsx(gje,{className:"absolute h-full bg-primary"})}),x.jsx(bje,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));yje.displayName=zre.displayName;function Ure(t,e=[]){let n=[];function r(s,a){const o=A.createContext(a);o.displayName=s+"Context";const l=n.length;n=[...n,a];const c=f=>{const{scope:p,children:g,...b}=f,y=p?.[t]?.[l]||o,w=A.useMemo(()=>b,Object.values(b));return x.jsx(y.Provider,{value:w,children:g})};c.displayName=s+"Provider";function d(f,p){const g=p?.[t]?.[l]||o,b=A.useContext(g);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,d]}const i=()=>{const s=n.map(a=>A.createContext(a));return function(o){const l=o?.[t]||s;return A.useMemo(()=>({[`__scope${t}`]:{...o,[t]:l}}),[o,l])}};return i.scopeName=t,[r,vje(i,...e)]}function vje(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const a=r.reduce((o,{useScope:l,scopeName:c})=>{const f=l(s)[`__scope${c}`];return{...o,...f}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}var rN="Progress",iN=100,[wje]=Ure(rN),[Sje,_je]=wje(rN),jre=A.forwardRef((t,e)=>{const{__scopeProgress:n,value:r=null,max:i,getValueLabel:s=xje,...a}=t;(i||i===0)&&!F$(i)&&console.error(Eje(`${i}`,"Progress"));const o=F$(i)?i:iN;r!==null&&!z$(r,o)&&console.error(kje(`${r}`,"Progress"));const l=z$(r,o)?r:null,c=Gw(l)?s(l,o):void 0;return x.jsx(Sje,{scope:n,value:l,max:o,children:x.jsx(Vd.div,{"aria-valuemax":o,"aria-valuemin":0,"aria-valuenow":Gw(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":Vre(l,o),"data-value":l??void 0,"data-max":o,...a,ref:e})})});jre.displayName=rN;var Hre="ProgressIndicator",$re=A.forwardRef((t,e)=>{const{__scopeProgress:n,...r}=t,i=_je(Hre,n);return x.jsx(Vd.div,{"data-state":Vre(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:e})});$re.displayName=Hre;function xje(t,e){return`${Math.round(t/e*100)}%`}function Vre(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function Gw(t){return typeof t=="number"}function F$(t){return Gw(t)&&!isNaN(t)&&t>0}function z$(t,e){return Gw(t)&&!isNaN(t)&&t<=e&&t>=0}function Eje(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${iN}\`.`}function kje(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be:
391  - a positive number
392  - less than the value passed to \`max\` (or ${iN} if no \`max\` prop is set)
393  - \`null\` or \`undefined\` if the progress is indeterminate.
394
395Defaulting to \`null\`.`}var Gre=jre,Cje=$re;const Tje=A.forwardRef(({className:t,value:e,...n},r)=>x.jsx(Gre,{ref:r,className:tt("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",t),...n,children:x.jsx(Cje,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));Tje.displayName=Gre.displayName;var iC={exports:{}},sC={};var U$;function Aje(){if(U$)return sC;U$=1;var t=qw();function e(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,i=t.useEffect,s=t.useLayoutEffect,a=t.useDebugValue;function o(f,p){var g=p(),b=r({inst:{value:g,getSnapshot:p}}),y=b[0].inst,w=b[1];return s(function(){y.value=g,y.getSnapshot=p,l(y)&&w({inst:y})},[f,g,p]),i(function(){return l(y)&&w({inst:y}),f(function(){l(y)&&w({inst:y})})},[f]),a(g),g}function l(f){var p=f.getSnapshot;f=f.value;try{var g=p();return!n(f,g)}catch{return!0}}function c(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:o;return sC.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,sC}var j$;function Rje(){return j$||(j$=1,iC.exports=Aje()),iC.exports}var Nje=Rje();function Oje(){return Nje.useSyncExternalStore(Ije,()=>!0,()=>!1)}function Ije(){return()=>{}}var sN="Avatar",[Dje]=Ure(sN),[Mje,qre]=Dje(sN),Wre=A.forwardRef((t,e)=>{const{__scopeAvatar:n,...r}=t,[i,s]=A.useState("idle");return x.jsx(Mje,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:x.jsx(Vd.span,{...r,ref:e})})});Wre.displayName=sN;var Kre="AvatarImage",Yre=A.forwardRef((t,e)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...s}=t,a=qre(Kre,n),o=Lje(r,s),l=Ya(c=>{i(c),a.onImageLoadingStatusChange(c)});return Tr(()=>{o!=="idle"&&l(o)},[o,l]),o==="loaded"?x.jsx(Vd.img,{...s,ref:e,src:r}):null});Yre.displayName=Kre;var Xre="AvatarFallback",Zre=A.forwardRef((t,e)=>{const{__scopeAvatar:n,delayMs:r,...i}=t,s=qre(Xre,n),[a,o]=A.useState(r===void 0);return A.useEffect(()=>{if(r!==void 0){const l=window.setTimeout(()=>
395o(!0),r);return()=>window.clearTimeout(l)}},[r]),a&&s.imageLoadingStatus!=="loaded"?x.jsx(Vd.span,{...i,ref:e}):null});Zre.displayName=Xre;function H$(t,e){return t?e?(t.src!==e&&(t.src=e),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Lje(t,{referrerPolicy:e,crossOrigin:n}){const r=Oje(),i=A.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[a,o]=A.useState(()=>H$(s,t));return Tr(()=>{o(H$(s,t))},[s,t]),Tr(()=>{const l=f=>()=>{o(f)};if(!s)return;const c=l("loaded"),d=l("error");return s.addEventListener("load",c),s.addEventListener("error",d),e&&(s.referrerPolicy=e),typeof n=="string"&&(s.crossOrigin=n),()=>{s.removeEventListener("load",c),s.removeEventListener("error",d)}},[s,n,e]),a}var Qre=Wre,Jre=Yre,eie=Zre;const Bje=A.forwardRef(({className:t,...e},n)=>x.jsx(Qre,{ref:n,className:tt("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...e}));Bje.displayName=Qre.displayName;const Pje=A.forwardRef(({className:t,...e},n)=>x.jsx(Jre,{ref:n,className:tt("aspect-square h-full w-full",t),...e}));Pje.displayName=Jre.displayName;const Fje=A.forwardRef(({className:t,...e},n)=>x.jsx(eie,{ref:n,className:tt("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...e}));Fje.displayName=eie.displayName;const zje=()=>x.jsxs(iS,{navbarClassName:"!bg-transparent !border-none",children:[x.jsx(xoe,{}),x.jsx(fSe,{})]}),tie=A.createContext(void 0),JVe=()=>{const t=A.useContext(tie);if(!t)throw new Error("useOnboarding must be used within OnboardingProvider");return t},eGe=({children:t})=>{const[e,n]=A.useState({currentStep:2,selectedModel:null,selectedProvider:"corethink",organizationName:"",apiKeyName:"",generatedApiKey:null}),f={state:e,setCurrentStep:p=>{n(g=>({...g,currentStep:p}))},setSelectedModel:p=>{n(g=>({...g,selectedModel:p}))},setSelectedProvider:p=>{n(g=>({...g,selectedProvider:p}))},setOrganizationName:p=>{n(g=>({...g,organizationName:p}))},setApiKeyName:p=>{n(g=>({...g,apiKeyName:p}))},setGeneratedApiKey:p=>{n(g=>({...g,generatedApiKey:p}))},goToNextStep:()=>{n(p=>({...p,currentStep:Math.min(p.currentStep+1,4)}))},goToPreviousStep:()=>{n(p=>({...p,currentStep:Math.max(p.currentStep-1,2)}))}};return x.jsx(tie.Provider,{value:f,children:t})},Uje=({post:t,onClick:e})=>{const n=r=>new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return x.jsxs(lp,{className:"h-full flex flex-col cursor-pointer bg-surface-white5 backdrop-blur-md rounded-2xl border border-border-subtle shadow-none transition-all duration-300 hover:-translate-y-2 hover:shadow-[0_20px_40px_rgba(0,0,0,0.4)] hover:bg-surface-white10 hover:border-border-subtle/50 group",onClick:e,children:[x.jsx("div",{className:"relative overflow-hidden rounded-t-2xl h-50 bg-muted/80"}),x.jsxs(p0,{className:"grow flex flex-col p-6",children:[x.jsxs("div",{className:"flex gap-2 mb-5 items-center flex-wrap",children:[x.jsx(Uv,{variant:"outline",className:"text-[0.7rem] font-semibold bg-surface-white5 text-foreground/90 border-border-subtle rounded-lg h-6 backdrop-blur-sm font-secondary",children:t.category.toUpperCase()}),t.featured&&x.jsx(Uv,{className:"text-[0.7rem] font-semibold bg-foreground text-background rounded-lg h-6 hover:opacity-90 font-secondary",children:"FEATURED"})]}),x.jsx("h2",{className:"font-semibold mb-4 leading-snug line-clamp-2 text-lg text-foreground group-hover:text-foreground/80 transition-colors font-primary",children:t.title}),x.jsx("p",{className:"mb-5 grow line-clamp-3 text-[0.9rem] leading-relaxed text-muted-foreground font-secondary",children:t.excerpt}),x.jsx("div",{className:"flex gap-1 mb-5 flex-wrap",children:t.tags.slice(0,3).map(r=>x.jsx(Uv,{variant:"outline",className:"text-[0.7rem] font-medium bg-surface-white5 text-muted-foreground border-border-subtle rounded-md h-[22px] font-secondary",children:r},r))}),x.jsx("div",{className:"mt-auto pt-4 border-t border-border-subtle",children:x.jsx("span",{className:"text-sm text-muted-foreground font-secondary",children:n(t.publishDate)})})]})]})},C4=[{id:3,title:"Beyond Brute Force: A Human-Vision Inspired Compositional Reasoning Framework for ARC-AGI-2",slug:"beyond-brute-force-arc-agi-2",excerpt:"We investigate structured abstraction-based reasoning for ARC-AGI-2, achieving a state-of-the-art score of 30.8% by combining neural priors with symbolic rule intersection.",contentPath:"/blogs/beyond-brute-force-arc-agi-2/contents.md",author:"Anugyan Das, Omkar Ghugarkar, Vishvesh Bhat, Julian McAuley",authorRole:"CoreThink AI & UC San Diego & IIT Madras",authorAvatar:"",publishDate:"2026-01-01",readTime:"12 min read",category:"Research Papers",tags:["ARC-AGI-2","Neuro-Symbolic AI","Compositional Reasoning","AI Benchmarks"],featured:!1,image:"",externalUrl:"https://github.com/CoreThink-AI/arc-agi-2-reasoner",externalUrlLabel:"GitHub Repository",integrationDocsUrl:"https://corethink.ai/d
395ocs/overview"},{id:1,title:"CoreThink: A Symbolic Reasoning Layer to reason over Long Horizon Tasks with LLMs",slug:"corethink-symbolic-reasoning",excerpt:"We introduce CoreThink, a state-of-the-art Reasoning Layer built upon General Symbolics, achieving SOTA scores of 66.66% on Livecodebench v6, 89% on Instruction-Following Evals, and 24.4% on ARC-AGI-2.",contentPath:"/blogs/corethink-symbolic-reasoning/contents.md",author:"Jay Vaghasiya, Omkar Ghugarkar, Vishvesh Bhat, Vipul Dholaria, Julian McAuley",authorRole:"CoreThink AI & UC San Diego",authorAvatar:"",publishDate:"2025-08-29",readTime:"8 min read",category:"Research Papers",tags:["Symbolic Reasoning","LLMs","General Symbolics","AI Research"],featured:!1,image:"",externalUrl:"https://arxiv.org/pdf/2509.00971",externalUrlLabel:"Research Paper",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:2,title:"On Generalization in Agentic Tool Calling: CoreThink Agentic Reasoner and MAVEN Dataset",slug:"corethink-maven-dataset",excerpt:"We introduce the CoreThink Agentic Reasoner and MAVEN, a new adversarial OOD benchmark for scientific problem-solving, achieving state-of-the-art performance across all major tool-calling benchmarks.",contentPath:"/blogs/corethink-maven-dataset/contents.md",author:"Omkar Ghugarkar, Vishvesh Bhat, Julian McAuley",authorRole:"CoreThink AI & UC San Diego",authorAvatar:"",publishDate:"2025-10-26",readTime:"10 min read",category:"Research Papers",tags:["Agentic Tool Calling","MAVEN Dataset","OOD Generalization","AI Benchmarks"],featured:!1,image:"",externalUrl:"https://arxiv.org/pdf/2510.22898",externalUrlLabel:"Research Paper",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:4,title:"On Large Reasoning Models (LRMs). Q&A with Vishvesh Bhat",slug:"on-lrms-qna",excerpt:"Vishvesh Bhat discusses the limitations of current LLMs and how CoreThink’s neuro-symbolic approach is revolutionizing complex reasoning for enterprise and agentic workflows.",contentPath:"/blogs/on-lrms-qna/contents.md",author:"Vishvesh Bhat",authorRole:"CoreThink AI",authorAvatar:"",publishDate:"2025-08-10",readTime:"10 min read",category:"Industry Trends",tags:["LRMs","Neuro-Symbolic AI","Enterprise AI","Q&A"],featured:!1,image:"",externalUrl:"https://www.odbms.org/2025/08/on-large-reasoning-models-lrms-qa-with-vishvesh-bhat/",externalUrlLabel:"Read on ODBMS.org",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:5,title:"Today’s LLMs Are Just Parrots Not Capable Of True Reasoning, These Researchers Say",slug:"llms-are-just-parrots",excerpt:"A new research paper suggests that current LLMs’ ability to reason is ‘inherently flawed,’ and that neuro-symbolic reasoning is the technology that can give LLMs genuine reasoning capabilities.",contentPath:"/blogs/llms-are-just-parrots/contents.md",author:"MES Computing",authorRole:"Industry News",authorAvatar:"",publishDate:"2025-08-15",readTime:"6 min read",category:"Industry Trends",tags:["LLMs","Neuro-Symbolic AI","Chain-of-Thought","General Symbolics"],featured:!1,image:"",externalUrl:"https://www.mescomputing.com/news/ai/today-s-llms-are-just-parrots-not-capable-of-true-reasoning-these-researchers-say?itc=refresh",externalUrlLabel:"Read on MES Computing",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:6,title:"The End of Chain-of-Thought? CoreThink and Researchers Propose a Paradigm Shift in AI Reasoning",slug:"end-of-chain-of-thought",excerpt:"Antoine Tardif explores how CoreThink’s General Symbolics layer is challenging the dominance of chain-of-thought prompting by offering genuine, human-readable logic.",contentPath:"/blogs/end-of-chain-of-thought/contents.md",author:"Antoine Tardif",authorRole:"CEO & Founder, Unite.AI",authorAvatar:"",publishDate:"2025-09-04",readTime:"10 min read",category:"Industry Trends",tags:["Chain-of-Thought","Neuro-Symbolic AI","General Symbolics","AI Reasoning"],featured:!1,image:"",externalUrl:"https://www.unite.ai/the-end-of-chain-of-thought-corethink-and-researchers-propose-a-paradigm-shift-in-ai-reasoning/",externalUrlLabel:"Read on Unite.AI",integrationDocsUrl:"https://corethink.ai/d
395ocs/overview"},{id:7,title:"Benchmarking the Benchmarks: A Validity Audit of Tool-Calling Evaluation",slug:"benchmarking-the-benchmarks",excerpt:"We conduct a systematic validity and reproducibility audit of four major tool-calling benchmarks — BFCL v4, τ²-Bench, LiveMCPBench, and MCP-Atlas — finding an 18.5% evaluator-human misalignment rate, and introduce Tool-Veritas and Harness Lab to fix it.",contentPath:"/blogs/benchmarking-the-benchmarks/contents.md",author:"Jay Vaghasiya, Vishvesh Bhat, Muhammad Ahmed Mohsin, Asad Aali",authorRole:"CoreThink AI & Stanford University",authorAvatar:"",publishDate:"2026-06-30",readTime:"11 min read",category:"Research Papers",tags:["Tool-Calling","Benchmark Evaluation","LLM Evaluation","AI Research"],featured:!1,image:"",externalUrl:"https://arxiv.org/pdf/2607.02577",externalUrlLabel:"Research Paper",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:8,title:"Forethought: Verifiable Reasoning from Neurosymbolic Primitive Programming",slug:"forethought-neurosymbolic-reasoning",excerpt:"We introduce Forethought, a neurosymbolic reasoning system that treats reasoning as an explicit, verifiable program built from typed primitives — improving base-model accuracy by ~30% while requiring roughly three orders of magnitude less post-training investment than a dedicated reasoning model.",contentPath:"/blogs/forethought-neurosymbolic-reasoning/contents.md",author:"Vishvesh Bhat, Jay Vaghasiya, Emmanuel Anaya Gonzalez",authorRole:"CoreThink AI & UC San Diego",authorAvatar:"",publishDate:"2026-07-05",readTime:"14 min read",category:"Research Papers",tags:["Neuro-Symbolic AI","Tool-Calling","Verifiable Reasoning","AI Research"],featured:!1,image:"",externalUrl:"https://arxiv.org/pdf/2607.04096",externalUrlLabel:"Research Paper",integrationDocsUrl:"https://corethink.ai/docs/overview"},{id:9,title:"PLVR: Program Learning with Verifiable Rewards (Research Preview)",slug:"plvr-program-learning-verifiable-rewards",excerpt:"PLVR turns 300 teacher traces into a neurosymbolic program that replaces the base model's chain-of-thought — lifting a 20B open model by 32 points on average across tau2-bench and LiveMCPBench, and a 30B model by 13, with no fine-tuning.",contentPath:"/blogs/plvr-program-learning-verifiable-rewards/contents.md",author:"Team CoreThink",authorRole:"CoreThink AI",authorAvatar:"",publishDate:"2026-10-01",readTime:"6 min read",category:"Research Papers",tags:["Neuro-Symbolic AI","Post-Training","Tool-Calling","AI Research"],featured:!1,image:"",externalUrl:"https://github.com/CoreThink-AI/plvr",externalUrlLabel:"GitHub Repository",integrationDocsUrl:"https://corethink.ai/docs/overview"}].sort((t,e)=>new Date(e.publishDate).getTime()-new Date(t.publishDate).getTime()),jje=t=>C4.find(e=>e.slug===t),Hje=()=>{const[t,e]=A.useState(1),n=6,{setMode:r}=TY();A.useEffect(()=>{r(!0)},[r]);const i=Math.ceil(C4.length/n),s=(t-1)*n,a=C4.slice(s,s+n),o=c=>{e(c)},l=c=>{c.category==="Industry Trends"&&c.externalUrl?window.open(c.externalUrl,"_blank"):window.open(`/blog/${c.slug}`,"_blank")};return x.jsx(iS,{navbarClassName:"backdrop-blur-md",children:x.jsx("div",{className:"min-h-screen relative overflow-hidden bg-background",children:x.jsxs("div",{className:"container mx-auto max-w-6xl py-6 px-4 relative z-10 mt-24",children:[x.jsx("div",{className:"text-center mb-16",children:x.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-medium text-foreground tracking-tight font-primary",children:"Blogs"})}),a.length>0?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12",children:a.map(c=>x.jsx(Uje,{post:c,onClick:()=>l(c)},c.id))}),i>1&&x.jsx("div",{className:"flex justify-center mt-16 mb-8",children:x.jsx("div",{className:"flex gap-2",children:Array.from({length:i},(c,d)=>d+1).map(c=>x.jsx("button",{onClick:()=>o(c),className:`w-10 h-10 rounded-lg text-[0.9rem] font-medium transition-all border font-secondary ${t===c?"bg-foreground text-background border-foreground hover:opacity-90":"bg-surface-white5 text-muted-foreground border-border-subtle hover:bg-surface-white10 hover:text-foreground"}`,children:c},c))})})]}):x.jsxs("div",{className:"text-center py-24",children:[x.jsx("h6",{className:"text-xl mb-4 font-medium text-foreground
395/80 font-primary",children:"No blog posts yet"}),x.jsx("p",{className:"text-[0.9rem] text-muted-foreground font-secondary",children:"Check back soon for new content."})]})]})})})};function $je(t,e){if(t==null)return{};var n,r,i=$Te(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)n=s[r],e.indexOf(n)===-1&&{}.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function T4(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Vje(t){if(Array.isArray(t))return T4(t)}function Gje(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qje(t,e){if(t){if(typeof t=="string")return T4(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T4(t,e):void 0}}function Wje(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
396In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A4(t){return Vje(t)||Gje(t)||qje(t)||Wje()}function f0(t){"@babel/helpers - typeof";return f0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f0(t)}function Kje(t,e){if(f0(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(f0(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Yje(t){var e=Kje(t,"string");return f0(e)=="symbol"?e:e+""}function nie(t,e,n){return(e=Yje(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function wf(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$$(Object(n),!0).forEach(function(r){nie(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$$(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Xje(t){var e=t.length;if(e===0||e===1)return t;if(e===2)return[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])];if(e===3)return[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])];if(e>=4)return[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]}var aC={};function Zje(t){if(t.length===0||t.length===1)return t;var e=t.join(".");return aC[e]||(aC[e]=Xje(t)),aC[e]}function Qje(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.filter(function(s){return s!=="token"}),i=Zje(r);return i.reduce(function(s,a){return wf(wf({},s),n[a])},e)}function V$(t){return t.join(" ")}function Jje(t,e){var n=0;return function(r){return n+=1,r.map(function(i,s){return rie({node:i,stylesheet:t,useInlineStyles:e,key:"code-segment-".concat(n,"-").concat(s)})})}}function rie(t){var e=t.node,n=t.stylesheet,r=t.style,i=r===void 0?{}:r,s=t.useInlineStyles,a=t.key,o=e.properties,l=e.type,c=e.tagName,d=e.value;if(l==="text")return d;if(c){var f=Jje(n,s),p;if(!s)p=wf(wf({},o),{},{className:V$(o.className)});else{var g=Object.keys(n).reduce(function(S,_){return _.split(".").forEach(function(E){S.includes(E)||S.push(E)}),S}
vendor: 5,819 bytes, lines 396-400
396,[]),b=o.className&&o.className.includes("token")?["token"]:[],y=o.className&&b.concat(o.className.filter(function(S){return!g.includes(S)}));p=wf(wf({},o),{},{className:V$(y)||void 0,style:Qje(o.className,Object.assign({},o.style,i),n)})}var w=f(e.children);return Pe.createElement(c,$g({key:a},p),w)}}const eHe=(function(t,e){var n=t.listLanguages();return n.indexOf(e)!==-1});var tHe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function G$(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Hc(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?G$(Object(n),!0).forEach(function(r){nie(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G$(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var nHe=/\n/g;function rHe(t){return t.match(nHe)}function iHe(t){var e=t.lines,n=t.startingLineNumber,r=t.style;return e.map(function(i,s){var a=s+n;return Pe.createElement("span",{key:"line-".concat(s),className:"react-syntax-highlighter-line-number",style:typeof r=="function"?r(a):r},"".concat(a,`
397`))})}function sHe(t){var e=t.codeString,n=t.codeStyle,r=t.containerStyle,i=r===void 0?{float:"left",paddingRight:"10px"}:r,s=t.numberStyle,a=s===void 0?{}:s,o=t.startingLineNumber;return Pe.createElement("code",{style:Object.assign({},n,i)},iHe({lines:e.replace(/\n$/,"").split(`
398`),style:a,startingLineNumber:o}))}function aHe(t){return"".concat(t.toString().length,".25em")}function iie(t,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:t}]}}function sie(t,e,n){var r={display:"inline-block",minWidth:aHe(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof t=="function"?t(e):t,s=Hc(Hc({},r),i);return s}function k1(t){var e=t.children,n=t.lineNumber,r=t.lineNumberStyle,i=t.largestLineNumber,s=t.showInlineLineNumbers,a=t.lineProps,o=a===void 0?{}:a,l=t.className,c=l===void 0?[]:l,d=t.showLineNumbers,f=t.wrapLongLines,p=t.wrapLines,g=p===void 0?!1:p,b=g?Hc({},typeof o=="function"?o(n):o):{};if(b.className=b.className?[].concat(A4(b.className.trim().split(/\s+/)),A4(c)):c,n&&s){var y=sie(r,n,i);e.unshift(iie(n,y))}return f&d&&(b.style=Hc({display:"flex"},b.style)),{type:"element",tagName:"span",properties:b,children:e}}function aie(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];t.length===void 0&&(t=[t]);for(var r=0;r<t.length;r++){var i=t[r];if(i.type==="text")n.push(k1({children:[i],className:A4(new Set(e))}));else if(i.children){var s,a=e.concat(((s=i.properties)===null||s===void 0?void 0:s.className)||[]);aie(i.children,a).forEach(function(o){return n.push(o)})}}return n}function oHe(t,e,n,r,i,s,a,o,l){var c,d=aie(t.value),f=[],p=-1,g=0;function b(R,N){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return k1({children:R,lineNumber:N,lineNumberStyle:o,largestLineNumber:a,showInlineLineNumbers:i,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:l,wrapLines:e})}function y(R,N){if(r&&N&&i){var I=sie(o,N,a);R.unshift(iie(N,I))}return R}function w(R,N){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||I.length>0?b(R,N,I):y(R,N)}for(var S=function(){var N=d[g],I=N.children[0].value,P=rHe(I);if(P){var z=I.split(`
399`);z.forEach(function(U,Z){var L=r&&f.length+s,$={type:"text",value:"".concat(U,`
400`)};if(Z===0){var D=d.slice(p+1,g).concat(k1({children:[$],className:N.properties.className})),W=w(D,L);f.push(W)}else if(Z===z.length-1){var G=d[g+1]&&d[g+1].children&&d[g+1].children[0],K={type:"text",value:"".concat(U)};if(G){var Y=k1({children:[K],className:N.properties.className});d.splice(g+1,0,Y)}else{var te=[K],q=w(te,L,N.properties.className);f.push(q)}}else{var j=[$],X=w(j,L,N.properties.className);f.push(X)}}),p=g}g++};g<d.length;)S();if(p!==d.length-1){var _=d.slice(p+1,d.length);if(_&&_.length){var E=r&&f.length+s,T=w(_,E);f.push(T)}}return e?f:(c=[]).concat.apply(c,f)}function lHe(t){var e=t.rows,n=t.stylesheet,r=t.useInlineStyles;return e.map(function(i,s){return rie({node:i,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(s)})})}function oie(t){return t&&typeof t.highlightAuto<"u"}function cHe(t){var e=t.astGenerator,n=t.language,r=t.code,i=t.defaultCodeValue;if(oie(e)){var s=eHe(e,n);return n==="text"?{value:i,language:"text"}:s?e.highlight(n,r):e.highlightAuto(r)}try{return n&&n!=="text"?{value:e.highlight(r,n)}:{value:i}}catch{return{value:i}}}function uHe(t,e){return function(r){var i,s,a=r.language,o=r.children,l=r.style,c=l===void 0?e:l,d=r.customStyle,f=d===void 0?{}:d,p=r.codeTagProps,g=p===void 0?{className:a?"language-".concat(a):void 0,style:Hc(Hc({},c['code[class*="language-"]']),c['code[class*="language-'.concat(a,'"]')])}:p,b=r.useInlineStyles,y=b===void 0?!0:b,w=r.showLineNumbers,S=w===void 0?!1:w,_=r.showInlineLineNumbers,E=_===void 0?!0:_,T=r.startingLineNumber,R=T===void 0?1:T,N=r.lineNumberContainerStyle,I=r.lineNumberStyle,P=I===void 0?{}:I,z=r.wrapLines,U=r.wrapLongLines,Z=U===void 0?!1:U,L=r.lineProps,$=L===void 0?{}:L,D=r.renderer,W=r.PreTag,G=W===void 0?"pre":W,K=r.CodeTag,Y=K===void 0?"code":K,te=r.code,q=te===void 0?(Array.isArray(o)?o[0]:o)||"":te,j=r.astGenerator,X=$je(r,tHe);j=j||t;
400var H=S?Pe.createElement(sHe,{containerStyle:N,codeStyle:g.style||{},numberStyle:P,startingLineNumber:R,codeString:q}):null,ae=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},le=oie(j)?"hljs":"prismjs",Ee=y?Object.assign({},X,{style:Object.assign({},ae,f)}):Object.assign({},X,{className:X.className?"".concat(le," ").concat(X.className):le,style:Object.assign({},f)});if(Z?g.style=Hc({whiteSpace:"pre-wrap"},g.style):g.style=Hc({whiteSpace:"pre"},g.style),!j)return Pe.createElement(G,Ee,H,Pe.createElement(Y,g,q));(z===void 0&&D||Z)&&(z=!0),D=D||lHe;var me=[{type:"text",value:q}],ke=cHe({astGenerator:j,language:a,code:q,defaultCodeValue:me});ke.language===null&&(ke.value=me);var Le=(i=(s=q.match(/\n/g))===null||s===void 0?void 0:s.length)!==null&&i!==void 0?i:0,qe=R+Le,Xe=oHe(ke,z,$,S,E,R,qe,P,Z);return Pe.createElement(G,Ee,Pe.createElement(Y,g,!E&&H,D({rows:Xe,stylesheet:c,useInlineStyles:y})))}}const dHe=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","armasm","arturo","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","awk","bash","basic","batch","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","cilkc","cilkcpp","clike","clojure","cmake","cobol","coffeescript","concurnas","cooklang","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cue","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","gettext","gherkin","git","glsl","gml","gn","go-module","go","gradle","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","linker-script","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","mata","matlab","maxscript","mel","mermaid","metafont","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","odin","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plant-uml","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","rescript","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","stata","stylus","supercollider","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","wgsl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],hHe=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
400h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],q$={0:"�",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:"Ÿ"};function lie(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=48&&e<=57}function fHe(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}function pHe(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}function W$(t){return pHe(t)||lie(t)}const mHe=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function gHe(t,e){const n={},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,i=[];let s=0,a=-1,o="",l,c;n.position&&("start"in n.position||"indent"in n.position?(c=n.position.indent,l=n.position.start):l=n.position);let d=(l?l.line:0)||1,f=(l?l.column:0)||1,p=b(),g;for(s--;++s<=t.length;)if(g===10&&(f=(c?c[a]:0)||1),g=t.charCodeAt(s),g===38){const S=t.charCodeAt(s+1);if(S===9||S===10||S===12||S===32||S===38||S===60||Number.isNaN(S)||r&&S===r){o+=String.fromCharCode(g),f++;continue}const _=s+1;let E=_,T=_,R;if(S===35){T=++E;const $=t.charCodeAt(T);$===88||$===120?(R="hexadecimal",T=++E):R="decimal"}else R="named";let N="",I="",P="";const z=R==="named"?W$:R==="decimal"?lie:fHe;for(T--;++T<=t.length;){const $=t.charCodeAt(T);if(!z($))break;P+=String.fromCharCode($),R==="named"&&hHe.includes(P)&&(N=P,I=qg(P))}let U=t.charCodeAt(T)===59;if(U){T++;const $=R==="named"?qg(P):!1;$&&(N=P,I=$)}let Z=1+T-_,L="";if(!(!U&&n.nonTerminated===!1))if(!P)R!=="named"&&y(4,Z);else if(R==="named"){if(U&&!I)y(5,1);else if(N!==P&&(T=E+N.length,Z=1+T-E,U=!1),!U){const $=N?1:3;if(n.attribute){const D=t.charCodeAt(T);D===61?(y($,Z),I=""):W$(D)?I="":y($,Z)}else y($,Z)}L=I}else{U||y(2,Z);let $=Number.parseInt(P,R==="hexadecimal"?16:10);if(bHe($))y(7,Z),L="�";else if($ in q$)y(6,Z),L=q$[$];else{let D="";yHe($)&&y(6,Z),$>65535&&($-=65536,D+=String.fromCharCode($>>>10|55296),$=56320|$&1023),L=D+String.fromCharCode($)}}if(L){w(),p=b(),s=T-1,f+=T-_+1,i.push(L);const $=b();$.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,L,{start:p,end:$},t.slice(_-1,T)),p=$}else P=t.slice(_-1,T),o+=P,f+=P.length,s=T-1}else g===10&&(d++,a++,f=0),Number.isNaN(g)?w():(o+=String.fromCharCode(g),f++);return i.join("");function b(){return{line:d,column:f,offset:s+((l?l.offset:0)||0)}}function y(S,_){let E;n.warning&&(E=b(),E.column+=_,E.offset+=_,n.warning.call(n.warningContext||void 0,mHe[S],E,S))}function w(){o&&(i.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:p,end:b()}),o="")}}function bHe(t){return t>=55296&&t<=57343||t>1114111}function yHe(t){return t>=1&&t<=8||t===11||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534}var vHe=0,zv={},Dr={util:{type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++vHe}),t.__id},clone:function t(e,n){n=n||{};var r,i;switch(Dr.util.type(e)){case"Object":if(i=Dr.util.objId(e),n[i])return n[i];r={},n[i]=r;for(var s in e)e.hasOwnProperty(s)&&(r[s]=t(e[s],n));return r;case"Array":return i=Dr.util.objId(e),n[i]?n[i]:(r=[],n[i]=r,e.forEach(function(a,o){r[o]=t(a,n)}),r);default:return e}}},languages:{plain:zv,plaintext:zv,text:zv,txt:zv,extend:function(t,e){var n=Dr.util.clone(Dr.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){r=r||Dr.languages;var i=r[t],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var o in n)n.hasOwnProperty(o)&&(s[o]=n[o]);n.hasOwnProperty(a)||(s[a]=i[a])}var l=r[t];return r[t]=s,Dr.languages.DFS(Dr.languages,function(c,d){d===l&&c!=t&&(this[c]=s)}),s},DFS:function t(e,n,r,i){i=i||{};var s=Dr.util.objId;
vendor: 14,636 bytes, line 400
400for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var o=e[a],l=Dr.util.type(o);l==="Object"&&!i[s(o)]?(i[s(o)]=!0,t(o,n,null,i)):l==="Array"&&!i[s(o)]&&(i[s(o)]=!0,t(o,n,a,i))}}},plugins:{},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(Dr.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=Dr.tokenize(r.code,r.grammar),Dr.hooks.run("after-tokenize",r),Eg.stringify(Dr.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var i=new wHe;return C1(i,i.head,t),cie(t,i,e,i.head,0),_He(i)},hooks:{all:{},add:function(t,e){var n=Dr.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=Dr.hooks.all[t];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(e)}},Token:Eg};function Eg(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=(r||"").length|0}function K$(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function cie(t,e,n,r,i,s){for(var a in n)if(!(!n.hasOwnProperty(a)||!n[a])){var o=n[a];o=Array.isArray(o)?o:[o];for(var l=0;l<o.length;++l){if(s&&s.cause==a+","+l)return;var c=o[l],d=c.inside,f=!!c.lookbehind,p=!!c.greedy,g=c.alias;if(p&&!c.pattern.global){var b=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,b+"g")}for(var y=c.pattern||c,w=r.next,S=i;w!==e.tail&&!(s&&S>=s.reach);S+=w.value.length,w=w.next){var _=w.value;if(e.length>t.length)return;if(!(_ instanceof Eg)){var E=1,T;if(p){if(T=K$(y,S,t,f),!T||T.index>=t.length)break;var P=T.index,R=T.index+T[0].length,N=S;for(N+=w.value.length;P>=N;)w=w.next,N+=w.value.length;if(N-=w.value.length,S=N,w.value instanceof Eg)continue;for(var I=w;I!==e.tail&&(N<R||typeof I.value=="string");I=I.next)E++,N+=I.value.length;E--,_=t.slice(S,N),T.index-=S}else if(T=K$(y,0,_,f),!T)continue;var P=T.index,z=T[0],U=_.slice(0,P),Z=_.slice(P+z.length),L=S+_.length;s&&L>s.reach&&(s.reach=L);var $=w.prev;U&&($=C1(e,$,U),S+=U.length),SHe(e,$,E);var D=new Eg(a,d?Dr.tokenize(z,d):z,g,z);if(w=C1(e,$,D),Z&&C1(e,w,Z),E>1){var W={cause:a+","+l,reach:L};cie(t,e,n,w.prev,S,W),s&&W.reach>s.reach&&(s.reach=W.reach)}}}}}}function wHe(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function C1(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function SHe(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}function _He(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}const uie=Dr;function die(){}die.prototype=uie;const ee=new die;ee.highlight=xHe;ee.register=EHe;ee.alias=kHe;ee.registered=CHe;ee.listLanguages=THe;ee.util.encode=AHe;ee.Token.stringify=R4;function xHe(t,e){if(typeof t!="string")throw new TypeError("Expected `string` for `value`, got `"+t+"`");let n,r;if(e&&typeof e=="object")n=e;else{if(r=e,typeof r!="string")throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(Object.hasOwn(ee.languages,r))n=ee.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:uie.highlight.call(ee,t,n,r)}}function EHe(t){if(typeof t!="function"||!t.displayName)throw new Error("Expected `function` for `syntax`, got `"+t+"`");Object.hasOwn(ee.languages,t.displayName)||t(ee)}function kHe(t,e){const n=ee.languages;let r={};typeof t=="string"?e&&(r[t]=e):r=t;let i;for(i in r)if(Object.hasOwn(r,i)){const s=r[i],a=typeof s=="string"?[s]:s;let o=-1;for(;++o<a.length;)n[a[o]]=n[i]}}function CHe(t){if(typeof t!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+t+"`");return Object.hasOwn(ee.languages,t)}function THe(){const t=ee.languages,e=[];let n;for(n in t)Object.hasOwn(t,n)&&typeof t[n]=="object"&&e.push(n);return e}function R4(t,e){if(typeof t=="string")return{type:"text",value:t};if(Array.isArray(t)){const r=[];let i=-1;for(;++i<t.length;)t[i]!==null&&t[i]!==void 0&&t[i]!==""&&r.push(R4(t[i],e));return r}const n={attributes:{},classes:["token",t.type],content:R4(t.content,e),language:e,tag:"span",type:t.type};return t.alias&&n.classes.push(...typeof t.alias=="string"?[t.alias]:t.alias),ee.hooks.run("wrap",n),gre(n.tag+"."+n.classes.join("."),RHe(n.attributes),n.content)}function AHe(t){return t}function RHe(t){let e;for(e in t)Object.hasOwn(t,e)&&(t[e]=gHe(t[e]));return t}const NHe={'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"}};ri.displayName="markup";ri.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function ri(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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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(e){e.type==="entity"&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};s["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:s},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},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}eh.displayName="css";eh.aliases=[];function eh(t){(function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(t)}qt.displayName="clike";qt.aliases=[];function qt(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:/[{}[\];(),.:]/}}aN.displayName="regex";aN.aliases=[];function aN(t){(function(e){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a="(?:[^\\\\-]|"+r.source+")",o=RegExp(a+"-"+a),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.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:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":s,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":l}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}Ei.displayName="javascript";Ei.aliases=["js"];function Ei(t){t.register(qt),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+)*(?
400:\.(?:\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:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),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}oN.displayName="abap";oN.aliases=[];function oN(t){t
vendor: 7,916 bytes, line 400
400.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|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/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:/[,.:()]/}}
vendor: 7,540 bytes, line 400
400lN.displayName="abnf";lN.aliases=[];function lN(t){(function(e){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.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-])"+n+"|<"+n+">)(?![\\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)}cN.displayName="actionscript";cN.aliases=[];function cN(t){t.register(Ei),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}})}uN.displayName="ada";uN.aliases=[];function uN(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}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},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|or|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}}dN.displayName="agda";dN.aliases=[];function dN(t){(function(e){e.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)}hN.displayName="al";hN.aliases=[];function hN(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:/[()\[\]{}:.;,]/}}fN.displayName="antlr4";fN.aliases=["g4"];function fN(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}pN.displayName="apacheconf";pN.aliases=[];function pN(t){t
vendor: 8,176 bytes, line 400
400.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:/\^?.*\$|\^.*\$?/}}
400ib.displayName="sql";ib.aliases=[];function ib(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:/[;[\]()`,.]/}}mN.displayName="apex";mN.aliases=[];function mN(t){t.register(qt),t.register(ib),(function(e){var n=/\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|
400system|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,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return n.source});function i(a){return RegExp(a.replace(/<CLASS-NAME>/g,function(){return r}),"i")}var s={keyword:n,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:n,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:/[()\[\]{};,.]/}})(t)}gN.displayName="apl";gN.aliases=[];function gN(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"}}}bN.displayName="applescript";bN.aliases=[];function bN(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:/[{}():,¬«»《》]/}}yN.displayName="aql";yN.aliases=[];function yN(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,}|[=!]~|[!=<>
vendor: 5,258 bytes, line 400
400]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}Zo.displayName="c";Zo.aliases=[];function Zo(t){t.register(qt),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}Op.displayName="cpp";Op.aliases=[];function Op(t){t.register(Zo),(function(e){var n=/\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/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return n.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return n.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:n,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/}),e.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 r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])})(t)}vN.displayName="arduino";vN.aliases=["ino"];function vN(t){t.register(Op),t.languages.arduino=t.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|
400Client|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/}),t.languages.ino=t.languages.arduino}wN.displayName="arff";wN.aliases=[];function wN(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:/[{},]/}}SN.displayName="armasm";SN.aliases=["arm-asm"];function SN(t){t.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},t.languages["arm-asm"]=t.languages.armasm}
400h_.displayName="bash";h_.aliases=["sh","shell"];function h_(t){(function(e){var n="\\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_
400CURRENT_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",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),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("(\\{)"+n),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})/};e.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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|java|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|sysctl|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[<>]&?|[<>][&=]?|&[>
vendor: 17,255 bytes, line 400
400&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o<s.length;o++)a[s[o]]=e.languages.bash[s[o]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(t)}f_.displayName="yaml";f_.aliases=["yml"];function f_(t){(function(e){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ 	]+"+n.source+")?|"+n.source+"(?:[ 	]+"+r.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}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return l});return RegExp(d,c)}e.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 i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(t)}_N.displayName="markdown";_N.aliases=["md"];function _N(t){t.register(ri),(function(e){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(o){return o=o.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+o+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.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:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<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:r(/!?\[(?:(?!\])<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(o){["url","bold","italic","strike","code-snippet"].forEach(function(l){o!==l&&(e.languages.markdown[o].inside.content.inside[l]=e.languages.markdown[l])})}),e.hooks.add("after-tokenize",function(o){if(o.language!=="markdown"&&o.language!=="md")return;function l(c){if(!(!c||typeof c=="string"))for(var d=0,f=c.length;d<f;d++){var p=c[d];if(p.type!=="code"){l(p.content);continue}var g=p.content[1],b=p.content[3];if(g&&b&&g.type==="code-language"&&b.type==="code-block"&&typeof g.content=="string"){var y=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");y=(/[a-z][\w-]*/i.exec(y)||[""])[0].toLowerCase();var w="language-"+y;b.alias?typeof b.alias=="string"?b.alias=[b.alias,w]:b.alias.push(w):b.alias=[w]}}}l(o.tokens)}),e.hooks.add("wrap",function(o){if(o.type==="code-block"){for(var l="",c=0,d=o.classes.length;c<d;c++){var f=o.classes[c],p=/language-(.+)/.exec(f);if(p){l=p[1];break}}var g=e.languages[l];if(g)o.content=e.highlight(o.content.value,g,l);else if(l&&l!=="none"&&e.plugins.autoloader){var b="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);o.attributes.id=b,e.plugins.autoloader.loadLanguages(l,function(){var y=document.getElementById(b);y&&(y.innerHTML=e.highlight(y.textContent,e.languages[l],l))})}}}),RegExp(e.languages.markup.tag.pattern.source,"gi"),e.languages.md=e.languages.markdown})(t)}xN.displayName="arturo";xN.aliases=["art"];function xN(t){(function(e){var n=function(r,i){return{pattern:RegExp(/\{!/.source+"(?:"+(i||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:e.languages[r]},string:/[\s\S]+/}}};e.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":n("html"),"css-string":n("css"),"js-string":n("js"),"md-string":n("md"),"sql-string":n("sql"),"sh-string":n("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},e.languages.art=e.languages.arturo})(t)}EN.displayName="asciidoc";EN.aliases=["adoc"];function EN(t){(function(e){var n={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+$).+/}},r=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\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,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\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:n,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:n.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:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(s){s=s.split(" ");for(var a={},o=0,l=s.length;o<l;o++)a[s[o]]=r[s[o]];return a}n.inside.interpreted.inside.rest=i("macro inline replacement entity"),r["passthrough-block"].inside.rest=i("macro"),r["literal-block"].inside.rest=i("callout"),r.table.inside.rest=i("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"),r["other-block"].inside.rest=i("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),r.title.inside.rest=i("macro inline replacement entity"),e.hooks.add("wrap",function(s){s.type==="entity"&&(s.attributes.title=s.content.value.replace(/&amp;/,"&"))}),e.languages.adoc=e.languages.asciidoc})(t)}Ip.displayName="csharp";Ip.aliases=["cs","dotnet"];function Ip(t){t.register(qt),(function(e){function n(q,j){return q.replace(/<<(\d+)>>/g,function(X,H){return"(?:"+j[+H]+")"})}function r(q,j,X){return RegExp(n(q,j),"")}function i(q,j){for(var X=0;X<j;X++)q=q.replace(/<<self>>/g,function(){return"(?:"+q+")"});return q.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 a(q){return"\\b(?:"+q.trim().replace(/ /g,"|")+")\\b"}var o=a(s.typeDeclaration),l=RegExp(a(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),c=a(s.typeDeclaration+" "+s.contextual+" "+s.other),d=a(s.type+" "+s.typeDeclaration+" "+s.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=i(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,b=n(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),y=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,b]),w=/\[\s*(?:,\s*)*\]/.source,S=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,w]),_=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,p,w]),E=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),T=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,w]),R={keyword:l,punctuation:/[<>()?,.:[\]]/},N=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,I=/"(?:\\.|[^\\"\r\n])*"/.source,P=/@"(?:""|\\[\s\S]|[^\\"])
vendor: 4,130 bytes, line 400
400*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[P]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[I]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:R},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,T]),lookbehind:!0,inside:R},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[o,b]),lookbehind:!0,inside:R},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:R},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[S]),lookbehind:!0,inside:R},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[T,d,g]),inside:R}],keyword:l,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:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:R},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[T,y]),inside:R,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[T]),lookbehind:!0,inside:R,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:R}}},"type-list":{pattern:r(/\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,[o,b,g,T,l.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:l,"class-name":{pattern:RegExp(T),greedy:!0,inside:R},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 z=I+"|"+N,U=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),Z=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[U]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,$=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,Z]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,$]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[Z]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,W=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[U]),2),G=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[W,D]),K=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[z]),2),Y=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[K,D]);function te(q,j){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[q]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[j,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}}
vendor: 1,964 bytes, line 400
400,string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[G]),lookbehind:!0,greedy:!0,inside:te(G,W)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Y]),lookbehind:!0,greedy:!0,inside:te(Y,K)}],char:{pattern:RegExp(N),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp})(t)}kN.displayName="aspnet";kN.aliases=[];function kN(t){t.register(Ip),t.register(ri),t.languages.aspnet=t.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:t.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:t.languages.csharp}}}),t.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.insertBefore("inside","punctuation",{directive:t.languages.aspnet.directive},t.languages.aspnet.tag.inside["attr-value"]),t.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),t.languages.insertBefore("aspnet",t.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:t.languages.csharp||{}}})}CN.displayName="asm6502";CN.aliases=[];function CN(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|T
400XA|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:/[(),:]/}}TN.displayName="asmatmel";TN.aliases=[];function TN(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:/[(),:]/}}AN.displayName="autohotkey";AN.aliases=[];function AN(t){t
vendor: 8,745 bytes, line 400
400.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/,command:{pattern:/\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,alias:"selector"},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,directive:{pattern:/#[a-z]+\b/i,alias:"important"},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:/[{}[\]():,]/}}
400RN.displayName="autoit";RN.aliases=[];function RN(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:/[\[\]().,:]/}}NN.displayName="avisynth";NN.aliases=["avs"];function NN(t){(function(e){function n(c,d){return c.replace(/<<(\d+)>>/g,function(f,p){return d[+p]})}function r(c,d,f){return RegExp(n(c,d),f)}var i=/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("|"),a=[/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("|"),o=[/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("|"),l=[s,a,o].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[l],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"}
vendor: 24,228 bytes, line 400
400,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:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth})(t)}ON.displayName="avro-idl";ON.aliases=["avdl"];function ON(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"]}IN.displayName="awk";IN.aliases=["gawk"];function IN(t){t.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},t.languages.gawk=t.languages.awk}p_.displayName="basic";p_.aliases=[];function p_(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:/[,;:()]/}}DN.displayName="batch";DN.aliases=[];function DN(t){(function(e){var n=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:r,variable:n,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:i,parameter:r,variable:n,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:i,parameter:r,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}MN.displayName="bbcode";MN.aliases=["shortcode"];function MN(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}LN.displayName="bbj";LN.aliases=[];function LN(t){(function(e){e.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(t)}BN.displayName="bicep";BN.aliases=[];function BN(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}PN.displayName="birb";PN.aliases=[];function PN(t){t.register(qt),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"}})}FN.displayName="bison";FN.aliases=[];function FN(t){t.register(Zo),t.languages.bison=t.languages.extend("c",{}),t.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:t.languages.c}},comment:t.languages.c.comment,string:t.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}zN.displayName="bnf";zN.aliases=["rbnf"];function zN(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}UN.displayName="bqn";UN.aliases=[];function UN(t){t.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}jN.displayName="brainfuck";jN.aliases=[];function jN(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}HN.displayName="brightscript";HN.aliases=[];function HN(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}$N.displayName="bro";$N.aliases=[];function $N(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:/[{}[\];(),.:]/}}VN.displayName="bsl";VN.aliases=["oscript"];function VN(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}GN.displayName="cfscript";GN.aliases=["cfc"];function GN(t){t.register(qt),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}qN.displayName="chaiscript";qN.aliases=[];function qN(t){t.register(qt),t.register(Op),t.languages.chaiscript=t.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:[t.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),t.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),t.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:t.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}WN.displayName="cil";WN.aliases=[];function WN(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]+/}}KN.displayName="cilkc";KN.aliases=["cilk-c"];function KN(t){t.register(Zo),t.languages.cilkc=t.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),t.languages["cilk-c"]=t.languages.cilkc}YN.displayName="cilkcpp";YN.aliases=["cilk","cilk-cpp"];function YN(t){t.register(Op),t.languages.cilkcpp=t.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),t.languages["cilk-cpp"]=t.languages.cilkcpp,t.languages.cilk=t.languages.cilkcpp}XN.displayName="clojure";XN.aliases=[];function XN(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:/[{}\[\](),]/}}ZN.displayName="cmake";ZN.aliases=[];function ZN(t){t
vendor: 10,469 bytes, line 400
400.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_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\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|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:/[()>}]|\$[<{]/}}
400QN.displayName="cobol";QN.aliases=[];function QN(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|LINAG
400E|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:/[.:,()]/}}JN.displayName="coffeescript";JN.aliases=["coffee"];function JN(t){t.register(Ei),(function(e){var n=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],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"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript})(t)}eO.displayName="concurnas";eO.aliases=["conc"];function eO(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
400][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}tO.displayName="csp";tO.aliases=[];function tO(t){(function(e){function n(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}e.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:n(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:n(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:n(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:n(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:n(/[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:n(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:n(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(t)}nO.displayName="cooklang";nO.aliases=[];function nO(t){(function(e){var n=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,i=/\{[^}#@]*\}/.source,s=r+i,a=/(?:h|hours|hrs|m|min|minutes)/.source,o={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};e.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+s+"|"+n+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+s+"|"+n+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":o}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+a+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(t)}rO.displayName="coq";rO.aliases=[];function rO(t){(function(e){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,"[]"),e.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return n})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(n),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)}Dp.displayName="ruby";Dp.aliases=["rb"];function Dp(t){t.register(qt),(function(e){e.languages.ruby=e.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:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2}
vendor: 4,108 bytes, line 400
400)*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,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:n,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+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.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)/}),e.languages.rb=e.languages.ruby})(t)}iO.displayName="crystal";iO.aliases=[];function iO(t){t.register(Dp),(function(e){e.languages.crystal=e.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:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.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:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.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}\}
400)))'/,greedy:!0}})})(t)}sO.displayName="css-extras";sO.aliases=[];function sO(t){t.register(eh),(function(e){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+n.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":[n,{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:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=r,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.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|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:s})})(t)}aO.displayName="csv";aO.aliases=[];function aO(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}oO.displayName="cue";oO.aliases=[];function oO(t){(function(e){var n=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,i="(?:"+r.replace(/<esc>/g,n)+")";e.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+i+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\
vendor: 6,735 bytes, line 400
400w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},e.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=e.languages.cue})(t)}lO.displayName="cypher";lO.aliases=[];function lO(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:/[()[\]{},;.]/}}cO.displayName="d";cO.aliases=[];function cO(t){t.register(qt),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"}})}uO.displayName="dart";uO.aliases=[];function uO(t){t.register(qt),(function(e){var n=[/\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/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(r+/[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:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[i,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.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:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}dO.displayName="dataweave";dO.aliases=[];function dO(t){(function(e){e.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)}hO.displayName="dax";hO.aliases=[];function hO(t){t
vendor: 3,429 bytes, line 400
400.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:/[;\[\](){}`,.]/}}
vendor: 22,685 bytes, lines 400-402
400fO.displayName="dhall";fO.aliases=[];function fO(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}pO.displayName="diff";pO.aliases=[];function pO(t){(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],s=[];/^\w+$/.test(r)||s.push(/\w+/.exec(r)[0]),r==="diff"&&s.push("bold"),e.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r
401?|
402|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:n})})(t)}ki.displayName="markup-templating";ki.aliases=[];function ki(t){t.register(ri),(function(e){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,s,a){if(r.language===i){var o=r.tokenStack=[];r.code=r.code.replace(s,function(l){if(typeof a=="function"&&!a(l))return l;for(var c=o.length,d;r.code.indexOf(d=n(i,c))!==-1;)++c;return o[c]=l,d}),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=e.languages[i];var s=0,a=Object.keys(r.tokenStack);function o(l){for(var c=0;c<l.length&&!(s>=a.length);c++){var d=l[c];if(typeof d=="string"||d.content&&typeof d.content=="string"){var f=a[s],p=r.tokenStack[f],g=typeof d=="string"?d:d.content,b=n(i,f),y=g.indexOf(b);if(y>-1){++s;var w=g.substring(0,y),S=new e.Token(i,e.tokenize(p,r.grammar),"language-"+i,p),_=g.substring(y+b.length),E=[];w&&E.push.apply(E,o([w])),E.push(S),_&&E.push.apply(E,o([_])),typeof d=="string"?l.splice.apply(l,[c,1].concat(E)):d.content=E}}else d.content&&o(d.content)}return l}o(r.tokens)}}})})(t)}mO.displayName="django";mO.aliases=["jinja2"];function mO(t){t.register(ki),(function(e){e.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 n=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=e.languages["markup-templating"];e.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"django",n)}),e.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"jinja2",n)}),e.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"jinja2")})})(t)}gO.displayName="dns-zone-file";gO.aliases=["dns-zone"];function gO(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"]}bO.displayName="docker";bO.aliases=["dockerfile"];function bO(t){(function(e){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return n}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,d){return c=c.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return r}),RegExp(c,d)}e.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:l(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(t)}yO.displayName="dot";yO.aliases=["gv"];function yO(t){(function(e){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function i(s,a){return RegExp(s.replace(/<ID>/g,function(){return n}),a)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:i(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:i(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot})(t)}vO.displayName="ebnf";vO.aliases=[];function vO(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:/[-=|*/!]/}}wO.displayName="editorconfig";wO.aliases=[];function wO(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:/^=/}}}}SO.displayName="eiffel";SO.aliases=[];function SO(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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}_O.displayName="ejs";_O.aliases=["eta"];function _O(t){t.register(Ei),t.register(ki),(function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(n){var r=/<%(?!%)[\s\S]+?%>/g;e.languages["markup-templating"].buildPlaceholders(n,"ejs",r)}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),e.languages.eta=e.languages.ejs})(t)}xO.displayName="elixir";xO.aliases=[];function xO(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(e){e.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}EO.displayName="elm";EO.aliases=[];function EO(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:/[{}[\]|(),.:]/}}m_.displayName="lua";m_.aliases=[];function m_(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:/[\[\](){},;]|\.+|:+/}}kO.displayName="etlua";kO.aliases=[];function kO(t){t.register(m_),t.register(ki),(function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(n){var r=/<%[\s\S]+?%>/g;e.languages["markup-templating"].buildPlaceholders(n,"etlua",r)}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})})(t)}CO.displayName="erb";CO.aliases=[];function CO(t){t.register(ki),t.register(Dp),(function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(n){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;e.languages["markup-templating"].buildPlaceholders(n,"erb",r)}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"erb")})})(t)}TO.displayName="erlang";TO.aliases=[];function TO(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|begin|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:/[()[\]{}:;,.#|]|<<|>>/}}AO.displayName="excel-formula";AO.aliases=["xls","xlsx"];function AO(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:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",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:"selector"},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"]}RO.displayName="fsharp";RO.aliases=[];function RO(t){t.register(qt),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}})}NO.displayName="factor";NO.aliases=[];function NO(t){(function(e){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:n},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:n}],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:r.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:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"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:r}},s=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")}
402,a=function(c){return new RegExp("(^|\\s)(?:"+c.map(s).join("|")+")(?=\\s|$)")},o={"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(o).forEach(function(c){i[c].pattern=a(o[c])});var l=["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*","
vendor: 4,882 bytes, line 402
402sum-outputs","input<sequence-unsafe","output>sequence"];i.combinators.pattern=a(l),e.languages.factor=i})(t)}OO.displayName="false";OO.aliases=[];function OO(t){(function(e){e.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)}IO.displayName="firestore-security-rules";IO.aliases=[];function IO(t){t.register(qt),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:/,/}}})}DO.displayName="flow";DO.aliases=[];function DO(t){t.register(Ei),(function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.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 e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.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)}MO.displayName="fortran";MO.aliases=[];function MO(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:/\(\/|\/\)|[(),;:&]/}}LO.displayName="ftl";LO.aliases=[];function LO(t){t.register(ki),(function(e){for(var n=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)n=n.replace(/<expr>/g,function(){return n});n=n.replace(/<expr>/g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return n})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return n})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>
402$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},e.hooks.add("before-tokenize",function(s){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return n}),"gi");e.languages["markup-templating"].buildPlaceholders(s,"ftl",a)}),e.hooks.add("after-tokenize",function(s){e.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})})(t)}BO.displayName="gml";BO.aliases=["gamemakerlanguage"];function BO(t){t.register(qt),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|trianglestr
402ip)|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/})}PO.displayName="gap";PO.aliases=[];function PO(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}FO.displayName="gcode";FO.aliases=[];function FO(t){t.languages.gcode={comment:/;
402.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}zO.displayName="gdscript";zO.aliases=[];function zO(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:/[.:,;()[\]{}]/}}UO.displayName="gedcom";UO.aliases=[];function UO(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"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}jO.displayName="gettext";jO.aliases=["po"];function jO(t){t.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},t.languages.po=t.languages.gettext}HO.displayName="gherkin";HO.aliases=[];function HO(t){(function(e){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.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|Backgroun
402d|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("("+n+")(?:"+n+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(n),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ư
402ng|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)}$O.displayName="git";$O.aliases=[];function $O(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}}VO.displayName="glsl";VO.aliases=[];function VO(t){t.register(Zo),t.languages.glsl=t.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/})}GO.displayName="gn";GO.aliases=["gni"];function GO(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}
vendor: 10,912 bytes, line 402
402qO.displayName="linker-script";qO.aliases=["ld"];function qO(t){t.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},t.languages.ld=t.languages["linker-script"]}WO.displayName="go";WO.aliases=[];function WO(t){t.register(qt),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"]}KO.displayName="go-module";KO.aliases=["go-mod"];function KO(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:/[()[\],]/}}YO.displayName="gradle";YO.aliases=[];function YO(t){t.register(qt),(function(e){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=e.languages.gradle})(t)}XO.displayName="graphql";XO.aliases=[];function XO(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(n){if(n.language!=="graphql")return;var r=n.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),i=0;function s(w){return r[i+w]}function a(w,S){S=S||0;for(var _=0;_<w.length;_++){var E=s(_+S);if(!E||E.type!==w[_])return!1}return!0}function o(w,S){for(var _=1,E=i;E<r.length;E++){var T=r[E],R=T.content;if(T.type==="punctuation"&&typeof R=="string"){if(w.test(R))_++;else if(S.test(R)&&(_--,_===0))return E}}return-1}function l(w,S){var _=w.alias;_?Array.isArray(_)||(w.alias=_=[_]):w.alias=_=[],_.push(S)}for(;i<r.length;){var c=r[i++];if(c.type==="keyword"&&c.content==="mutation"){var d=[];if(a(["definition-mutation","punctuation"])&&s(1).content==="("){i+=2;var f=o(/^\($/,/^\)$/);if(f===-1)continue;for(;i<f;i++){var p=s(0);p.type==="variable"&&(l(p,"variable-input"),d.push(p.content))}i=f+1}if(a(["punctuation","property-query"])&&s(0).content==="{"&&(i++,l(s(0),"property-mutation"),d.length>0)){var g=o(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b<g;b++){var y=r[b];y.type==="variable"&&d.indexOf(y.content)>=0&&l(y,"variable-input")}}}}})}ZO.displayName="groovy";ZO.aliases=[];function ZO(t){t.register(qt),(function(e){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,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:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=e.languages.groovy})(t)}QO.displayName="less";QO.aliases=[];function QO(t){t.register(eh),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"}})}JO.displayName="scss";JO.aliases=[];function JO(t){t.register(eh),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}e6.displayName="textile";e6.aliases=[];function e6(t){t.register(ri),(function(e){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function i(f,p){return RegExp(f.replace(/<MOD>/g,function(){return"(?:"+n+")"}).replace(/<PAR>/g,function(){return"(?:"+r+")"}),p||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:<MOD>|<PAR>|[<>
402=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])<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:i(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")<MOD>+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:<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:/[()]/}}}}}),o=a.phrase.inside,l={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=o.inline.inside;c.bold.inside=l,c.italic.inside=l,c.inserted.inside=l,c.deleted.inside=l,c.span.inside=l;var d=o.table.inside;d.inline=l.inline,d.link=l.link,d.image=l.image,d.footnote=l.footnote,d.acronym=l.acronym,d.mark=l.mark})(t)}t6.displayName="haml";t6.aliases=[];function t6(t){t.register(Dp),(function(e){e.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:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.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:e.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:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}
402(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,a=r.length;s<a;s++){var o=r[s];o=typeof o=="string"?{filter:o,language:o}:o,e.languages[o.language]&&(i["filter-"+o.filter]={pattern:RegExp(n.replace("{{filter_name}}",function(){return o.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("haml","filter",i)})(t)}n6.displayName="handlebars";n6.aliases=["hbs","mustache"];function n6(t){t.register(ki),(function(e){e.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]+/},e.hooks.add("before-tokenize",function(n){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(n,"handlebars",r)}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),e.languages.hbs=e.languages.handlebars,e.languages.mustache=e.languages.handlebars})(t)}sb.displayName="haskell";sb.aliases=["hs"];function sb(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}r6.displayName="haxe";r6.aliases=[];function r6(t){t.register(qt),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}|[-+*/%!=&|^])=?|[?:~]/}
vendor: 14,425 bytes, line 402
402),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"}})}i6.displayName="hcl";i6.aliases=[];function i6(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:/[=\[\]{}]/}}s6.displayName="hlsl";s6.aliases=[];function s6(t){t.register(Zo),t.languages.hlsl=t.languages.extend("c",{"class-name":[t.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/})}a6.displayName="hoon";a6.aliases=[];function a6(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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}o6.displayName="hpkp";o6.aliases=[];function o6(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}l6.displayName="hsts";l6.aliases=[];function l6(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}ab.displayName="json";ab.aliases=["webmanifest"];function ab(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}c6.displayName="uri";c6.aliases=["url"];function c6(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}u6.displayName="http";u6.aliases=[];function u6(t){(function(e){function n(d){return RegExp("(^(?:"+d+"):[ 	]*(?![ 	]))[^]+","i")}e.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:e.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:n(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=e.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},s={"application/json":!0,"application/xml":!0};function a(d){var f=d.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+d+"|"+p+")"}var o;for(var l in i)if(i[l]){o=o||{};var c=s[l]?a(l):l;o[l.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[l]}}o&&e.languages.insertBefore("http","header",o)})(t)}d6.displayName="ichigojam";d6.aliases=[];function d6(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:/[\[,;:()\]]/}}h6.displayName="icon";h6.aliases=[];function h6(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:/[\[\](){},;]/}}f6.displayName="icu-message-format";f6.aliases=[];function f6(t){(function(e){function n(l,c){return c<=0?/[]/.source:l.replace(/<SELF>/g,function(){return n(l,c-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:r,greedy:!0,inside:{escape:i}},a=n(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return r.source}),8),o={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),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":o,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":o,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+n(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:s},o.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]})(t)}p6.displayName="idris";p6.aliases=["idr"];function p6(t){t.register(sb),t.languages.idris=t.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}),t.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.idr=t.languages.idris}m6.displayName="ignore";m6.aliases=["gitignore","hgignore","npmignore"];function m6(t){(function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore})(t)}g6.displayName="inform7";g6.aliases=[];function g6(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|c
402onceal(?: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"}}b6.displayName="ini";b6.aliases=[];function b6(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:/=/}}y6.displayName="io";y6.aliases=[];function y6(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|DNSRes
vendor: 4,807 bytes, line 402
402olver|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:/[{}[\];(),.:]/}}v6.displayName="j";v6.aliases=[];function v6(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:/[()]/}}Mp.displayName="java";Mp.aliases=[];function Mp(t){t.register(qt),(function(e){var n=/\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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[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:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[e.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},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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 n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}Lp.displayName="php";Lp.aliases=[];function Lp(t){t.register(ki),(function(e){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{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}
vendor: 4,534 bytes, line 402
402,/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,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|never|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|never|new|or|parent|print|private|protected|public|readonly|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:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},l=[{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;
vendor: 5,487 bytes, line 402
402|([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:o}},{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:o}}];e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:l,"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:r,number:i,operator:s,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(c,"php",d)}}),e.hooks.add("after-tokenize",function(c){e.languages["markup-templating"].tokenizePlaceholders(c,"php")})})(t)}Bp.displayName="javadoclike";Bp.aliases=[];function Bp(t){(function(e){var n=e.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 r(s,a){var o="doc-comment",l=e.languages[s];if(l){var c=l[o];if(!c){var d={};d[o]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},l=e.languages.insertBefore(s,"comment",d),c=l[o]}if(c instanceof RegExp&&(c=l[o]={pattern:c}),Array.isArray(c))for(var f=0,p=c.length;f<p;f++)c[f]instanceof RegExp&&(c[f]={pattern:c[f]}),a(c[f]);else a(c)}}function i(s,a){typeof s=="string"&&(s=[s]),s.forEach(function(o){r(o,function(l){l.inside||(l.inside={}),l.inside.rest=a})})}Object.defineProperty(n,"addSupport",{value:i}),n.addSupport(["java","javascript","php"],n)})(t)}w6.displayName="scala";w6.aliases=[];function w6(t){t.register(Mp),t.languages.scala=t.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|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|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*/}),t.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:t.languages.scala}}},string:/[\s\S]+/}}}),delete t.languages.scala["class-name"],delete t.languages.scala.function,delete t.languages.scala.constant}S6.displayName="javadoc";S6.aliases=[];function S6(t){t.register(Mp),t.register(Bp),t.register(ri),(function(e){var n=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return r});e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),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:e.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:n,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:n,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)})(t)}_6.displayName="javastacktrace";_6.aliases=[];function _6(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?
402: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/}}}}x6.displayName="jexl";x6.aliases=[];function x6(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:/[{}[\](),.]/}}E6.displayName="jolie";E6.aliases=[];function E6(t){t.register(qt),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|
vendor: 27,500 bytes, line 402
402string|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]*:)/}})}k6.displayName="jq";k6.aliases=[];function k6(t){(function(e){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return n})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+n),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},s=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:r,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=s})(t)}C6.displayName="js-templates";C6.aliases=[];function C6(t){t.register(Ei),(function(e){var n=e.languages.javascript["template-string"],r=n.pattern.source,i=n.inside.interpolation,s=i.inside["interpolation-punctuation"],a=i.pattern.source;function o(b,y){if(e.languages[b])return{pattern:RegExp("((?:"+y+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:b}}}}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),n].filter(Boolean);function l(b,y){return"___"+y.toUpperCase()+"_"+b+"___"}function c(b,y,w){var S={code:b,grammar:y,language:w};return e.hooks.run("before-tokenize",S),S.tokens=e.tokenize(S.code,S.grammar),e.hooks.run("after-tokenize",S),S.tokens}function d(b){var y={};y["interpolation-punctuation"]=s;var w=e.tokenize(b,y);if(w.length===3){var S=[1,1];S.push.apply(S,c(w[1],e.languages.javascript,"javascript")),w.splice.apply(w,S)}return new e.Token("interpolation",w,i.alias,b)}function f(b,y,w){var S=e.tokenize(b,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),_=0,E={},T=S.map(function(P){if(typeof P=="string")return P;for(var z=P.content,U;b.indexOf(U=l(_++,w))!==-1;);return E[U]=z,U}).join(""),R=c(T,y,w),N=Object.keys(E);_=0;function I(P){for(var z=0;z<P.length;z++){if(_>=N.length)return;var U=P[z];if(typeof U=="string"||typeof U.content=="string"){var Z=N[_],L=typeof U=="string"?U:U.content,$=L.indexOf(Z);if($!==-1){++_;var D=L.substring(0,$),W=d(E[Z]),G=L.substring($+Z.length),K=[];if(D&&K.push(D),K.push(W),G){var Y=[G];I(Y),K.push.apply(K,Y)}typeof U=="string"?(P.splice.apply(P,[z,1].concat(K)),z+=K.length-1):U.content=K}}else{var te=U.content;Array.isArray(te)?I(te):I([te])}}}return I(R),new e.Token(w,R,"language-"+w,b)}var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(b){if(!(b.language in p))return;function y(w){for(var S=0,_=w.length;S<_;S++){var E=w[S];if(typeof E!="string"){var T=E.content;if(!Array.isArray(T)){typeof T!="string"&&y([T]);continue}if(E.type==="template-string"){var R=T[1];if(T.length===3&&typeof R!="string"&&R.type==="embedded-code"){var N=g(R),I=R.alias,P=Array.isArray(I)?I[0]:I,z=e.languages[P];if(!z)continue;T[1]=f(N,z,P)}}else y(T)}}}y(b.tokens)});function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}})(t)}ob.displayName="typescript";ob.aliases=["ts"];function ob(t){t.register(Ei),(function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.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:n}}}}),e.languages.ts=e.languages.typescript})(t)}T6.displayName="jsdoc";T6.aliases=[];function T6(t){t.register(Bp),t.register(Ei),t.register(ob),(function(e){var n=e.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,i="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\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:n,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 r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:e.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:n,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)})(t)}A6.displayName="n4js";A6.aliases=["n4jsd"];function A6(t){t.register(Ei),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}R6.displayName="js-extras";R6.aliases=[];function R6(t){t.register(Ei),(function(e){e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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 n(l,c){return RegExp(l.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}e.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\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 r=["function","function-variable","method","method-variable","property-access"],i=0;i<r.length;i++){var s=r[i],a=e.languages.javascript[s];e.util.type(a)==="RegExp"&&(a=e.languages.javascript[s]={pattern:a});var o=a.inside||{};a.inside=o,o["maybe-class-name"]=/^[A-Z][\s\S]*/}})(t)}N6.displayName="json5";N6.aliases=[];function N6(t){t.register(ab),(function(e){var n=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(n.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:n,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(t)}O6.displayName="jsonp";O6.aliases=[];function O6(t){t.register(ab),t.languages.jsonp=t.languages.extend("json",{punctuation:/[{}[\]();,.]/}),t.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}I6.displayName="jsstacktrace";I6.aliases=[];function I6(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:/:/}}}}}}D6.displayName="julia";D6.aliases=[];function D6(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|[πℯ]/}}M6.displayName="keepalived";M6.aliases=[];function M6(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:/[\{\}]/}}L6.displayName="keyman";L6.aliases=[];function L6(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|newcontext|nomatch|postkeystroke|readonly|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:/[()=,]/}}B6.displayName="kotlin";B6.aliases=["kt","kts"];function B6(t){t.register(qt),(function(e){e.languages.kotlin=e.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 e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin})(t)}P6.displayName="kumir";P6.aliases=["kum"];function P6(t){(function(e){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(i,s){return RegExp(i.replace(/<nonId>/g,n),s)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir})(t)}F6.displayName="kusto";F6.aliases=[];function F6(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:/[()\[\]{},;.:]/}}z6.displayName="latex";z6.aliases=["context","tex"];function z6(t){(function(e){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:n,alias:"regex"}};e.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:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,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:n,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex})(t)}U6.displayName="latte";U6.aliases=[];function U6(t){t.register(qt),t.register(ki),t.register(Lp),(function(e){e.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:e.languages.php}};var n=e.languages.extend("markup",{});e.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:e.languages.php}}}}}},n.tag),e.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var i=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;e.languages["markup-templating"].buildPlaceholders(r,"latte",i),r.grammar=n}}),e.hooks.add("after-tokenize",function(r){e.languages["markup-templating"].tokenizePlaceholders(r,"latte")})})(t)}lb.displayName="scheme";lb.aliases=[];function lb(t){(function(e){e.languages.scheme={comment:/;.*|#;
402\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(n({"<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 n(r){for(var i in r)r[i]=r[i].replace(/<[\w\s]+>/g,function(s){return"(?:"+r[s].trim()+")"});return r[i]}})(t)}j6.displayName="lilypond";j6.aliases=["ly"];function j6(t){t.register(lb),(function(e){for(var n=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,r=5,i=0;i<r;i++)n=n.replace(/<expr>/g,function(){return n});n=n.replace(/<expr>/g,/[^\s\S]/.source);var s=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return n}),"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:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,e.languages.ly=s}
vendor: 9,429 bytes, line 402
402)(t)}H6.displayName="liquid";H6.aliases=[];function H6(t){t.register(ki),t.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"}},t.hooks.add("before-tokenize",function(e){var n=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;t.languages["markup-templating"].buildPlaceholders(e,"liquid",n,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var a=s[1];if(a==="raw"&&!r)return r=!0,!0;if(a==="endraw")return r=!1,!0}return!r})}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"liquid")})}$6.displayName="lisp";$6.aliases=["elisp","emacs","emacs-lisp"];function $6(t){(function(e){function n(b){return RegExp(/(\()/.source+"(?:"+b+")"+/(?=[\s\)])/.source)}function r(b){return RegExp(/([\s([])/.source+"(?:"+b+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+i,a="(\\()",o="(?=\\))",l="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,d={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+l),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+l),lookbehind:!0}],declare:{pattern:n(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:n(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+c+/\)/.source),inside:d},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:d},p="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(a+c+o),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+p),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+p),inside:f},keys:{pattern:RegExp("&key\\s+"+p+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};d.lambda.inside.arguments=g,d.defun.inside.arguments=e.util.clone(g),d.defun.inside.arguments.inside.sublist=g,e.languages.lisp=d,e.languages.elisp=d,e.languages.emacs=d,e.languages["emacs-lisp"]=d})(t)}V6.displayName="livescript";V6.aliases=[];function V6(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}G6.displayName="llvm";G6.aliases=[];function G6(t){(function(e){e.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)}q6.displayName="log";q6.aliases=[];function q6(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}
402|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:/[\[\].,]/}}W6.displayName="lolcode";W6.aliases=[];function W6(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}|…|,|!/}}K6.displayName="magma";K6.aliases=[];function K6(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:/[()[\]{}<>,;.:]/}}Y6.displayName="makefile";Y6.aliases=[];function Y6(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:/[:;(){}]/}}g_.displayName="mata";g_.aliases=[];function g_(t){(function(e){var n=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,n);e.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|ver
vendor: 4,120 bytes, line 402
402sion|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(t)}X6.displayName="matlab";X6.aliases=[];function X6(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}|[.,;\[\](){}!]/}}Z6.displayName="maxscript";Z6.aliases=[];function Z6(t){(function(e){var n=/\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;e.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)+")[ 	]*)(?!"+n.source+")"+/[a-z_]\w*\b/.source+"(?=[ 	]*(?:"+("(?!"+n.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:n,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)}Q6.displayName="mel";Q6.aliases=[];function Q6(t){t.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},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:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},t.languages.mel.code.inside.statement.inside=t.languages.mel}J6.displayName="mermaid";J6.aliases=[];function J6(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"}
402,"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:/[(){};]/}}eI.displayName="metafont";eI.aliases=[];function eI(t){t.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tert
vendor: 17,973 bytes, line 402
402iarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}tI.displayName="mizar";tI.aliases=[];function tI(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:/\(#|#\)|[,:;\[\](){}]/}}nI.displayName="mongodb";nI.aliases=[];function nI(t){t.register(Ei),(function(e){var n=["$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"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(s){return s.replace("$","\\$")});var i="(?:"+n.join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),e.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}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})})(t)}rI.displayName="monkey";rI.aliases=[];function rI(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:/[.,:;()\[\]]/}}iI.displayName="moonscript";iI.aliases=["moon"];function iI(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}sI.displayName="n1ql";sI.aliases=[];function sI(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:/[;[\](),.{}:]/}}aI.displayName="nand2tetris-hdl";aI.aliases=[];function aI(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:/[{}[\];(),:]/}}oI.displayName="naniscript";oI.aliases=["nani"];function oI(t){(function(e){var n=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:n,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};e.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:n,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:n,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:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(a){var o=a.tokens;o.forEach(function(l){if(typeof l!="string"&&l.type==="generic-text"){var c=s(l);i(c)||(l.type="bad-line",l.content=c)}})});function i(a){for(var o="[]{}",l=[],c=0;c<a.length;c++){var d=a[c],f=o.indexOf(d);if(f!==-1){if(f%2===0)l.push(f+1);else if(l.pop()!==f)return!1}}return l.length===0}function s(a){return typeof a=="string"?a:Array.isArray(a)?a.map(s).join(""):s(a.content)}})(t)}lI.displayName="nasm";lI.aliases=[];function lI(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:/[\[\]*+\-\/%<>=&|$!]/}}cI.displayName="neon";cI.aliases=[];function cI(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:"property"},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:/[,:=[\]{}()-]/}}uI.displayName="nevod";uI.aliases=[];function uI(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\-.]+/}}dI.displayName="nginx";dI.aliases=[];function dI(t){(function(e){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.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:n}},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:n}},punctuation:/[{};]/}})(t)}hI.displayName="nim";hI.aliases=[];function hI(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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}fI.displayName="nix";fI.aliases=[];function fI(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0}
402,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}pI.displayName="nsis";pI.aliases=[];function pI(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|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|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|Target|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|fal
vendor: 6,020 bytes, line 402
402se|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}}}mI.displayName="objectivec";mI.aliases=["objc"];function mI(t){t.register(Zo),t.languages.objectivec=t.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 t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}gI.displayName="ocaml";gI.aliases=[];function gI(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/}}bI.displayName="odin";bI.aliases=[];function bI(t){(function(e){var n=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;e.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:n}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:n}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(t)}yI.displayName="opencl";yI.aliases=[];function yI(t){t.register(Zo),(function(e){e.languages.opencl=e.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"}}),e.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 n
vendor: 7,530 bytes, line 402
402={"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"}};
vendor: 12,512 bytes, line 402
402e.languages.insertBefore("c","keyword",n),e.languages.cpp&&(n["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"},e.languages.insertBefore("cpp","keyword",n))})(t)}vI.displayName="openqasm";vI.aliases=["qasm"];function vI(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}wI.displayName="oz";wI.aliases=[];function wI(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:/[\[\](){}.:;?]/}}SI.displayName="parigp";SI.aliases=[];function SI(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(function(){var e=["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 e=e.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+e+")\\b")})(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}_I.displayName="parser";_I.aliases=[];function _I(t){t.register(ri),(function(e){var n=e.languages.parser=e.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:/[\[\](){};]/});n=e.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:n.keyword,variable:n.variable,function:n.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:n.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:n.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:n.expression,keyword:n.keyword,variable:n.variable,function:n.function,escape:n.escape,"parser-punctuation":{pattern:n.punctuation,alias:"punctuation"}},n.tag.inside["attr-value"])})(t)}xI.displayName="pascal";xI.aliases=["objectpascal"];function xI(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}EI.displayName="pascaligo";EI.aliases=[];function EI(t){(function(e){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return n}),i=e.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 r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return r})),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(a,o){return a[o]=i[o],a},{});i["class-name"].forEach(function(a){a.inside=s})})(t)}kI.displayName="psl";kI.aliases=[];function kI(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:/[(){}\[\];,]/}}CI.displayName="pcaxis";CI.aliases=["px"];function CI(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}TI.displayName="peoplecode";TI.aliases=["pcode"];function TI(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-])(?
402: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}AI.displayName="perl";AI.aliases=[];function AI(t){(function(e){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.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,n].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,n].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,n+/\s*/.source+n].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)}RI.displayName="phpdoc";RI.aliases=[];function RI(t){t.register(Bp),t.register(Lp),(function(e){var n=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+n+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+n),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)})(t)}NI.displayName="php-extras";NI.aliases=[];function NI(t){t.register(Lp),t.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:/::|\\/}}})}OI.displayName="plant-uml";OI.aliases=["plantuml"];function OI(t){(function(e){var n=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,i=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,s="(?:-+"+i+"-+|\\.+"+i+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",a=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,l=/[[?]?[ox]?/.source,c=/[ox]?[\]?]?/.source,d=l+"(?:"+s+o+"|"+a+s+"(?:"+o+")?)"+c;e.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:n}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+d+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:n,punctuation:/[:,;()[\]{}]|\.{3}/},e.languages["plant-uml"].arrow.inside.expression.inside=e.languages["plant-uml"],e.languages.plantuml=e.languages["plant-uml"]})(t)}II.displayName="plsql";II.aliases=[];function II(t){t.register(ib),t.languages.plsql=t.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|COLA
vendor: 15,147 bytes, line 402
402UTH|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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),t.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}DI.displayName="powerquery";DI.aliases=["mscript","pq"];function DI(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}MI.displayName="powershell";MI.aliases=[];function MI(t){(function(e){var n=e.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:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(t)}LI.displayName="processing";LI.aliases=[];function LI(t){t.register(qt),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"}})}BI.displayName="prolog";BI.aliases=[];function BI(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:/[(){}\[\],]/}}PI.displayName="promql";PI.aliases=[];function PI(t){(function(e){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],i=["offset"],s=n.concat(r,i);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.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)}FI.displayName="properties";FI.aliases=[];function FI(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}zI.displayName="protobuf";zI.aliases=[];function zI(t){t.register(qt),(function(e){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.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}),e.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:n}},builtin:n,"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)}UI.displayName="stylus";UI.aliases=[];function UI(t){(function(e){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}jI.displayName="twig";jI.aliases=[];function jI(t){t.register(ki),t.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:/[()\[\]{}:.,]/},t.hooks.add("before-tokenize",function(e){if(e.language==="twig"){var n=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;t.languages["markup-templating"].buildPlaceholders(e,"twig",n)}}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"twig")})}HI.displayName="pug";HI.aliases=[];function HI(t){t.register(Ei),t.register(ri),(function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?
402:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.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:e.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:e.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:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},s=0,a=r.length;s<a;s++){var o=r[s];o=typeof o=="string"?{filter:o,language:o}:o,e.languages[o.language]&&(i["filter-"+o.filter]={pattern:RegExp(n.replace("<filter_name>",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",i)})(t)}$I.displayName="puppet";$I.aliases=[];function $I(t){(function(e){e.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:/=[=~>
402]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var n=[{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:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=n,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(t)}VI.displayName="pure";VI.aliases=[];function VI(t){(function(e){e.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 n=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(i){var s=i;if(typeof i!="string"&&(s=i.alias,i=i.lang),e.languages[s]){var a={};a["inline-lang-"+s]={pattern:RegExp(r.replace("<lang>",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+s].inside.rest=e.util.clone(e.languages[s]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))})(t)}GI.displayName="purebasic";GI.aliases=["pbfasm"];function GI(t){t.register(qt),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}qI.displayName="purescript";qI.aliases=["purs"];function qI(t){t.register(sb),t.languages.purescript=t.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][\
402w']*(?:\.[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:[t.languages.haskell.operator[0],t.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]/]}),t.languages.purs=t.languages.purescript}b_.displayName="python";b_.aliases=["py"];function b_(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}WI.displayName="qsharp";WI.aliases=["qs"];function WI(t){t.register(qt),(function(e){function n(g,b){return g.replace(/<<(\d+)>>/g,function(y,w){return"(?:"+b[+w]+")"})}function r(g,b,y){return RegExp(n(g,b),"")}function i(g,b){for(var y=0;y<b;y++)g=g.replace(/<<self>>/g,function(){return"(?:"+g+")"});return g.replace(/<<self>>/g,"[^\\s\\S]")}
vendor: 19,117 bytes, line 402
402var 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 a(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var o=RegExp(a(s.type+" "+s.other)),l=/\b[A-Za-z_]\w*\b/.source,c=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[l]),d={keyword:o,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:d},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:d}],keyword:o,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:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var p=i(n(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[f]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[p]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[p]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}KI.displayName="q";KI.aliases=[];function KI(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:/[(){}\[\];.]/}}YI.displayName="qml";YI.aliases=[];function YI(t){t.register(Ei),(function(e){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return n}).replace(/<comment>/g,function(){return r}),s=0;s<2;s++)i=i.replace(/<expr>/g,function(){return i});i=i.replace(/<expr>/g,"[^\\s\\S]"),e.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 i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.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 i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}XI.displayName="qore";XI.aliases=[];function XI(t){t.register(qt),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/})}ZI.displayName="r";ZI.aliases=[];function ZI(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:/[(){}\[\],;]/}}QI.displayName="racket";QI.aliases=["rkt"];function QI(t){t.register(lb),t.languages.racket=t.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),t.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),t.languages.rkt=t.languages.racket}JI.displayName="cshtml";JI.aliases=["razor"];function JI(t){t.register(Ip),t.register(ri),(function(e){var n=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(_,E){for(var T=0;T<E;T++)_=_.replace(/<self>/g,function(){return"(?:"+_+")"});return _.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+r+")").replace(/<comment>/g,"(?:"+n+")")}var s=i(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),a=i(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),o=i(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),l=i(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),c=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+l+")?"+s+"|"+a+")*"+/(?![?!\.(\[]|<(?!\/))/.source,d=/@(?![\w()])/.source+"|"+c,f="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+d+`)[^"'@]*)+["'])`,p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,f),g=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,b=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|"+i(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+g+")";e.languages.cshtml=e.languages.extend("markup",{});var y=e.languages.insertBefore("csharp","string",{html:{pattern:RegExp(b),greedy:!0,inside:e.languages.cshtml}},{csharp:e.languages.extend("csharp",{})}),w={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:y},S={pattern:RegExp(/(^|[^@])/.source+c),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:w}};e.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+g),e.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+f),e.languages.insertBefore("inside","punctuation",{value:S},e.languages.cshtml.tag.inside["attr-value"]),e.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[o,/(?:code|functions)\s*/.source+o,/(?:for|foreach|lock|switch|using|while)\s*/.source+s+/\s*/.source+o,/do\s*/.source+o+/\s*while\s*/.source+s+/(?:\s*;)?/.source,/try\s*/.source+o+/\s*catch\s*/.source+s+/\s*/.source+o+/\s*finally\s*/.source+o,/if\s*/.source+s+/\s*/.source+o+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+s+")?"+/\s*/.source+o+")*",/helper\s+\w+\s*/.source+s+/\s*/.source+o].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:w}},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:w}},value:S,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),e.languages.razor=e.languages.cshtml})(t)}y_.displayName="jsx";y_.aliases=[];function y_(t){t.register(Ei),t.register(ri),(function(e){var n=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(c,d){return c=c.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return i}).replace(/<SPREAD>/g,function(){return s}),RegExp(c,d)}s=a(s).source,e.languages.jsx=e.languages.extend("markup",n),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=n.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var d=[],f=0;f<c.length;f++){var p=c[f],g=!1;if(typeof p!="string"&&(p.type==="tag"&&p.content[0]&&p.content[0].type==="tag"?p.content[0].content[0].content==="</"?d.length>0&&d[d.length-1].tagName===o(p.content[0].content[1])&&d.pop():p.content[p.content.length-1].content==="/>"||d.push({tagName:o(p.content[0].content[1]),openedBraces:0}):d.length>0&&p.type==="punctuation"&&p.content==="{"?d[d.length-1].openedBraces++:d.length>0&&d[d.length-1].openedBraces>0&&p.type==="punctuation"&&p.content==="}"?d[d.length-1].openedBraces--:g=!0),(g||typeof p=="string")&&d.length>0&&d[d.length-1].openedBraces===0){var b=o(p);f<c.length-1&&(typeof c[f+1]=="string"||c[f+1].type==="plain-text")&&(b+=o(c[f+1]),c.splice(f+1,1)),f>0&&(typeof c[f-1]=="string"||c[f-1].type==="plain-text")&&(b=o(c[f-1])+b,c.splice(f-1,1),f--),c[f]=new e.Token("plain-text",b,null,b)}p.content&&typeof p.content!="string"&&l(p.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})})(t)}eD.displayName="tsx";eD.aliases=[];function eD(t){t.register(y_),t.register(ob),(function(e){var n=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",n),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var r=e.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(t)}tD.displayName="reason";tD.aliases=[];function tD(t){t.register(qt),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}nD.displayName="rego";nD.aliases=[];function nD(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:/[,;.\[\]{}()]/}}rD.displayName="renpy";rD.aliases=["rpy"];function rD(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}iD.displayName="rescript";iD.aliases=["res"];function iD(t){t.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?
402=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},t.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:t.languages.rescript}},string:/[\s\S]+/}}}),t.languages.res=t.languages.rescript}sD.displayName="rest";sD.aliases=[];function sD(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}}}aD.displayName="rip";aD.aliases=[];function aD(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`'",.:;#\/\\()<>\[\]{}]*/}}oD.displayName="roboconf";oD.aliases=[];function oD(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"}
vendor: 9,251 bytes, line 402
402,optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}lD.displayName="robotframework";lD.aliases=["robot"];function lD(t){(function(e){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(l,c){var d={};d["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in c)d[f]=c[f];return d.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},d.variable=r,d.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return l}),"im"),alias:"section",inside:d}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};e.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":a,documentation:s,property:o}),keywords:i("Keywords",{"keyword-name":a,documentation:s,property:o}),tasks:i("Tasks",{"task-name":a,documentation:s,property:o}),comment:n},e.languages.robot=e.languages.robotframework})(t)}cD.displayName="rust";cD.aliases=[];function cD(t){(function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(t)}uD.displayName="sas";uD.aliases=[];function uD(t){(function(e){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(n+"[bx]"),alias:"number"},s={pattern:/&[a-z_]\w*/i},a={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"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},l=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(n),greedy:!0},d=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},y={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},w={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},S=/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,_={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return S}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return S}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:l,function:f,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:r,"numeric-constant":i,punctuation:d,string:c}},E={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};e.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 n}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":y,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|n
402orun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:E,"submit-statement":w,"global-statements":y,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:E,"submit-statement":w,"global-statements":y,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":_,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:E,function:f,format:g,altformat:b,"global-statements":y,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,inside:p},"macro-keyword":a,"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":a,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:d}},"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:l,number:r,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":_,comment:l,function:f,format:g,altformat:b,"numeric-constant":i,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:c,step:o,keyword:E,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:d}})(t)}dD.displayName="sass";dD.aliases=[];function dD(t){t.register(eh),(function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.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)}hD.displayName="shell-session";hD.aliases=["sh-session","shellsession"];function hD(t){t.register(h_),(function(e){var n=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.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 n}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%
vendor: 5,227 bytes, line 402
402*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(t)}fD.displayName="smali";fD.aliases=[];function fD(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:/[{}(),;:]/}}pD.displayName="smalltalk";pD.aliases=[];function pD(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:/[.;:?\[\](){}]/}}mD.displayName="smarty";mD.aliases=[];function mD(t){t.register(ki),(function(e){e.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:e.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/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return n.source}),"g");e.hooks.add("before-tokenize",function(i){var s="{literal}",a="{/literal}",o=!1;e.languages["markup-templating"].buildPlaceholders(i,"smarty",r,function(l){return l===a&&(o=!1),o?!1:(l===s&&(o=!0),!0)})}),e.hooks.add("after-tokenize",function(i){e.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})})(t)}gD.displayName="sml";gD.aliases=["smlnj"];function gD(t){(function(e){var n=/\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;e.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>
402|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return n.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:n,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:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml})(t)}bD.displayName="solidity";bD.aliases=["sol"];function bD(t){t.register(qt),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}yD.displayName="solution-file";yD.aliases=["sln"];function yD(t){(function(e){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:n}},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:n}},guid:n,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]})(t)}vD.displayName="soy";vD.aliases=[];function vD(t){t.register(ki),(function(e){var n=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=
vendor: 4,923 bytes, line 402
402/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.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:n,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:n,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,a="{literal}",o="{/literal}",l=!1;e.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(c){return c===o&&(l=!1),l?!1:(c===a&&(l=!0),!0)})}),e.hooks.add("after-tokenize",function(i){e.languages["markup-templating"].tokenizePlaceholders(i,"soy")})})(t)}v_.displayName="turtle";v_.aliases=["trig"];function v_(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}wD.displayName="sparql";wD.aliases=["rq"];function wD(t){t.register(v_),t.languages.sparql=t.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),t.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]}),t.languages.rq=t.languages.sparql}SD.displayName="splunk-spl";SD.aliases=[];function SD(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
402)\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:/[()[\],]/}}_D.displayName="sqf";_D.aliases=[];function _D(t){t.register(qt),
vendor: 33,368 bytes, line 402
402t.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"]}
vendor: 16,427 bytes, lines 402-403
402xD.displayName="squirrel";xD.aliases=[];function xD(t){t.register(qt),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"}})}ED.displayName="stan";ED.aliases=[];function ED(t){(function(e){var n=/\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/;e.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("("+n.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/,n],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:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan})(t)}kD.displayName="stata";kD.aliases=[];function kD(t){t.register(Mp),t.register(g_),t.register(b_),t.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:t.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:t.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:t.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},t.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=t.languages.stata}CD.displayName="iecst";CD.aliases=[];function CD(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:/[()[\].,;]/}}TD.displayName="supercollider";TD.aliases=["sclang"];function TD(t){t.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},t.languages.sclang=t.languages.supercollider}AD.displayName="swift";AD.aliases=[];function AD(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(e){e.inside.interpolation.inside=t.languages.swift})}RD.displayName="systemd";RD.aliases=[];function RD(t){(function(e){var n={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:n,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+"(?:"+r+`|(?=[^"\r
403]))(?:`+(/[^\s\\]/.source+'|[ 	]+(?:(?![ 	"])|'+r+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:n,quoted:{pattern:RegExp(/(^|\s)/.source+r),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}cb.displayName="t4-templating";cb.aliases=[];function cb(t){(function(e){function n(i,s,a){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:s,alias:a}}}}function r(i){var s=e.languages[i],a="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:n("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:n("=",s,a),"class-feature":n("\\+",s,a),standard:n("",s,a)}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:r})})(t)}ND.displayName="t4-cs";ND.aliases=["t4"];function ND(t){t.register(Ip),t.register(cb),t.languages.t4=t.languages["t4-cs"]=t.languages["t4-templating"].createT4("csharp")}w_.displayName="vbnet";w_.aliases=[];function w_(t){t.register(p_),t.languages.vbnet=t.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:/[,;:(){}]/})}OD.displayName="t4-vb";OD.aliases=[];function OD(t){t.register(cb),t.register(w_),t.languages["t4-vb"]=t.languages["t4-templating"].createT4("vbnet")}ID.displayName="tap";ID.aliases=[];function ID(t){t.register(f_),t.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:t.languages.yaml,alias:"language-yaml"}}}DD.displayName="tcl";DD.aliases=[];function DD(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:/[{}()\[\]]/}}MD.displayName="tt2";MD.aliases=[];function MD(t){t.register(qt),t.register(ki),(function(e){e.languages.tt2=e.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:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.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 e.languages.tt2.string,e.hooks.add("before-tokenize",function(n){var r=
403/\[%[\s\S]+?%\]/g;e.languages["markup-templating"].buildPlaceholders(n,"tt2",r)}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})})(t)}LD.displayName="toml";LD.aliases=[];function LD(t){(function(e){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(i){return i.replace(/__/g,function(){return n})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\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)}BD.displayName="tremor";BD.aliases=["trickle","troy"];function BD(t){(function(e){e.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 n=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+n+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+n+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(n),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor})(t)}PD.displayName="typoscript";PD.aliases=["tsconfig"];function PD(t){(function(e){var n=/\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/;e.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:n}},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:n,number:/^\d+$/,punctuation:/[,|:]/}},keyword:n,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript})(t)}FD.displayName="unrealscript";FD.aliases=["uc","uscript"];function FD(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|n
403otplaceable|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}zD.displayName="uorazor";zD.aliases=[];function zD(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:/[()\[\]{}:.,]/}}UD.displayName="v";UD.aliases=[];function UD(t){t.register(qt),(function(e){var n={pattern:/[\s\S]+/,inside:null};e.languages.v=e.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":n}}}},"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+)*(?
vendor: 4,680 bytes, line 403
403:\.\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/}),n.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.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+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})})(t)}jD.displayName="vala";jD.aliases=[];function jD(t){t.register(qt),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]+$/}}})}HD.displayName="velocity";HD.aliases=[];function HD(t){t.register(ri),(function(e){e.languages.velocity=e.languages.extend("markup",{});var n={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:/[(){}[\]:,.]/};n.variable.inside={string:n.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:n.number,boolean:n.boolean,punctuation:n.punctuation},e.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:n}},variable:n.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity})(t)}$D.displayName="verilog";$D.aliases=[];function $D(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|
403cell|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:/[[\];(),.:]/}}VD.displayName="vhdl";VD.aliases=[];function VD(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]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?: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|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|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:/[{}[\];(),.:]/}}GD.displayName="vim";GD.aliases=[];function GD(t){t
vendor: 9,039 bytes, line 403
403.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|inv
vendor: 5,164 bytes, line 403
403writeany|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:/[{}[\](),;:]/}}
403qD.displayName="visual-basic";qD.aliases=["vb","vba"];function qD(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"]}WD.displayName="warpscript";WD.aliases=[];function WD(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/}}KD.displayName="wasm";KD.aliases=[];function KD(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:/[()]/}}YD.displayName="web-idl";YD.aliases=["webidl"];function YD(t){(function(e){var n=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])
vendor: 12,053 bytes, line 403
403/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+n+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+n),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+n+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+n),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+n),lookbehind:!0},RegExp(n+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+n),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+n+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var s in e.languages["web-idl"])s!=="class-name"&&(i[s]=e.languages["web-idl"][s]);e.languages.webidl=e.languages["web-idl"]})(t)}XD.displayName="wgsl";XD.aliases=[];function XD(t){t.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}ZD.displayName="wiki";ZD.aliases=[];function ZD(t){t.register(ri),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}}}})}QD.displayName="wolfram";QD.aliases=["mathematica","nb","wl"];function QD(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}JD.displayName="wren";JD.aliases=[];function JD(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]+/}}}eM.displayName="xeora";eM.aliases=["xeoracube"];function eM(t){t.register(ri),(function(e){e.languages.xeora=e.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"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora})(t)}tM.displayName="xml-doc";tM.aliases=[];function tM(t){t.register(ri),(function(e){function n(a,o){e.languages[a]&&e.languages.insertBefore(a,"comment",{"doc-comment":o})}var r=e.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:r}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:r}};n("csharp",i),n("fsharp",i),n("vbnet",s)})(t)}nM.displayName="xojo";nM.aliases=[];function nM(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)?|Eac
403h|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:/[.,;:()]/}}rM.displayName="xquery";rM.aliases=[];function rM(t){t.register(ri),(function(e){e.languages.xquery=e.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:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var n=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(n).join("")},r=function(i){for(var s=[],a=0;a<i.length;a++){var o=i[a],l=!1;if(typeof o!="string"&&(o.type==="tag"&&o.content[0]&&o.content[0].type==="tag"?o.content[0].content[0].content==="</"?s.length>0&&s[s.length-1].tagName===n(o.content[0].content[1])&&s.pop():o.content[o.content.length-1].content==="/>"||s.push({tagName:n(o.content[0].content[1]),openedBraces:0}):s.length>0&&o.type==="punctuation"&&o.content==="{"&&(!i[a+1]||i[a+1].type!=="punctuation"||i[a+1].content!=="{")&&(!i[a-1]||i[a-1].type!=="plain-text"||i[a-1].content!=="{")?s[s.length-1].openedBraces++:s.length>0&&s[s.length-1].openedBraces>0&&o.type==="punctuation"&&o.content==="}"?s[s.length-1].openedBraces--:o.type!=="comment"&&(l=!0)),(l||typeof o=="str
403ing")&&s.length>0&&s[s.length-1].openedBraces===0){var c=n(o);a<i.length-1&&(typeof i[a+1]=="string"||i[a+1].type==="plain-text")&&(c+=n(i[a+1]),i.splice(a+1,1)),a>0&&(typeof i[a-1]=="string"||i[a-1].type==="plain-text")&&(c=n(i[a-1])+c,i.splice(a-1,1),a--),/^\s+$/.test(c)?i[a]=c:i[a]=new e.Token("plain-text",c,null,c)}o.content&&typeof o.content!="string"&&r(o.content)}};e.hooks.add("after-tokenize",function(i){i.language==="xquery"&&r(i.tokens)})})(t)}iM.displayName="yang";iM.aliases=[];function iM(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:/[{};:]/}}sM.displayName="zig";sM.aliases=[];function sM(t){(function(e){function n(c){return function(){return c}}var r=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+r.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,n(s)),o=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,n(i)),l="(?!\\s)(?:!?\\s*(?:"+a+"\\s*)*"+o+")+";e.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,n(l)).replace(/<ALIGN>/g,n(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,n(l)).replace(/<ALIGN>/g,n(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:r,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:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(c){c.inside===null&&(c.inside=e.languages.zig)})})(t)}ee.register(ri);ee.register(eh);ee.register(qt);ee.register(aN);ee.register(Ei);ee.register(oN);ee.register(lN);ee.register(cN);ee.register(uN);ee.register(dN);ee.register(hN);ee.register(fN);ee.register(pN);ee.register(ib);ee.register(mN);ee.register(gN);ee.register(bN);ee.register(yN);ee.register(Zo);ee.register(Op);ee.register(vN);ee.register(wN);ee.register(SN);ee.register(h_);ee.register(f_);ee.register(_N);ee.register(xN);ee.register(EN);ee.register(Ip);ee.register(kN);ee.register(CN);ee.register(TN);ee.register(AN);ee.register(RN);ee.register(NN);ee.register(ON);ee.register(IN);ee.register(p_);ee.register(DN);ee.register(MN);ee.register(LN);ee.register(BN);ee.register(PN);ee.register(FN);ee.register(zN);ee.register(UN);ee.register(jN);ee.register(HN);ee.register($N);ee.register(VN);ee.register(GN);ee.register(qN);ee.register(WN);ee.register(KN);ee.register(YN);ee.register(XN);ee.register(ZN);ee.register(QN);ee.register(JN);ee.register(eO);ee.register(tO);ee.register(nO);ee.register(rO);ee.register(Dp);ee.register(iO);ee.register(sO);ee.register(aO);ee.register(oO);ee.register(lO);ee.register(cO);ee.register(uO);ee.register(dO);ee.register(hO);ee.register(fO);ee.register(pO);ee.register(ki);ee.register(mO);ee.register(gO);ee.register(bO);ee.register(yO);ee.register(vO);ee.register(wO);ee.register(SO);ee.register(_O);ee.register(xO);ee.register(EO);ee.register(m_);ee.register(kO);ee.register(CO);ee.register(TO);ee.register(AO);ee.register(RO);ee.register(NO);ee.register(OO);ee.register(IO);ee.register(DO);ee.register(MO);ee.register(LO);ee.register(BO);ee.register(PO);ee.register(FO);ee.register(zO);ee.register(UO);ee.register(jO);ee.register(HO);ee.register($O);ee.register(VO);ee.register(GO);ee.register(qO);ee.register(WO);ee.register(KO);ee.register(YO);ee.register(XO);ee.register(ZO);ee.register(QO);ee.register(JO);ee.register(e6);ee.register(t6);ee.register(n6);ee.register(sb);ee.register(r6);ee.register(i6);ee.register(s6);ee.register(a6);ee.register(o6);ee.register(l6);ee.register(ab);ee.register(c6);ee.register(u6);ee.register(d6);ee.register(h6);ee.register(f6);ee.register(p6);ee.register(m6);ee.register(g6);ee.register(b6);ee.register(y6);ee.register(v6);ee.register(Mp);ee.register(Lp);ee.register(Bp);ee.register(w6);ee.register(S6);ee.register(_6);ee.register(x6);ee.register(E6);ee.register(k6);ee.register(C6);ee.register(ob);ee.register(T6);ee.register(A6);ee.register(R6);ee.register(N6);ee.register(O6);ee.register(I6);ee.register(D6);ee.register(M6);ee.register(L6);ee.register(B6);
403ee.register(P6);ee.register(F6);ee.register(z6);ee.register(U6);ee.register(lb);ee.register(j6);ee.register(H6);ee.register($6);ee.register(V6);ee.register(G6);ee.register(q6);ee.register(W6);ee.register(K6);ee.register(Y6);ee.register(g_);ee.register(X6);ee.register(Z6);ee.register(Q6);ee.register(J6);ee.register(eI);ee.register(tI);ee.register(nI);ee.register(rI);ee.register(iI);ee.register(sI);ee.register(aI);ee.register(oI);ee.register(lI);ee.register(cI);ee.register(uI);ee.register(dI);ee.register(hI);ee.register(fI);ee.register(pI);ee.register(mI);ee.register(gI);ee.register(bI);ee.register(yI);ee.register(vI);ee.register(wI);ee.register(SI);ee.register(_I);ee.register(xI);ee.register(EI);ee.register(kI);ee.register(CI);ee.register(TI);ee.register(AI);ee.register(RI);ee.register(NI);ee.register(OI);ee.register(II);ee.register(DI);ee.register(MI);ee.register(LI);ee.register(BI);ee.register(PI);ee.register(FI);ee.register(zI);ee.register(UI);ee.register(jI);ee.register(HI);ee.register($I);ee.register(VI);ee.register(GI);ee.register(qI);ee.register(b_);ee.register(WI);ee.register(KI);ee.register(YI);ee.register(XI);ee.register(ZI);ee.register(QI);ee.register(JI);ee.register(y_);ee.register(eD);ee.register(tD);ee.register(nD);ee.register(rD);ee.register(iD);ee.register(sD);ee.register(aD);ee.register(oD);ee.register(lD);ee.register(cD);ee.register(uD);ee.register(dD);ee.register(hD);ee.register(fD);ee.register(pD);ee.register(mD);ee.register(gD);ee.register(bD);ee.register(yD);ee.register(vD);ee.register(v_);ee.register(wD);ee.register(SD);ee.register(_D);ee.register(xD);ee.register(ED);ee.register(kD);ee.register(CD);ee.register(TD);ee.register(AD);ee.register(RD);ee.register(cb);ee.register(ND);ee.register(w_);ee.register(OD);ee.register(ID);ee.register(DD);ee.register(MD);ee.register(LD);ee.register(BD);ee.register(PD);ee.register(FD);ee.register(zD);ee.register(UD);ee.register(jD);ee.register(HD);ee.register($D);ee.register(VD);ee.register(GD);ee.register(qD);ee.register(WD);ee.register(KD);ee.register(YD);ee.register(XD);ee.register(ZD);ee.register(QD);ee.register(JD);ee.register(eM);ee.register(tM);ee.register(nM);ee.register(rM);ee.register(iM);ee.register(sM);var hie=uHe(ee,NHe);hie.supportedLanguages=dHe;const OHe={'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"}
403,".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%)"}},fie={all:["blogs"],content:t=>[...fie.all,"content",t]};function IHe(t){return fke({queryKey:fie.content(t||""),queryFn:async()=>
403{if(!t)throw new Error("Slug is required");const e=await fetch(`/blogs/${t}/contents.md`);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const n=await e.text();if(n.startsWith("<!doctype html>")||n.startsWith("<!DOCTYPE html>"))throw new Error("Blog content not found");return n},enabled:!!t,staleTime:600*1e3,retry:2})}const DHe=()=>{const{slug:t}=TV(),e=b0(),{setMode:n}=TY(),r=jje(t||""),{data:i,isLoading:s,isError:a,error:o}=IHe(r?.slug);if(A.useEffect(()=>{n(!1)},[n]),!r)return x.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:x.jsxs("div",{className:"text-center",children:[x.jsx("h1",{className:"text-2xl font-bold text-foreground mb-4",children:"Blog post not found"}),x.jsx("button",{onClick:()=>e("/blog"),className:"text-blue-500 hover:text-blue-600 underline",children:"Back to blog"})]})});const l=c=>new Date(c).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return x.jsx("div",{className:"min-h-screen bg-background",children:x.jsxs("div",{className:"container mx-auto max-w-4xl px-4 py-12",children:[x.jsx("button",{onClick:()=>e("/blog"),className:"inline-flex items-center text-muted-foreground hover:text-foreground mb-12 transition-colors",children:x.jsx(H4,{className:"w-4 h-4"})}),x.jsxs("header",{className:"mb-12 text-center",children:[x.jsxs("p",{className:"text-sm text-muted-foreground mb-4",children:[l(r.publishDate)," · ",r.category]}),x.jsx("h1",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-6 leading-tight tracking-tight",children:r.title}),x.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:r.author}),x.jsxs("div",{className:"flex justify-center gap-4",children:[r.externalUrl&&x.jsx("a",{href:r.externalUrl,target:"_blank",rel:"noopener noreferrer",className:"no-underline",children:x.jsxs("li",{className:"3xl:text-base hover:bg-muted/50 group flex cursor-pointer list-none items-center justify-between rounded-lg px-4 py-2 text-sm leading-7.5 font-medium gap-3 transition-all",children:[x.jsx("span",{style:{fontSize:"24px"},children:"📄"}),x.jsx("span",{className:"text-foreground",children:r.externalUrlLabel||"External Link"}),x.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-foreground transition-colors",children:x.jsx("path",{d:"M4 4H12M12 12V4M12 4L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})]})}),r.integrationDocsUrl&&x.jsx("a",{href:r.integrationDocsUrl,target:"_blank",rel:"noopener noreferrer",className:"no-underline",children:x.jsxs("li",{className:"3xl:text-base hover:bg-muted/50 group flex cursor-pointer list-none items-center justify-between rounded-lg px-4 py-2 text-sm leading-7.5 font-medium gap-3 transition-all",children:[x.jsx("span",{style:{fontSize:"24px"},children:"📚"}),x.jsx("span",{className:"text-foreground",children:"Integration Docs"}),x.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-foreground transition-colors",children:x.jsx("path",{d:"M4 4H12M12 12V4M12 4L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})]})})]})]}),x.jsx("article",{className:"prose prose-lg prose-gray dark:prose-invert max-w-none",children:s?x.jsx("p",{className:"text-muted-foreground",children:"Loading..."}):a?x.jsxs("p",{className:"text-destructive",children:["Error loading blog content: ",o?.message||"Unknown error"]}):x.jsx(t5e,{remarkPlugins:[eUe,dUe],rehypePlugins:[HUe],components:{code({className:c,children:d,...f}){const p=/language-(\w+)/.exec(c||"");return p&&String(d).includes(`
404`)?x.jsx(hie,{style:OHe,language:p[1],PreTag:"div",className:"rounded-lg my-6",children:String(d).replace(/\n$/,"")}):x.jsx("code",{className:c,...f,children:d})},h1:({children:c})=>x.jsx("h1",{className:"text-3xl font-bold text-foreground mb-6 mt-10 first:mt-0",children:c}),h2:({children:c})=>x.jsx("h2",{className:"text-2xl font-semibold text-foreground mb-4 mt-10",children:c}),h3:({children:c})=>x.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3 mt-8",children:c}),p:({children:c})=>
404x.jsx("p",{className:"text-foreground/90 leading-relaxed mb-6",children:c}),ul:({children:c})=>x.jsx("ul",{className:"list-disc list-outside ml-6 text-foreground/90 mb-6 space-y-2",children:c}),ol:({children:c})=>x.jsx("ol",{className:"list-decimal list-outside ml-6 text-foreground/90 mb-6 space-y-2",children:c}),blockquote:({children:c})=>x.jsx("blockquote",{className:"border-l-2 border-muted-foreground/30 pl-6 italic text-muted-foreground my-6",children:c}),table:({children:c})=>x.jsx("div",{className:"my-6 overflow-x-auto",children:x.jsx("table",{className:"w-full border-collapse text-sm",children:c})}),th:({children:c})=>x.jsx("th",{className:"border border-border px-3 py-2 text-left font-semibold text-foreground whitespace-nowrap",children:c}),td:({children:c})=>x.jsx("td",{className:"border border-border px-3 py-2 text-foreground/90 whitespace-nowrap",children:c}),a:({children:c,href:d})=>x.jsx("a",{href:d,className:"text-foreground underline underline-offset-4 hover:text-muted-foreground transition-colors",target:"_blank",rel:"noopener noreferrer",children:c}),img:({src:c,alt:d})=>{const f=c&&!c.startsWith("/")&&!c.startsWith("http")?`/blogs/${r.slug}/${c}`:c;return x.jsxs("figure",{className:"my-8",children:[x.jsx("img",{src:f,alt:d,className:"w-full border border-border",loading:"lazy"}),d&&x.jsx("figcaption",{className:"mt-2 text-sm text-muted-foreground text-center italic",children:d})]})}},children:i||""})})]})})},MHe=()=>x.jsx("div",{className:"min-h-screen bg-background text-foreground",children:x.jsxs("div",{className:"container mx-auto px-4 py-12 md:py-20 max-w-4xl",children:[x.jsx(Tn,{to:"/",children:x.jsxs(oi,{variant:"ghost",className:"mb-8",children:[x.jsx(H4,{className:"h-4 w-4 mr-2"}),"Back to Home"]})}),x.jsxs("div",{className:"mb-12",children:[x.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Terms of Service - Consumer"}),x.jsx("p",{className:"text-muted-foreground",children:"Effective Date: 8th January 2026"})]}),x.jsxs("div",{className:"prose prose-neutral dark:prose-invert max-w-none space-y-8 text-muted-foreground",children:[x.jsxs("section",{children:[x.jsx("p",{className:"text-lg font-bold text-foreground",children:"Welcome to CoreThink!"}),x.jsx("p",{className:"mt-4 leading-relaxed",children:"These Terms of Service (”Terms”) apply to your use of CoreThink Chat, CoreThink Knowledge Base, and CoreThink AI Inc's other services for individuals, including associated applications and websites (collectively, the “Service”). These Terms form an agreement between you and CoreThink AI Inc, a Delaware company (“CoreThink,” “we,” “our,” or “us”). By using our Service, you acknowledge and agree to these Terms."}),x.jsxs("div",{className:"mt-6 border-l-2 border-border pl-4 py-1 text-sm italic",children:[x.jsx("p",{children:"Please note:"}),x.jsxs("ul",{className:"mt-2 list-disc pl-6 space-y-1",children:[x.jsx("li",{children:"We reserve the right to modify these Terms."}),x.jsx("li",{children:"Our Enterprise Terms of Service govern the use of our services for developers and businesses, including CoreThink AI APIs."}),x.jsx("li",{children:"If you reside in the European Economic Area, United Kingdom, or Switzerland (collectively, “Europe”), your use of the Service is governed in part by the Europe Specific Terms (“EST”) section below."})]})]}),x.jsxs("p",{className:"mt-6",children:["Please read our ",x.jsx(Tn,{to:"/privacy",className:"text-foreground underline hover:text-primary",children:"Privacy Policy"}),", which describes how we collect, use and disclose personal information. Although it does not form part of these Terms, it is an important document you should read."]})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"1. Who We Are"}),x.jsx("p",{children:'CoreThink is a research and deployment company working on building artificial intelligence tools to accelerate human potential. We are guided by our mission to build safe and beneficial AI systems. As part of our mission, we have developed “CoreThink,” a conversational generative AI powered by our large language models. We also provide the "CoreThink Knowledge Base," an on-line collection of knowledge.'})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"2. Registration and Access"}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Minimum age."})," You must be at least 13 years old or the minimum age required in your country to use the Service, and you must confirm that you meet the minimum age requirement. If you are a teenager between the ages of 13 and 17 
404years old, you must have your parent or legal guardian's permission to use the Service, and they must agree to our Terms of Service."]}),x.jsxs("p",{className:"border-l-2 border-yellow-500/50 pl-4 py-1 text-sm italic",children:[x.jsx("strong",{className:"text-foreground",children:"Content Warning:"})," While we have taken measures to limit undesirable training data and outputs, depending on the features that you choose to use, the Service could produce output that is not appropriate for all ages. For instance, if users choose certain features or input suggestive or coarse language, the Service may respond with some dialogue that may involve coarse language, crude humor, sexual situations, or violence. We urge parents to exercise care in monitoring the use of the Service by their teenagers."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Registration."})," You must provide accurate and complete information to register for an account to use our Service. You may not share your account credentials or make your account available to anyone else, and are responsible for all activities that occur under your account."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Logging in through a third-party service."})," By choosing to login to our Service by using a third-party service, such as Google, Apple, or GitHub, you give us permission to access, use, and store your information from that service, as permitted by that service, which may include log-in credentials and/or access tokens for that service."]})]})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"3. Using our Service"}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground",children:"What you can do."})," Subject to your compliance with these Terms, you may access and use our Service. You must comply with all applicable laws as well as our Acceptable Use Policy and any other documentation, guidelines, or policies we make available to you."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground",children:"What you cannot do."})," Prohibited uses of our Service include any illegal, harmful, or abusive activities, including but not limited to:"]}),x.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[x.jsx("li",{children:"Modifying, copying, leasing, selling, reselling, distributing, distilling, mani
404pulating, using bots to access, reverse engineering, or decompiling our Service."}),x.jsx("li",{children:"Using the Service or any Output to develop models or services that compete with CoreThink, scraping or reselling any Input or Output, or distilling model data."}),x.jsx("li",{children:"Disrupting, interfering with, or unauthorized access to the Service or its safety systems."}),x.jsx("li",{children:"Critically harming or promoting critically harming human life (yours or anyone else's), including pro-terrorist activities."}),x.jsx("li",{children:"Violating copyright, trademark, or other intellectual property law."}),x.jsx("li",{children:"Violating a person's privacy or their right to publicity."}),x.jsx("li",{children:"The sexualization or exploitation of children."}),x.jsx("li",{children:"Espionage, hacking, defrauding, defamation, scamming, spamming, or phishing."}),x.jsx("li",{children:"Making high-stakes automated decisions that affect a person's safety, legal or material rights, or well-being."})]})]})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"4. User Content"}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"You Own Your User Content."})," You may provide input (e.g., text, audio, images, code, files) to the Service (”Input”) and receive output from the Service based on the Input (”Output”). Collectively, Input and Output are “User Content.” You are responsible for User Content, including ensuring that it does not violate any applicable law or these Terms. To the extent permitted by applicable law, and as between you and CoreThink, you retain your ownership rights to the User Content."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Our Use of User Content."})," You grant an irrevocable, perpetual, transferable, sublicensable, royalty-free, and worldwide right to CoreThink to use, copy, store, modify, distribute, reproduce, publish, display in public forums, list information regarding, make derivative works of, and aggregate your User Content for any purpose, including but not limited to maintaining and providing the Service, improving our products, and model training."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Electing whether your User Content is used for product development or model training."})," When logged into our Service, you can select whether or not you want us to use your User Content to improve our products and services and train our models via your account settings."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-foreground underline",children:"Accuracy."})," Artificial intelligence is rapidly evolving and is probabilistic in nature; therefore, it may sometimes result in Output that contains “hallucinations,” be offensive, or not accurately reflect real people, places or facts."]})]})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"5. The Service Is Available “As Is”"}),x.jsx("p",{children:"We continue to add new models and other features, some which may be in beta testing where indicated. You accept that all of our services are provided “AS IS” and may contain errors, defects, bugs or inaccuracies. You agree that use of any of our technologies is at your own risk."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"6. CoreThink's Intellectual Property Rights"}),x.jsx("p",{children:"We and our affiliates own all rights, title, and interest in and to the Service. All Usage Data is and will be owned solely and exclusively by us. To the extent you provide us any Feedback, you hereby assign to us all rights, title, and interest in and to the Feedback without compensation to you."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"7. Paid Accounts"}),x.jsx("p",{children:"If you purchase any aspect of the Service, you must provide complete and accurate billing information. For paid subscriptions, we will automatically charge your payment method on each periodic renewal until you cancel. You can cancel at any time; however, payments already made are non-refundable, except where required by law."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"8. Termination, Suspension, Discontinuation"}),x.jsx("p",{children:"We may terminate or suspend your access to our Service or delete your account at any time without notice to you if we determine that you breached these Terms, we must comply with the law, or your use could cause risk or harm to CoreThink or others."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"9. Disclaimer of Warranties"}),x.jsx("p",{className:"font-mono text-xs uppercase border-l-2 border-border pl-4 py-2",children:"TO THE FULLEST EXTENT PERMITTED BY LAW, THE SERVICE IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS. YOUR USE OF THE SERVICE IS AT YOUR OWN RISK. THE SERVICE IS PROVIDED WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"11. Limitation of Liability"}),x.jsx("p",{className:"font-mono text-xs uppercase border-l-2 border-border pl-4 py-2",children:"TO THE FULLEST EXTENT PERMITTED BY LAW, IN NO EVENT WILL CORETHINK BE LIABLE (A) FOR ANY INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES ARISING OUT OF OR RELATING TO THE USE OF, OR INABILITY TO USE, THE SERVICE; AND (B) TO YOU FOR ANY CLAIMS, DAMAGES OR COSTS IN AN AMOUNT EXCEEDING THE AMOUNT YOU PAID TO US HEREUNDER OR ONE HUNDRED U.S. DOLLARS ($100.00), WHICHEVER IS GREATER."})]}),x.jsxs("section",{children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"12. Dispute Resolution"}),x.jsx("p",{className:"font-mono text-xs uppercase border-l-2 border-border pl-4 py-2",children:"Class Action and Jury Trial Waiver. BY ENTERING INTO THESE TERMS, YOU AND CORETHINK ARE EACH WAIVING THE RIGHT TO A TRIAL BY JURY OR TO BRING, JOIN, OR PARTICIPATE IN ANY PURPORTED CLASS ACTION OR REPRESENTATIVE PROCEEDING."})]}),x.jsxs("section",{className:"border-t border-border pt-8",children:[x.jsx("h2",{className:"mb-4 text-xl font-bold text-foreground",children:"How to Contact Us"}),x.jsx("p",{children:"These Terms are with CoreThink AI Inc."}),x.jsxs("p",{className:"mt-2",children:["For questions about these Terms or the Service, contact us at ",x.jsx("a",{href:"mailto:[email protected]",className:"text-foreground hover:underline",children:"[email protected]"}),"."]})]})]})]})}),N4=[{id:"about",title:"About CoreThink"},{id:"information-we-collect",title:"Information we collect"},{id:"how-we-use-information",title:"How we use information"},{id:"api-and-openrouter",title:"API and OpenRouter"},{id:"sharing",title:"How we share information"},{id:"cookies-and-analytics",title:"Cookies and analytics"},{id:"retention",title:"Data retention"},{id:"security",title:"Security"},{id:"children",title:"Children’s privacy"},{id:"your-rights",title:"Your rights and choices"},{id:"policy-updates",title:"Policy updates"},{id:"contact",title:"Contact us"}];function ra({id:t,children:e}){const n=N4.findIndex(r=>
404r.id===t);return x.jsxs("section",{id:t,"aria-labelledby":`${t}-heading`,className:"scroll-mt-8 border-t border-white/10 pt-8",children:[x.jsxs("h2",{id:`${t}-heading`,className:"mb-5 text-xl font-semibold tracking-tight text-neutral-100 sm:text-2xl",children:[x.jsx("span",{className:"mr-3 text-sm font-normal tabular-nums text-neutral-500","aria-hidden":"true",children:String(n+1).padStart(2,"0")}),N4[n].title]}),e]})}function Y$(){const{hash:t}=zi();return x.jsx("nav",{"aria-label":"Privacy policy sections",children:x.jsx("ol",{className:"space-y-1",children:N4.map((e,n)=>x.jsx("li",{children:x.jsxs("a",{href:`#${e.id}`,"aria-current":t===`#${e.id}`?"location":void 0,className:"flex items-baseline gap-3 rounded-md py-2 text-sm text-neutral-400 transition-colors hover:text-white focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-400 aria-[current=location]:text-white",children:[x.jsx("span",{className:"text-xs tabular-nums text-neutral-500","aria-hidden":"true",children:String(n+1).padStart(2,"0")}),e.title]})},e.id))})})}function X$(){const{hash:t}=zi();return A.useEffect(()=>{const e=document.title;return document.title="Privacy Policy | CoreThink AI",()=>{document.title=e}},[]),A.useEffect(()=>{if(!t)return;const e=window.requestAnimationFrame(()=>{document.getElementById(t.slice(1))?.scrollIntoView()});return()=>window.cancelAnimationFrame(e)},[t]),x.jsxs("div",{className:"privacy-policy-page min-h-screen bg-neutral-950 font-primary text-neutral-100 selection:bg-blue-400/30",children:[x.jsx("a",{href:"#policy-content",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-white focus:px-4 focus:py-3 focus:text-black",children:"Skip to policy"}),x.jsx("header",{className:"border-b border-white/10",children:x.jsxs("div",{className:"mx-auto flex max-w-6xl items-center justify-between gap-4 px-6 py-6 sm:px-8",children:[x.jsxs(Tn,{to:"/","aria-label":"CoreThink home",className:"text-2xl font-bold tracking-tight focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-400",children:["CoreThink",x.jsx("span",{className:"text-blue-400",children:"."})]}),x.jsxs(Tn,{to:"/",className:"inline-flex items-center gap-2 text-sm text-neutral-400 transition-colors hover:text-white focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-400",children:[x.jsx(H4,{className:"size-4","aria-hidden":"true"})," Back to home"]})]})}),x.jsxs("main",{className:"mx-auto max-w-6xl px-6 pb-20 pt-14 sm:px-8 sm:pt-20",children:[x.jsxs("div",{className:"mb-10 border-b border-white/10 pb-10 sm:mb-14 sm:pb-12",children:[x.jsx("p",{className:"mb-5 text-xs font-medium uppercase tracking-[0.2em] text-blue-400",children:"Legal"}),x.jsx("h1",{className:"text-4xl font-medium tracking-tight sm:text-6xl",children:"Privacy Policy"}),x.jsx("p",{className:"mt-5 max-w-2xl text-lg leading-8 text-neutral-400",children:"How we collect, use, and protect your information across CoreThink’s website, applications, and API services."}),x.jsxs("div",{className:"mt-7 flex flex-wrap gap-x-6 gap-y-2 text-sm text-neutral-400",children:[x.jsxs("p",{children:["Effective: ",x.jsx("time",{dateTime:"2026-01-08",children:"January 8, 2026"})]}),x.jsxs("p",{children:["Last updated: ",x.jsx("time",{dateTime:"2026-09-12",children:"September 12, 2026"})]})]})]}),x.jsxs("div",{className:"grid items-start gap-10 lg:grid-cols-[220px_minmax(0,1fr)] lg:gap-16",children:[x.jsxs("aside",{className:"lg:sticky lg:top-8 lg:max-h-[calc(100dvh-4rem)] lg:overflow-y-auto",children:[x.jsxs("details",{className:"group rounded-lg border border-white/10 px-5 lg:hidden",children:[x.jsxs("summary",{className:"flex cursor-pointer list-none items-center justify-between py-4 text-sm font-medium [&::-webkit-details-marker]:hidden",children:["On this page ",x.jsx(G4,{className:"size-4 transition-transform group-open:rotate-180","aria-hidden":"true"})]}),x.jsx("div",{className:"border-t border-white/10 py-3",children:x.jsx(Y$,{})})]}),x.jsxs("div",{className:"hidden lg:block",children:[x.jsx("h2",{className:"mb-4 text-xs font-medium uppercase tracking-widest text-neutral-500",children:"On this page"}),x.jsx(Y$,{}),x.jsxs("div",{className:"mt-7 border-t border-white/10 pt-6 text-sm",children:[x.jsx("p",{className:"mb-2 text-neutral-400",children:"Privacy questions?"}),x.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-1 text-neutral-200 underline decoration-white/30 underline-offset-4 hover:text-white",children:["Contact us ",x.jsx(kce,{className:"size-3.5","aria-hidden":"true"})]})]})]})]}),x.jsxs("article",{id:"policy-content","aria-label":"Privacy policy",tabIndex:-1,
404className:"min-w-0 space-y-10 text-base leading-7 text-neutral-400 outline-none [&_a]:text-neutral-100 [&_a]:underline [&_a]:decoration-white/30 [&_a]:underline-offset-4 [&_a:hover]:decoration-white [&_a:focus-visible]:outline-2 [&_a:focus-visible]:outline-offset-4 [&_a:focus-visible]:outline-blue-400",children:[x.jsxs("div",{className:"space-y-4 text-lg leading-8",children:[x.jsx("p",{className:"text-lg leading-relaxed text-neutral-100",children:'At CoreThink AI Inc ("CoreThink", "our", "us" or "we"), we value your privacy and are committed to being fair, accountable, and transparent in how we handle your personal information.'}),x.jsx("p",{className:"mt-4",children:'Our Privacy Policy outlines how we collect, use, and disclose your personal information when you use our websites, applications, APIs, and other CoreThink AI services (collectively, our "Service"). It also describes your privacy rights.'}),x.jsx("p",{className:"mt-4",children:"This policy describes CoreThink’s handling of personal information, including when requests reach us through a third-party platform such as OpenRouter. Those platforms have their own privacy policies for information they handle. Where we process information on behalf of a business or enterprise customer under a separate agreement, that agreement governs that processing. Employment-related information is outside the scope of this policy."})]}),x.jsxs(ra,{id:"about",children:[x.jsx("p",{children:"CoreThink is a research and deployment company working on building artificial intelligence tools to accelerate human potential. We are guided by our mission to build safe and beneficial AI systems."}),x.jsx("p",{className:"mt-4",children:"As part of our mission, we have developed conversational generative AI models powered by CoreThink’s large language models. Please note that while we may integrate with other platforms, CoreThink is an independent entity."})]}),x.jsxs(ra,{id:"information-we-collect",children:[x.jsxs("p",{className:"mb-6",children:["We ask that you do ",x.jsx("strong",{className:"text-neutral-100 underline",children:"NOT"})," include sensitive personal information in your prompts and inputs into our Service; however, we cannot control what you provide to us."]}),x.jsxs("div",{className:"space-y-10",children:[x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"Account Data"}),x.jsx("p",{className:"mb-4",children:"If you create an account with us, we collect information such as your name, email address, authentication identifiers, and account and organization details. If you log into our Service using a third-party service (such as Google or GitHub), that third-party will send your information to us at your direction."}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," Directly from you or from a third-party identity provider."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To provide, analyze, and maintain our Service; to provide support; to communicate with you; to ensure security; for legal purposes."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may disclose it:"})," To our contracted service providers; in connection with business transfers; for legal purposes."]})]})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"Payment Data"}),x.jsx("p",{className:"mb-4",children:"Where payment is required to access the Service (ex., if you are paying for a specific subscription tier), we may have a third-party process payment information, such as payment card information, and details regarding your transactions for us."}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," Through a third-party payment processor, such as Stripe."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To process transactions; to provide support; to ensure security; for legal purposes."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may disclose it:"}
404)," To our contracted service providers; for legal purposes."]})]})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"User Content (Inputs and Outputs)"}),x.jsx("p",{className:"mb-4",children:'You may provide personal information in prompts and other content you input, such as text, files, images, code, and other material (“Input”). Outputs of the Service (“Output”), including responses our AI generates, are based on your Input (together, "User Content"). If you include personal information in Inputs you provide to the Service, this information may be reproduced in the Output.'}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," Directly from you via the interface or API."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To provide, analyze, and maintain our Service; to develop and improve our Service (model training) and to conduct research; to ensure security; for legal purposes."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may disclose it:"})," To our contracted service providers; for legal purposes."]})]})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"Feedback Data"}),x.jsx("p",{className:"mb-4",children:"Where applicable, we will collect your Feedback. This might arise if, for example, in a given conversation with our AI, you rate an Output using thumbs-up/thumbs-down icons or provide written corrections."}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," Directly from you."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To develop and improve our Service (Reinforcement Learning from Human Feedback); to ensure security."]})]})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"Technical Data"}),x.jsx("p",{className:"mb-4",children:"Technical data includes information such as your IP address, device type, browser type and version, and operating system. We also collect usage information, including the features you use, referral information, API key identifiers, requested models, token counts, request timestamps, response status, latency, and billing records. Conversation content and history may be stored as described below."}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," Automatically when you use or interact with the Service, including through analytics tools."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To provide, analyze, and maintain our Service; to ensure security."]})]})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"mb-2 font-bold text-neutral-100",children:"Publicly Available Data"}),x.jsx("p",{className:"mb-4",children:"We use information that is publicly available on the internet to train our models and provide resulting Output. While we do not intentionally seek out personal information, we understand that there is personal information incidentally included in these datasets."}),x.jsxs("div",{className:"grid gap-3 text-sm border-l-2 border-white/10 pl-4",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may collect it:"})," From publicly available resources, datasets, and crawlers."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"How we may use it:"})," To develop and improve our Service; to conduct research."]})]})]})]})]}),x.jsxs(ra,{id:"how-we-use-information",children:[x.jsx("p",{className:"mb-4",children:"We may use your personal information for a variety of purposes:"}),x.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To provide, analyze, and maintain our Service:"})," For example, to respond to your Inputs or to process payments."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To provide support and assistance:"})," For example, to troubleshoot problems."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To develop and improve our Service and to conduct research:"})," For example to develop new product features, to train our models, to identify usage trends, and for data analysis."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To communicate with you:"})," For example, to send you information about our Service, events, or changes to the Service."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To ensure the security and integrity of our Service:"})," For example, to protect the security of our Services and to detect and prevent fraud."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"For legal purposes:"})," For example, to comply with our legal obligations."]})]}),x.jsx("p",{className:"mt-4",children:"We do not sell your personal information. We do not share personal information for targeted or cross-contextual advertising purposes."})]}),x.jsxs(ra,{id:"api-and-openrouter",children:[x.jsx("p",{children:"When you use the CoreThink API, directly or through a platform such as OpenRouter, we process the prompts, messages, files, and other content sent to us to generate and return a response. We may al
404so receive request identifiers, model settings, and technical metadata from the platform. We receive the information the platform sends us, which may differ from the information in a direct CoreThink account."}),x.jsxs("div",{className:"mt-6 space-y-5 border-l-2 border-blue-400/60 pl-5",children:[x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"Prompt and response logging."})," CoreThink may store request messages, generated responses, reasoning content, and associated usage and diagnostic information to operate, troubleshoot, secure, and improve the Service."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"Model training."})," As described in the preceding section, we may use User Content and feedback for research, service improvement, and model training, subject to applicable law and any separate agreement governing your use of the Service."]}),x.jsxs("p",{children:[x.jsx("strong",{className:"text-neutral-100",children:"Retention."})," Standard API usage is not a zero data retention service. The retention section below explains how we keep information. Any different retention or training restrictions must be set out in the agreement applicable to your service."]})]}),x.jsxs("p",{className:"mt-6",children:["If you access CoreThink through OpenRouter, this policy applies to the information CoreThink processes. OpenRouter’s own collection and use of information is described in its ",x.jsx("a",{href:"https://openrouter.ai/privacy",children:"Privacy Policy"}),". You can also review its ",x.jsx("a",{href:"https://openrouter.ai/docs/guides/privacy/provider-logging",children:"provider data policies"})," when choosing a provider."]})]}),x.jsxs(ra,{id:"sharing",children:[x.jsx("p",{className:"mb-4",children:"We may disclose your personal information to others in the following circumstances:"}),x.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To our contracted service providers:"})," Providers of hosting, cloud computing, payment processing, analytics, email delivery, and customer support."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To model and integration providers:"})," When a feature routes your request to an inference provider or a service you connect, we share the content and request information needed to perform that request. Their handling of information is also subject to their applicable terms and privacy policies."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"In connection with business transfers:"})," In connection with any merger, financing, acquisition, bankruptcy, or dissolution."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"For legal purposes:"})," To comply with laws, respond to lawful requests, or protect the rights and property of CoreThink."]}),x.jsxs("li",{children:[x.jsx("strong",{className:"text-neutral-100",children:"To our related companies:"})," Affiliates and subsidiaries."]})]})]}),x.jsxs(ra,{id:"cookies-and-analytics",children:[x.jsx("p",{children:"We use cookies, local storage, and similar technologies to keep you signed in, remember preferences, and understand how the Service is used. Where configured, we use Google Analytics and Microsoft Clarity to measure page visits, feature usage, referral sources, and interactions. Clarity may capture session replays. Analytics information may be associated with your account when you are signed in."}),x.jsx("p",{className:"mt-4",children:"You can manage or delete cookies and site storage through your browser settings. Blocking these technologies may affect sign-in and other features. For questions about analytics or your information, contact us using the details below."})]}),x.jsxs(ra,{id:"retention",children:[x.jsx("p",{children:"We retain personal information, including API request and response logs, where we have an ongoing legitimate business need to do so. Retention depends on the type of information, the service or feature used, our operational and security needs, billing and recordkeeping requirements, and applicable agreements or legal obligations."}),x.jsx("p",{className:"mt-4",children:"The length of time we retain data may depend on the features or settings you use. For example, if you choose to delete any or all of your conversations or if you choose to delete your account, we will generally delete the data within 30 days unless it is necessary to retain the data for legal, compliance, or safety purposes."})]}),x.jsx(ra,{id:"security",children:x.jsx("p",{children:"CoreThink implements commercially reasonable technical, administrative, and organizational measures designed to protect personal information from loss, misuse, and unauthorized access. However, no security measure or method of data transmission over the internet is 100% secure."})}),x.jsx(ra,{id:"children",children:x.jsx("p",{children:"Our Service is not directed at children or minors under the age of 13 and we do not knowingly collect any personal information from them. Parents of teenager
404s between the ages of 13 and 17 years old are urged to exercise care in monitoring the use of this Service by their teenagers."})}),x.jsxs(ra,{id:"your-rights",children:[x.jsx("p",{children:"Depending on where you are located and applicable law, you may have rights to access, correct, delete, or receive a copy of your personal information, to restrict or object to certain processing, and to withdraw consent where processing is based on consent. You may also have the right to complain to your local data protection authority. These rights are subject to applicable conditions and exceptions."}),x.jsx("p",{className:"mt-4 italic",children:"Note on AI Outputs: Please note that we cannot guarantee the factual accuracy of Output from our models. If Output contains factually inaccurate personal information relating to you, you can submit a correction request, and we will make reasonable efforts to correct this information — but due to the technical complexity of our models (e.g., information embedded in model weights), it may not be feasible for us to do so."}),x.jsxs("p",{className:"mt-4",children:["Exercising your rights: To make a privacy request, including a request concerning the use of your content for model training, please contact us at ",x.jsx("a",{href:"mailto:[email protected]",className:"text-neutral-100 hover:underline",children:"[email protected]"}),"."]}),x.jsx("p",{className:"mt-4",children:"We may need to verify your identity to respond to a request. If your information was submitted through an organization or third-party platform, you may also need to contact that organization or platform for information it controls. You can unsubscribe from marketing emails using the link in those messages."})]}),x.jsx(ra,{id:"policy-updates",children:x.jsx("p",{children:"We may update our Privacy Policy from time to time. When we do, we will publish an updated version and date on this page, and provide additional notice where required by applicable law."})}),x.jsxs(ra,{id:"contact",children:[x.jsx("p",{children:"If you have any queries or complaints about our collection, use, or storage of your personal information, please contact us at:"}),x.jsxs("div",{className:"mt-4 space-y-1 text-neutral-100",children:[x.jsx("p",{className:"font-bold",children:"CoreThink AI Inc"}),x.jsxs("p",{children:["Email: ",x.jsx("a",{href:"mailto:[email protected]",className:"hover:underline",children:"[email protected]"})]})]})]})]})]})]}),x.jsx("footer",{className:"border-t border-white/10",children:x.jsxs("div",{className:"mx-auto flex max-w-6xl flex-col justify-between gap-5 px-6 py-8 text-sm text-neutral-500 sm:flex-row sm:px-8",children:[x.jsxs("p",{children:["© ",new Date().getFullYear()," CoreThink AI Inc"]}),x.jsxs("nav",{"aria-label":"Legal",className:"flex flex-wrap gap-6",children:[x.jsx(Tn,{to:"/terms",className:"text-neutral-400 hover:text-white",children:"Terms of Service"}),x.jsx("a",{href:"mailto:[email protected]",className:"text-neutral-400 hover:text-white",children:"Contact"}),x.jsx("a",{href:"#",className:"text-neutral-400 hover:text-white",children:"Back to top ↑"})]})]})})]})}const LHe="/assets/auto-insurance-corethink-JsXRRu7f.png",BHe="/assets/auto-insurance-glm-5Eah-vfH.png",PHe="/assets/auto-insurance-gem3flash-CARL4Wvp.png",FHe="/assets/auto-insurance-kimik2thinking-N17VLoJO.png",zHe="/assets/customer-service-corethink-CInYfmIq.png",UHe="/assets/customer-service-glm-BLmrg3VF.png",jHe="/assets/customer-service-gem3flash-CX72xSUk.png",HHe="/assets/customer-service-kimik2thinking-BGJEVJce.png",$He="/assets/real-estate-corethink-Cn_TAtcj.png",VHe="/assets/real-estate-glm-QECVUUHC.png",GHe="/assets/real-estate-gem3flash-C5WJhfzt.png",qHe="/assets/real-estate-kimik2thinking-_W_Bh0V0.png",oC=({name:t,description:e,link:n="#",imageSrc:r})=>x.jsxs(lp,{className:"h-full hover:shadow-lg transition-shadow duration-300 border-border-subtle bg-card/50 backdrop-blur-sm flex flex-col",children:[x.jsx("div",{className:"relative w-full rounded-t-lg bg-muted/20 overflow-hidden",children:x.jsx("img",{src:r,alt:`${t} model`,className:"w-full h-auto object-contain"})}),x.jsxs(D4,{className:"p-4 sm:p-6",children:[x.jsx(M4,{className:"text-lg sm:text-xl font-semibold",children:t}),x.jsx(mV,{className:"text-xs sm:text-sm text-muted-foreground",children:e})]}),x.jsx(p0,{className:"mt-auto p-4 sm:p-6 pt-0",children:x.jsx(oi,{variant:"outline",className:"w-full group text-sm sm:text-base",asChild:!0,children:x.jsxs("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:["View Result",x.jsx($4,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"})]})})})]}),lC=({promptText:t})=>{const[e,n]=A.useState(!1),r=async()=>{try{await navigator.clipboard.writeText(t),n(!0),setTimeout(()=>n(!1),2e3)}catch(i){console.error("Failed to copy text:",i)}};return x.jsxs(lp,{className:"bg-card/50 backdrop-blur-sm border-border-subtle",children:[x.jsx(D4,{className:"p-4 sm:p-6",children:x.jsxs(M4,{className:"text-base sm:text-lg font-semibold flex items-center justify-between",children:[x.jsx("span",{className:"text-primary",children:"Prompt"}),x.jsx(oi,{variant:"ghost",size:"sm",onClick:r,className:"h-8 px-2 text-muted-foreground hover:text-foreground","aria-label":e?"Copied!":"Copy prompt to clipboard",children:e?x.jsx(V4,{className:"h-4 w-4 text-green-500"}):x.jsx(zce,{className:"h-4 w-4"})})]})}),x.jsx(p0,{className:"p-4 sm:p-6 pt-0",children:x.jsx("p",{className:"text-foreground text-sm sm:text-base leading-relaxed",children:t})})]})},WHe=()=>{const t="Build an auto insurance agent for people who are looking for best insurance and deals so that they can save hours of time and effort phone calling. Use React and TypeScript.",e="I want to build an AI customer support agent that answers common questions for an e-commerce store. Can you create a React + TypeScript frontend with a chat interface and basic ticket tracking?",n="I'm looking to buy a house and want an AI to help compare listings and explain tradeoffs. Can you create a React frontend where users chat and view summarized property details?",r=[{name:"CoreThink",description:"Our advanced reasoning model with superior performance",link:"https://auto-insurance-corethink.netlify.app",imageSrc:LHe},{name:"GLM 4.7",description:"General Language Model 4.7",link:"https://auto-insurance-glm.netlify.app",imageSrc:BHe}
404,{name:"Gemini 3 Flash",description:"Google's fast and efficient model",link:"https://auto-insurance-gem3flash.netlify.app",imageSrc:PHe},{name:"Kimi K2 Thinking",description:"Moonshot AI's thinking model",link:"https://auto-insurance-kimik2thinking.netlify.app",imageSrc:FHe}],i=[{name:"CoreThink",description:"Our advanced reasoning model with superior performance",link:"https://customer-service-corethink.netlify.app",imageSrc:zHe},{name:"GLM 4.7",description:"General Language Model 4.7",link:"https://customer-service-glm.netlify.app",imageSrc:UHe},{name:"Gemini 3 Flash",description:"Google's fast and efficient model",link:"https://customer-service-gem3flash.netlify.app",imageSrc:jHe},{name:"Kimi K2 Thinking",description:"Moonshot AI's thinking model",link:"https://customer-service-kimik2thinking.netlify.app",imageSrc:HHe}],s=[{name:"CoreThink",description:"Our advanced reasoning model with superior performance",link:"https://real-estate-corethink.netlify.app",imageSrc:$He},{name:"GLM 4.7",description:"General Language Model 4.7",link:"https://real-estate-glm.netlify.app",imageSrc:VHe},{name:"Gemini 3 Flash",description:"Google's fast and efficient model",link:"https://real-estate-gem3flash.netlify.app",imageSrc:GHe},{name:"Kimi K2 Thinking",description:"Moonshot AI's thinking model",link:"https://real-estate-kimik2thinking.netlify.app",imageSrc:qHe}];return x.jsx(iS,{navbarClassName:"backdrop-blur-md",children:x.jsx("div",{className:"min-h-screen bg-background pt-24 pb-16 px-4 sm:px-6 md:px-8 lg:px-12",children:x.jsxs("div",{className:"max-w-7xl mx-auto",children:[x.jsxs("div",{className:"text-center mb-12",children:[x.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 text-foreground",children:"Model Comparison Showcase"}),x.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"See how CoreThink compares to other leading AI models on complex reasoning tasks"})]}),x.jsx("div",{className:"mb-8 sm:mb-12",children:x.jsx(lC,{promptText:t})}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6",children:r.map(a=>x.jsx(oC,{name:a.name,description:a.description,link:a.link,imageSrc:a.imageSrc},a.name))}),x.jsx("div",{className:"mt-12 sm:mt-16",children:x.jsx(lC,{promptText:e})}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6 mt-4 sm:mt-6",children:i.map(a=>x.jsx(oC,{name:a.name,description:a.description,link:a.link,imageSrc:a.imageSrc},a.name))}),x.jsx("div",{className:"mt-12 sm:mt-16",children:x.jsx(lC,{promptText:n})}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6 mt-4 sm:mt-6",children:s.map(a=>x.jsx(oC,{name:a.name,description:a.description,link:a.link,imageSrc:a.imageSrc},a.name))})]})})})};var KHe=function(){return null};const YHe=new J2e({defaultOptions:{queries:{staleTime:300*1e3,gcTime:1800*1e3,retry:3,retryDelay:t=>Math.min(1e3*2**t,3e4),refetchOnWindowFocus:!0,refetchOnMount:!0,refetchOnReconnect:!0},mutations:{retry:1}}}),cC=({children:t})=>{const{isAuthenticated:e,isLoading:n,initializeAuth:r}=tu(),i=zi(),[s,a]=A.useState(!1),o=i.hash.startsWith("#")?i.hash.substring(1):i.hash,l=new URLSearchParams(o),c=l.get("token")&&l.get("refreshToken");return A.useEffect(()=>{(async()=>(c||await r(),a(!0)))()},[c,r]),!s||n?x.jsxs("div",{className:"flex flex-col items-center justify-center min-h-screen gap-4",children:[x.jsx(q4,{className:"h-10 w-10 animate-spin text-gray-600"}),x.jsx("p",{className:"text-sm text-gray-500",children:"Authenticating..."})]}):c?x.jsx(x.Fragment,{children:t}):e?x.jsx(x.Fragment,{children:t}):x.jsx(OV,{to:"/",state:{from:i},replace:!0})},XHe=({...t})=>x.jsx(mTe,{theme:"light",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t}),ZHe=void 0,QHe=t=>{{console.warn("Clarity Project ID not configured");return}},JHe=t=>{{console.warn("GA4 Measurement ID not configured");return}},e$e=(t,e)=>{},tGe=(t,e)=>{typeof window.gtag=="function"&&window.gtag("event",t,e),typeof window.clarity=="function"&&window.clarity("event",t)},t$e=(t,e)=>{typeof window.gtag=="function"&&(window.gtag("set","user_properties",{user_id:t,...e}),window.gtag("config",ZHe,{user_id:t})),typeof window.clarity=="function"&&(window.clarity("identify",t,void 0,void 0,e?.name),e?.email&&window.clarity("set","user_email",e.email),e?.name&&window.clarity("set","user_name",e.name))},n$e=()=>{typeof window.gtag=="function"&&window.gtag("set","user_properties",{user_id:null})},r$e=({children:t})=>{const e=zi(),{user:n,isAuthenticated:r}
404=tu(),i=A.useRef(!1),s=A.useRef(null);return A.useEffect(()=>{i.current||(i.current=!0,JHe(),QHe())},[]),A.useEffect(()=>{if(s.current===e.pathname)return;s.current=e.pathname;const a=setTimeout(()=>{e$e(e.pathname+e.search)},100);return()=>clearTimeout(a)},[e.pathname,e.search]),A.useEffect(()=>{r&&n?t$e(n.id,{email:n.email,name:n.name}):r||n$e()},[r,n]),x.jsx(x.Fragment,{children:t})},i$e=A.lazy(()=>xr(()=>import("./Dashboard-Cm2pnn-W.js"),__vite__mapDeps([7,8,9,10,11,12,13,14,15]))),s$e=A.lazy(()=>xr(()=>import("./TraeInspiredLanding-ddeaLUn4.js"),__vite__mapDeps([16,13,8,12,17,11]))),a$e=A.lazy(()=>xr(()=>import("./Landing-D6jXlnkH.js"),__vite__mapDeps([18,19]))),o$e=A.lazy(()=>xr(()=>import("./WaitlistPage-B1uukUHG.js"),__vite__mapDeps([20,19]))),l$e=A.lazy(()=>xr(()=>import("./CareersPage-BuhZNgb1.js"),__vite__mapDeps([21,19]))),pie=A.lazy(()=>xr(()=>import("./ProviderLanding-CSD6Y52-.js"),__vite__mapDeps([22,17,11]))),c$e=A.lazy(()=>xr(()=>import("./Documentation-C4AXzIIi.js"),__vite__mapDeps([23,15]))),u$e=A.lazy(()=>xr(()=>import("./ROICalculatorPage-kPSTQgXw.js"),__vite__mapDeps([24,9,8,14,12,11]))),d$e=A.lazy(()=>xr(()=>import("./TokenUsageDetailPage-DihNj0kp.js"),__vite__mapDeps([25,10,8,14]))),h$e=A.lazy(()=>xr(()=>import("./AdminSurveyDetail-BvE_Muvz.js"),[])),f$e=()=>x.jsx("div",{className:"h-screen bg-background",children:x.jsx(c$e,{})}),p$e=()=>{const{pathname:t}=zi();return A.useEffect(()=>{window.scrollTo(0,0)},[t]),null},m$e=()=>{const{subdomain:t}=TV(),e=t?dEe(t):null;return e?x.jsx(pie,{config:e}):x.jsx(OV,{to:"/",replace:!0})},g$e=()=>{const{provider:t,isProviderLanding:e,isDeveloperPortal:n}=BY();return n?x.jsx(s$e,{}):e&&t?x.jsx(pie,{config:t}):x.jsx(a$e,{})},b$e=()=>x.jsxs(tke,{client:YHe,children:[x.jsx(Gle,{children:x.jsx(hEe,{children:x.jsxs(r$e,{children:[x.jsx(p$e,{}),x.jsx(A.Suspense,{fallback:x.jsx("div",{className:"flex items-center justify-center h-screen bg-background text-foreground",children:x.jsx(q4,{className:"w-8 h-8 animate-spin text-blue-500"})}),children:x.jsxs(wle,{children:[x.jsx(Sr,{path:"/",element:x.jsx(g$e,{})}),x.jsx(Sr,{path:"/waitlist",element:x.jsx(o$e,{})}),x.jsx(Sr,{path:"/careers",element:x.jsx(l$e,{})}),x.jsx(Sr,{path:"/providers/:subdomain",element:x.jsx(m$e,{})}),x.jsx(Sr,{path:"/news",element:x.jsx(zje,{})}),x.jsx(Sr,{path:"/blog",element:x.jsx(Hje,{})}),x.jsx(Sr,{path:"/blog/:slug",element:x.jsx(DHe,{})}),x.jsx(Sr,{path:"/showcase",element:x.jsx(WHe,{})}),x.jsx(Sr,{path:"/signin",element:x.jsx(Txe,{})}),x.jsx(Sr,{path:"/contact",element:x.jsx(vxe,{})}),x.jsx(Sr,{path:"/roi",element:x.jsx(u$e,{})}),x.jsx(Sr,{path:"/terms",element:x.jsx(MHe,{})}),x.jsx(Sr,{path:"/privacy",element:x.jsx(X$,{})}),x.jsx(Sr,{path:"/privacy-policy",element:x.jsx(X$,{})}),x.jsx(Sr,{path:"/docs/*",element:x.jsx(f$e,{})}),x.jsx(Sr,{path:"/main/*",element:x.jsx(cC,{children:x.jsx(i$e,{})})}),x.jsx(Sr,{path:"/admin/token-usage/detail",element:x.jsx(cC,{children:x.jsx(d$e,{})})}),x.jsx(Sr,{path:"/admin/survey",element:x.jsx(cC,{children:x.jsx(h$e,{})})})]})}),x.jsx(XHe,{})]})})}),x.jsx(KHe,{initialIsOpen:!1})]});var uC={exports:{}},Wm={},dC={exports:{}},hC={};var Z$;function y$e(){return Z$||(Z$=1,(function(t){function e(G,K){var Y=G.length;G.push(K);e:for(;0<Y;){var te=Y-1>>>1,q=G[te];if(0<i(q,K))G[te]=K,G[Y]=q,Y=te;else break e}}function n(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var K=G[0],Y=G.pop();if(Y!==K){G[0]=Y;e:for(var te=0,q=G.length,j=q>>>1;te<j;){var X=2*(te+1)-1,H=G[X],ae=X+1,le=G[ae];if(0>i(H,Y))ae<q&&0>i(le,H)?(G[te]=le,G[ae]=Y,te=ae):(G[te]=H,G[X]=Y,te=X);else if(ae<q&&0>i(le,Y))G[te]=le,G[ae]=Y,te=ae;else break e}}return K}function i(G,K){var Y=G.sortIndex-K.sortIndex;return Y!==0?Y:G.id-K.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,o=a.now();t.unstable_now=function(){return a.now()-o}}var l=[],c=[],d=1,f=null,p=3,g=!1,b=!1,y=!1,w=!1,S=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;function T(G){for(var K=n(c);K!==null;){if(K.callback===null)r(c);else if(K.startTime<=G)r(c),K.sortIndex=K.expirationTime,e(l,K);else break;K=n(c)}}function R(G){if(y=!1,T(G),!b)if(n(l)!==null)b=!0,N||(N=!0,L());else{var K=n(c);K!==null&&W(R,K.startTime-G)}}var N=!1,I=-1,P=5,z=-1;function U(){return w?!0:!(t.unstable_now()-z<P)}function Z(){if(w=!1,N){var G=t.unstable_now();z=G;var K=!0;try{e:{b=!1,y&&(y=!1,_(I),I=-1),g=!0;var Y=p;try{t:{for(T(G),f=n(l);f!==null&&!(f.expirationTime>G&&U());){var te=f.callback;if(typeof te=="function"){f.callback=null,p=f.priorityLevel;var q=te(f.expirationTime<=G);if(G=t.unstable_now(),typeof q=="function"){f.callback=q,T(G),K=!0;break t}f===n(l)&&r(l),T(G)}
vendor: 4,946 bytes, line 404
404else r(l);f=n(l)}if(f!==null)K=!0;else{var j=n(c);j!==null&&W(R,j.startTime-G),K=!1}}break e}finally{f=null,p=Y,g=!1}K=void 0}}finally{K?L():N=!1}}}var L;if(typeof E=="function")L=function(){E(Z)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,D=$.port2;$.port1.onmessage=Z,L=function(){D.postMessage(null)}}else L=function(){S(Z,0)};function W(G,K){I=S(function(){G(t.unstable_now())},K)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(G){G.callback=null},t.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<G?Math.floor(1e3/G):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(G){switch(p){case 1:case 2:case 3:var K=3;break;default:K=p}var Y=p;p=K;try{return G()}finally{p=Y}},t.unstable_requestPaint=function(){w=!0},t.unstable_runWithPriority=function(G,K){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var Y=p;p=G;try{return K()}finally{p=Y}},t.unstable_scheduleCallback=function(G,K,Y){var te=t.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?te+Y:te):Y=te,G){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=Y+q,G={id:d++,callback:K,priorityLevel:G,startTime:Y,expirationTime:q,sortIndex:-1},Y>te?(G.sortIndex=Y,e(c,G),n(l)===null&&G===n(c)&&(y?(_(I),I=-1):y=!0,W(R,Y-te))):(G.sortIndex=q,e(l,G),b||g||(b=!0,N||(N=!0,L()))),G},t.unstable_shouldYield=U,t.unstable_wrapCallback=function(G){var K=p;return function(){var Y=p;p=K;try{return G.apply(this,arguments)}finally{p=Y}}}})(hC)),hC}var Q$;function v$e(){return Q$||(Q$=1,dC.exports=y$e()),dC.exports}var J$;function w$e(){if(J$)return Wm;J$=1;var t=v$e(),e=qw(),n=BV();function r(u){var h="https://react.dev/errors/"+u;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+u+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function s(u){var h=u,m=u;if(u.alternate)for(;h.return;)h=h.return;else{u=h;do h=u,(h.flags&4098)!==0&&(m=h.return),u=h.return;while(u)}return h.tag===3?m:null}function a(u){if(u.tag===13){var h=u.memoizedState;if(h===null&&(u=u.alternate,u!==null&&(h=u.memoizedState)),h!==null)return h.dehydrated}return null}function o(u){if(u.tag===31){var h=u.memoizedState;if(h===null&&(u=u.alternate,u!==null&&(h=u.memoizedState)),h!==null)return h.dehydrated}return null}function l(u){if(s(u)!==u)throw Error(r(188))}function c(u){var h=u.alternate;if(!h){if(h=s(u),h===null)throw Error(r(188));return h!==u?null:u}for(var m=u,v=h;;){var k=m.return;if(k===null)break;var C=k.alternate;if(C===null){if(v=k.return,v!==null){m=v;continue}break}if(k.child===C.child){for(C=k.child;C;){if(C===m)return l(k),u;if(C===v)return l(k),h;C=C.sibling}throw Error(r(188))}if(m.return!==v.return)m=k,v=C;else{for(var B=!1,Q=k.child;Q;){if(Q===m){B=!0,m=k,v=C;break}if(Q===v){B=!0,v=k,m=C;break}Q=Q.sibling}if(!B){for(Q=C.child;Q;){if(Q===m){B=!0,m=C,v=k;break}if(Q===v){B=!0,v=C,m=k;break}Q=Q.sibling}if(!B)throw Error(r(189))}}if(m.alternate!==v)throw Error(r(190))}if(m.tag!==3)throw Error(r(188));return m.stateNode.current===m?u:h}function d(u){var h=u.tag;if(h===5||h===26||h===27||h===6)return u;for(u=u.child;u!==null;){if(h=d(u),h!==null)return h;u=u.sibling}return null}var f=Object.assign,p=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),E=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),Z=Symbol.iterator;function L(u){return u===null||typeof u!="object"?null:(u=Z&&u[Z]||u["@@iterator"],typeof u=="function"?u:null)}var $=Symbol.for("react.client.reference");function D(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===$?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case y:return"Fragment";case S:return"Profiler";case w:return"StrictMode";case R:return"Suspense";case N:return"SuspenseList";case z:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case b:return"Portal";case E:return u.displayName||"Context";case _:return(u._context.displayName||"Context")+".Consumer";case T:var h=u.render;
vendor: 10,789 bytes, lines 404-411
404return u=u.displayName,u||(u=h.displayName||h.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case I:return h=u.displayName||null,h!==null?h:D(u.type)||"Memo";case P:h=u._payload,u=u._init;try{return D(u(h))}catch{}}return null}var W=Array.isArray,G=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},te=[],q=-1;function j(u){return{current:u}}function X(u){0>q||(u.current=te[q],te[q]=null,q--)}function H(u,h){q++,te[q]=u.current,u.current=h}var ae=j(null),le=j(null),Ee=j(null),me=j(null);function ke(u,h){switch(H(Ee,h),H(le,u),H(ae,null),h.nodeType){case 9:case 11:u=(u=h.documentElement)&&(u=u.namespaceURI)?w7(u):0;break;default:if(u=h.tagName,h=h.namespaceURI)h=w7(h),u=S7(h,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}X(ae),H(ae,u)}function Le(){X(ae),X(le),X(Ee)}function qe(u){u.memoizedState!==null&&H(me,u);var h=ae.current,m=S7(h,u.type);h!==m&&(H(le,u),H(ae,m))}function Xe(u){le.current===u&&(X(ae),X(le)),me.current===u&&(X(me),_m._currentValue=Y)}var ut,it;function F(u){if(ut===void 0)try{throw Error()}catch(m){var h=m.stack.trim().match(/\n( *(at )?)/);ut=h&&h[1]||"",it=-1<m.stack.indexOf(`
405    at`)?" (<anonymous>)":-1<m.stack.indexOf("@")?"@unknown:0:0":""}return`
406`+ut+u+it}var Ce=!1;function Se(u,h){if(!u||Ce)return"";Ce=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var v={DetermineComponentFrameRoot:function(){try{if(h){var Re=function(){throw Error()};if(Object.defineProperty(Re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Re,[])}catch(xe){var we=xe}Reflect.construct(u,[],Re)}else{try{Re.call()}catch(xe){we=xe}u.call(Re.prototype)}}else{try{throw Error()}catch(xe){we=xe}(Re=u())&&typeof Re.catch=="function"&&Re.catch(function(){})}}catch(xe){if(xe&&we&&typeof xe.stack=="string")return[xe.stack,we.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var k=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");k&&k.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var C=v.DetermineComponentFrameRoot(),B=C[0],Q=C[1];if(B&&Q){var oe=B.split(`
407`),ve=Q.split(`
408`);for(k=v=0;v<oe.length&&!oe[v].includes("DetermineComponentFrameRoot");)v++;for(;k<ve.length&&!ve[k].includes("DetermineComponentFrameRoot");)k++;if(v===oe.length||k===ve.length)for(v=oe.length-1,k=ve.length-1;1<=v&&0<=k&&oe[v]!==ve[k];)k--;for(;1<=v&&0<=k;v--,k--)if(oe[v]!==ve[k]){if(v!==1||k!==1)do if(v--,k--,0>k||oe[v]!==ve[k]){var Te=`
409`+oe[v].replace(" at new "," at ");return u.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",u.displayName)),Te}while(1<=v&&0<=k);break}}}finally{Ce=!1,Error.prepareStackTrace=m}return(m=u?u.displayName||u.name:"")?F(m):""}function re(u,h){switch(u.tag){case 26:case 27:case 5:return F(u.type);case 16:return F("Lazy");case 13:return u.child!==h&&h!==null?F("Suspense Fallback"):F("Suspense");case 19:return F("SuspenseList");case 0:case 15:return Se(u.type,!1);case 11:return Se(u.type.render,!1);case 1:return Se(u.type,!0);case 31:return F("Activity");default:return""}}function ne(u){try{var h="",m=null;do h+=re(u,m),m=u,u=u.return;while(u);return h}catch(v){return`
410Error generating stack: `+v.message+`
411`+v.stack}}var ue=Object.prototype.hasOwnProperty,Oe=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,pe=t.unstable_shouldYield,Fe=t.unstable_requestPaint,Ge=t.unstable_now,He=t.unstable_getCurrentPriorityLevel,he=t.unstable_ImmediatePriority,Ie=t.unstable_UserBlockingPriority,$e=t.unstable_NormalPriority,mt=t.unstable_LowPriority,kt=t.unstable_IdlePriority,fn=t.log,Un=t.unstable_setDisableYieldValue,It=null,vn=null;function Yn(u){if(typeof fn=="function"&&Un(u),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(It,u)}catch{}}var Ot=Math.clz32?Math.clz32:Vs,bs=Math.log,Hr=Math.LN2;function Vs(u){return u>>>=0,u===0?32:31-(bs(u)/Hr|0)|0}var Xl=256,Qo=262144,ys=4194304;function Ci(u){var h=u&42;if(h!==0)return h;switch(u&-u){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:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return u&261888;case 262144:case 524288:case 1048576:case 2097152:return u&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function _t(u,h,m){var v=u.pendingLanes;if(v===0)return 0;var k=0,C=u.suspendedLanes,B=u.pingedLanes;u=u.warmLanes;var Q=v&134217727;return Q!==0?(v=Q&~C,v!==0?k=Ci(v):(B&=Q,B!==0?k=Ci(B):m||(m=Q&~u,m!==0&&(k=Ci(m))))):(Q=v&~C,Q!==0?k=Ci(Q):B!==0?k=Ci(B):m||(m=v&~u,m!==0&&(k=Ci(m)))),k===0?0:h!==0&&h!==k&&(h&C)===0&&(C=k&-k,m=h&-h,C>=m||C===32&&(m&4194048)!==0)?h:k}function An(u,h){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&h)===0}function Nr(u,h){switch(u){case 1:case 2:case 4:case 8:case 64:return h+250;case 16:case 32: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 h+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 ii(){var u=ys;return ys<<=1,(ys&62914560)===0&&(ys=4194304),u}function Zl(u){for(var h=[],m=0;31>m;m++)h.push(u);return h}function Mn(u,h){u.pendingLanes|=h,h!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Vi(u,h,m,v,k,C){var B=u.pendingLanes;u.pendingLanes=m,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=m,u.entangledLanes&=m,u.errorRecoveryDisabledLanes&=m,u.shellSuspendCounter=0;var Q=u.entanglements,oe=u.expirationTimes,ve=u.hiddenUpdates;for(m=B&~m;0<m;){var Te=31-Ot(m),Re=1<<Te;Q[Te]=0,oe[Te]=-1;var we=ve[Te];if(we!==null)for(ve[Te]=null,Te=0;Te<we.length;Te++){var xe=we[Te];xe!==null&&(xe.lane&=-536870913)}m&=~Re}v!==0&&yu(u,v,0),C!==0&&k===0&&u.tag!==0&&(u.suspendedLanes|=C&~(B&~h))}function yu(u,h,m){u.pendingLanes|=h,u.suspendedLanes&=~h;var v=31-Ot(h);u.entangledLanes|=h,u.entanglements[v]=u.entanglements[v]|1073741824|m&261930}function Gi(u,h){var m=u.entangledLanes|=h;for(u=u.entanglements;m;){var v=31-Ot(m),k=1<<v;k&h|u[v]&h&&(u[v]|=h),m&=~k}}function qi(u,h){var m=h&-h;return m=(m&42)!==0?1:th(m),(m&(u.suspendedLanes|h))!==0?0:m}function th(u){switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;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:u=128;break;case 268435456:u=134217728;break;default:u=0}return u}function Aa(u){return u&=-u,2<u?8<u?(u&134217727)!==0?32:268435456:8:2}function S_(){var u=K.p;return u!==0?u:(u=window.event,u===void 0?32:V7(u.type))}function aM(u,h){var m=K.p;try{return K.p=u,h()}finally{K.p=m}}var Ql=Math.random().toString(36).slice(2),$r="__reactFiber$"+Ql,Wi="__reactProps$"+Ql,nh="__reactContainer$"+Ql,__="__reactEvents$"+Ql,gie="__reactListeners$"+Ql,bie="__reactHandles$"+Ql,oM="__reactResources$"+Ql,Pp="__reactMarker$"+Ql;function x_(u){delete u[$r],delete u[Wi],delete u[__],delete u[gie],delete u[bie]}function rh(u){var h=u[$r];if(h)return h;for(var m=u.parentNode;m;){if(h=m[nh]||m[$r]){if(m=h.alternate,h.child!==null||m!==null&&m.child!==null)for(u=A7(u);u!==null;){if(m=u[$r])return m;u=A7(u)}return h}u=m,m=u.parentNode}return null}function ih(u){if(u=u[$r]||u[nh]){var h=u.tag;if(h===5||h===6||h===13||h===31||h===26||h===27||h===3)return u}return null}function Fp(u){var h=u.tag;if(h===5||h===26||h===27||h===6)return u.stateNode;throw Error(r(33))}function sh(u){var h=u[oM];return h||(h=u[oM]={hoistableStyles:new Map,hoistableScripts:new Map}),h}function Or(u){u[Pp]=!0}var lM=new Set,cM={};function vu(u,h){ah(u,h),ah(u+"Capture",h)}function ah(u,h){for(cM[u]=h,u=0;u<h.length;u++)lM.add(h[u])}var yie=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]*$"),uM={},dM={};function vie(u){return ue.call(dM,u)?!0:ue.call(uM,u)?!1:yie.test(u)?dM[u]=!0:(uM[u]=!0,!1)}function ub(u,h,m){if(vie(h))if(m===null)u.removeAttribute(h);else{switch(typeof m){case"undefined":case"function":case"symbol":u.removeAttribute(h);return;case"boolean":var v=h.toLowerCase().slice(0,5);if(v!=="data-"&&v!=="aria-"){u.removeAttribute(h);return}}u.setAttribute(h,""+m)}}function db(u,h,m){if(m===null)u.removeAttribute(h);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(h);return}u.setAttribute(h,""+m)}}function Jo(u,h,m,v){if(v===null)u.removeAttribute(m);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(m);return}u.setAttributeNS(h,m,""+v)}}function Gs(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function hM(u){var h=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}function wie(u,h,m){var v=Object.getOwnPropertyDescriptor(u.constructor.prototype,h);if(!u.hasOwnProperty(h)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var k=v.get,C=v.set;return Object.defineProperty(u,h,{configurable:!0,get:function(){return k.call(this)},set:function(B){m=""+B,C.call(this,B)}}),Object.defineProperty(u,h,{enumerable:v.enumerable}),{getValue:function(){return m},setValue:function(B){m=""+B},stopTracking:function(){u._valueTracker=null,delete u[h]}}}}function E_(u){if(!u._valueTracker){var h=hM(u)?"checked":"value";u._valueTracker=wie(u,h,""+u[h])}}function fM(u){if(!u)return!1;var h=u._valueTracker;if(!h)return!0;var m=h.getValue(),v="";return u&&(v=hM(u)?u.checked?"true":"false":u.value),u=v,u!==m?(h.setValue(u),!0):!1}function hb(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Sie=/[\n"\\]/g;function qs(u){return u.replace(Sie,function(h){return"\\"+h.charCo
vendor: 4,420 bytes, line 411
411deAt(0).toString(16)+" "})}function k_(u,h,m,v,k,C,B,Q){u.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?u.type=B:u.removeAttribute("type"),h!=null?B==="number"?(h===0&&u.value===""||u.value!=h)&&(u.value=""+Gs(h)):u.value!==""+Gs(h)&&(u.value=""+Gs(h)):B!=="submit"&&B!=="reset"||u.removeAttribute("value"),h!=null?C_(u,B,Gs(h)):m!=null?C_(u,B,Gs(m)):v!=null&&u.removeAttribute("value"),k==null&&C!=null&&(u.defaultChecked=!!C),k!=null&&(u.checked=k&&typeof k!="function"&&typeof k!="symbol"),Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"?u.name=""+Gs(Q):u.removeAttribute("name")}function pM(u,h,m,v,k,C,B,Q){if(C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(u.type=C),h!=null||m!=null){if(!(C!=="submit"&&C!=="reset"||h!=null)){E_(u);return}m=m!=null?""+Gs(m):"",h=h!=null?""+Gs(h):m,Q||h===u.value||(u.value=h),u.defaultValue=h}v=v??k,v=typeof v!="function"&&typeof v!="symbol"&&!!v,u.checked=Q?u.checked:!!v,u.defaultChecked=!!v,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(u.name=B),E_(u)}function C_(u,h,m){h==="number"&&hb(u.ownerDocument)===u||u.defaultValue===""+m||(u.defaultValue=""+m)}function oh(u,h,m,v){if(u=u.options,h){h={};for(var k=0;k<m.length;k++)h["$"+m[k]]=!0;for(m=0;m<u.length;m++)k=h.hasOwnProperty("$"+u[m].value),u[m].selected!==k&&(u[m].selected=k),k&&v&&(u[m].defaultSelected=!0)}else{for(m=""+Gs(m),h=null,k=0;k<u.length;k++){if(u[k].value===m){u[k].selected=!0,v&&(u[k].defaultSelected=!0);return}h!==null||u[k].disabled||(h=u[k])}h!==null&&(h.selected=!0)}}function mM(u,h,m){if(h!=null&&(h=""+Gs(h),h!==u.value&&(u.value=h),m==null)){u.defaultValue!==h&&(u.defaultValue=h);return}u.defaultValue=m!=null?""+Gs(m):""}function gM(u,h,m,v){if(h==null){if(v!=null){if(m!=null)throw Error(r(92));if(W(v)){if(1<v.length)throw Error(r(93));v=v[0]}m=v}m==null&&(m=""),h=m}m=Gs(h),u.defaultValue=m,v=u.textContent,v===m&&v!==""&&v!==null&&(u.value=v),E_(u)}function lh(u,h){if(h){var m=u.firstChild;if(m&&m===u.lastChild&&m.nodeType===3){m.nodeValue=h;return}}u.textContent=h}var _ie=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 bM(u,h,m){var v=h.indexOf("--")===0;m==null||typeof m=="boolean"||m===""?v?u.setProperty(h,""):h==="float"?u.cssFloat="":u[h]="":v?u.setProperty(h,m):typeof m!="number"||m===0||_ie.has(h)?h==="float"?u.cssFloat=m:u[h]=(""+m).trim():u[h]=m+"px"}function yM(u,h,m){if(h!=null&&typeof h!="object")throw Error(r(62));if(u=u.style,m!=null){for(var v in m)!m.hasOwnProperty(v)||h!=null&&h.hasOwnProperty(v)||(v.indexOf("--")===0?u.setProperty(v,""):v==="float"?u.cssFloat="":u[v]="");for(var k in h)v=h[k],h.hasOwnProperty(k)&&m[k]!==v&&bM(u,k,v)}else for(var C in h)h.hasOwnProperty(C)&&bM(u,C,h[C])}function T_(u){if(u.indexOf("-")===-1)return!1;switch(u){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 xie=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"],["colorRen
411dering","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"]]),Eie=/^[\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 fb(u){return Eie.test(""+u)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":u}function el(){}var A_=null;function R_(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var ch=null,uh=null;function vM(u){var h=ih(u);if(h&&(u=h.stateNode)){var m=u[Wi]||null;e:switch(u=h.stateNode,h.type){case"input":if(k_(u,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name),h=m.name,m.type==="radio"&&h!=null){for(m=u;m.parentNode;)m=m.parentNode;for(m=m.querySelectorAll('input[name="'+qs(""+h)+'"][type="radio"]'),h=0;h<m.length;h++){var v=m[h];if(v!==u&&v.form===u.form){var k=v[Wi]||null;if(!k)throw Error(r(90));k_(v,k.value,k.defaultValue,k.defaultValue,k.checked,k.defaultChecked,k.type,k.name)}}for(h=0;h<m.length;h++)v=m[h],v.form===u.form&&fM(v)}break e;case"textarea":mM(u,m.value,m.defaultValue);break e;case"select":h=m.value,h!=null&&oh(u,!!m.multiple,h,!1)}}}var N_=!1;function wM(u,h,m){if(N_)return u(h,m);N_=!0;try{var v=u(h);return v}finally{if(N_=!1,(ch!==null||uh!==null)&&(ey(),ch&&(h=ch,u=uh,uh=ch=null,vM(h),u)))for(h=0;h<u.length;h++)vM(u[h])}}function zp(u,h){var m=u.stateNode;if(m===null)return null;var v=m[Wi]||null;if(v===null)return null;m=v[h];e:switch(h){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(u=u.type,v=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!v;break e;default:u=!1}if(u)return null;if(m&&typeof m!="function")throw Error(r(231,h,typeof m));return m}var tl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),O_=!1;if(tl)try{var Up={};Object.defineProperty(Up,"passive",{get:function(){O_=!0}}),window.addEventListener("test",Up,Up),window.removeEventListener("test",Up,Up)}catch{O_=!1}var Jl=null,I_=null,pb=null;function SM(){if(pb)return pb;var u,h=I_,m=h.length,v,k="value"in Jl?Jl.value:Jl.textContent,C=k.length;for(u=0;
vendor: 4,892 bytes, line 411
411u<m&&h[u]===k[u];u++);var B=m-u;for(v=1;v<=B&&h[m-v]===k[C-v];v++);return pb=k.slice(u,1<v?1-v:void 0)}function mb(u){var h=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&h===13&&(u=13)):u=h,u===10&&(u=13),32<=u||u===13?u:0}function gb(){return!0}function _M(){return!1}function Ki(u){function h(m,v,k,C,B){this._reactName=m,this._targetInst=k,this.type=v,this.nativeEvent=C,this.target=B,this.currentTarget=null;for(var Q in u)u.hasOwnProperty(Q)&&(m=u[Q],this[Q]=m?m(C):C[Q]);return this.isDefaultPrevented=(C.defaultPrevented!=null?C.defaultPrevented:C.returnValue===!1)?gb:_M,this.isPropagationStopped=_M,this}return f(h.prototype,{preventDefault:function(){this.defaultPrevented=!0;var m=this.nativeEvent;m&&(m.preventDefault?m.preventDefault():typeof m.returnValue!="unknown"&&(m.returnValue=!1),this.isDefaultPrevented=gb)},stopPropagation:function(){var m=this.nativeEvent;m&&(m.stopPropagation?m.stopPropagation():typeof m.cancelBubble!="unknown"&&(m.cancelBubble=!0),this.isPropagationStopped=gb)},persist:function(){},isPersistent:gb}),h}var wu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bb=Ki(wu),jp=f({},wu,{view:0,detail:0}),kie=Ki(jp),D_,M_,Hp,yb=f({},jp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:B_,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==Hp&&(Hp&&u.type==="mousemove"?(D_=u.screenX-Hp.screenX,M_=u.screenY-Hp.screenY):M_=D_=0,Hp=u),D_)},movementY:function(u){return"movementY"in u?u.movementY:M_}}),xM=Ki(yb),Cie=f({},yb,{dataTransfer:0}),Tie=Ki(Cie),Aie=f({},jp,{relatedTarget:0}),L_=Ki(Aie),Rie=f({},wu,{animationName:0,elapsedTime:0,pseudoElement:0}),Nie=Ki(Rie),Oie=f({},wu,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),Iie=Ki(Oie),Die=f({},wu,{data:0}),EM=Ki(Die),Mie={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lie={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"},Bie={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pie(u){var h=this.nativeEvent;return h.getModifierState?h.getModifierState(u):(u=Bie[u])?!!h[u]:!1}function B_(){return Pie}var Fie=f({},jp,{key:function(u){if(u.key){var h=Mie[u.key]||u.key;if(h!=="Unidentified")return h}return u.type==="keypress"?(u=mb(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?Lie[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:B_,charCode:function(u){return u.type==="keypress"?mb(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?mb(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),zie=Ki(Fie),Uie=f({},yb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kM=Ki(Uie),jie=f({},jp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:B_}),Hie=Ki(jie),$ie=f({},wu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vie=Ki($ie),Gie=f({},yb,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),qie=Ki(Gie),Wie=f({},wu,{newState:0,oldState:0}),Kie=Ki(Wie),Yie=[9,13,27,32],P_=tl&&"CompositionEvent"in window,$p=null;tl&&"documentMode"in document&&($p=document.documentMode);var Xie=tl&&"TextEvent"in window&&!$p,CM=tl&&(!P_||$p&&8<$p&&11>=$p),TM=" ",AM=!1;function RM(u,h){switch(u){case"keyup":return Yie.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NM(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var dh=!1;function Zie(u,h){switch(u){case"compositionend":return NM(h);case"keypress":return h.which!==32?null:(AM=!0,TM);case"textInput":return u=h.data,u===TM&&AM?null:u;default:return null}}function Qie(u,h){if(dh)return u==="compositionend"||!P_&&RM(u,h)?(u=SM(),pb=I_=Jl=null,dh=!1,u):null;switch(u){case"paste":return null;
vendor: 6,806 bytes, line 411
411case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1<h.char.length)return h.char;if(h.which)return String.fromCharCode(h.which)}return null;case"compositionend":return CM&&h.locale!=="ko"?null:h.data;default:return null}}var Jie={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 OM(u){var h=u&&u.nodeName&&u.nodeName.toLowerCase();return h==="input"?!!Jie[u.type]:h==="textarea"}function IM(u,h,m,v){ch?uh?uh.push(v):uh=[v]:ch=v,h=oy(h,"onChange"),0<h.length&&(m=new bb("onChange","change",null,m,v),u.push({event:m,listeners:h}))}var Vp=null,Gp=null;function ese(u){p7(u,0)}function vb(u){var h=Fp(u);if(fM(h))return u}function DM(u,h){if(u==="change")return h}var MM=!1;if(tl){var F_;if(tl){var z_="oninput"in document;if(!z_){var LM=document.createElement("div");LM.setAttribute("oninput","return;"),z_=typeof LM.oninput=="function"}F_=z_}else F_=!1;MM=F_&&(!document.documentMode||9<document.documentMode)}function BM(){Vp&&(Vp.detachEvent("onpropertychange",PM),Gp=Vp=null)}function PM(u){if(u.propertyName==="value"&&vb(Gp)){var h=[];IM(h,Gp,u,R_(u)),wM(ese,h)}}function tse(u,h,m){u==="focusin"?(BM(),Vp=h,Gp=m,Vp.attachEvent("onpropertychange",PM)):u==="focusout"&&BM()}function nse(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return vb(Gp)}function rse(u,h){if(u==="click")return vb(h)}function ise(u,h){if(u==="input"||u==="change")return vb(h)}function sse(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var vs=typeof Object.is=="function"?Object.is:sse;function qp(u,h){if(vs(u,h))return!0;if(typeof u!="object"||u===null||typeof h!="object"||h===null)return!1;var m=Object.keys(u),v=Object.keys(h);if(m.length!==v.length)return!1;for(v=0;v<m.length;v++){var k=m[v];if(!ue.call(h,k)||!vs(u[k],h[k]))return!1}return!0}function FM(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function zM(u,h){var m=FM(u);u=0;for(var v;m;){if(m.nodeType===3){if(v=u+m.textContent.length,u<=h&&v>=h)return{node:m,offset:h-u};u=v}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=FM(m)}}function UM(u,h){return u&&h?u===h?!0:u&&u.nodeType===3?!1:h&&h.nodeType===3?UM(u,h.parentNode):"contains"in u?u.contains(h):u.compareDocumentPosition?!!(u.compareDocumentPosition(h)&16):!1:!1}function jM(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var h=hb(u.document);h instanceof u.HTMLIFrameElement;){try{var m=typeof h.contentWindow.location.href=="string"}catch{m=!1}if(m)u=h.contentWindow;else break;h=hb(u.document)}return h}function U_(u){var h=u&&u.nodeName&&u.nodeName.toLowerCase();return h&&(h==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||h==="textarea"||u.contentEditable==="true")}var ase=tl&&"documentMode"in document&&11>=document.documentMode,hh=null,j_=null,Wp=null,H_=!1;function HM(u,h,m){var v=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;H_||hh==null||hh!==hb(v)||(v=hh,"selectionStart"in v&&U_(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Wp&&qp(Wp,v)||(Wp=v,v=oy(j_,"onSelect"),0<v.length&&(h=new bb("onSelect","select",null,h,m),u.push({event:h,listeners:v}),h.target=hh)))}function Su(u,h){var m={};return m[u.toLowerCase()]=h.toLowerCase(),m["Webkit"+u]="webkit"+h,m["Moz"+u]="moz"+h,m}var fh={animationend:Su("Animation","AnimationEnd"),animationiteration:Su("Animation","AnimationIteration"),animationstart:Su("Animation","AnimationStart"),transitionrun:Su("Transition","TransitionRun"),transitionstart:Su("Transition","TransitionStart"),transitioncancel:Su("Transition","TransitionCancel"),transitionend:Su("Transition","TransitionEnd")},$_={},$M={};tl&&($M=document.createElement("div").style,"AnimationEvent"in window||(delete fh.animationend.animation,delete fh.animationiteration.animation,delete fh.animationstart.animation),"TransitionEvent"in window||delete fh.transitionend.transition);function _u(u){if($_[u])return $_[u];if(!fh[u])return u;var h=fh[u],m;for(m in h)if(h.hasOwnProperty(m)&&m in $M)return $_[u]=h[m];return u}var VM=_u("animationend"),GM=_u("animationiteration"),qM=_u("animationstart"),ose=_u("transitionrun"),lse=_u("transitionstart"),cse=_u("transitioncancel"),WM=_u("transitionend"),KM=new Map,V_="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 toggle touchMove waiting wheel".split(" ");V_.push("scrollEnd");function Ra(u,h){KM.set(u,h),vu(h,[u])}var wb=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var h=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(h))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)},Ws=[],ph=0,G_=0;function Sb(){for(var u=ph,h=G_=ph=0;h<u;){var m=Ws[h];Ws[h++]=null;var v=Ws[h];Ws[h++]=null;var k=Ws[h];Ws[h++]=null;var C=Ws[h];if(Ws[h++]=null,v!==null&&k!==null){var B=v.pending;B===null?k.next=k:(k.next=B.next,B.next=k),v.pending=k}C!==0&&YM(m,k,C)}}function _b(u,h,m,v){Ws[ph++]=u,Ws[ph++]=h,Ws[ph++]=m,Ws[ph++]=v,G_|=v,u.lanes|=v,u=u.alternate,u!==null&&(u.lanes|=v)}function q_(u,h,m,v){return _b(u,h,m,v),xb(u)}function xu(u,h){return _b(u,null,null,h),xb(u)}function YM(u,h,m){u.lanes|=m;var v=u.alternate;v!==null&&(v.lanes|=m);for(var k=!1,C=u.return;C!==null;)C.childLanes|=m,v=C.alternate,v!==null&&(v.childLanes|=m),C.tag===22&&(u=C.stateNode,u===null||u._visibility&1||(k=!0)),u=C,C=C.return;return u.tag===3?(C=u.stateNode,k&&h!==null&&(k=31-Ot(m),u=C.hiddenUpdates,v=u[k],v===null?u[k]=[h]:v.push(h),h.lane=m|536870912),C):null}function xb(u){if(50<mm)throw mm=0,tE=null,Error(r(185));for(var h=u.return;h!==null;)u=h,h=u.return;return u.tag===3?u.stateNode:null}var mh={};function use(u,h,m,v){this.tag=u,this.key=m,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 12,388 bytes, line 411
411ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=h,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ws(u,h,m,v){return new use(u,h,m,v)}function W_(u){return u=u.prototype,!(!u||!u.isReactComponent)}function nl(u,h){var m=u.alternate;return m===null?(m=ws(u.tag,h,u.key,u.mode),m.elementType=u.elementType,m.type=u.type,m.stateNode=u.stateNode,m.alternate=u,u.alternate=m):(m.pendingProps=h,m.type=u.type,m.flags=0,m.subtreeFlags=0,m.deletions=null),m.flags=u.flags&65011712,m.childLanes=u.childLanes,m.lanes=u.lanes,m.child=u.child,m.memoizedProps=u.memoizedProps,m.memoizedState=u.memoizedState,m.updateQueue=u.updateQueue,h=u.dependencies,m.dependencies=h===null?null:{lanes:h.lanes,firstContext:h.firstContext},m.sibling=u.sibling,m.index=u.index,m.ref=u.ref,m.refCleanup=u.refCleanup,m}function XM(u,h){u.flags&=65011714;var m=u.alternate;return m===null?(u.childLanes=0,u.lanes=h,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=m.childLanes,u.lanes=m.lanes,u.child=m.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=m.memoizedProps,u.memoizedState=m.memoizedState,u.updateQueue=m.updateQueue,u.type=m.type,h=m.dependencies,u.dependencies=h===null?null:{lanes:h.lanes,firstContext:h.firstContext}),u}function Eb(u,h,m,v,k,C){var B=0;if(v=u,typeof u=="function")W_(u)&&(B=1);else if(typeof u=="string")B=mae(u,m,ae.current)?26:u==="html"||u==="head"||u==="body"?27:5;else e:switch(u){case z:return u=ws(31,m,h,k),u.elementType=z,u.lanes=C,u;case y:return Eu(m.children,k,C,h);case w:B=8,k|=24;break;case S:return u=ws(12,m,h,k|2),u.elementType=S,u.lanes=C,u;case R:return u=ws(13,m,h,k),u.elementType=R,u.lanes=C,u;case N:return u=ws(19,m,h,k),u.elementType=N,u.lanes=C,u;default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case E:B=10;break e;case _:B=9;break e;case T:B=11;break e;case I:B=14;break e;case P:B=16,v=null;break e}B=29,m=Error(r(130,u===null?"null":typeof u,"")),v=null}return h=ws(B,m,h,k),h.elementType=u,h.type=v,h.lanes=C,h}function Eu(u,h,m,v){return u=ws(7,u,v,h),u.lanes=m,u}function K_(u,h,m){return u=ws(6,u,null,h),u.lanes=m,u}function ZM(u){var h=ws(18,null,null,0);return h.stateNode=u,h}function Y_(u,h,m){return h=ws(4,u.children!==null?u.children:[],u.key,h),h.lanes=m,h.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},h}var QM=new WeakMap;function Ks(u,h){if(typeof u=="object"&&u!==null){var m=QM.get(u);return m!==void 0?m:(h={value:u,source:h,stack:ne(h)},QM.set(u,h),h)}return{value:u,source:h,stack:ne(h)}}var gh=[],bh=0,kb=null,Kp=0,Ys=[],Xs=0,ec=null,oo=1,lo="";function rl(u,h){gh[bh++]=Kp,gh[bh++]=kb,kb=u,Kp=h}function JM(u,h,m){Ys[Xs++]=oo,Ys[Xs++]=lo,Ys[Xs++]=ec,ec=u;var v=oo;u=lo;var k=32-Ot(v)-1;v&=~(1<<k),m+=1;var C=32-Ot(h)+k;if(30<C){var B=k-k%5;C=(v&(1<<B)-1).toString(32),v>>=B,k-=B,oo=1<<32-Ot(h)+k|m<<k|v,lo=C+u}else oo=1<<C|m<<k|v,lo=u}function X_(u){u.return!==null&&(rl(u,1),JM(u,1,0))}function Z_(u){for(;u===kb;)kb=gh[--bh],gh[bh]=null,Kp=gh[--bh],gh[bh]=null;for(;u===ec;)ec=Ys[--Xs],Ys[Xs]=null,lo=Ys[--Xs],Ys[Xs]=null,oo=Ys[--Xs],Ys[Xs]=null}function eL(u,h){Ys[Xs++]=oo,Ys[Xs++]=lo,Ys[Xs++]=ec,oo=h.id,lo=h.overflow,ec=u}var Vr=null,En=null,Wt=!1,tc=null,Zs=!1,Q_=Error(r(519));function nc(u){var h=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yp(Ks(h,u)),Q_}function tL(u){var h=u.stateNode,m=u.type,v=u.memoizedProps;switch(h[$r]=u,h[Wi]=v,m){case"dialog":zt("cancel",h),zt("close",h);break;case"iframe":case"object":case"embed":zt("load",h);break;case"video":case"audio":for(m=0;m<bm.length;m++)zt(bm[m],h);break;case"source":zt("error",h);break;case"img":case"image":case"link":zt("error",h),zt("load",h);break;case"details":zt("toggle",h);break;case"input":zt("invalid",h),pM(h,v.value,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name,!0);break;case"select":zt("invalid",h);break;case"textarea":zt("invalid",h),gM(h,v.value,v.defaultValue,v.children)}m=v.children,typeof m!="string"&&typeof m!="number"&&typeof m!="bigint"||h.textContent===""+m||v.suppressHydrationWarning===!0||y7(h.textContent,m)?(v.popover!=null&&(zt("beforetoggle",h),zt("toggle",h)),v.onScroll!=null&&zt("scroll",h),v.onScrollEnd!=null&&zt("scrollend",h),v.onClick!=null&&(h.onclick=el),h=!0):h=!1,h||nc(u,!0)}function nL(u){for(Vr=u.return;Vr;)switch(Vr.tag){case 5:case 31:case 13:Zs=!1;return;case 27:case 3:Zs=!0;return;default:Vr=Vr.return}}function yh(u){if(u!==Vr)return!1;if(!Wt)return nL(u),Wt=!0,!1;var h=u.tag,m;if((m=h!==3&&h!==27)&&((m=h===5)&&(m=u.type,m=!(m!=="form"&&m!=="button")||gE(u.type,u.memoizedProps)),m=!m),m&&En&&nc(u),nL(u),h===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));En=T7(u)}else if(h===31){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));En=T7(u)}else h===27?(h=En,gc(u.type)?(u=SE,SE=null,En=u):En=h):En=Vr?Js(u.stateNode.nextSibling):null;return!0}function ku(){En=Vr=null,Wt=!1}function J_(){var u=tc;return u!==null&&(Qi===null?Qi=u:Qi.push.apply(Qi,u),tc=null),u}function Yp(u){tc===null?tc=[u]:tc.push(u)}var ex=j(null),Cu=null,il=null;function rc(u,h,m){H(ex,h._currentValue),h._currentValue=m}function sl(u){u._currentValue=ex.current,X(ex)}function tx(u,h,m){for(;u!==null;){var v=u.alternate;if((u.childLanes&h)!==h?(u.childLanes|=h,v!==null&&(v.childLanes|=h)):v!==null&&(v.childLanes&h)!==h&&(v.childLanes|=h),u===m)break;u=u.return}}function nx(u,h,m,v){var k=u.child;for(k!==null&&(k.return=u);k!==null;){var C=k.dependencies;if(C!==null){var B=k.child;C=C.firstContext;e:for(;C!==null;){var Q=C;C=k;for(var oe=0;oe<h.length;oe++)if(Q.context===h[oe]){C.lanes|=m,Q=C.alternate,Q!==null&&(Q.lanes|=m),tx(C.return,m,u),v||(B=null);break e}C=Q.next}}else if(k.tag===18){if(B=k.return,B===null)throw Error(r(341));B.lanes|=m,C=B.alternate,C!==null&&(C.lanes|=m),tx(B,m,u),B=null}else B=k.child;if(B!==null)B.return=k;else for(B=k;B!==null;){if(B===u){B=null;break}if(k=B.sibling,k!==null){k.return=B.return,B=k;break}B=B.return}k=B}}function vh(u,h,m,v){u=null;for(var k=h,C=!1;k!==null;){if(!C){if((k.flags&524288)!==0)C=!0;else if((k.flags&262144)!==0)break}if(k.tag===10){var B=k.alternate;if(B===null)throw Error(r(387));if(B=B.memoizedProps,B!==null){var Q=k.type;vs(k.pendingProps.value,B.value)||(u!==null?u.push(Q):u=[Q])}}else if(k===me.current){if(B=k.alternate,B===null)throw Error(r(387));B.memoizedState.memoizedState!==k.memoizedState.memoizedState&&(u!==null?u.push(_m):u=[_m])}k=k.return}u!==null&&nx(h,u,m,v),h.flags|=262144}function Cb(u){for(u=u.firstContext;u!==null;){if(!vs(u.context._currentValue,u.memoizedValue))return!0;u=u.next}return!1}function Tu(u){Cu=u,il=null,u=u.dependencies,u!==null&&(u.firstContext=null)}function Gr(u){return rL(Cu,u)}function Tb(u,h){return Cu===null&&Tu(u),rL(u,h)}function rL(u,h){var m=h._currentValue;if(h={context:h,memoizedValue:m,next:null},il===null){if(u===null)throw Error(r(308));il=h,u.dependencies={lanes:0,firstContext:h},u.flags|=524288}else il=il.next=h;return m}var dse=typeof AbortController<"u"?AbortController:function(){var u=[],h=this.signal={aborted:!1,addEventListener:function(m,v){u.push(v)}};this.abort=function(){h.aborted=!0,u.forEach(function(m){return m()})}},hse=t.unstable_scheduleCallback,fse=t.unstable_NormalPriority,nr={$$typeof:E,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function rx(){return{controller:new dse,data:new Map,refCount:0}}function Xp(u){u.refCount--,u.refCount===0&&hse(fse,function(){u.controller.abort()})}var Zp=null,ix=0,wh=0,Sh=null;function pse(u,h){if(Zp===null){var m=Zp=[];ix=0,wh=oE(),Sh={status:"pending",value:void 0,then:function(v){m.push(v)}}}return ix++,h.then(iL,iL),h}function iL(){if(--ix===0&&Zp!==null){Sh!==null&&(Sh.status="fulfilled");var u=Zp;Zp=null,wh=0,Sh=null;for(var h=0;h<u.length;h++)(0,u[h])()}}function mse(u,h){var m=[],v={status:"pending",value:null,reason:null,then:function(k){m.push(k)}};return u.then(function(){v.status="fulfilled",v.value=h;for(var k=0;k<m.length;k++)(0,m[k])(h)},function(k){for(v.status="rejected",v.reason=k,k=0;k<m.length;k++)(0,m[k])(void 0)}),v}var sL=G.S;G.S=function(u,h){H8=Ge(),typeof h=="object"&&h!==null&&typeof h.then=="function"&&pse(u,h),sL!==null&&sL(u,h)};var Au=j(null);function sx(){var u=Au.current;return u!==null?u:pn.pooledCache}function Ab(u,h){h===null?H(Au,Au.current):H(Au,h.pool)}function aL(){var u=sx();return u===null?null:{parent:nr._currentValue,pool:u}}var _h=Error(r(460)),ax=Error(r(474)),Rb=Error(r(542)),Nb={then:function(){}};function oL(u){return u=u.status,u==="fulfilled"||u==="rejected"}function lL(u,h,m){switch(m=u[m],m===void 0?u.push(h):m!==h&&(h.then(el,el),h=m),h.status){case"fulfilled":return h.value;case"rejected":throw u=h.reason,uL(u),u;default:if(typeof h.status=="string")h.then(el,el);else{if(u=pn,u!==null&&100<u.shellSuspendCounter)throw Error(r(482));u=h,u.status="pending",u.then(function(v){if(h.status==="pending"){var k=h;k.status="fulfilled",k.value=v}},function(v){if(h.status==="pending"){var k=h;k.status="rejected",k.reason=v}})}switch(h.status){case"fulfilled":return h.value;case"rejected":throw u=h.reason,uL(u),u}throw Nu=h,_h}}function Ru(u){try{var h=u._init;return h(u._payload)}catch(m){throw m!==null&&typeof m=="object"&&typeof m.then=="function"?(Nu=m,_h):m}}var Nu=null;function cL(){if(Nu===null)throw Error(r(459));var u=Nu;return Nu=null,u}function uL(u){if(u===_h||u===Rb)throw Error(r(483))}var xh=null,Qp=0;function Ob(u){var h=Qp;return Qp+=1,xh===null&&(xh=[]),lL(xh,u,h)}function Jp(u,h){h=h.props.ref,u.ref=h!==void 0?h:null}function Ib(u,h){throw h.$$typeof===p?Error(r(525)):(u=Object.prototype.toString.call(h),Error(r(31,u==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":u)))}function dL(u){function h(fe,ce){if(u){var be=fe.deletions;be===null?(fe.deletions=[ce],fe.flags|=16):be.push(ce)}}function m(fe,ce){if(!u)return null;for(;ce!==null;)h(fe,ce),ce=ce.sibling;return null}function v(fe){for(var ce=new Map;fe!==null;)fe.key!==null?ce.set(fe.key,fe):ce.set(fe.index,fe),fe=fe.sibling;return ce}function k(fe,ce){return fe=nl(fe,ce),fe.index=0,fe.sibling=null,fe}function C(fe,ce,be){return fe.index=be,u?(be=fe.alternate,be!==null?(be=be.index,be<ce?(fe.flags|=67108866,ce):be):(fe.flags|=67108866,ce)):(fe.flags|=1048576,ce)}function B(fe){return u&&fe.alternate===null&&(fe.flags|=67108866),fe}function Q(fe,ce,be,Ae){return ce===null||ce.tag!==6?(ce=K_(be,fe.mode,Ae),ce.return=fe,ce):(ce=k(ce,be),ce.return=fe,ce)}function oe(fe,ce,be,Ae){var ft=be.type;return ft===y?Te(fe,ce,be.props.children,Ae,be.key):ce!==null&&(ce.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===P&&Ru(ft)===ce.type)?(ce=k(ce,be.props),Jp(ce,be),ce.return=fe,ce):(ce=Eb(be.type,be.key,be.props,null,fe.mode,Ae),Jp(ce,be),ce.return=fe,ce)}function ve(fe,ce,be,Ae){return ce===null||ce.tag!==4||ce.stateNode.containerInfo!==be.containerInfo||ce.stateNode.implementation!==be.implementation?(ce=Y_(be,fe.mode,Ae),ce.return=fe,ce):(ce=k(ce,be.children||[]),ce.return=fe,ce)}function Te(fe,ce,be,Ae,ft){return ce===null||ce.tag!==7?(ce=Eu(be,fe.mode,Ae,ft),ce.return=fe,ce):(ce=k(ce,be),ce.return=fe,ce)}function Re(fe,ce,be){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return ce=K_(""+ce,fe.mode,be),ce.return=fe,ce;if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case g:return be=Eb(ce.type,ce.key,ce.props,null,fe.mode,be),Jp(be,ce),be.return=fe,be;case b:return ce=Y_(ce,fe.mode,be),ce.return=fe,ce;case P:return ce=Ru(ce),Re(fe,ce,be)}if(W(ce)||L(ce))return ce=Eu(ce,fe.mode,be,null),ce.return=fe,ce;if(typeof ce.then=="function")return Re(fe,Ob(ce),be);if(ce.$$typeof===E)return Re(fe,Tb(fe,ce),be);Ib(fe,ce)}return null}function we(fe,ce,be,Ae){var ft=ce!==null?ce.key:null;if(typeof be=="string"&&be!==""||typeof be=="number"||typeof be=="bigint")return ft!==null?null:Q(fe,ce,""+be,Ae);if(typeof be=="object"&&be!==null){switch(be.$$typeof){case g:return be.key===ft?oe(fe,ce,be,Ae):null;case b:return be.key===ft?ve(fe,ce,be,Ae):null;case P:return be=Ru(be),we(fe,ce,be,Ae)}
vendor: 6,299 bytes, line 411
411if(W(be)||L(be))return ft!==null?null:Te(fe,ce,be,Ae,null);if(typeof be.then=="function")return we(fe,ce,Ob(be),Ae);if(be.$$typeof===E)return we(fe,ce,Tb(fe,be),Ae);Ib(fe,be)}return null}function xe(fe,ce,be,Ae,ft){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint")return fe=fe.get(be)||null,Q(ce,fe,""+Ae,ft);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case g:return fe=fe.get(Ae.key===null?be:Ae.key)||null,oe(ce,fe,Ae,ft);case b:return fe=fe.get(Ae.key===null?be:Ae.key)||null,ve(ce,fe,Ae,ft);case P:return Ae=Ru(Ae),xe(fe,ce,be,Ae,ft)}if(W(Ae)||L(Ae))return fe=fe.get(be)||null,Te(ce,fe,Ae,ft,null);if(typeof Ae.then=="function")return xe(fe,ce,be,Ob(Ae),ft);if(Ae.$$typeof===E)return xe(fe,ce,be,Tb(ce,Ae),ft);Ib(ce,Ae)}return null}function ot(fe,ce,be,Ae){for(var ft=null,Qt=null,dt=ce,At=ce=0,Vt=null;dt!==null&&At<be.length;At++){dt.index>At?(Vt=dt,dt=null):Vt=dt.sibling;var Jt=we(fe,dt,be[At],Ae);if(Jt===null){dt===null&&(dt=Vt);break}u&&dt&&Jt.alternate===null&&h(fe,dt),ce=C(Jt,ce,At),Qt===null?ft=Jt:Qt.sibling=Jt,Qt=Jt,dt=Vt}if(At===be.length)return m(fe,dt),Wt&&rl(fe,At),ft;if(dt===null){for(;At<be.length;At++)dt=Re(fe,be[At],Ae),dt!==null&&(ce=C(dt,ce,At),Qt===null?ft=dt:Qt.sibling=dt,Qt=dt);return Wt&&rl(fe,At),ft}for(dt=v(dt);At<be.length;At++)Vt=xe(dt,fe,At,be[At],Ae),Vt!==null&&(u&&Vt.alternate!==null&&dt.delete(Vt.key===null?At:Vt.key),ce=C(Vt,ce,At),Qt===null?ft=Vt:Qt.sibling=Vt,Qt=Vt);return u&&dt.forEach(function(Sc){return h(fe,Sc)}),Wt&&rl(fe,At),ft}function yt(fe,ce,be,Ae){if(be==null)throw Error(r(151));for(var ft=null,Qt=null,dt=ce,At=ce=0,Vt=null,Jt=be.next();dt!==null&&!Jt.done;At++,Jt=be.next()){dt.index>At?(Vt=dt,dt=null):Vt=dt.sibling;var Sc=we(fe,dt,Jt.value,Ae);if(Sc===null){dt===null&&(dt=Vt);break}u&&dt&&Sc.alternate===null&&h(fe,dt),ce=C(Sc,ce,At),Qt===null?ft=Sc:Qt.sibling=Sc,Qt=Sc,dt=Vt}if(Jt.done)return m(fe,dt),Wt&&rl(fe,At),ft;if(dt===null){for(;!Jt.done;At++,Jt=be.next())Jt=Re(fe,Jt.value,Ae),Jt!==null&&(ce=C(Jt,ce,At),Qt===null?ft=Jt:Qt.sibling=Jt,Qt=Jt);return Wt&&rl(fe,At),ft}for(dt=v(dt);!Jt.done;At++,Jt=be.next())Jt=xe(dt,fe,At,Jt.value,Ae),Jt!==null&&(u&&Jt.alternate!==null&&dt.delete(Jt.key===null?At:Jt.key),ce=C(Jt,ce,At),Qt===null?ft=Jt:Qt.sibling=Jt,Qt=Jt);return u&&dt.forEach(function(Cae){return h(fe,Cae)}),Wt&&rl(fe,At),ft}function cn(fe,ce,be,Ae){if(typeof be=="object"&&be!==null&&be.type===y&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case g:e:{for(var ft=be.key;ce!==null;){if(ce.key===ft){if(ft=be.type,ft===y){if(ce.tag===7){m(fe,ce.sibling),Ae=k(ce,be.props.children),Ae.return=fe,fe=Ae;break e}}else if(ce.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===P&&Ru(ft)===ce.type){m(fe,ce.sibling),Ae=k(ce,be.props),Jp(Ae,be),Ae.return=fe,fe=Ae;break e}m(fe,ce);break}else h(fe,ce);ce=ce.sibling}be.type===y?(Ae=Eu(be.props.children,fe.mode,Ae,be.key),Ae.return=fe,fe=Ae):(Ae=Eb(be.type,be.key,be.props,null,fe.mode,Ae),Jp(Ae,be),Ae.return=fe,fe=Ae)}return B(fe);case b:e:{for(ft=be.key;ce!==null;){if(ce.key===ft)if(ce.tag===4&&ce.stateNode.containerInfo===be.containerInfo&&ce.stateNode.implementation===be.implementation){m(fe,ce.sibling),Ae=k(ce,be.children||[]),Ae.return=fe,fe=Ae;break e}else{m(fe,ce);break}else h(fe,ce);ce=ce.sibling}Ae=Y_(be,fe.mode,Ae),Ae.return=fe,fe=Ae}return B(fe);case P:return be=Ru(be),cn(fe,ce,be,Ae)}if(W(be))return ot(fe,ce,be,Ae);if(L(be)){if(ft=L(be),typeof ft!="function")throw Error(r(150));return be=ft.call(be),yt(fe,ce,be,Ae)}if(typeof be.then=="function")return cn(fe,ce,Ob(be),Ae);if(be.$$typeof===E)return cn(fe,ce,Tb(fe,be),Ae);Ib(fe,be)}return typeof be=="string"&&be!==""||typeof be=="number"||typeof be=="bigint"?(be=""+be,ce!==null&&ce.tag===6?(m(fe,ce.sibling),Ae=k(ce,be),Ae.return=fe,fe=Ae):(m(fe,ce),Ae=K_(be,fe.mode,Ae),Ae.return=fe,fe=Ae),B(fe)):m(fe,ce)}return function(fe,ce,be,Ae){try{Qp=0;var ft=cn(fe,ce,be,Ae);return xh=null,ft}catch(dt){if(dt===_h||dt===Rb)throw dt;var Qt=ws(29,dt,null,fe.mode);return Qt.lanes=Ae,Qt.return=fe,Qt}}}var Ou=dL(!0),hL=dL(!1),ic=!1;function ox(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function lx(u,h){u=u.updateQueue,h.updateQueue===u&&(h.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function sc(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function ac(u,h,m){var v=u.updateQueue;if(v===null)return null;if(v=v.shared,(nn&2)!==0){var k=v.pending;return k===null?h.next=h:(h.next=k.next,k.next=h),v.pending=h,h=xb(u),YM(u,null,m),h}return _b(u,v,h,m),xb(u)}function em(u,h,m){if(h=h.updateQueue,h!==null&&(h=h.shared,(m&4194048)!==0)){var v=h.lanes;v&=u.pendingLanes,m|=v,h.lanes=m,Gi(u,m)}}function cx(u,h){var m=u.updateQueue,v=u.alternate;if(v!==null&&(v=v.updateQueue,m===v)){var k=null,C=null;if(m=m.firstBaseUpdate,m!==null){do{var B={lane:m.lane,tag:m.tag,payload:m.payload,callback:null,next:null};C===null?k=C=B:C=C.next=B,m=m.next}while(m!==null);C===null?k=C=h:C=C.next=h}else k=C=h;m={baseState:v.baseState,firstBaseUpdate:k,lastBaseUpdate:C,shared:v.shared,callbacks:v.callbacks},u.updateQueue=m;return}u=m.lastBaseUpdate,u===null?m.firstBaseUpdate=h:u.next=h,m.lastBaseUpdate=h}var ux=!1;function tm(){if(ux){var u=Sh;if(u!==null)throw u}}function nm(u,h,m,v){ux=!1;var k=u.updateQueue;ic=!1;var C=k.firstBaseUpdate,B=k.lastBaseUpdate,Q=k.shared.pending;if(Q!==null){k.shared.pending=null;var oe=Q,ve=oe.next;oe.next=null,B===null?C=ve:B.next=ve,B=oe;var Te=u.alternate;Te!==null&&(Te=Te.updateQueue,Q=Te.lastBaseUpdate,Q!==B&&(Q===null?Te.firstBaseUpdate=ve:Q.next=ve,Te.lastBaseUpdate=oe))}if(C!==null){var Re=k.baseState;B=0,Te=ve=oe=null,Q=C;do{var we=Q.lane&-536870913,xe=we!==Q.lane;if(xe?($t&we)===we:(v&we)===we){we!==0&&we===wh&&(ux=!0),Te!==null&&(Te=Te.next={lane:0,tag:Q.tag,payload:Q.payload,callback:null,next:null});e:{var ot=u,yt=Q;we=h;var cn=m;switch(yt.tag){case 1:if(ot=yt.payload,typeof ot=="function"){Re=ot.call(cn,Re,we);break e}Re=ot;break e;case 3:ot.flags=ot.flags&-65537|128;case 0:if(ot=yt.payload,we=typeof ot=="function"?ot.call(cn,Re,we):ot,we==null)break e;
vendor: 2,380 bytes, line 411
411Re=f({},Re,we);break e;case 2:ic=!0}}we=Q.callback,we!==null&&(u.flags|=64,xe&&(u.flags|=8192),xe=k.callbacks,xe===null?k.callbacks=[we]:xe.push(we))}else xe={lane:we,tag:Q.tag,payload:Q.payload,callback:Q.callback,next:null},Te===null?(ve=Te=xe,oe=Re):Te=Te.next=xe,B|=we;if(Q=Q.next,Q===null){if(Q=k.shared.pending,Q===null)break;xe=Q,Q=xe.next,xe.next=null,k.lastBaseUpdate=xe,k.shared.pending=null}}while(!0);Te===null&&(oe=Re),k.baseState=oe,k.firstBaseUpdate=ve,k.lastBaseUpdate=Te,C===null&&(k.shared.lanes=0),dc|=B,u.lanes=B,u.memoizedState=Re}}function fL(u,h){if(typeof u!="function")throw Error(r(191,u));u.call(h)}function pL(u,h){var m=u.callbacks;if(m!==null)for(u.callbacks=null,u=0;u<m.length;u++)fL(m[u],h)}var Eh=j(null),Db=j(0);function mL(u,h){u=pl,H(Db,u),H(Eh,h),pl=u|h.baseLanes}function dx(){H(Db,pl),H(Eh,Eh.current)}function hx(){pl=Db.current,X(Eh),X(Db)}var Ss=j(null),Qs=null;function oc(u){var h=u.alternate;H(Xn,Xn.current&1),H(Ss,u),Qs===null&&(h===null||Eh.current!==null||h.memoizedState!==null)&&(Qs=u)}function fx(u){H(Xn,Xn.current),H(Ss,u),Qs===null&&(Qs=u)}function gL(u){u.tag===22?(H(Xn,Xn.current),H(Ss,u),Qs===null&&(Qs=u)):lc()}function lc(){H(Xn,Xn.current),H(Ss,Ss.current)}function _s(u){X(Ss),Qs===u&&(Qs=null),X(Xn)}var Xn=j(0);function Mb(u){for(var h=u;h!==null;){if(h.tag===13){var m=h.memoizedState;if(m!==null&&(m=m.dehydrated,m===null||vE(m)||wE(m)))return h}else if(h.tag===19&&(h.memoizedProps.revealOrder==="forwards"||h.memoizedProps.revealOrder==="backwards"||h.memoizedProps.revealOrder==="unstable_legacy-backwards"||h.memoizedProps.revealOrder==="together")){if((h.flags&128)!==0)return h}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===u)break;for(;h.sibling===null;){if(h.return===null||h.return===u)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}return null}var al=0,Ct=null,on=null,rr=null,Lb=!1,kh=!1,Iu=!1,Bb=0,rm=0,Ch=null,gse=0;function jn(){throw Error(r(321))}function px(u,h){if(h===null)return!1;for(var m=0;m<h.length&&m<u.length;m++)if(!vs(u[m],h[m]))return!1;return!0}function mx(u,h,m,v,k,C){return al=C,Ct=h,h.memoizedState=null,h.updateQueue=null,h.lanes=0,G.H=u===null||u.memoizedState===null?JL:Nx,Iu=!1,C=m(v,k),Iu=!1,kh&&(C=yL(h,m,v,k)),bL(u),C}function bL(u){G.H=am;var h=on!==null&&on.next!==null;if(al=0,rr=on=Ct=null,Lb=!1,rm=0,Ch=null,h)throw Error(r(300));
vendor: 5,478 bytes, line 411
411u===null||ir||(u=u.dependencies,u!==null&&Cb(u)&&(ir=!0))}function yL(u,h,m,v){Ct=u;var k=0;do{if(kh&&(Ch=null),rm=0,kh=!1,25<=k)throw Error(r(301));if(k+=1,rr=on=null,u.updateQueue!=null){var C=u.updateQueue;C.lastEffect=null,C.events=null,C.stores=null,C.memoCache!=null&&(C.memoCache.index=0)}G.H=e8,C=h(m,v)}while(kh);return C}function bse(){var u=G.H,h=u.useState()[0];return h=typeof h.then=="function"?im(h):h,u=u.useState()[0],(on!==null?on.memoizedState:null)!==u&&(Ct.flags|=1024),h}function gx(){var u=Bb!==0;return Bb=0,u}function bx(u,h,m){h.updateQueue=u.updateQueue,h.flags&=-2053,u.lanes&=~m}function yx(u){if(Lb){for(u=u.memoizedState;u!==null;){var h=u.queue;h!==null&&(h.pending=null),u=u.next}Lb=!1}al=0,rr=on=Ct=null,kh=!1,rm=Bb=0,Ch=null}function Ti(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rr===null?Ct.memoizedState=rr=u:rr=rr.next=u,rr}function Zn(){if(on===null){var u=Ct.alternate;u=u!==null?u.memoizedState:null}else u=on.next;var h=rr===null?Ct.memoizedState:rr.next;if(h!==null)rr=h,on=u;else{if(u===null)throw Ct.alternate===null?Error(r(467)):Error(r(310));on=u,u={memoizedState:on.memoizedState,baseState:on.baseState,baseQueue:on.baseQueue,queue:on.queue,next:null},rr===null?Ct.memoizedState=rr=u:rr=rr.next=u}return rr}function Pb(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function im(u){var h=rm;return rm+=1,Ch===null&&(Ch=[]),u=lL(Ch,u,h),h=Ct,(rr===null?h.memoizedState:rr.next)===null&&(h=h.alternate,G.H=h===null||h.memoizedState===null?JL:Nx),u}function Fb(u){if(u!==null&&typeof u=="object"){if(typeof u.then=="function")return im(u);if(u.$$typeof===E)return Gr(u)}throw Error(r(438,String(u)))}function vx(u){var h=null,m=Ct.updateQueue;if(m!==null&&(h=m.memoCache),h==null){var v=Ct.alternate;v!==null&&(v=v.updateQueue,v!==null&&(v=v.memoCache,v!=null&&(h={data:v.data.map(function(k){return k.slice()}),index:0})))}if(h==null&&(h={data:[],index:0}),m===null&&(m=Pb(),Ct.updateQueue=m),m.memoCache=h,m=h.data[h.index],m===void 0)for(m=h.data[h.index]=Array(u),v=0;v<u;v++)m[v]=U;return h.index++,m}function ol(u,h){return typeof h=="function"?h(u):h}function zb(u){var h=Zn();return wx(h,on,u)}function wx(u,h,m){var v=u.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=m;var k=u.baseQueue,C=v.pending;if(C!==null){if(k!==null){var B=k.next;k.next=C.next,C.next=B}h.baseQueue=k=C,v.pending=null}if(C=u.baseState,k===null)u.memoizedState=C;else{h=k.next;var Q=B=null,oe=null,ve=h,Te=!1;do{var Re=ve.lane&-536870913;if(Re!==ve.lane?($t&Re)===Re:(al&Re)===Re){var we=ve.revertLane;if(we===0)oe!==null&&(oe=oe.next={lane:0,revertLane:0,gesture:null,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null}),Re===wh&&(Te=!0);else if((al&we)===we){ve=ve.next,we===wh&&(Te=!0);continue}else Re={lane:0,revertLane:ve.revertLane,gesture:null,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null},oe===null?(Q=oe=Re,B=C):oe=oe.next=Re,Ct.lanes|=we,dc|=we;Re=ve.action,Iu&&m(C,Re),C=ve.hasEagerState?ve.eagerState:m(C,Re)}else we={lane:Re,revertLane:ve.revertLane,gesture:ve.gesture,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null},oe===null?(Q=oe=we,B=C):oe=oe.next=we,Ct.lanes|=Re,dc|=Re;ve=ve.next}while(ve!==null&&ve!==h);if(oe===null?B=C:oe.next=Q,!vs(C,u.memoizedState)&&(ir=!0,Te&&(m=Sh,m!==null)))throw m;u.memoizedState=C,u.baseState=B,u.baseQueue=oe,v.lastRenderedState=C}return k===null&&(v.lanes=0),[u.memoizedState,v.dispatch]}function Sx(u){var h=Zn(),m=h.queue;if(m===null)throw Error(r(311));m.lastRenderedReducer=u;var v=m.dispatch,k=m.pending,C=h.memoizedState;if(k!==null){m.pending=null;var B=k=k.next;do C=u(C,B.action),B=B.next;while(B!==k);vs(C,h.memoizedState)||(ir=!0),h.memoizedState=C,h.baseQueue===null&&(h.baseState=C),m.lastRenderedState=C}return[C,v]}function vL(u,h,m){var v=Ct,k=Zn(),C=Wt;if(C){if(m===void 0)throw Error(r(407));m=m()}else m=h();var B=!vs((on||k).memoizedState,m);if(B&&(k.memoizedState=m,ir=!0),k=k.queue,Ex(_L.bind(null,v,k,u),[u]),k.getSnapshot!==h||B||rr!==null&&rr.memoizedState.tag&1){if(v.flags|=2048,Th(9,{destroy:void 0},SL.bind(null,v,k,m,h),null),pn===null)throw Error(r(349));C||(al&127)!==0||wL(v,h,m)}return m}function wL(u,h,m){u.flags|=16384,u={getSnapshot:h,value:m},h=Ct.updateQueue,h===null?(h=Pb(),Ct.updateQueue=h,h.stores=[u]):(m=h.stores,m===null?h.stores=[u]:m.push(u))}function SL(u,h,m,v){h.value=m,h.getSnapshot=v,xL(h)&&EL(u)}function _L(u,h,m){return m(function(){xL(h)&&EL(u)})}function xL(u){var h=u.getSnapshot;u=u.value;try{var m=h();return!vs(u,m)}catch{return!0}}function EL(u){var h=xu(u,2);h!==null&&Ji(h,u,2)}function _x(u){var h=Ti();if(typeof u=="function"){var m=u;if(u=m(),Iu){Yn(!0);try{m()}finally{Yn(!1)}}}return h.memoizedState=h.baseState=u,h.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:u},h}function kL(u,h,m,v){return u.baseState=m,wx(u,on,typeof v=="function"?v:ol)}function yse(u,h,m,v,k){if(Hb(u))throw Error(r(485));if(u=h.action,u!==null){var C={payload:k,action:u,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){C.listeners.push(B)}};G.T!==null?m(!0):C.isTransition=!1,v(C),m=h.pending,m===null?(C.next=h.pending=C,CL(h,C)):(C.next=m.next,h.pending=m.next=C)}}function CL(u,h){var m=h.action,v=h.payload,k=u.state;if(h.isTransition){var C=G.T,B={};G.T=B;try{var Q=m(k,v),oe=G.S;
vendor: 7,309 bytes, line 411
411oe!==null&&oe(B,Q),TL(u,h,Q)}catch(ve){xx(u,h,ve)}finally{C!==null&&B.types!==null&&(C.types=B.types),G.T=C}}else try{C=m(k,v),TL(u,h,C)}catch(ve){xx(u,h,ve)}}function TL(u,h,m){m!==null&&typeof m=="object"&&typeof m.then=="function"?m.then(function(v){AL(u,h,v)},function(v){return xx(u,h,v)}):AL(u,h,m)}function AL(u,h,m){h.status="fulfilled",h.value=m,RL(h),u.state=m,h=u.pending,h!==null&&(m=h.next,m===h?u.pending=null:(m=m.next,h.next=m,CL(u,m)))}function xx(u,h,m){var v=u.pending;if(u.pending=null,v!==null){v=v.next;do h.status="rejected",h.reason=m,RL(h),h=h.next;while(h!==v)}u.action=null}function RL(u){u=u.listeners;for(var h=0;h<u.length;h++)(0,u[h])()}function NL(u,h){return h}function OL(u,h){if(Wt){var m=pn.formState;if(m!==null){e:{var v=Ct;if(Wt){if(En){t:{for(var k=En,C=Zs;k.nodeType!==8;){if(!C){k=null;break t}if(k=Js(k.nextSibling),k===null){k=null;break t}}C=k.data,k=C==="F!"||C==="F"?k:null}if(k){En=Js(k.nextSibling),v=k.data==="F!";break e}}nc(v)}v=!1}v&&(h=m[0])}}return m=Ti(),m.memoizedState=m.baseState=h,v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:NL,lastRenderedState:h},m.queue=v,m=XL.bind(null,Ct,v),v.dispatch=m,v=_x(!1),C=Rx.bind(null,Ct,!1,v.queue),v=Ti(),k={state:h,dispatch:null,action:u,pending:null},v.queue=k,m=yse.bind(null,Ct,k,C,m),k.dispatch=m,v.memoizedState=u,[h,m,!1]}function IL(u){var h=Zn();return DL(h,on,u)}function DL(u,h,m){if(h=wx(u,h,NL)[0],u=zb(ol)[0],typeof h=="object"&&h!==null&&typeof h.then=="function")try{var v=im(h)}catch(B){throw B===_h?Rb:B}else v=h;h=Zn();var k=h.queue,C=k.dispatch;return m!==h.memoizedState&&(Ct.flags|=2048,Th(9,{destroy:void 0},vse.bind(null,k,m),null)),[v,C,u]}function vse(u,h){u.action=h}function ML(u){var h=Zn(),m=on;if(m!==null)return DL(h,m,u);Zn(),h=h.memoizedState,m=Zn();var v=m.queue.dispatch;return m.memoizedState=u,[h,v,!1]}function Th(u,h,m,v){return u={tag:u,create:m,deps:v,inst:h,next:null},h=Ct.updateQueue,h===null&&(h=Pb(),Ct.updateQueue=h),m=h.lastEffect,m===null?h.lastEffect=u.next=u:(v=m.next,m.next=u,u.next=v,h.lastEffect=u),u}function LL(){return Zn().memoizedState}function Ub(u,h,m,v){var k=Ti();Ct.flags|=u,k.memoizedState=Th(1|h,{destroy:void 0},m,v===void 0?null:v)}function jb(u,h,m,v){var k=Zn();v=v===void 0?null:v;var C=k.memoizedState.inst;on!==null&&v!==null&&px(v,on.memoizedState.deps)?k.memoizedState=Th(h,C,m,v):(Ct.flags|=u,k.memoizedState=Th(1|h,C,m,v))}function BL(u,h){Ub(8390656,8,u,h)}function Ex(u,h){jb(2048,8,u,h)}function wse(u){Ct.flags|=4;var h=Ct.updateQueue;if(h===null)h=Pb(),Ct.updateQueue=h,h.events=[u];else{var m=h.events;m===null?h.events=[u]:m.push(u)}}function PL(u){var h=Zn().memoizedState;return wse({ref:h,nextImpl:u}),function(){if((nn&2)!==0)throw Error(r(440));return h.impl.apply(void 0,arguments)}}function FL(u,h){return jb(4,2,u,h)}function zL(u,h){return jb(4,4,u,h)}function UL(u,h){if(typeof h=="function"){u=u();var m=h(u);return function(){typeof m=="function"?m():h(null)}}if(h!=null)return u=u(),h.current=u,function(){h.current=null}}function jL(u,h,m){m=m!=null?m.concat([u]):null,jb(4,4,UL.bind(null,h,u),m)}function kx(){}function HL(u,h){var m=Zn();h=h===void 0?null:h;var v=m.memoizedState;return h!==null&&px(h,v[1])?v[0]:(m.memoizedState=[u,h],u)}function $L(u,h){var m=Zn();h=h===void 0?null:h;var v=m.memoizedState;if(h!==null&&px(h,v[1]))return v[0];if(v=u(),Iu){Yn(!0);try{u()}finally{Yn(!1)}}return m.memoizedState=[v,h],v}function Cx(u,h,m){return m===void 0||(al&1073741824)!==0&&($t&261930)===0?u.memoizedState=h:(u.memoizedState=m,u=V8(),Ct.lanes|=u,dc|=u,m)}function VL(u,h,m,v){return vs(m,h)?m:Eh.current!==null?(u=Cx(u,m,v),vs(u,h)||(ir=!0),u):(al&42)===0||(al&1073741824)!==0&&($t&261930)===0?(ir=!0,u.memoizedState=m):(u=V8(),Ct.lanes|=u,dc|=u,h)}function GL(u,h,m,v,k){var C=K.p;K.p=C!==0&&8>C?C:8;var B=G.T,Q={};G.T=Q,Rx(u,!1,h,m);try{var oe=k(),ve=G.S;if(ve!==null&&ve(Q,oe),oe!==null&&typeof oe=="object"&&typeof oe.then=="function"){var Te=mse(oe,v);sm(u,h,Te,ks(u))}else sm(u,h,v,ks(u))}catch(Re){sm(u,h,{then:function(){},status:"rejected",reason:Re},ks())}finally{K.p=C,B!==null&&Q.types!==null&&(B.types=Q.types),G.T=B}}function Sse(){}function Tx(u,h,m,v){if(u.tag!==5)throw Error(r(476));var k=qL(u).queue;GL(u,k,h,Y,m===null?Sse:function(){return WL(u),m(v)})}function qL(u){var h=u.memoizedState;if(h!==null)return h;h={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:Y},next:null};var m={};return h.next={memoizedState:m,baseState:m,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:m},next:null},u.memoizedState=h,u=u.alternate,u!==null&&(u.memoizedState=h),h}function WL(u){var h=qL(u);h.next===null&&(h=u.alternate.memoizedState),sm(u,h.next.queue,{},ks())}function Ax(){return Gr(_m)}function KL(){return Zn().memoizedState}function YL(){return Zn().memoizedState}function _se(u){for(var h=u.return;h!==null;){switch(h.tag){case 24:case 3:var m=ks();u=sc(m);var v=ac(h,u,m);v!==null&&(Ji(v,h,m),em(v,h,m)),h={cache:rx()},u.payload=h;return}h=h.return}}function xse(u,h,m){var v=ks();m={lane:v,revertLane:0,gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null},Hb(u)?ZL(h,m):(m=q_(u,h,m,v),m!==null&&(Ji(m,u,v),QL(m,h,v)))}function XL(u,h,m){var v=ks();sm(u,h,m,v)}function sm(u,h,m,v){var k={lane:v,revertLane:0,gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null};if(Hb(u))ZL(h,k);else{var C=u.alternate;if(u.lanes===0&&(C===null||C.lanes===0)&&(C=h.lastRenderedReducer,C!==null))try{var B=h.lastRenderedState,Q=C(B,m);if(k.hasEagerState=!0,k.eagerState=Q,vs(Q,B))return _b(u,h,k,0),pn===null&&Sb(),!1}catch{}if(m=q_(u,h,k,v),m!==null)return Ji(m,u,v),QL(m,h,v),!0}return!1}function Rx(u,h,m,v){if(v={lane:2,revertLane:oE(),gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},Hb(u)){if(h)throw Error(r(479))}else h=q_(u,m,v,2),h!==null&&Ji(h,u,2)}function Hb(u){var h=u.alternate;return u===Ct||h!==null&&h===Ct}function ZL(u,h){kh=Lb=!0;var m=u.pending;m===null?h.next=h:(h.next=m.next,m.next=h),u.pending=h}function QL(u,h,m){if((m&4194048)!==0){var v=h.lanes;v&=u.pendingLanes,m|=v,h.lanes=m,Gi(u,m)}}var am={readContext:Gr,use:Fb,useCallback:jn,useContext:jn,useEffect:jn,useImperativeHandle:jn,useLayoutEffect:jn,useInsertionEffect:jn,useMemo:jn,useReducer:jn,useRef:jn,useState:jn,useDebugValue:jn,useDeferredValue:jn,useTransition:jn,useSyncExternalStore:jn,useId:jn,useHostTransitionStatus:jn,useFormState:jn,useActionState:jn,useOptimistic:jn,useMemoCache:jn,useCacheRefresh:jn};am.useEffectEvent=jn;var JL={readContext:Gr,use:Fb,useCallback:function(u,h){return Ti().memoizedState=[u,h===void 0?null:h],u},useContext:Gr,useEffect:BL,useImperativeHandle:function(u,h,m){m=m!=null?m.concat([u]):null,Ub(4194308,4,UL.bind(null,h,u),m)},useLayoutEffect:function(u,h){return Ub(4194308,4,u,h)},useInsertionEffect:function(u,h){Ub(4,2,u,h)},useMemo:function(u,h){var m=Ti();h=h===void 0?null:h;var v=u();if(Iu){Yn(!0);try{u()}finally{Yn(!1)}}return m.memoizedState=[v,h],v},useReducer:function(u,h,m){var v=Ti();if(m!==void 0){var k=m(h);if(Iu){Yn(!0);try{m(h)}finally{Yn(!1)}}}else k=h;return v.memoizedState=v.baseState=k,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:k}
vendor: 4,942 bytes, line 411
411,v.queue=u,u=u.dispatch=xse.bind(null,Ct,u),[v.memoizedState,u]},useRef:function(u){var h=Ti();return u={current:u},h.memoizedState=u},useState:function(u){u=_x(u);var h=u.queue,m=XL.bind(null,Ct,h);return h.dispatch=m,[u.memoizedState,m]},useDebugValue:kx,useDeferredValue:function(u,h){var m=Ti();return Cx(m,u,h)},useTransition:function(){var u=_x(!1);return u=GL.bind(null,Ct,u.queue,!0,!1),Ti().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,h,m){var v=Ct,k=Ti();if(Wt){if(m===void 0)throw Error(r(407));m=m()}else{if(m=h(),pn===null)throw Error(r(349));($t&127)!==0||wL(v,h,m)}k.memoizedState=m;var C={value:m,getSnapshot:h};return k.queue=C,BL(_L.bind(null,v,C,u),[u]),v.flags|=2048,Th(9,{destroy:void 0},SL.bind(null,v,C,m,h),null),m},useId:function(){var u=Ti(),h=pn.identifierPrefix;if(Wt){var m=lo,v=oo;m=(v&~(1<<32-Ot(v)-1)).toString(32)+m,h="_"+h+"R_"+m,m=Bb++,0<m&&(h+="H"+m.toString(32)),h+="_"}else m=gse++,h="_"+h+"r_"+m.toString(32)+"_";return u.memoizedState=h},useHostTransitionStatus:Ax,useFormState:OL,useActionState:OL,useOptimistic:function(u){var h=Ti();h.memoizedState=h.baseState=u;var m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return h.queue=m,h=Rx.bind(null,Ct,!0,m),m.dispatch=h,[u,h]},useMemoCache:vx,useCacheRefresh:function(){return Ti().memoizedState=_se.bind(null,Ct)},useEffectEvent:function(u){var h=Ti(),m={impl:u};return h.memoizedState=m,function(){if((nn&2)!==0)throw Error(r(440));return m.impl.apply(void 0,arguments)}}},Nx={readContext:Gr,use:Fb,useCallback:HL,useContext:Gr,useEffect:Ex,useImperativeHandle:jL,useInsertionEffect:FL,useLayoutEffect:zL,useMemo:$L,useReducer:zb,useRef:LL,useState:function(){return zb(ol)},useDebugValue:kx,useDeferredValue:function(u,h){var m=Zn();return VL(m,on.memoizedState,u,h)},useTransition:function(){var u=zb(ol)[0],h=Zn().memoizedState;return[typeof u=="boolean"?u:im(u),h]},useSyncExternalStore:vL,useId:KL,useHostTransitionStatus:Ax,useFormState:IL,useActionState:IL,useOptimistic:function(u,h){var m=Zn();return kL(m,on,u,h)},useMemoCache:vx,useCacheRefresh:YL};Nx.useEffectEvent=PL;var e8={readContext:Gr,use:Fb,useCallback:HL,useContext:Gr,useEffect:Ex,useImperativeHandle:jL,useInsertionEffect:FL,useLayoutEffect:zL,useMemo:$L,useReducer:Sx,useRef:LL,useState:function(){return Sx(ol)},useDebugValue:kx,useDeferredValue:function(u,h){var m=Zn();return on===null?Cx(m,u,h):VL(m,on.memoizedState,u,h)},useTransition:function(){var u=Sx(ol)[0],h=Zn().memoizedState;return[typeof u=="boolean"?u:im(u),h]},useSyncExternalStore:vL,useId:KL,useHostTransitionStatus:Ax,useFormState:ML,useActionState:ML,useOptimistic:function(u,h){var m=Zn();return on!==null?kL(m,on,u,h):(m.baseState=u,[u,m.queue.dispatch])},useMemoCache:vx,useCacheRefresh:YL};e8.useEffectEvent=PL;function Ox(u,h,m,v){h=u.memoizedState,m=m(v,h),m=m==null?h:f({},h,m),u.memoizedState=m,u.lanes===0&&(u.updateQueue.baseState=m)}var Ix={enqueueSetState:function(u,h,m){u=u._reactInternals;var v=ks(),k=sc(v);k.payload=h,m!=null&&(k.callback=m),h=ac(u,k,v),h!==null&&(Ji(h,u,v),em(h,u,v))},enqueueReplaceState:function(u,h,m){u=u._reactInternals;var v=ks(),k=sc(v);k.tag=1,k.payload=h,m!=null&&(k.callback=m),h=ac(u,k,v),h!==null&&(Ji(h,u,v),em(h,u,v))},enqueueForceUpdate:function(u,h){u=u._reactInternals;var m=ks(),v=sc(m);v.tag=2,h!=null&&(v.callback=h),h=ac(u,v,m),h!==null&&(Ji(h,u,m),em(h,u,m))}};function t8(u,h,m,v,k,C,B){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(v,C,B):h.prototype&&h.prototype.isPureReactComponent?!qp(m,v)||!qp(k,C):!0}function n8(u,h,m,v){u=h.state,typeof h.componentWillReceiveProps=="function"&&h.componentWillReceiveProps(m,v),typeof h.UNSAFE_componentWillReceiveProps=="function"&&h.UNSAFE_componentWillReceiveProps(m,v),h.state!==u&&Ix.enqueueReplaceState(h,h.state,null)}function Du(u,h){var m=h;if("ref"in h){m={};for(var v in h)v!=="ref"&&(m[v]=h[v])}if(u=u.defaultProps){m===h&&(m=f({},m));for(var k in u)m[k]===void 0&&(m[k]=u[k])}return m}function r8(u){wb(u)}function i8(u){console.error(u)}function s8(u){wb(u)}function $b(u,h){try{var m=u.onUncaughtError;m(h.value,{componentStack:h.stack})}catch(v){setTimeout(function(){throw v})}}function a8(u,h,m){try{var v=u.onCaughtError;v(m.value,{componentStack:m.stack,errorBoundary:h.tag===1?h.stateNode:null})}catch(k){setTimeout(function(){throw k})}}function Dx(u,h,m){return m=sc(m),m.tag=3,m.payload={element:null},m.callback=function(){$b(u,h)},m}function o8(u){return u=sc(u),u.tag=3,u}function l8(u,h,m,v){var k=m.type.getDerivedStateFromError;if(typeof k=="function"){var C=v.value;u.payload=function(){return k(C)},u.callback=function(){a8(h,m,v)}}var B=m.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(u.callback=function(){a8(h,m,v),typeof k!="function"&&(hc===null?hc=new Set([this]):hc.add(this));var Q=v.stack;this.componentDidCatch(v.value,{componentStack:Q!==null?Q:""})})}
vendor: 15,597 bytes, line 411
411function Ese(u,h,m,v,k){if(m.flags|=32768,v!==null&&typeof v=="object"&&typeof v.then=="function"){if(h=m.alternate,h!==null&&vh(h,m,k,!0),m=Ss.current,m!==null){switch(m.tag){case 31:case 13:return Qs===null?ty():m.alternate===null&&Hn===0&&(Hn=3),m.flags&=-257,m.flags|=65536,m.lanes=k,v===Nb?m.flags|=16384:(h=m.updateQueue,h===null?m.updateQueue=new Set([v]):h.add(v),iE(u,v,k)),!1;case 22:return m.flags|=65536,v===Nb?m.flags|=16384:(h=m.updateQueue,h===null?(h={transitions:null,markerInstances:null,retryQueue:new Set([v])},m.updateQueue=h):(m=h.retryQueue,m===null?h.retryQueue=new Set([v]):m.add(v)),iE(u,v,k)),!1}throw Error(r(435,m.tag))}return iE(u,v,k),ty(),!1}if(Wt)return h=Ss.current,h!==null?((h.flags&65536)===0&&(h.flags|=256),h.flags|=65536,h.lanes=k,v!==Q_&&(u=Error(r(422),{cause:v}),Yp(Ks(u,m)))):(v!==Q_&&(h=Error(r(423),{cause:v}),Yp(Ks(h,m))),u=u.current.alternate,u.flags|=65536,k&=-k,u.lanes|=k,v=Ks(v,m),k=Dx(u.stateNode,v,k),cx(u,k),Hn!==4&&(Hn=2)),!1;var C=Error(r(520),{cause:v});if(C=Ks(C,m),pm===null?pm=[C]:pm.push(C),Hn!==4&&(Hn=2),h===null)return!0;v=Ks(v,m),m=h;do{switch(m.tag){case 3:return m.flags|=65536,u=k&-k,m.lanes|=u,u=Dx(m.stateNode,v,u),cx(m,u),!1;case 1:if(h=m.type,C=m.stateNode,(m.flags&128)===0&&(typeof h.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(hc===null||!hc.has(C))))return m.flags|=65536,k&=-k,m.lanes|=k,k=o8(k),l8(k,u,m,v),cx(m,k),!1}m=m.return}while(m!==null);return!1}var Mx=Error(r(461)),ir=!1;function qr(u,h,m,v){h.child=u===null?hL(h,null,m,v):Ou(h,u.child,m,v)}function c8(u,h,m,v,k){m=m.render;var C=h.ref;if("ref"in v){var B={};for(var Q in v)Q!=="ref"&&(B[Q]=v[Q])}else B=v;return Tu(h),v=mx(u,h,m,B,C,k),Q=gx(),u!==null&&!ir?(bx(u,h,k),ll(u,h,k)):(Wt&&Q&&X_(h),h.flags|=1,qr(u,h,v,k),h.child)}function u8(u,h,m,v,k){if(u===null){var C=m.type;return typeof C=="function"&&!W_(C)&&C.defaultProps===void 0&&m.compare===null?(h.tag=15,h.type=C,d8(u,h,C,v,k)):(u=Eb(m.type,null,v,h,h.mode,k),u.ref=h.ref,u.return=h,h.child=u)}if(C=u.child,!Hx(u,k)){var B=C.memoizedProps;if(m=m.compare,m=m!==null?m:qp,m(B,v)&&u.ref===h.ref)return ll(u,h,k)}return h.flags|=1,u=nl(C,v),u.ref=h.ref,u.return=h,h.child=u}function d8(u,h,m,v,k){if(u!==null){var C=u.memoizedProps;if(qp(C,v)&&u.ref===h.ref)if(ir=!1,h.pendingProps=v=C,Hx(u,k))(u.flags&131072)!==0&&(ir=!0);else return h.lanes=u.lanes,ll(u,h,k)}return Lx(u,h,m,v,k)}function h8(u,h,m,v){var k=v.children,C=u!==null?u.memoizedState:null;if(u===null&&h.stateNode===null&&(h.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),v.mode==="hidden"){if((h.flags&128)!==0){if(C=C!==null?C.baseLanes|m:m,u!==null){for(v=h.child=u.child,k=0;v!==null;)k=k|v.lanes|v.childLanes,v=v.sibling;v=k&~C}else v=0,h.child=null;return f8(u,h,C,m,v)}if((m&536870912)!==0)h.memoizedState={baseLanes:0,cachePool:null},u!==null&&Ab(h,C!==null?C.cachePool:null),C!==null?mL(h,C):dx(),gL(h);else return v=h.lanes=536870912,f8(u,h,C!==null?C.baseLanes|m:m,m,v)}else C!==null?(Ab(h,C.cachePool),mL(h,C),lc(),h.memoizedState=null):(u!==null&&Ab(h,null),dx(),lc());return qr(u,h,k,m),h.child}function om(u,h){return u!==null&&u.tag===22||h.stateNode!==null||(h.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.sibling}function f8(u,h,m,v,k){var C=sx();return C=C===null?null:{parent:nr._currentValue,pool:C},h.memoizedState={baseLanes:m,cachePool:C},u!==null&&Ab(h,null),dx(),gL(h),u!==null&&vh(u,h,v,!0),h.childLanes=k,null}function Vb(u,h){return h=qb({mode:h.mode,children:h.children},u.mode),h.ref=u.ref,u.child=h,h.return=u,h}function p8(u,h,m){return Ou(h,u.child,null,m),u=Vb(h,h.pendingProps),u.flags|=2,_s(h),h.memoizedState=null,u}function kse(u,h,m){var v=h.pendingProps,k=(h.flags&128)!==0;if(h.flags&=-129,u===null){if(Wt){if(v.mode==="hidden")return u=Vb(h,v),h.lanes=536870912,om(null,u);if(fx(h),(u=En)?(u=C7(u,Zs),u=u!==null&&u.data==="&"?u:null,u!==null&&(h.memoizedState={dehydrated:u,treeContext:ec!==null?{id:oo,overflow:lo}:null,retryLane:536870912,hydrationErrors:null},m=ZM(u),m.return=h,h.child=m,Vr=h,En=null)):u=null,u===null)throw nc(h);return h.lanes=536870912,null}return Vb(h,v)}var C=u.memoizedState;if(C!==null){var B=C.dehydrated;if(fx(h),k)if(h.flags&256)h.flags&=-257,h=p8(u,h,m);else if(h.memoizedState!==null)h.child=u.child,h.flags|=128,h=null;else throw Error(r(558));else if(ir||vh(u,h,m,!1),k=(m&u.childLanes)!==0,ir||k){if(v=pn,v!==null&&(B=qi(v,m),B!==0&&B!==C.retryLane))throw C.retryLane=B,xu(u,B),Ji(v,u,B),Mx;ty(),h=p8(u,h,m)}else u=C.treeContext,En=Js(B.nextSibling),Vr=h,Wt=!0,tc=null,Zs=!1,u!==null&&eL(h,u),h=Vb(h,v),h.flags|=4096;return h}return u=nl(u.child,{mode:v.mode,children:v.children}),u.ref=h.ref,h.child=u,u.return=h,u}function Gb(u,h){var m=h.ref;if(m===null)u!==null&&u.ref!==null&&(h.flags|=4194816);else{if(typeof m!="function"&&typeof m!="object")throw Error(r(284));(u===null||u.ref!==m)&&(h.flags|=4194816)}}function Lx(u,h,m,v,k){return Tu(h),m=mx(u,h,m,v,void 0,k),v=gx(),u!==null&&!ir?(bx(u,h,k),ll(u,h,k)):(Wt&&v&&X_(h),h.flags|=1,qr(u,h,m,k),h.child)}function m8(u,h,m,v,k,C){return Tu(h),h.updateQueue=null,m=yL(h,v,m,k),bL(u),v=gx(),u!==null&&!ir?(bx(u,h,C),ll(u,h,C)):(Wt&&v&&X_(h),h.flags|=1,qr(u,h,m,C),h.child)}function g8(u,h,m,v,k){if(Tu(h),h.stateNode===null){var C=mh,B=m.contextType;typeof B=="object"&&B!==null&&(C=Gr(B)),C=new m(v,C),h.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C.updater=Ix,h.stateNode=C,C._reactInternals=h,C=h.stateNode,C.props=v,C.state=h.memoizedState,C.refs={},ox(h),B=m.contextType,C.context=typeof B=="object"&&B!==null?Gr(B):mh,C.state=h.memoizedState,B=m.getDerivedStateFromProps,typeof B=="function"&&(Ox(h,m,B,v),C.state=h.memoizedState),typeof m.getDerivedStateFromProps=="function"||typeof C.getSnapshotBeforeUpdate=="function"||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(B=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),B!==C.state&&Ix.enqueueReplaceState(C,C.state,null),nm(h,v,C,k),tm(),C.state=h.memoizedState),typeof C.componentDidMount=="function"&&(h.flags|=4194308),v=!0}else if(u===null){C=h.stateNode;var Q=h.memoizedProps,oe=Du(m,Q);C.props=oe;var ve=C.context,Te=m.contextType;B=mh,typeof Te=="object"&&Te!==null&&(B=Gr(Te));var Re=m.getDerivedStateFromProps;Te=typeof Re=="function"||typeof C.getSnapshotBeforeUpdate=="function",Q=h.pendingProps!==Q,Te||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(Q||ve!==B)&&n8(h,C,v,B),ic=!1;var we=h.memoizedState;C.state=we,nm(h,v,C,k),tm(),ve=h.memoizedState,Q||we!==ve||ic?(typeof Re=="function"&&(Ox(h,m,Re,v),ve=h.memoizedState),(oe=ic||t8(h,m,oe,v,we,ve,B))?(Te||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(h.flags|=4194308)):(typeof C.componentDidMount=="function"&&(h.flags|=4194308),h.memoizedProps=v,h.memoizedState=ve),C.props=v,C.state=ve,C.context=B,v=oe):(typeof C.componentDidMount=="function"&&(h.flags|=4194308),v=!1)}else{C=h.stateNode,lx(u,h),B=h.memoizedProps,Te=Du(m,B),C.props=Te,Re=h.pendingProps,we=C.context,ve=m.contextType,oe=mh,typeof ve=="object"&&ve!==null&&(oe=Gr(ve)),Q=m.getDerivedStateFromProps,(ve=typeof Q=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(B!==Re||we!==oe)&&n8(h,C,v,oe),ic=!1,we=h.memoizedState,C.state=we,nm(h,v,C,k),tm();var xe=h.memoizedState;B!==Re||we!==xe||ic||u!==null&&u.dependencies!==null&&Cb(u.dependencies)?(typeof Q=="function"&&(Ox(h,m,Q,v),xe=h.memoizedState),(Te=ic||t8(h,m,Te,v,we,xe,oe)||u!==null&&u.dependencies!==null&&Cb(u.dependencies))?(ve||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(v,xe,oe),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(v,xe,oe)),typeof C.componentDidUpdate=="function"&&(h.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(h.flags|=1024)):(typeof C.componentDidUpdate!="function"||B===u.memoizedProps&&we===u.memoizedState||(h.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||B===u.memoizedProps&&we===u.memoizedState||(h.flags|=1024),h.memoizedProps=v,h.memoizedState=xe),C.props=v,C.state=xe,C.context=oe,v=Te):(typeof C.componentDidUpdate!="function"||B===u.memoizedProps&&we===u.memoizedState||(h.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||B===u.memoizedProps&&we===u.memoizedState||(h.flags|=1024),v=!1)}return C=v,Gb(u,h),v=(h.flags&128)!==0,C||v?(C=h.stateNode,m=v&&typeof m.getDerivedStateFromError!="function"?null:C.render(),h.flags|=1,u!==null&&v?(h.child=Ou(h,u.child,null,k),h.child=Ou(h,null,m,k)):qr(u,h,m,k),h.memoizedState=C.state,u=h.child):u=ll(u,h,k),u}function b8(u,h,m,v){return ku(),h.flags|=256,qr(u,h,m,v),h.child}var Bx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Px(u){return{baseLanes:u,cachePool:aL()}}function Fx(u,h,m){return u=u!==null?u.childLanes&~m:0,h&&(u|=Es),u}function y8(u,h,m){var v=h.pendingProps,k=!1,C=(h.flags&128)!==0,B;if((B=C)||(B=u!==null&&u.memoizedState===null?!1:(Xn.current&2)!==0),B&&(k=!0,h.flags&=-129),B=(h.flags&32)!==0,h.flags&=-33,u===null){if(Wt){if(k?oc(h):lc(),(u=En)?(u=C7(u,Zs),u=u!==null&&u.data!=="&"?u:null,u!==null&&(h.memoizedState={dehydrated:u,treeContext:ec!==null?{id:oo,overflow:lo}:null,retryLane:536870912,hydrationErrors:null},m=ZM(u),m.return=h,h.child=m,Vr=h,En=null)):u=null,u===null)throw nc(h);return wE(u)?h.lanes=32:h.lanes=536870912,null}var Q=v.children;return v=v.fallback,k?(lc(),k=h.mode,Q=qb({mode:"hidden",children:Q},k),v=Eu(v,k,m,null),Q.return=h,v.return=h,Q.sibling=v,h.child=Q,v=h.child,v.memoizedState=Px(m),v.childLanes=Fx(u,B,m),h.memoizedState=Bx,om(null,v)):(oc(h),zx(h,Q))}var oe=u.memoizedState;if(oe!==null&&(Q=oe.dehydrated,Q!==null)){if(C)h.flags&256?(oc(h),h.flags&=-257,h=Ux(u,h,m)):h.memoizedState!==null?(lc(),h.child=u.child,h.flags|=128,h=null):(lc(),Q=v.fallback,k=h.mode,v=qb({mode:"visible",children:v.children},k),Q=Eu(Q,k,m,null),Q.flags|=2,v.return=h,Q.return=h,v.sibling=Q,h.child=v,Ou(h,u.child,null,m),v=h.child,v.memoizedState=Px(m),v.childLanes=Fx(u,B,m),h.memoizedState=Bx,h=om(null,v));else if(oc(h),wE(Q)){if(B=Q.nextSibling&&Q.nextSibling.dataset,B)var ve=B.dgst;B=ve,v=Error(r(419)),v.stack="",v.digest=B,Yp({value:v,source:null,stack:null}),h=Ux(u,h,m)}else if(ir||vh(u,h,m,!1),B=(m&u.childLanes)!==0,ir||B){if(B=pn,B!==null&&(v=qi(B,m),v!==0&&v!==oe.retryLane))throw oe.retryLane=v,xu(u,v),Ji(B,u,v),Mx;vE(Q)||ty(),h=Ux(u,h,m)}else vE(Q)?(h.flags|=192,h.child=u.child,h=null):(u=oe.treeContext,En=Js(Q.nextSibling),Vr=h,Wt=!0,tc=null,Zs=!1,u!==null&&eL(h,u),h=zx(h,v.children),h.flags|=4096);return h}return k?(lc(),Q=v.fallback,k=h.mode,oe=u.child,ve=oe.sibling,v=nl(oe,{mode:"hidden",children:v.children}),v.subtreeFlags=oe.subtreeFlags&65011712,ve!==null?Q=nl(ve,Q):(Q=Eu(Q,k,m,null),Q.flags|=2),Q.return=h,v.return=h,v.sibling=Q,h.child=v,om(null,v),v=h.child,Q=u.child.memoizedState,Q===null?Q=Px(m):(k=Q.cachePool,k!==null?(oe=nr._currentValue,k=k.parent!==oe?{parent:oe,pool:oe}:k):k=aL(),Q={baseLanes:Q.baseLanes|m,cachePool:k}),v.memoizedState=Q,v.childLanes=Fx(u,B,m),h.memoizedState=Bx,om(u.child,v)):(oc(h),m=u.child,u=m.sibling,m=nl(m,{mode:"visible",children:v.children}),m.return=h,m.sibling=null,u!==null&&(B=h.deletions,B===null?(h.deletions=[u],h.flags|=16):B.push(u)),h.child=m,h.memoizedState=null,m)}function zx(u,h){return h=qb({mode:"visible",children:h},u.mode),h.return=u,u.child=h}function qb(u,h){return u=ws(22,u,null,h),u.lanes=0,u}function Ux(u,h,m){return Ou(h,u.child,null,m),u=zx(h,h.pendingProps.children),u.flags|=2,h.memoizedState=null,u}function v8(u,h,m){u.lanes|=h;var v=u.alternate;v!==null&&(v.lanes|=h),tx(u.return,h,m)}function jx(u,h,m,v,k,C){var B=u.memoizedState;B===null?u.memoizedState={isBackwards:h,rendering:null,renderingStartTime:0,last:v,tail:m,tailMode:k,treeForkCount:C}:(B.isBackwards=h,B.rendering=null,B.renderingStartTime=0,B.last=v,B.tail=m,B.tailMode=k,B.treeForkCount=C)}function w8(u,h,m){var v=h.pendingProps,k=v.revealOrder,C=v.tail;v=v.children;var B=Xn.current,Q=(B&2)!==0;if(Q?(B=B&1|2,h.flags|=128):B&=1,H(Xn,B),qr(u,h,v,m),v=Wt?Kp:0,!Q&&u!==null&&(u.flags&128)!==0)e:for(u=h.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&v8(u,m,h);else if(u.tag===19)v8(u,m,h);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===h)break e;for(;u.sibling===null;){if(u.return===null||u.return===h)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}switch(k){case"forwards":for(m=h.child,k=null;m!==null;)u=m.alternate,u!==null&&Mb(u)===null&&(k=m),m=m.sibling;m=k,m===null?(k=h.child,h.child=null):(k=m.sibling,m.sibling=null),jx(h,!1,k,m,C,v);break;case"backwards":case"unstable_legacy-backwards":for(m=null,k=h.child,h.child=null;k!==null;){if(u=k.alternate,u!==null&&Mb(u)===null){h.child=k;break}u=k.sibling,k.sibling=m,m=k,k=u}jx(h,!0,m,null,C,v);break;case"together":jx(h,!1,null,null,void 0,v);break;default:h.memoizedState=null}return h.child}function ll(u,h,m){if(u!==null&&(h.dependencies=u.dependencies),dc|=h.lanes,(m&h.childLanes)===0)if(u!==null){if(vh(u,h,m,!1),(m&h.childLanes)===0)return null}else return null;if(u!==null&&h.child!==u.child)throw Error(r(153));if(h.child!==null){for(u=h.child,m=nl(u,u.pendingProps),h.child=m,m.return=h;u.sibling!==null;)u=u.sibling,m=m.sibling=nl(u,u.pendingProps),m.return=h;m.sibling=null}return h.child}function Hx(u,h){return(u.lanes&h)!==0?!0:(u=u.dependencies,!!(u!==null&&Cb(u)))}function Cse(u,h,m){switch(h.tag){case 3:ke(h,h.stateNode.containerInfo),rc(h,nr,u.memoizedState.cache),ku();break;case 27:case 5:qe(h);break;case 4:ke(h,h.stateNode.containerInfo);break;case 10:rc(h,h.type,h.memoizedProps.value);break;case 31:if(h.memoizedState!==null)return h.flags|=128,fx(h),null;break;case 13:var v=h.memoizedState;if(v!==null)return v.dehydrated!==null?(oc(h),h.flags|=128,null):(m&h.child.childLanes)!==0?y8(u,h,m):(oc(h),u=ll(u,h,m),u!==null?u.sibling:null);oc(h);break;case 19:var k=(u.flags&128)!==0;if(v=(m&h.childLanes)!==0,v||(vh(u,h,m,!1),v=(m&h.childLanes)!==0),k){if(v)return w8(u,h,m);h.flags|=128}if(k=h.memoizedState,k!==null&&(k.rendering=null,k.tail=null,k.lastEffect=null),H(Xn,Xn.current),v)break;return null;case 22:return h.lanes=0,h8(u,h,m,h.pendingProps);case 24:rc(h,nr,u.memoizedState.cache)}return ll(u,h,m)}function S8(u,h,m){if(u!==null)if(u.memoizedProps!==h.pendingProps)ir=!0;else{if(!Hx(u,m)&&(h.flags&128)===0)return ir=!1,Cse(u,h,m);ir=(u.flags&131072)!==0}else ir=!1,Wt&&(h.flags&1048576)!==0&&JM(h,Kp,h.index);switch(h.lanes=0,h.tag){case 16:e:{var v=h.pendingProps;if(u=Ru(h.elementType),h.type=u,typeof u=="function")W_(u)?(v=Du(u,v),h.tag=1,h=g8(null,h,u,v,m)):(h.tag=0,h=Lx(null,h,u,v,m));else{if(u!=null){var k=u.$$typeof;if(k===T){h.tag=11,h=c8(null,h,u,v,m);break e}else if(k===I){h.tag=14,h=u8(null,h,u,v,m);break e}}throw h=D(u)||u,Error(r(306,h,""))}}return h;case 0:return Lx(u,h,h.type,h.pendingProps,m);case 1:return v=h.type,k=Du(v,h.pendingProps),g8(u,h,v,k,m);case 3:e:{if(ke(h,h.stateNode.containerInfo),u===null)throw Error(r(387));
vendor: 4,473 bytes, line 411
411v=h.pendingProps;var C=h.memoizedState;k=C.element,lx(u,h),nm(h,v,null,m);var B=h.memoizedState;if(v=B.cache,rc(h,nr,v),v!==C.cache&&nx(h,[nr],m,!0),tm(),v=B.element,C.isDehydrated)if(C={element:v,isDehydrated:!1,cache:B.cache},h.updateQueue.baseState=C,h.memoizedState=C,h.flags&256){h=b8(u,h,v,m);break e}else if(v!==k){k=Ks(Error(r(424)),h),Yp(k),h=b8(u,h,v,m);break e}else for(u=h.stateNode.containerInfo,u.nodeType===9?u=u.body:u=u.nodeName==="HTML"?u.ownerDocument.body:u,En=Js(u.firstChild),Vr=h,Wt=!0,tc=null,Zs=!0,m=hL(h,null,v,m),h.child=m;m;)m.flags=m.flags&-3|4096,m=m.sibling;else{if(ku(),v===k){h=ll(u,h,m);break e}qr(u,h,v,m)}h=h.child}return h;case 26:return Gb(u,h),u===null?(m=I7(h.type,null,h.pendingProps,null))?h.memoizedState=m:Wt||(m=h.type,u=h.pendingProps,v=ly(Ee.current).createElement(m),v[$r]=h,v[Wi]=u,Wr(v,m,u),Or(v),h.stateNode=v):h.memoizedState=I7(h.type,u.memoizedProps,h.pendingProps,u.memoizedState),null;case 27:return qe(h),u===null&&Wt&&(v=h.stateNode=R7(h.type,h.pendingProps,Ee.current),Vr=h,Zs=!0,k=En,gc(h.type)?(SE=k,En=Js(v.firstChild)):En=k),qr(u,h,h.pendingProps.children,m),Gb(u,h),u===null&&(h.flags|=4194304),h.child;case 5:return u===null&&Wt&&((k=v=En)&&(v=nae(v,h.type,h.pendingProps,Zs),v!==null?(h.stateNode=v,Vr=h,En=Js(v.firstChild),Zs=!1,k=!0):k=!1),k||nc(h)),qe(h),k=h.type,C=h.pendingProps,B=u!==null?u.memoizedProps:null,v=C.children,gE(k,C)?v=null:B!==null&&gE(k,B)&&(h.flags|=32),h.memoizedState!==null&&(k=mx(u,h,bse,null,null,m),_m._currentValue=k),Gb(u,h),qr(u,h,v,m),h.child;case 6:return u===null&&Wt&&((u=m=En)&&(m=rae(m,h.pendingProps,Zs),m!==null?(h.stateNode=m,Vr=h,En=null,u=!0):u=!1),u||nc(h)),null;case 13:return y8(u,h,m);case 4:return ke(h,h.stateNode.containerInfo),v=h.pendingProps,u===null?h.child=Ou(h,null,v,m):qr(u,h,v,m),h.child;case 11:return c8(u,h,h.type,h.pendingProps,m);case 7:return qr(u,h,h.pendingProps,m),h.child;case 8:return qr(u,h,h.pendingProps.children,m),h.child;case 12:return qr(u,h,h.pendingProps.children,m),h.child;case 10:return v=h.pendingProps,rc(h,h.type,v.value),qr(u,h,v.children,m),h.child;case 9:return k=h.type._context,v=h.pendingProps.children,Tu(h),k=Gr(k),v=v(k),h.flags|=1,qr(u,h,v,m),h.child;case 14:return u8(u,h,h.type,h.pendingProps,m);case 15:return d8(u,h,h.type,h.pendingProps,m);case 19:return w8(u,h,m);case 31:return kse(u,h,m);case 22:return h8(u,h,m,h.pendingProps);case 24:return Tu(h),v=Gr(nr),u===null?(k=sx(),k===null&&(k=pn,C=rx(),k.pooledCache=C,C.refCount++,C!==null&&(k.pooledCacheLanes|=m),k=C),h.memoizedState={parent:v,cache:k},ox(h),rc(h,nr,k)):((u.lanes&m)!==0&&(lx(u,h),nm(h,null,null,m),tm()),k=u.memoizedState,C=h.memoizedState,k.parent!==v?(k={parent:v,cache:v},h.memoizedState=k,h.lanes===0&&(h.memoizedState=h.updateQueue.baseState=k),rc(h,nr,v)):(v=C.cache,rc(h,nr,v),v!==k.cache&&nx(h,[nr],m,!0))),qr(u,h,h.pendingProps.children,m),h.child;case 29:throw h.pendingProps}throw Error(r(156,h.tag))}function cl(u){u.flags|=4}function $x(u,h,m,v,k){if((h=(u.mode&32)!==0)&&(h=!1),h){if(u.flags|=16777216,(k&335544128)===k)if(u.stateNode.complete)u.flags|=8192;else if(K8())u.flags|=8192;else throw Nu=Nb,ax}else u.flags&=-16777217}function _8(u,h){if(h.type!=="stylesheet"||(h.state.loading&4)!==0)u.flags&=-16777217;else if(u.flags|=16777216,!P7(h))if(K8())u.flags|=8192;else throw Nu=Nb,ax}function Wb(u,h){h!==null&&(u.flags|=4),u.flags&16384&&(h=u.tag!==22?ii():536870912,u.lanes|=h,Oh|=h)}function lm(u,h){if(!Wt)switch(u.tailMode){case"hidden":h=u.tail;for(var m=null;h!==null;)h.alternate!==null&&(m=h),h=h.sibling;m===null?u.tail=null:m.sibling=null;break;case"collapsed":m=u.tail;for(var v=null;m!==null;)m.alternate!==null&&(v=m),m=m.sibling;v===null?h||u.tail===null?u.tail=null:u.tail.sibling=null:v.sibling=null}}function kn(u){var h=u.alternate!==null&&u.alternate.child===u.child,m=0,v=0;if(h)for(var k=u.child;k!==null;)m|=k.lanes|k.childLanes,v|=k.subtreeFlags&65011712,v|=k.flags&65011712,k.return=u,k=k.sibling;else for(k=u.child;k!==null;)m|=k.lanes|k.childLanes,v|=k.subtreeFlags,v|=k.flags,k.return=u,k=k.sibling;return u.subtreeFlags|=v,u.childLanes=m,h}function Tse(u,h,m){var v=h.pendingProps;switch(Z_(h),h.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kn(h),null;case 1:return kn(h),null;case 3:return m=h.stateNode,v=null,u!==null&&(v=u.memoizedState.cache),h.memoizedState.cache!==v&&(h.flags|=2048),sl(nr),Le(),m.pendingContext&&(m.context=m.pendingContext,m.pen
vendor: 7,457 bytes, line 411
411dingContext=null),(u===null||u.child===null)&&(yh(h)?cl(h):u===null||u.memoizedState.isDehydrated&&(h.flags&256)===0||(h.flags|=1024,J_())),kn(h),null;case 26:var k=h.type,C=h.memoizedState;return u===null?(cl(h),C!==null?(kn(h),_8(h,C)):(kn(h),$x(h,k,null,v,m))):C?C!==u.memoizedState?(cl(h),kn(h),_8(h,C)):(kn(h),h.flags&=-16777217):(u=u.memoizedProps,u!==v&&cl(h),kn(h),$x(h,k,u,v,m)),null;case 27:if(Xe(h),m=Ee.current,k=h.type,u!==null&&h.stateNode!=null)u.memoizedProps!==v&&cl(h);else{if(!v){if(h.stateNode===null)throw Error(r(166));return kn(h),null}u=ae.current,yh(h)?tL(h):(u=R7(k,v,m),h.stateNode=u,cl(h))}return kn(h),null;case 5:if(Xe(h),k=h.type,u!==null&&h.stateNode!=null)u.memoizedProps!==v&&cl(h);else{if(!v){if(h.stateNode===null)throw Error(r(166));return kn(h),null}if(C=ae.current,yh(h))tL(h);else{var B=ly(Ee.current);switch(C){case 1:C=B.createElementNS("http://www.w3.org/2000/svg",k);break;case 2:C=B.createElementNS("http://www.w3.org/1998/Math/MathML",k);break;default:switch(k){case"svg":C=B.createElementNS("http://www.w3.org/2000/svg",k);break;case"math":C=B.createElementNS("http://www.w3.org/1998/Math/MathML",k);break;case"script":C=B.createElement("div"),C.innerHTML="<script><\/script>",C=C.removeChild(C.firstChild);break;case"select":C=typeof v.is=="string"?B.createElement("select",{is:v.is}):B.createElement("select"),v.multiple?C.multiple=!0:v.size&&(C.size=v.size);break;default:C=typeof v.is=="string"?B.createElement(k,{is:v.is}):B.createElement(k)}}C[$r]=h,C[Wi]=v;e:for(B=h.child;B!==null;){if(B.tag===5||B.tag===6)C.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===h)break e;for(;B.sibling===null;){if(B.return===null||B.return===h)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}h.stateNode=C;e:switch(Wr(C,k,v),k){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}v&&cl(h)}}return kn(h),$x(h,h.type,u===null?null:u.memoizedProps,h.pendingProps,m),null;case 6:if(u&&h.stateNode!=null)u.memoizedProps!==v&&cl(h);else{if(typeof v!="string"&&h.stateNode===null)throw Error(r(166));if(u=Ee.current,yh(h)){if(u=h.stateNode,m=h.memoizedProps,v=null,k=Vr,k!==null)switch(k.tag){case 27:case 5:v=k.memoizedProps}u[$r]=h,u=!!(u.nodeValue===m||v!==null&&v.suppressHydrationWarning===!0||y7(u.nodeValue,m)),u||nc(h,!0)}else u=ly(u).createTextNode(v),u[$r]=h,h.stateNode=u}return kn(h),null;case 31:if(m=h.memoizedState,u===null||u.memoizedState!==null){if(v=yh(h),m!==null){if(u===null){if(!v)throw Error(r(318));if(u=h.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(557));u[$r]=h}else ku(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;kn(h),u=!1}else m=J_(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=m),u=!0;if(!u)return h.flags&256?(_s(h),h):(_s(h),null);if((h.flags&128)!==0)throw Error(r(558))}return kn(h),null;case 13:if(v=h.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(k=yh(h),v!==null&&v.dehydrated!==null){if(u===null){if(!k)throw Error(r(318));if(k=h.memoizedState,k=k!==null?k.dehydrated:null,!k)throw Error(r(317));k[$r]=h}else ku(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;kn(h),k=!1}else k=J_(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=k),k=!0;if(!k)return h.flags&256?(_s(h),h):(_s(h),null)}return _s(h),(h.flags&128)!==0?(h.lanes=m,h):(m=v!==null,u=u!==null&&u.memoizedState!==null,m&&(v=h.child,k=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(k=v.alternate.memoizedState.cachePool.pool),C=null,v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(C=v.memoizedState.cachePool.pool),C!==k&&(v.flags|=2048)),m!==u&&m&&(h.child.flags|=8192),Wb(h,h.updateQueue),kn(h),null);case 4:return Le(),u===null&&dE(h.stateNode.containerInfo),kn(h),null;case 10:return sl(h.type),kn(h),null;case 19:if(X(Xn),v=h.memoizedState,v===null)return kn(h),null;if(k=(h.flags&128)!==0,C=v.rendering,C===null)if(k)lm(v,!1);else{if(Hn!==0||u!==null&&(u.flags&128)!==0)for(u=h.child;u!==null;){if(C=Mb(u),C!==null){for(h.flags|=128,lm(v,!1),u=C.updateQueue,h.updateQueue=u,Wb(h,u),h.subtreeFlags=0,u=m,m=h.child;m!==null;)XM(m,u),m=m.sibling;return H(Xn,Xn.current&1|2),Wt&&rl(h,v.treeForkCount),h.child}u=u.sibling}v.tail!==null&&Ge()>Qb&&(h.flags|=128,k=!0,lm(v,!1),h.lanes=4194304)}else{if(!k)if(u=Mb(C),u!==null){if(h.flags|=128,k=!0,u=u.updateQueue,h.updateQueue=u,Wb(h,u),lm(v,!0),v.tail===null&&v.tailMode==="hidden"&&!C.alternate&&!Wt)return kn(h),null}else 2*Ge()-v.renderingStartTime>Qb&&m!==536870912&&(h.flags|=128,k=!0,lm(v,!1),h.lanes=4194304);v.isBackwards?(C.sibling=h.child,h.child=C):(u=v.last,u!==null?u.sibling=C:h.child=C,v.last=C)}return v.tail!==null?(u=v.tail,v.rendering=u,v.tail=u.sibling,v.renderingStartTime=Ge(),u.sibling=null,m=Xn.current,H(Xn,k?m&1|2:m&1),Wt&&rl(h,v.treeForkCount),u):(kn(h),null);case 22:case 23:return _s(h),hx(),v=h.memoizedState!==null,u!==null?u.memoizedState!==null!==v&&(h.flags|=8192):v&&(h.flags|=8192),v?(m&536870912)!==0&&(h.flags&128)===0&&(kn(h),h.subtreeFlags&6&&(h.flags|=8192)):kn(h),m=h.updateQueue,m!==null&&Wb(h,m.retryQueue),m=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),v=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(v=h.memoizedState.cachePool.pool),v!==m&&(h.flags|=2048),u!==null&&X(Au),null;case 24:return m=null,u!==null&&(m=u.memoizedState.cache),h.memoizedState.cache!==m&&(h.flags|=2048),sl(nr),kn(h),null;case 25:return null;case 30:return null}throw Error(r(156,h.tag))}function Ase(u,h){switch(Z_(h),h.tag){case 1:return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 3:return sl(nr),Le(),u=h.flags,(u&65536)!==0&&(u&128)===0?(h.flags=u&-65537|128,h):null;case 26:case 27:case 5:return Xe(h),null;case 31:if(h.memoizedState!==null){if(_s(h),h.alternate===null)throw Error(r(340));ku()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 13:if(_s(h),u=h.memoizedState,u!==null&&u.dehydrated!==null){if(h.alternate===null)throw Error(r(340));ku()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 19:return X(Xn),null;case 4:return Le(),null;case 10:return sl(h.type),null;case 22:case 23:return _s(h),hx(),u!==null&&X(Au),u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 24:return sl(nr),null;case 25:return null;default:return null}}function x8(u,h){switch(Z_(h),h.tag){case 3:sl(nr),Le();break;case 26:case 27:case 5:Xe(h);break;case 4:Le();break;case 31:h.memoizedState!==null&&_s(h);break;case 13:_s(h);break;case 19:X(Xn);break;case 10:sl(h.type);break;case 22:case 23:_s(h),hx(),u!==null&&X(Au);break;case 24:sl(nr)}}function cm(u,h){try{var m=h.updateQueue,v=m!==null?m.lastEffect:null;if(v!==null){var k=v.next;m=k;do{if((m.tag&u)===u){v=void 0;var C=m.create,B=m.inst;v=C(),B.destroy=v}m=m.next}while(m!==k)}}catch(Q){an(h,h.return,Q)}}function cc(u,h,m){try{var v=h.updateQueue,k=v!==null?v.lastEffect:null;if(k!==null){var C=k.next;v=C;do{if((v.tag&u)===u){var B=v.inst,Q=B.destroy;if(Q!==void 0){B.destroy=void 0,k=h;var oe=m,ve=Q;try{ve()}catch(Te){an(k,oe,Te)}}}v=v.next}while(v!==C)}}catch(Te){an(h,h.return,Te)}}function E8(u){var h=u.updateQueue;if(h!==null){var m=u.stateNode;try{pL(h,m)}catch(v){an(u,u.return,v)}}}function k8(u,h,m){m.props=Du(u.type,u.memoizedProps),m.state=u.memoizedState;
vendor: 18,676 bytes, line 411
411try{m.componentWillUnmount()}catch(v){an(u,h,v)}}function um(u,h){try{var m=u.ref;if(m!==null){switch(u.tag){case 26:case 27:case 5:var v=u.stateNode;break;case 30:v=u.stateNode;break;default:v=u.stateNode}typeof m=="function"?u.refCleanup=m(v):m.current=v}}catch(k){an(u,h,k)}}function co(u,h){var m=u.ref,v=u.refCleanup;if(m!==null)if(typeof v=="function")try{v()}catch(k){an(u,h,k)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof m=="function")try{m(null)}catch(k){an(u,h,k)}else m.current=null}function C8(u){var h=u.type,m=u.memoizedProps,v=u.stateNode;try{e:switch(h){case"button":case"input":case"select":case"textarea":m.autoFocus&&v.focus();break e;case"img":m.src?v.src=m.src:m.srcSet&&(v.srcset=m.srcSet)}}catch(k){an(u,u.return,k)}}function Vx(u,h,m){try{var v=u.stateNode;Xse(v,u.type,m,h),v[Wi]=h}catch(k){an(u,u.return,k)}}function T8(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&gc(u.type)||u.tag===4}function Gx(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||T8(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&gc(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function qx(u,h,m){var v=u.tag;if(v===5||v===6)u=u.stateNode,h?(m.nodeType===9?m.body:m.nodeName==="HTML"?m.ownerDocument.body:m).insertBefore(u,h):(h=m.nodeType===9?m.body:m.nodeName==="HTML"?m.ownerDocument.body:m,h.appendChild(u),m=m._reactRootContainer,m!=null||h.onclick!==null||(h.onclick=el));else if(v!==4&&(v===27&&gc(u.type)&&(m=u.stateNode,h=null),u=u.child,u!==null))for(qx(u,h,m),u=u.sibling;u!==null;)qx(u,h,m),u=u.sibling}function Kb(u,h,m){var v=u.tag;if(v===5||v===6)u=u.stateNode,h?m.insertBefore(u,h):m.appendChild(u);else if(v!==4&&(v===27&&gc(u.type)&&(m=u.stateNode),u=u.child,u!==null))for(Kb(u,h,m),u=u.sibling;u!==null;)Kb(u,h,m),u=u.sibling}function A8(u){var h=u.stateNode,m=u.memoizedProps;try{for(var v=u.type,k=h.attributes;k.length;)h.removeAttributeNode(k[0]);Wr(h,v,m),h[$r]=u,h[Wi]=m}catch(C){an(u,u.return,C)}}var ul=!1,sr=!1,Wx=!1,R8=typeof WeakSet=="function"?WeakSet:Set,Ir=null;function Rse(u,h){if(u=u.containerInfo,pE=my,u=jM(u),U_(u)){if("selectionStart"in u)var m={start:u.selectionStart,end:u.selectionEnd};else e:{m=(m=u.ownerDocument)&&m.defaultView||window;var v=m.getSelection&&m.getSelection();if(v&&v.rangeCount!==0){m=v.anchorNode;var k=v.anchorOffset,C=v.focusNode;v=v.focusOffset;try{m.nodeType,C.nodeType}catch{m=null;break e}var B=0,Q=-1,oe=-1,ve=0,Te=0,Re=u,we=null;t:for(;;){for(var xe;Re!==m||k!==0&&Re.nodeType!==3||(Q=B+k),Re!==C||v!==0&&Re.nodeType!==3||(oe=B+v),Re.nodeType===3&&(B+=Re.nodeValue.length),(xe=Re.firstChild)!==null;)we=Re,Re=xe;for(;;){if(Re===u)break t;if(we===m&&++ve===k&&(Q=B),we===C&&++Te===v&&(oe=B),(xe=Re.nextSibling)!==null)break;Re=we,we=Re.parentNode}Re=xe}m=Q===-1||oe===-1?null:{start:Q,end:oe}}else m=null}m=m||{start:0,end:0}}else m=null;for(mE={focusedElem:u,selectionRange:m},my=!1,Ir=h;Ir!==null;)if(h=Ir,u=h.child,(h.subtreeFlags&1028)!==0&&u!==null)u.return=h,Ir=u;else for(;Ir!==null;){switch(h=Ir,C=h.alternate,u=h.flags,h.tag){case 0:if((u&4)!==0&&(u=h.updateQueue,u=u!==null?u.events:null,u!==null))for(m=0;m<u.length;m++)k=u[m],k.ref.impl=k.nextImpl;break;case 11:case 15:break;case 1:if((u&1024)!==0&&C!==null){u=void 0,m=h,k=C.memoizedProps,C=C.memoizedState,v=m.stateNode;try{var ot=Du(m.type,k);u=v.getSnapshotBeforeUpdate(ot,C),v.__reactInternalSnapshotBeforeUpdate=u}catch(yt){an(m,m.return,yt)}}break;case 3:if((u&1024)!==0){if(u=h.stateNode.containerInfo,m=u.nodeType,m===9)yE(u);else if(m===1)switch(u.nodeName){case"HEAD":case"HTML":case"BODY":yE(u);break;default:u.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((u&1024)!==0)throw Error(r(163))}if(u=h.sibling,u!==null){u.return=h.return,Ir=u;break}Ir=h.return}}function N8(u,h,m){var v=m.flags;switch(m.tag){case 0:case 11:case 15:hl(u,m),v&4&&cm(5,m);break;case 1:if(hl(u,m),v&4)if(u=m.stateNode,h===null)try{u.componentDidMount()}catch(B){an(m,m.return,B)}else{var k=Du(m.type,h.memoizedProps);h=h.memoizedState;try{u.componentDidUpdate(k,h,u.__reactInternalSnapshotBeforeUpdate)}catch(B){an(m,m.return,B)}}v&64&&E8(m),v&512&&um(m,m.return);break;case 3:if(hl(u,m),v&64&&(u=m.updateQueue,u!==null)){if(h=null,m.child!==null)switch(m.child.tag){case 27:case 5:h=m.child.stateNode;break;case 1:h=m.child.stateNode}try{pL(u,h)}catch(B){an(m,m.return,B)}}break;case 27:h===null&&v&4&&A8(m);case 26:case 5:hl(u,m),h===null&&v&4&&C8(m),v&512&&um(m,m.return);break;case 12:hl(u,m);break;case 31:hl(u,m),v&4&&D8(u,m);break;case 13:hl(u,m),v&4&&M8(u,m),v&64&&(u=m.memoizedState,u!==null&&(u=u.dehydrated,u!==null&&(m=Fse.bind(null,m),iae(u,m))));break;case 22:if(v=m.memoizedState!==null||ul,!v){h=h!==null&&h.memoizedState!==null||sr,k=ul;var C=sr;ul=v,(sr=h)&&!C?fl(u,m,(m.subtreeFlags&8772)!==0):hl(u,m),ul=k,sr=C}break;case 30:break;default:hl(u,m)}}function O8(u){var h=u.alternate;h!==null&&(u.alternate=null,O8(h)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(h=u.stateNode,h!==null&&x_(h)),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}var Rn=null,Yi=!1;function dl(u,h,m){for(m=m.child;m!==null;)I8(u,h,m),m=m.sibling}function I8(u,h,m){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(It,m)}catch{}switch(m.tag){case 26:sr||co(m,h),dl(u,h,m),m.memoizedState?m.memoizedState.count--:m.stateNode&&(m=m.stateNode,m.parentNode.removeChild(m));break;case 27:sr||co(m,h);var v=Rn,k=Yi;gc(m.type)&&(Rn=m.stateNode,Yi=!1),dl(u,h,m),vm(m.stateNode),Rn=v,Yi=k;break;case 5:sr||co(m,h);case 6:if(v=Rn,k=Yi,Rn=null,dl(u,h,m),Rn=v,Yi=k,Rn!==null)if(Yi)try{(Rn.nodeType===9?Rn.body:Rn.nodeName==="HTML"?Rn.ownerDocument.body:Rn).removeChild(m.stateNode)}catch(C){an(m,h,C)}else try{Rn.removeChild(m.stateNode)}catch(C){an(m,h,C)}break;case 18:Rn!==null&&(Yi?(u=Rn,E7(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,m.stateNode),zh(u)):E7(Rn,m.stateNode));break;case 4:v=Rn,k=Yi,Rn=m.stateNode.containerInfo,Yi=!0,dl(u,h,m),Rn=v,Yi=k;break;case 0:case 11:case 14:case 15:cc(2,m,h),sr||cc(4,m,h),dl(u,h,m);break;case 1:sr||(co(m,h),v=m.stateNode,typeof v.componentWillUnmount=="function"&&k8(m,h,v)),dl(u,h,m);break;case 21:dl(u,h,m);break;case 22:sr=(v=sr)||m.memoizedState!==null,dl(u,h,m),sr=v;break;default:dl(u,h,m)}}function D8(u,h){if(h.memoizedState===null&&(u=h.alternate,u!==null&&(u=u.memoizedState,u!==null))){u=u.dehydrated;try{zh(u)}catch(m){an(h,h.return,m)}}}function M8(u,h){if(h.memoizedState===null&&(u=h.alternate,u!==null&&(u=u.memoizedState,u!==null&&(u=u.dehydrated,u!==null))))try{zh(u)}catch(m){an(h,h.return,m)}}function Nse(u){switch(u.tag){case 31:case 13:case 19:var h=u.stateNode;return h===null&&(h=u.stateNode=new R8),h;case 22:return u=u.stateNode,h=u._retryCache,h===null&&(h=u._retryCache=new R8),h;default:throw Error(r(435,u.tag))}}function Yb(u,h){var m=Nse(u);h.forEach(function(v){if(!m.has(v)){m.add(v);var k=zse.bind(null,u,v);v.then(k,k)}})}function Xi(u,h){var m=h.deletions;if(m!==null)for(var v=0;v<m.length;v++){var k=m[v],C=u,B=h,Q=B;e:for(;Q!==null;){switch(Q.tag){case 27:if(gc(Q.type)){Rn=Q.stateNode,Yi=!1;break e}break;case 5:Rn=Q.stateNode,Yi=!1;break e;case 3:case 4:Rn=Q.stateNode.containerInfo,Yi=!0;break e}Q=Q.return}if(Rn===null)throw Error(r(160));I8(C,B,k),Rn=null,Yi=!1,C=k.alternate,C!==null&&(C.return=null),k.return=null}if(h.subtreeFlags&13886)for(h=h.child;h!==null;)L8(h,u),h=h.sibling}var Na=null;function L8(u,h){var m=u.alternate,v=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:Xi(h,u),Zi(u),v&4&&(cc(3,u,u.return),cm(3,u),cc(5,u,u.return));break;case 1:Xi(h,u),Zi(u),v&512&&(sr||m===null||co(m,m.return)),v&64&&ul&&(u=u.updateQueue,u!==null&&(v=u.callbacks,v!==null&&(m=u.shared.hiddenCallbacks,u.shared.hiddenCallbacks=m===null?v:m.concat(v))));break;case 26:var k=Na;if(Xi(h,u),Zi(u),v&512&&(sr||m===null||co(m,m.return)),v&4){var C=m!==null?m.memoizedState:null;if(v=u.memoizedState,m===null)if(v===null)if(u.stateNode===null){e:{v=u.type,m=u.memoizedProps,k=k.ownerDocument||k;t:switch(v){case"title":C=k.getElementsByTagName("title")[0],(!C||C[Pp]||C[$r]||C.namespaceURI==="http://www.w3.org/2000/svg"||C.hasAttribute("itemprop"))&&(C=k.createElement(v),k.head.insertBefore(C,k.querySelector("head > title"))),Wr(C,v,m),C[$r]=u,Or(C),v=C;break e;case"link":var B=L7("link","href",k).get(v+(m.href||""));if(B){for(var Q=0;Q<B.length;Q++)if(C=B[Q],C.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&C.getAttribute("rel")===(m.rel==null?null:m.rel)&&C.getAttribute("title")===(m.title==null?null:m.title)&&C.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){B.splice(Q,1);break t}}C=k.createElement(v),Wr(C,v,m),k.head.appendChild(C);break;case"meta":if(B=L7("meta","content",k).get(v+(m.content||""))){for(Q=0;Q<B.length;Q++)if(C=B[Q],C.getAttribute("content")===(m.content==null?null:""+m.content)&&C.getAttribute("name")===(m.name==null?null:m.name)&&C.getAttribute("property")===(m.property==null?null:m.property)&&C.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&C.getAttribute("charset")===(m.charSet==null?null:m.charSet)){B.splice(Q,1);break t}}C=k.createElement(v),Wr(C,v,m),k.head.appendChild(C);break;default:throw Error(r(468,v))}C[$r]=u,Or(C),v=C}u.stateNode=v}else B7(k,u.type,u.stateNode);else u.stateNode=M7(k,v,u.memoizedProps);else C!==v?(C===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):C.count--,v===null?B7(k,u.type,u.stateNode):M7(k,v,u.memoizedProps)):v===null&&u.stateNode!==null&&Vx(u,u.memoizedProps,m.memoizedProps)}break;case 27:Xi(h,u),Zi(u),v&512&&(sr||m===null||co(m,m.return)),m!==null&&v&4&&Vx(u,u.memoizedProps,m.memoizedProps);break;case 5:if(Xi(h,u),Zi(u),v&512&&(sr||m===null||co(m,m.return)),u.flags&32){k=u.stateNode;try{lh(k,"")}catch(ot){an(u,u.return,ot)}}v&4&&u.stateNode!=null&&(k=u.memoizedProps,Vx(u,k,m!==null?m.memoizedProps:k)),v&1024&&(Wx=!0);break;case 6:if(Xi(h,u),Zi(u),v&4){if(u.stateNode===null)throw Error(r(162));v=u.memoizedProps,m=u.stateNode;try{m.nodeValue=v}catch(ot){an(u,u.return,ot)}}break;case 3:if(dy=null,k=Na,Na=cy(h.containerInfo),Xi(h,u),Na=k,Zi(u),v&4&&m!==null&&m.memoizedState.isDehydrated)try{zh(h.containerInfo)}catch(ot){an(u,u.return,ot)}Wx&&(Wx=!1,B8(u));break;case 4:v=Na,Na=cy(u.stateNode.containerInfo),Xi(h,u),Zi(u),Na=v;break;case 12:Xi(h,u),Zi(u);break;case 31:Xi(h,u),Zi(u),v&4&&(v=u.updateQueue,v!==null&&(u.updateQueue=null,Yb(u,v)));break;case 13:Xi(h,u),Zi(u),u.child.flags&8192&&u.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(Zb=Ge()),v&4&&(v=u.updateQueue,v!==null&&(u.updateQueue=null,Yb(u,v)));break;case 22:k=u.memoizedState!==null;var oe=m!==null&&m.memoizedState!==null,ve=ul,Te=sr;if(ul=ve||k,sr=Te||oe,Xi(h,u),sr=Te,ul=ve,Zi(u),v&8192)e:for(h=u.stateNode,h._visibility=k?h._visibility&-2:h._visibility|1,k&&(m===null||oe||ul||sr||Mu(u)),m=null,h=u;;){if(h.tag===5||h.tag===26){if(m===null){oe=m=h;try{if(C=oe.stateNode,k)B=C.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{Q=oe.stateNode;var Re=oe.memoizedProps.style,we=Re!=null&&Re.hasOwnProperty("display")?Re.display:null;Q.style.display=we==null||typeof we=="boolean"?"":(""+we).trim()}}catch(ot){an(oe,oe.return,ot)}}}else if(h.tag===6){if(m===null){oe=h;try{oe.stateNode.nodeValue=k?"":oe.memoizedProps}catch(ot){an(oe,oe.return,ot)}}}else if(h.tag===18){if(m===null){oe=h;try{var xe=oe.stateNode;k?k7(xe,!0):k7(oe.stateNode,!1)}catch(ot){an(oe,oe.return,ot)}}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===u)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===u)break e;for(;h.sibling===null;){if(h.return===null||h.return===u)break e;m===h&&(m=null),h=h.return}m===h&&(m=null),h.sibling.return=h.return,h=h.sibling}v&4&&(v=u.updateQueue,v!==null&&(m=v.retryQueue,m!==null&&(v.retryQueue=null,Yb(u,m))));break;case 19:Xi(h,u),Zi(u),v&4&&(v=u.updateQueue,v!==null&&(u.updateQueue=null,Yb(u,v)));break;case 30:break;case 21:break;default:Xi(h,u),Zi(u)}}function Zi(u){var h=u.flags;if(h&2){try{for(var m,v=u.return;v!==null;){if(T8(v)){m=v;break}v=v.return}if(m==null)throw Error(r(160));switch(m.tag){case 27:var k=m.stateNode,C=Gx(u);Kb(u,C,k);break;case 5:var B=m.stateNode;m.flags&32&&(lh(B,""),m.flags&=-33);var Q=Gx(u);Kb(u,Q,B);break;case 3:case 4:var oe=m.stateNode.containerInfo,ve=Gx(u);qx(u,ve,oe);break;default:throw Error(r(161))}}catch(Te){an(u,u.return,Te)}u.flags&=-3}h&4096&&(u.flags&=-4097)}function B8(u){if(u.subtreeFlags&1024)for(u=u.child;u!==null;){var h=u;B8(h),h.tag===5&&h.flags&1024&&h.stateNode.reset(),u=u.sibling}}function hl(u,h){if(h.subtreeFlags&8772)for(h=h.child;h!==null;)N8(u,h.alternate,h),h=h.sibling}function Mu(u){for(u=u.child;u!==null;){var h=u;switch(h.tag){case 0:case 11:case 14:case 15:cc(4,h,h.return),Mu(h);break;case 1:co(h,h.return);var m=h.stateNode;typeof m.componentWillUnmount=="function"&&k8(h,h.return,m),Mu(h);break;case 27:vm(h.stateNode);case 26:case 5:co(h,h.return),Mu(h);break;case 22:h.memoizedState===null&&Mu(h);break;case 30:Mu(h);break;default:Mu(h)}u=u.sibling}}function fl(u,h,m){for(m=m&&(h.subtreeFlags&8772)!==0,h=h.child;h!==null;){var v=h.alternate,k=u,C=h,B=C.flags;switch(C.tag){case 0:case 11:case 15:fl(k,C,m),cm(4,C);break;case 1:if(fl(k,C,m),v=C,k=v.stateNode,typeof k.componentDidMount=="function")try{k.componentDidMount()}catch(ve){an(v,v.return,ve)}if(v=C,k=v.updateQueue,k!==null){var Q=v.stateNode;try{var oe=k.shared.hiddenCallbacks;if(oe!==null)for(k.shared.hiddenCallbacks=null,k=0;k<oe.length;k++)fL(oe[k],Q)}catch(ve){an(v,v.return,ve)}}m&&B&64&&E8(C),um(C,C.return);break;case 27:A8(C);case 26:case 5:fl(k,C,m),m&&v===null&&B&4&&C8(C),um(C,C.return);break;case 12:fl(k,C,m);break;case 31:fl(k,C,m),m&&B&4&&D8(k,C);break;case 13:fl(k,C,m),m&&B&4&&M8(k,C);break;case 22:C.memoizedState===null&&fl(k,C,m),um(C,C.return);break;case 30:break;default:fl(k,C,m)}h=h.sibling}}function Kx(u,h){var m=null;u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),u=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(u=h.memoizedState.cachePool.pool),u!==m&&(u!=null&&u.refCount++,m!=null&&Xp(m))}function Yx(u,h){u=null,h.alternate!==null&&(u=h.alternate.memoizedState.cache),h=h.memoizedState.cache,h!==u&&(h.refCount++,u!=null&&Xp(u))}function Oa(u,h,m,v){if(h.subtreeFlags&10256)for(h=h.child;h!==null;)P8(u,h,m,v),h=h.sibling}function P8(u,h,m,v){var k=h.flags;switch(h.tag){case 0:case 11:case 15:Oa(u,h,m,v),k&2048&&cm(9,h);break;case 1:Oa(u,h,m,v);break;case 3:Oa(u,h,m,v),k&2048&&(u=null,h.alternate!==null&&(u=h.alternate.memoizedState.cache),h=h.memoizedState.cache,h!==u&&(h.refCount++,u!=null&&Xp(u)));break;case 12:if(k&2048){Oa(u,h,m,v),u=h.stateNode;try{var C=h.memoizedProps,B=C.id,Q=C.onPostCommit;typeof Q=="function"&&Q(B,h.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(oe){an(h,h.return,oe)}}else Oa(u,h,m,v);break;case 31:Oa(u,h,m,v);break;case 13:Oa(u,h,m,v);break;case 23:break;case 22:C=h.stateNode,B=h.alternate,h.memoizedState!==null?C._visibility&2?Oa(u,h,m,v):dm(u,h):C._visibility&2?Oa(u,h,m,v):(C._visibility|=2,Ah(u,h,m,v,(h.subtreeFlags&10256)!==0||!1)),k&2048&&Kx(B,h);break;case 24:Oa(u,h,m,v),k&2048&&Yx(h.alternate,h);break;default:Oa(u,h,m,v)}}function Ah(u,h,m,v,k){for(k=k&&((h.subtreeFlags&10256)!==0||!1),h=h.child;h!==null;){var C=u,B=h,Q=m,oe=v,ve=B.flags;switch(B.tag){case 0:case 11:case 15:Ah(C,B,Q,oe,k),cm(8,B);break;case 23:break;case 22:var Te=B.stateNode;B.memoizedState!==null?Te._visibility&2?Ah(C,B,Q,oe,k):dm(C,B):(Te._visibility|=2,Ah(C,B,Q,oe,k)),k&&ve&2048&&Kx(B.alternate,B);break;case 24:Ah(C,B,Q,oe,k),k&&ve&2048&&Yx(B.alternate,B);break;default:Ah(C,B,Q,oe,k)}h=h.sibling}}function dm(u,h){if(h.subtreeFlags&10256)for(h=h.child;h!==null;){var m=u,v=h,k=v.flags;switch(v.tag){case 22:dm(m,v),k&2048&&Kx(v.alternate,v);break;case 24:dm(m,v),k&2048&&Yx(v.alternate,v);break;default:dm(m,v)}h=h.sibling}}var hm=8192;function Rh(u,h,m){if(u.subtreeFlags&hm)for(u=u.child;u!==null;)F8(u,h,m),u=u.sibling}function F8(u,h,m){switch(u.tag){case 26:Rh(u,h,m),u.flags&hm&&u.memoizedState!==null&&gae(m,Na,u.memoizedState,u.memoizedProps);break;case 5:Rh(u,h,m);break;case 3:case 4:var v=Na;Na=cy(u.stateNode.containerInfo),Rh(u,h,m),Na=v;break;case 22:u.memoizedState===null&&(v=u.alternate,v!==null&&v.memoizedState!==null?(v=hm,hm=16777216,Rh(u,h,m),hm=v):Rh(u,h,m));break;default:Rh(u,h,m)}}function z8(u){var h=u.alternate;if(h!==null&&(u=h.child,u!==null)){h.child=null;do h=u.sibling,u.sibling=null,u=h;while(u!==null)}}function fm(u){var h=u.deletions;if((u.flags&16)!==0){if(h!==null)for(var m=0;m<h.length;m++){var v=h[m];Ir=v,j8(v,u)}z8(u)}if(u.subtreeFlags&10256)for(u=u.child;u!==null;)U8(u),u=u.sibling}function U8(u){switch(u.tag){case 0:case 11:case 15:fm(u),u.flags&2048&&cc(9,u,u.return);break;case 3:fm(u);break;case 12:fm(u);break;case 22:var h=u.stateNode;u.memoizedState!==null&&h._visibility&2&&(u.return===null||u.return.tag!==13)?(h._visibility&=-3,Xb(u)):fm(u);break;default:fm(u)}}function Xb(u){var h=u.deletions;if((u.flags&16)!==0){if(h!==null)for(var m=0;m<h.length;m++){var v=h[m];Ir=v,j8(v,u)}z8(u)}for(u=u.child;u!==null;){switch(h=u,h.tag){case 0:case 11:case 15:cc(8,h,h.return),Xb(h);break;case 22:m=h.stateNode,m._visibility&2&&(m._visibility&=-3,Xb(h));break;default:Xb(h)}u=u.sibling}}function j8(u,h){for(;Ir!==null;){var m=Ir;switch(m.tag){case 0:case 11:case 15:cc(8,m,h);break;case 23:case 22:if(m.memoizedState!==null&&m.memoizedState.cachePool!==null){var v=m.memoizedState.cachePool.pool;v!=null&&v.refCount++}break;case 24:Xp(m.memoizedState.cache)}if(v=m.child,v!==null)v.return=m,Ir=v;else e:for(m=u;Ir!==null;){v=Ir;var k=v.sibling,C=v.return;if(O8(v),v===m){Ir=null;break e}if(k!==null){k.return=C,Ir=k;break e}Ir=C}}}var Ose={getCacheForType:function(u){var h=Gr(nr),m=h.data.get(u);return m===void 0&&(m=u(),h.data.set(u,m)),m},cacheSignal:function(){return Gr(nr).controller.signal}},Ise=typeof WeakMap=="function"?WeakMap:Map,nn=0,pn=null,Ft=null,$t=0,sn=0,xs=null,uc=!1,Nh=!1,Xx=!1,pl=0,Hn=0,dc=0,Lu=0,Zx=0,Es=0,Oh=0,pm=null,Qi=null,Qx=!1,Zb=0,H8=0,Qb=1/0,Jb=null,hc=null,br=0,fc=null,Ih=null,ml=0,Jx=0,eE=null,$8=null,mm=0,tE=null;function ks(){return(nn&2)!==0&&$t!==0?$t&-$t:G.T!==null?oE():S_()}function V8(){if(Es===0)if(($t&536870912)===0||Wt){var u=Qo;
vendor: 20,958 bytes, line 411
411Qo<<=1,(Qo&3932160)===0&&(Qo=262144),Es=u}else Es=536870912;return u=Ss.current,u!==null&&(u.flags|=32),Es}function Ji(u,h,m){(u===pn&&(sn===2||sn===9)||u.cancelPendingCommit!==null)&&(Dh(u,0),pc(u,$t,Es,!1)),Mn(u,m),((nn&2)===0||u!==pn)&&(u===pn&&((nn&2)===0&&(Lu|=m),Hn===4&&pc(u,$t,Es,!1)),uo(u))}function G8(u,h,m){if((nn&6)!==0)throw Error(r(327));var v=!m&&(h&127)===0&&(h&u.expiredLanes)===0||An(u,h),k=v?Lse(u,h):rE(u,h,!0),C=v;do{if(k===0){Nh&&!v&&pc(u,h,0,!1);break}else{if(m=u.current.alternate,C&&!Dse(m)){k=rE(u,h,!1),C=!1;continue}if(k===2){if(C=h,u.errorRecoveryDisabledLanes&C)var B=0;else B=u.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){h=B;e:{var Q=u;k=pm;var oe=Q.current.memoizedState.isDehydrated;if(oe&&(Dh(Q,B).flags|=256),B=rE(Q,B,!1),B!==2){if(Xx&&!oe){Q.errorRecoveryDisabledLanes|=C,Lu|=C,k=4;break e}C=Qi,Qi=k,C!==null&&(Qi===null?Qi=C:Qi.push.apply(Qi,C))}k=B}if(C=!1,k!==2)continue}}if(k===1){Dh(u,0),pc(u,h,0,!0);break}e:{switch(v=u,C=k,C){case 0:case 1:throw Error(r(345));case 4:if((h&4194048)!==h)break;case 6:pc(v,h,Es,!uc);break e;case 2:Qi=null;break;case 3:case 5:break;default:throw Error(r(329))}if((h&62914560)===h&&(k=Zb+300-Ge(),10<k)){if(pc(v,h,Es,!uc),_t(v,0,!0)!==0)break e;ml=h,v.timeoutHandle=_7(q8.bind(null,v,m,Qi,Jb,Qx,h,Es,Lu,Oh,uc,C,"Throttled",-0,0),k);break e}q8(v,m,Qi,Jb,Qx,h,Es,Lu,Oh,uc,C,null,-0,0)}}break}while(!0);uo(u)}function q8(u,h,m,v,k,C,B,Q,oe,ve,Te,Re,we,xe){if(u.timeoutHandle=-1,Re=h.subtreeFlags,Re&8192||(Re&16785408)===16785408){Re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:el},F8(h,C,Re);var ot=(C&62914560)===C?Zb-Ge():(C&4194048)===C?H8-Ge():0;if(ot=bae(Re,ot),ot!==null){ml=C,u.cancelPendingCommit=ot(e7.bind(null,u,h,C,m,v,k,B,Q,oe,Te,Re,null,we,xe)),pc(u,C,B,!ve);return}}e7(u,h,C,m,v,k,B,Q,oe)}function Dse(u){for(var h=u;;){var m=h.tag;if((m===0||m===11||m===15)&&h.flags&16384&&(m=h.updateQueue,m!==null&&(m=m.stores,m!==null)))for(var v=0;v<m.length;v++){var k=m[v],C=k.getSnapshot;k=k.value;try{if(!vs(C(),k))return!1}catch{return!1}}if(m=h.child,h.subtreeFlags&16384&&m!==null)m.return=h,h=m;else{if(h===u)break;for(;h.sibling===null;){if(h.return===null||h.return===u)return!0;h=h.return}h.sibling.return=h.return,h=h.sibling}}return!0}function pc(u,h,m,v){h&=~Zx,h&=~Lu,u.suspendedLanes|=h,u.pingedLanes&=~h,v&&(u.warmLanes|=h),v=u.expirationTimes;for(var k=h;0<k;){var C=31-Ot(k),B=1<<C;v[C]=-1,k&=~B}m!==0&&yu(u,m,h)}function ey(){return(nn&6)===0?(gm(0),!1):!0}function nE(){if(Ft!==null){if(sn===0)var u=Ft.return;else u=Ft,il=Cu=null,yx(u),xh=null,Qp=0,u=Ft;for(;u!==null;)x8(u.alternate,u),u=u.return;Ft=null}}function Dh(u,h){var m=u.timeoutHandle;m!==-1&&(u.timeoutHandle=-1,Jse(m)),m=u.cancelPendingCommit,m!==null&&(u.cancelPendingCommit=null,m()),ml=0,nE(),pn=u,Ft=m=nl(u.current,null),$t=h,sn=0,xs=null,uc=!1,Nh=An(u,h),Xx=!1,Oh=Es=Zx=Lu=dc=Hn=0,Qi=pm=null,Qx=!1,(h&8)!==0&&(h|=h&32);var v=u.entangledLanes;if(v!==0)for(u=u.entanglements,v&=h;0<v;){var k=31-Ot(v),C=1<<k;h|=u[k],v&=~C}return pl=h,Sb(),m}function W8(u,h){Ct=null,G.H=am,h===_h||h===Rb?(h=cL(),sn=3):h===ax?(h=cL(),sn=4):sn=h===Mx?8:h!==null&&typeof h=="object"&&typeof h.then=="function"?6:1,xs=h,Ft===null&&(Hn=1,$b(u,Ks(h,u.current)))}function K8(){var u=Ss.current;return u===null?!0:($t&4194048)===$t?Qs===null:($t&62914560)===$t||($t&536870912)!==0?u===Qs:!1}function Y8(){var u=G.H;return G.H=am,u===null?am:u}function X8(){var u=G.A;return G.A=Ose,u}function ty(){Hn=4,uc||($t&4194048)!==$t&&Ss.current!==null||(Nh=!0),(dc&134217727)===0&&(Lu&134217727)===0||pn===null||pc(pn,$t,Es,!1)}function rE(u,h,m){var v=nn;nn|=2;var k=Y8(),C=X8();(pn!==u||$t!==h)&&(Jb=null,Dh(u,h)),h=!1;var B=Hn;e:do try{if(sn!==0&&Ft!==null){var Q=Ft,oe=xs;switch(sn){case 8:nE(),B=6;break e;case 3:case 2:case 9:case 6:Ss.current===null&&(h=!0);var ve=sn;if(sn=0,xs=null,Mh(u,Q,oe,ve),m&&Nh){B=0;break e}break;default:ve=sn,sn=0,xs=null,Mh(u,Q,oe,ve)}}Mse(),B=Hn;break}catch(Te){W8(u,Te)}while(!0);return h&&u.shellSuspendCounter++,il=Cu=null,nn=v,G.H=k,G.A=C,Ft===null&&(pn=null,$t=0,Sb()),B}function Mse(){for(;Ft!==null;)Z8(Ft)}function Lse(u,h){var m=nn;nn|=2;var v=Y8(),k=X8();pn!==u||$t!==h?(Jb=null,Qb=Ge()+500,Dh(u,h)):Nh=An(u,h);e:do try{if(sn!==0&&Ft!==null){h=Ft;var C=xs;t:switch(sn){case 1:sn=0,xs=null,Mh(u,h,C,1);break;case 2:case 9:if(oL(C)){sn=0,xs=null,Q8(h);break}h=function(){sn!==2&&sn!==9||pn!==u||(sn=7),uo(u)},C.then(h,h);break e;case 3:sn=7;break e;case 4:sn=5;break e;case 7:oL(C)?(sn=0,xs=null,Q8(h)):(sn=0,xs=null,Mh(u,h,C,7));break;case 5:var B=null;switch(Ft.tag){case 26:B=Ft.memoizedState;case 5:case 27:var Q=Ft;if(B?P7(B):Q.stateNode.complete){sn=0,xs=null;var oe=Q.sibling;if(oe!==null)Ft=oe;else{var ve=Q.return;ve!==null?(Ft=ve,ny(ve)):Ft=null}break t}}sn=0,xs=null,Mh(u,h,C,5);break;case 6:sn=0,xs=null,Mh(u,h,C,6);break;case 8:nE(),Hn=6;break e;default:throw Error(r(462))}}Bse();break}catch(Te){W8(u,Te)}while(!0);return il=Cu=null,G.H=v,G.A=k,nn=m,Ft!==null?0:(pn=null,$t=0,Sb(),Hn)}function Bse(){for(;Ft!==null&&!pe();)Z8(Ft)}function Z8(u){var h=S8(u.alternate,u,pl);u.memoizedProps=u.pendingProps,h===null?ny(u):Ft=h}function Q8(u){var h=u,m=h.alternate;switch(h.tag){case 15:case 0:h=m8(m,h,h.pendingProps,h.type,void 0,$t);break;case 11:h=m8(m,h,h.pendingProps,h.type.render,h.ref,$t);break;case 5:yx(h);default:x8(m,h),h=Ft=XM(h,pl),h=S8(m,h,pl)}u.memoizedProps=u.pendingProps,h===null?ny(u):Ft=h}function Mh(u,h,m,v){il=Cu=null,yx(h),xh=null,Qp=0;var k=h.return;try{if(Ese(u,k,h,m,$t)){Hn=1,$b(u,Ks(m,u.current)),Ft=null;return}}catch(C){if(k!==null)throw Ft=k,C;Hn=1,$b(u,Ks(m,u.current)),Ft=null;return}h.flags&32768?(Wt||v===1?u=!0:Nh||($t&536870912)!==0?u=!1:(uc=u=!0,(v===2||v===9||v===3||v===6)&&(v=Ss.current,v!==null&&v.tag===13&&(v.flags|=16384))),J8(h,u)):ny(h)}function ny(u){var h=u;do{if((h.flags&32768)!==0){J8(h,uc);return}u=h.return;var m=Tse(h.alternate,h,pl);if(m!==null){Ft=m;return}if(h=h.sibling,h!==null){Ft=h;return}Ft=h=u}while(h!==null);Hn===0&&(Hn=5)}function J8(u,h){do{var m=Ase(u.alternate,u);if(m!==null){m.flags&=32767,Ft=m;return}if(m=u.return,m!==null&&(m.flags|=32768,m.subtreeFlags=0,m.deletions=null),!h&&(u=u.sibling,u!==null)){Ft=u;return}Ft=u=m}while(u!==null);Hn=6,Ft=null}function e7(u,h,m,v,k,C,B,Q,oe){u.cancelPendingCommit=null;do ry();while(br!==0);if((nn&6)!==0)throw Error(r(327));if(h!==null){if(h===u.current)throw Error(r(177));if(C=h.lanes|h.childLanes,C|=G_,Vi(u,m,C,B,Q,oe),u===pn&&(Ft=pn=null,$t=0),Ih=h,fc=u,ml=m,Jx=C,eE=k,$8=v,(h.subtreeFlags&10256)!==0||(h.flags&10256)!==0?(u.callbackNode=null,u.callbackPriority=0,Use($e,function(){return s7(),null})):(u.callbackNode=null,u.callbackPriority=0),v=(h.flags&13878)!==0,(h.subtreeFlags&13878)!==0||v){v=G.T,G.T=null,k=K.p,K.p=2,B=nn,nn|=4;try{Rse(u,h,m)}finally{nn=B,K.p=k,G.T=v}}br=1,t7(),n7(),r7()}}function t7(){if(br===1){br=0;var u=fc,h=Ih,m=(h.flags&13878)!==0;if((h.subtreeFlags&13878)!==0||m){m=G.T,G.T=null;var v=K.p;K.p=2;var k=nn;nn|=4;try{L8(h,u);var C=mE,B=jM(u.containerInfo),Q=C.focusedElem,oe=C.selectionRange;if(B!==Q&&Q&&Q.ownerDocument&&UM(Q.ownerDocument.documentElement,Q)){if(oe!==null&&U_(Q)){var ve=oe.start,Te=oe.end;if(Te===void 0&&(Te=ve),"selectionStart"in Q)Q.selectionStart=ve,Q.selectionEnd=Math.min(Te,Q.value.length);else{var Re=Q.ownerDocument||document,we=Re&&Re.defaultView||window;if(we.getSelection){var xe=we.getSelection(),ot=Q.textContent.length,yt=Math.min(oe.start,ot),cn=oe.end===void 0?yt:Math.min(oe.end,ot);!xe.extend&&yt>cn&&(B=cn,cn=yt,yt=B);var fe=zM(Q,yt),ce=zM(Q,cn);if(fe&&ce&&(xe.rangeCount!==1||xe.anchorNode!==fe.node||xe.anchorOffset!==fe.offset||xe.focusNode!==ce.node||xe.focusOffset!==ce.offset)){var be=Re.createRange();be.setStart(fe.node,fe.offset),xe.removeAllRanges(),yt>cn?(xe.addRange(be),xe.extend(ce.node,ce.offset)):(be.setEnd(ce.node,ce.offset),xe.addRange(be))}}}}for(Re=[],xe=Q;xe=xe.parentNode;)xe.nodeType===1&&Re.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof Q.focus=="function"&&Q.focus(),Q=0;Q<Re.length;Q++){var Ae=Re[Q];Ae.element.scrollLeft=Ae.left,Ae.element.scrollTop=Ae.top}}my=!!pE,mE=pE=null}finally{nn=k,K.p=v,G.T=m}}u.current=h,br=2}}function n7(){if(br===2){br=0;var u=fc,h=Ih,m=(h.flags&8772)!==0;if((h.subtreeFlags&8772)!==0||m){m=G.T,G.T=null;var v=K.p;K.p=2;var k=nn;nn|=4;try{N8(u,h.alternate,h)}finally{nn=k,K.p=v,G.T=m}}br=3}}function r7(){if(br===4||br===3){br=0,Fe();var u=fc,h=Ih,m=ml,v=$8;(h.subtreeFlags&10256)!==0||(h.flags&10256)!==0?br=5:(br=0,Ih=fc=null,i7(u,u.pendingLanes));var k=u.pendingLanes;if(k===0&&(hc=null),Aa(m),h=h.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(It,h,void 0,(h.current.flags&128)===128)}catch{}if(v!==null){h=G.T,k=K.p,K.p=2,G.T=null;try{for(var C=u.onRecoverableError,B=0;B<v.length;B++){var Q=v[B];C(Q.value,{componentStack:Q.stack})}}finally{G.T=h,K.p=k}}(ml&3)!==0&&ry(),uo(u),k=u.pendingLanes,(m&261930)!==0&&(k&42)!==0?u===tE?mm++:(mm=0,tE=u):mm=0,gm(0)}}function i7(u,h){(u.pooledCacheLanes&=h)===0&&(h=u.pooledCache,h!=null&&(u.pooledCache=null,Xp(h)))}function ry(){return t7(),n7(),r7(),s7()}function s7(){if(br!==5)return!1;var u=fc,h=Jx;Jx=0;var m=Aa(ml),v=G.T,k=K.p;try{K.p=32>m?32:m,G.T=null,m=eE,eE=null;var C=fc,B=ml;if(br=0,Ih=fc=null,ml=0,(nn&6)!==0)throw Error(r(331));var Q=nn;if(nn|=4,U8(C.current),P8(C,C.current,B,m),nn=Q,gm(0,!1),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(It,C)}catch{}return!0}finally{K.p=k,G.T=v,i7(u,h)}}function a7(u,h,m){h=Ks(m,h),h=Dx(u.stateNode,h,2),u=ac(u,h,2),u!==null&&(Mn(u,2),uo(u))}function an(u,h,m){if(u.tag===3)a7(u,u,m);else for(;h!==null;){if(h.tag===3){a7(h,u,m);break}else if(h.tag===1){var v=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(hc===null||!hc.has(v))){u=Ks(m,u),m=o8(2),v=ac(h,m,2),v!==null&&(l8(m,v,h,u),Mn(v,2),uo(v));break}}h=h.return}}function iE(u,h,m){var v=u.pingCache;if(v===null){v=u.pingCache=new Ise;var k=new Set;v.set(h,k)}else k=v.get(h),k===void 0&&(k=new Set,v.set(h,k));k.has(m)||(Xx=!0,k.add(m),u=Pse.bind(null,u,h,m),h.then(u,u))}function Pse(u,h,m){var v=u.pingCache;v!==null&&v.delete(h),u.pingedLanes|=u.suspendedLanes&m,u.warmLanes&=~m,pn===u&&($t&m)===m&&(Hn===4||Hn===3&&($t&62914560)===$t&&300>Ge()-Zb?(nn&2)===0&&Dh(u,0):Zx|=m,Oh===$t&&(Oh=0)),uo(u)}function o7(u,h){h===0&&(h=ii()),u=xu(u,h),u!==null&&(Mn(u,h),uo(u))}function Fse(u){var h=u.memoizedState,m=0;h!==null&&(m=h.retryLane),o7(u,m)}function zse(u,h){var m=0;switch(u.tag){case 31:case 13:var v=u.stateNode,k=u.memoizedState;k!==null&&(m=k.retryLane);break;case 19:v=u.stateNode;break;case 22:v=u.stateNode._retryCache;break;default:throw Error(r(314))}v!==null&&v.delete(h),o7(u,m)}function Use(u,h){return Oe(u,h)}var iy=null,Lh=null,sE=!1,sy=!1,aE=!1,mc=0;function uo(u){u!==Lh&&u.next===null&&(Lh===null?iy=Lh=u:Lh=Lh.next=u),sy=!0,sE||(sE=!0,Hse())}function gm(u,h){if(!aE&&sy){aE=!0;do for(var m=!1,v=iy;v!==null;){if(u!==0){var k=v.pendingLanes;if(k===0)var C=0;else{var B=v.suspendedLanes,Q=v.pingedLanes;C=(1<<31-Ot(42|u)+1)-1,C&=k&~(B&~Q),C=C&201326741?C&201326741|1:C?C|2:0}C!==0&&(m=!0,d7(v,C))}else C=$t,C=_t(v,v===pn?C:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(C&3)===0||An(v,C)||(m=!0,d7(v,C));v=v.next}while(m);aE=!1}}function jse(){l7()}function l7(){sy=sE=!1;var u=0;mc!==0&&Qse()&&(u=mc);for(var h=Ge(),m=null,v=iy;v!==null;){var k=v.next,C=c7(v,h);C===0?(v.next=null,m===null?iy=k:m.next=k,k===null&&(Lh=m)):(m=v,(u!==0||(C&3)!==0)&&(sy=!0)),v=k}br!==0&&br!==5||gm(u),mc!==0&&(mc=0)}function c7(u,h){for(var m=u.suspendedLanes,v=u.pingedLanes,k=u.expirationTimes,C=u.pendingLanes&-62914561;0<C;){var B=31-Ot(C),Q=1<<B,oe=k[B];oe===-1?((Q&m)===0||(Q&v)!==0)&&(k[B]=Nr(Q,h)):oe<=h&&(u.expiredLanes|=Q),C&=~Q}if(h=pn,m=$t,m=_t(u,u===h?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),v=u.callbackNode,m===0||u===h&&(sn===2||sn===9)||u.cancelPendingCommit!==null)return v!==null&&v!==null&&Me(v),u.callbackNode=null,u.callbackPriority=0;if((m&3)===0||An(u,m)){if(h=m&-m,h===u.callbackPriority)return h;switch(v!==null&&Me(v),Aa(m)){case 2:case 8:m=Ie;break;case 32:m=$e;break;case 268435456:m=kt;break;default:m=$e}return v=u7.bind(null,u),m=Oe(m,v),u.callbackPriority=h,u.callbackNode=m,h}return v!==null&&v!==null&&Me(v),u.callbackPriority=2,u.callbackNode=null,2}function u7(u,h){if(br!==0&&br!==5)return u.callbackNode=null,u.callbackPriority=0,null;var m=u.callbackNode;if(ry()&&u.callbackNode!==m)return null;var v=$t;return v=_t(u,u===pn?v:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),v===0?null:(G8(u,v,h),c7(u,Ge()),u.callbackNode!=null&&u.callbackNode===m?u7.bind(null,u):null)}function d7(u,h){if(ry())return null;G8(u,h,!0)}function Hse(){eae(function(){(nn&6)!==0?Oe(he,jse):l7()})}function oE(){if(mc===0){var u=wh;u===0&&(u=Xl,Xl<<=1,(Xl&261888)===0&&(Xl=256)),mc=u}return mc}function h7(u){return u==null||typeof u=="symbol"||typeof u=="boolean"?null:typeof u=="function"?u:fb(""+u)}function f7(u,h){var m=h.ownerDocument.createElement("input");return m.name=h.name,m.value=h.value,u.id&&m.setAttribute("form",u.id),h.parentNode.insertBefore(m,h),u=new FormData(u),m.parentNode.removeChild(m),u}function $se(u,h,m,v,k){if(h==="submit"&&m&&m.stateNode===k){var C=h7((k[Wi]||null).action),B=v.submitter;B&&(h=(h=B[Wi]||null)?h7(h.formAction):B.getAttribute("formAction"),h!==null&&(C=h,B=null));var Q=new bb("action","action",null,v,k);u.push({event:Q,listeners:[{instance:null,listener:function(){if(v.defaultPrevented){if(mc!==0){var oe=B?f7(k,B):new FormData(k);Tx(m,{pending:!0,data:oe,method:k.method,action:C},null,oe)}}else typeof C=="function"&&(Q.preventDefault(),oe=B?f7(k,B):new FormData(k),Tx(m,{pending:!0,data:oe,method:k.method,action:C},C,oe))},currentTarget:k}]})}}for(var lE=0;lE<V_.length;lE++){var cE=V_[lE],Vse=cE.toLowerCase(),Gse=cE[0].toUpperCase()+cE.slice(1);Ra(Vse,"on"+Gse)}Ra(VM,"onAnimationEnd"),Ra(GM,"onAnimationIteration"),Ra(qM,"onAnimationStart"),Ra("dblclick","onDoubleClick"),Ra("focusin","onFocus"),Ra("focusout","onBlur"),Ra(ose,"onTransitionRun"),Ra(lse,"onTransitionStart"),Ra(cse,"onTransitionCancel"),Ra(WM,"onTransitionEnd"),ah("onMouseEnter",["mouseout","mouseover"]),ah("onMouseLeave",["mouseout","mouseover"]),ah("onPointerEnter",["pointerout","pointerover"]),ah("onPointerLeave",["pointerout","pointerover"]),vu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vu("onBeforeInput",["compositionend","keypress","textInput","paste"]),vu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bm="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(" "),qse=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bm));function p7(u,h){h=(h&4)!==0;for(var m=0;m<u.length;m++){var v=u[m],k=v.event;v=v.listeners;e:{var C=void 0;if(h)for(var B=v.length-1;0<=B;B--){var Q=v[B],oe=Q.instance,ve=Q.currentTarget;if(Q=Q.listener,oe!==C&&k.isPropagationStopped())break e;C=Q,k.currentTarget=ve;try{C(k)}catch(Te){wb(Te)}k.currentTarget=null,C=oe}else for(B=0;B<v.length;B++){if(Q=v[B],oe=Q.instance,ve=Q.currentTarget,Q=Q.listener,oe!==C&&k.isPropagationStopped())break e;C=Q,k.currentTarget=ve;try{C(k)}catch(Te){wb(Te)}k.currentTarget=null,C=oe}}}}function zt(u,h){var m=h[__];m===void 0&&(m=h[__]=new Set);var v=u+"__bubble";m.has(v)||(m7(h,u,2,!1),m.add(v))}function uE(u,h,m){var v=0;h&&(v|=4),m7(m,u,v,h)}var ay="_reactListening"+Math.random().toString(36).slice(2);function dE(u){if(!u[ay]){u[ay]=!0,lM.forEach(function(m){m!=="selectionchange"&&(qse.has(m)||uE(m,!1,u),uE(m,!0,u))});var h=u.nodeType===9?u:u.ownerDocument;h===null||h[ay]||(h[ay]=!0,uE("selectionchange",!1,h))}}function m7(u,h,m,v){switch(V7(h)){case 2:var k=wae;break;case 8:k=Sae;break;default:k=CE}m=k.bind(null,h,m,u),k=void 0,!O_||h!=="touchstart"&&h!=="touchmove"&&h!=="wheel"||(k=!0),v?k!==void 0?u.addEventListener(h,m,{capture:!0,passive:k}):u.addEventListener(h,m,!0):k!==void 0?u.addEventListener(h,m,{passive:k}):u.addEventListener(h,m,!1)}function hE(u,h,m,v,k){var C=v;if((h&1)===0&&(h&2)===0&&v!==null)e:for(;;){if(v===null)return;var B=v.tag;if(B===3||B===4){var Q=v.stateNode.containerInfo;if(Q===k)break;if(B===4)for(B=v.return;B!==null;){var oe=B.tag;if((oe===3||oe===4)&&B.stateNode.containerInfo===k)return;B=B.return}for(;Q!==null;){if(B=rh(Q),B===null)return;if(oe=B.tag,oe===5||oe===6||oe===26||oe===27){v=C=B;continue e}Q=Q.parentNode}}v=v.return}wM(function(){var ve=C,Te=R_(m),Re=[];e:{var we=KM.get(u);if(we!==void 0){var xe=bb,ot=u;switch(u){case"keypress":if(mb(m)===0)break e;case"keydown":case"keyup":xe=zie;break;case"focusin":ot="focus",xe=L_;break;case"focusout":ot="blur",xe=L_;break;case"beforeblur":case"afterblur":xe=L_;break;case"click":if(m.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":xe=xM;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":xe=Tie;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":xe=Hie;break;case VM:case GM:case qM:xe=Nie;break;case WM:xe=Vie;break;case"scroll":case"scrollend":xe=kie;break;case"wheel":xe=qie;break;case"copy":case"cut":case"paste":xe=Iie;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":xe=kM;break;case"toggle":case"beforetoggle":xe=Kie}var yt=(h&4)!==0,cn=!yt&&(u==="scroll"||u==="scrollend"),fe=yt?we!==null?we+"Capture":null:we;yt=[];for(var ce=ve,be;ce!==null;){var Ae=ce;if(be=Ae.stateNode,Ae=Ae.tag,Ae!==5&&Ae!==26&&Ae!==27||be===null||fe===null||(Ae=zp(ce,fe),Ae!=null&&yt.push(ym(ce,Ae,be))),cn)break;ce=ce.return}0<yt.length&&(we=new xe(we,ot,null,m,Te),Re.push({event:we,listeners:yt}))}}if((h&7)===0){e:{if(we=u==="mouseover"||u==="pointerover",xe=u==="mouseout"||u==="pointerout",we&&m!==A_&&(ot=m.relatedTarget||m.fromElement)&&(rh(ot)||ot[nh]))break e;if((xe||we)&&(we=Te.window===Te?Te:(we=Te.ownerDocument)?we.defaultView||we.parentWindow:window,xe?(ot=m.relatedTarget||m.toElement,xe=ve,ot=ot?rh(ot):null,ot!==null&&(cn=s(ot),yt=ot.tag,ot!==cn||yt!==5&&yt!==27&&yt!==6)&&(ot=null)):(xe=null,ot=ve),xe!==ot)){if(yt=xM,Ae="onMouseLeave",fe="onMouseEnter",ce="mouse",(u==="pointerout"||u==="pointerover")&&(yt=kM,Ae="onPointerLeave",fe="onPointerEnter",ce="pointer"),cn=xe==null?we:Fp(xe),be=ot==null?we:Fp(ot),we=new yt(Ae,ce+"leave",xe,m,Te),we.target=cn,we.relatedTarget=be,Ae=null,rh(Te)===ve&&(yt=new yt(fe,ce+"enter",ot,m,Te),yt.target=be,yt.relatedTarget=cn,Ae=yt),cn=Ae,xe&&ot)t:{for(yt=Wse,fe=xe,ce=ot,be=0,Ae=fe;Ae;Ae=yt(Ae))be++;Ae=0;for(var ft=ce;ft;ft=yt(ft))Ae++;for(;0<be-Ae;)fe=yt(fe),be--;for(;0<Ae-be;)ce=yt(ce),Ae--;for(;be--;){if(fe===ce||ce!==null&&fe===ce.alternate){yt=fe;break t}fe=yt(fe),ce=yt(ce)}yt=null}else yt=null;xe!==null&&g7(Re,we,xe,yt,!1),ot!==null&&cn!==null&&g7(Re,cn,ot,yt,!0)}}e:{if(we=ve?Fp(ve):window,xe=we.nodeName&&we.nodeName.toLowerCase(),xe==="select"||xe==="input"&&we.type==="file")var Qt=DM;else if(OM(we))if(MM)Qt=ise;else{Qt=nse;var dt=tse}else xe=we.nodeName,!xe||xe.toLowerCase()!=="input"||we.type!=="checkbox"&&we.type!=="radio"?ve&&T_(ve.elementType)&&(Qt=DM):Qt=rse;if(Qt&&(Qt=Qt(u,ve))){IM(Re,Qt,m,Te);break e}dt&&dt(u,we,ve),u==="focusout"&&ve&&we.type==="number"&&ve.memoizedProps.value!=null&&C_(we,"number",we.value)}switch(dt=ve?Fp(ve):window,u){case"focusin":(OM(dt)||dt.contentEditable==="true")&&(hh=dt,j_=ve,Wp=null);break;case"focusout":Wp=j_=hh=null;break;case"mousedown":H_=!0;break;case"contextmenu":case"mouseup":case"dragend":H_=!1,HM(Re,m,Te);break;case"selectionchange":if(ase)break;case"keydown":case"keyup":HM(Re,m,Te)}var At;if(P_)e:{switch(u){case"compositionstart":var Vt="onCompositionStart";break e;case"compositionend":Vt="onCompositionEnd";break e;case"compositionupdate":Vt="onCompositionUpdate";break e}Vt=void 0}else dh?RM(u,m)&&(Vt="onCompositionEnd"):u==="keydown"&&m.keyCode===229&&(Vt="onCompositionStart");Vt&&(CM&&m.locale!=="ko"&&(dh||Vt!=="onCompositionStart"?Vt==="onCompositionEnd"&&dh&&(At=SM()):(Jl=Te,I_="value"in Jl?Jl.value:Jl.textContent,dh=!0)),dt=oy(ve,Vt),0<dt.length&&(Vt=new EM(Vt,u,null,m,Te),Re.push({event:Vt,listeners:dt}
vendor: 1,148 bytes, lines 411-412
411),At?Vt.data=At:(At=NM(m),At!==null&&(Vt.data=At)))),(At=Xie?Zie(u,m):Qie(u,m))&&(Vt=oy(ve,"onBeforeInput"),0<Vt.length&&(dt=new EM("onBeforeInput","beforeinput",null,m,Te),Re.push({event:dt,listeners:Vt}),dt.data=At)),$se(Re,u,ve,m,Te)}p7(Re,h)})}function ym(u,h,m){return{instance:u,listener:h,currentTarget:m}}function oy(u,h){for(var m=h+"Capture",v=[];u!==null;){var k=u,C=k.stateNode;if(k=k.tag,k!==5&&k!==26&&k!==27||C===null||(k=zp(u,m),k!=null&&v.unshift(ym(u,k,C)),k=zp(u,h),k!=null&&v.push(ym(u,k,C))),u.tag===3)return v;u=u.return}return[]}function Wse(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5&&u.tag!==27);return u||null}function g7(u,h,m,v,k){for(var C=h._reactName,B=[];m!==null&&m!==v;){var Q=m,oe=Q.alternate,ve=Q.stateNode;if(Q=Q.tag,oe!==null&&oe===v)break;Q!==5&&Q!==26&&Q!==27||ve===null||(oe=ve,k?(ve=zp(m,C),ve!=null&&B.unshift(ym(m,ve,oe))):k||(ve=zp(m,C),ve!=null&&B.push(ym(m,ve,oe)))),m=m.return}B.length!==0&&u.push({event:h,listeners:B})}var Kse=/\r\n?/g,Yse=/\u0000|\uFFFD/g;function b7(u){return(typeof u=="string"?u:""+u).replace(Kse,`
412`).replace(Yse,"")}function y7(u,h){return h=b7(h),b7(u)===h}
vendor: 4,376 bytes, line 412
412function ln(u,h,m,v,k,C){switch(m){case"children":typeof v=="string"?h==="body"||h==="textarea"&&v===""||lh(u,v):(typeof v=="number"||typeof v=="bigint")&&h!=="body"&&lh(u,""+v);break;case"className":db(u,"class",v);break;case"tabIndex":db(u,"tabindex",v);break;case"dir":case"role":case"viewBox":case"width":case"height":db(u,m,v);break;case"style":yM(u,v,C);break;case"data":if(h!=="object"){db(u,"data",v);break}case"src":case"href":if(v===""&&(h!=="a"||m!=="href")){u.removeAttribute(m);break}if(v==null||typeof v=="function"||typeof v=="symbol"||typeof v=="boolean"){u.removeAttribute(m);break}v=fb(""+v),u.setAttribute(m,v);break;case"action":case"formAction":if(typeof v=="function"){u.setAttribute(m,"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 C=="function"&&(m==="formAction"?(h!=="input"&&ln(u,h,"name",k.name,k,null),ln(u,h,"formEncType",k.formEncType,k,null),ln(u,h,"formMethod",k.formMethod,k,null),ln(u,h,"formTarget",k.formTarget,k,null)):(ln(u,h,"encType",k.encType,k,null),ln(u,h,"method",k.method,k,null),ln(u,h,"target",k.target,k,null)));if(v==null||typeof v=="symbol"||typeof v=="boolean"){u.removeAttribute(m);break}v=fb(""+v),u.setAttribute(m,v);break;case"onClick":v!=null&&(u.onclick=el);break;case"onScroll":v!=null&&zt("scroll",u);break;case"onScrollEnd":v!=null&&zt("scrollend",u);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(r(61));if(m=v.__html,m!=null){if(k.children!=null)throw Error(r(60));u.innerHTML=m}}break;case"multiple":u.multiple=v&&typeof v!="function"&&typeof v!="symbol";break;case"muted":u.muted=v&&typeof v!="function"&&typeof v!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(v==null||typeof v=="function"||typeof v=="boolean"||typeof v=="symbol"){u.removeAttribute("xlink:href");break}m=fb(""+v),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",m);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v!=null&&typeof v!="function"&&typeof v!="symbol"?u.setAttribute(m,""+v):u.removeAttribute(m);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":v&&typeof v!="function"&&typeof v!="symbol"?u.setAttribute(m,""):u.removeAttribute(m);break;case"capture":case"download":v===!0?u.setAttribute(m,""):v!==!1&&v!=null&&typeof v!="function"&&typeof v!="symbol"?u.setAttribute(m,v):u.removeAttribute(m);break;case"cols":case"rows":case"size":case"span":v!=null&&typeof v!="function"&&typeof v!="symbol"&&!isNaN(v)&&1<=v?u.setAttribute(m,v):u.removeAttribute(m);break;case"rowSpan":case"start":v==null||typeof v=="function"||typeof v=="symbol"||isNaN(v)?u.removeAttribute(m):u.setAttribute(m,v);break;case"popover":zt("beforetoggle",u),zt("toggle",u),ub(u,"popover",v);break;case"xlinkActuate":Jo(u,"http://www.w3.org/1999/xlink","xlink:actuate",v);break;case"xlinkArcrole":Jo(u,"http://www.w3.org/1999/xlink","xlink:arcrole",v);break;case"xlinkRole":Jo(u,"http://www.w3.org/1999/xlink","xlink:role",v);break;case"xlinkShow":Jo(u,"http://www.w3.org/1999/xlink","xlink:show",v);break;case"xlinkTitle":Jo(u,"http://www.w3.org/1999/xlink","xlink:title",v);break;case"xlinkType":Jo(u,"http://www.w3.org/1999/xlink","xlink:type",v);break;case"xmlBase":Jo(u,"http://www.w3.org/XML/1998/namespace","xml:base",v);break;case"xmlLang":Jo(u,"http://www.w3.org/XML/1998/namespace","xml:lang",v);break;case"xmlSpace":Jo(u,"http://www.w3.org/XML/1998/namespace","xml:space",v);break;case"is":ub(u,"is",v);break;case"innerText":case"textContent":break;default:(!(2<m.length)||m[0]!=="o"&&m[0]!=="O"||m[1]!=="n"&&m[1]!=="N")&&(m=xie.get(m)||m,ub(u,m,v))}}
vendor: 6,713 bytes, line 412
412function fE(u,h,m,v,k,C){switch(m){case"style":yM(u,v,C);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(r(61));if(m=v.__html,m!=null){if(k.children!=null)throw Error(r(60));u.innerHTML=m}}break;case"children":typeof v=="string"?lh(u,v):(typeof v=="number"||typeof v=="bigint")&&lh(u,""+v);break;case"onScroll":v!=null&&zt("scroll",u);break;case"onScrollEnd":v!=null&&zt("scrollend",u);break;case"onClick":v!=null&&(u.onclick=el);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cM.hasOwnProperty(m))e:{if(m[0]==="o"&&m[1]==="n"&&(k=m.endsWith("Capture"),h=m.slice(2,k?m.length-7:void 0),C=u[Wi]||null,C=C!=null?C[m]:null,typeof C=="function"&&u.removeEventListener(h,C,k),typeof v=="function")){typeof C!="function"&&C!==null&&(m in u?u[m]=null:u.hasAttribute(m)&&u.removeAttribute(m)),u.addEventListener(h,v,k);break e}m in u?u[m]=v:v===!0?u.setAttribute(m,""):ub(u,m,v)}}}function Wr(u,h,m){switch(h){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zt("error",u),zt("load",u);var v=!1,k=!1,C;for(C in m)if(m.hasOwnProperty(C)){var B=m[C];if(B!=null)switch(C){case"src":v=!0;break;case"srcSet":k=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,h));default:ln(u,h,C,B,m,null)}}k&&ln(u,h,"srcSet",m.srcSet,m,null),v&&ln(u,h,"src",m.src,m,null);return;case"input":zt("invalid",u);var Q=C=B=k=null,oe=null,ve=null;for(v in m)if(m.hasOwnProperty(v)){var Te=m[v];if(Te!=null)switch(v){case"name":k=Te;break;case"type":B=Te;break;case"checked":oe=Te;break;case"defaultChecked":ve=Te;break;case"value":C=Te;break;case"defaultValue":Q=Te;break;case"children":case"dangerouslySetInnerHTML":if(Te!=null)throw Error(r(137,h));break;default:ln(u,h,v,Te,m,null)}}pM(u,C,Q,oe,ve,B,k,!1);return;case"select":zt("invalid",u),v=B=C=null;for(k in m)if(m.hasOwnProperty(k)&&(Q=m[k],Q!=null))switch(k){case"value":C=Q;break;case"defaultValue":B=Q;break;case"multiple":v=Q;default:ln(u,h,k,Q,m,null)}h=C,m=B,u.multiple=!!v,h!=null?oh(u,!!v,h,!1):m!=null&&oh(u,!!v,m,!0);return;case"textarea":zt("invalid",u),C=k=v=null;for(B in m)if(m.hasOwnProperty(B)&&(Q=m[B],Q!=null))switch(B){case"value":v=Q;break;case"defaultValue":k=Q;break;case"children":C=Q;break;case"dangerouslySetInnerHTML":if(Q!=null)throw Error(r(91));break;default:ln(u,h,B,Q,m,null)}gM(u,v,k,C);return;case"option":for(oe in m)m.hasOwnProperty(oe)&&(v=m[oe],v!=null)&&(oe==="selected"?u.selected=v&&typeof v!="function"&&typeof v!="symbol":ln(u,h,oe,v,m,null));return;case"dialog":zt("beforetoggle",u),zt("toggle",u),zt("cancel",u),zt("close",u);break;case"iframe":case"object":zt("load",u);break;case"video":case"audio":for(v=0;v<bm.length;v++)zt(bm[v],u);break;case"image":zt("error",u),zt("load",u);break;case"details":zt("toggle",u);break;case"embed":case"source":case"link":zt("error",u),zt("load",u);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ve in m)if(m.hasOwnProperty(ve)&&(v=m[ve],v!=null))switch(ve){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,h));default:ln(u,h,ve,v,m,null)}return;default:if(T_(h)){for(Te in m)m.hasOwnProperty(Te)&&(v=m[Te],v!==void 0&&fE(u,h,Te,v,m,void 0));return}}for(Q in m)m.hasOwnProperty(Q)&&(v=m[Q],v!=null&&ln(u,h,Q,v,m,null))}function Xse(u,h,m,v){switch(h){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var k=null,C=null,B=null,Q=null,oe=null,ve=null,Te=null;for(xe in m){var Re=m[xe];if(m.hasOwnProperty(xe)&&Re!=null)switch(xe){case"checked":break;case"value":break;case"defaultValue":oe=Re;default:v.hasOwnProperty(xe)||ln(u,h,xe,null,v,Re)}}for(var we in v){var xe=v[we];if(Re=m[we],v.hasOwnProperty(we)&&(xe!=null||Re!=null))switch(we){case"type":C=xe;break;case"name":k=xe;break;case"checked":ve=xe;break;case"defaultChecked":Te=xe;break;case"value":B=xe;break;case"defaultValue":Q=xe;break;case"children":case"dangerouslySetInnerHTML":if(xe!=null)throw Error(r(137,h));break;default:xe!==Re&&ln(u,h,we,xe,v,Re)}}k_(u,B,Q,oe,ve,Te,C,k);return;case"select":xe=B=Q=we=null;for(C in m)if(oe=m[C],m.hasOwnProperty(C)&&oe!=null)switch(C){case"value":break;case"multiple":xe=oe;default:v.hasOwnProperty(C)||ln(u,h,C,null,v,oe)}for(k in v)if(C=v[k],oe=m[k],v.hasOwnProperty(k)&&(C!=null||oe!=null))switch(k){case"value":we=C;break;case"defaultValue":Q=C;break;case"multiple":B=C;default:C!==oe&&ln(u,h,k,C,v,oe)}h=Q,m=B,v=xe,we!=null?oh(u,!!m,we,!1):!!v!=!!m&&(h!=null?oh(u,!!m,h,!0):oh(u,!!m,m?[]:"",!1));return;case"textarea":xe=we=null;for(Q in m)if(k=m[Q],m.hasOwnProperty(Q)&&k!=null&&!v.hasOwnProperty(Q))switch(Q){case"value":break;case"children":break;default:ln(u,h,Q,null,v,k)}for(B in v)if(k=v[B],C=m[B],v.hasOwnProperty(B)&&(k!=null||C!=null))switch(B){case"value":we=k;break;case"defaultValue":xe=k;break;case"children":break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(91));break;default:k!==C&&ln(u,h,B,k,v,C)}mM(u,we,xe);return;case"option":for(var ot in m)we=m[ot],m.hasOwnProperty(ot)&&we!=null&&!v.hasOwnProperty(ot)&&(ot==="selected"?u.selected=!1:ln(u,h,ot,null,v,we));for(oe in v)we=v[oe],xe=m[oe],v.hasOwnProperty(oe)&&we!==xe&&(we!=null||xe!=null)&&(oe==="selected"?u.selected=we&&typeof we!="function"&&typeof we!="symbol":ln(u,h,oe,we,v,xe));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 yt in m)we=m[yt],m.hasOwnProperty(yt)&&we!=null&&!v.hasOwnProperty(yt)&&ln(u,h,yt,null,v,we);for(ve in v)if(we=v[ve],xe=m[ve],v.hasOwnProperty(ve)&&we!==xe&&(we!=null||xe!=null))switch(ve){case"children":case"dangerouslySetInnerHTML":if(we!=null)throw Error(r(137,h));break;default:ln(u,h,ve,we,v,xe)}return;default:if(T_(h)){for(var cn in m)we=m[cn],m.hasOwnProperty(cn)&&we!==void 0&&!v.hasOwnProperty(cn)&&fE(u,h,cn,void 0,v,we);for(Te in v)we=v[Te],xe=m[Te],!v.hasOwnProperty(Te)||we===xe||we===void 0&&xe===void 0||fE(u,h,Te,we,v,xe);return}}for(var fe in m)we=m[fe],m.hasOwnProperty(fe)&&we!=null&&!v.hasOwnProperty(fe)&&ln(u,h,fe,null,v,we);for(Re in v)we=v[Re],xe=m[Re],!v.hasOwnProperty(Re)||we===xe||we==null&&xe==null||ln(u,h,Re,we,v,xe)}function v7(u){switch(u){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Zse(){if(typeof performance.getEntriesByType=="function"){for(var u=0,h=0,m=performance.getEntriesByType("resource"),v=0;v<m.length;v++){var k=m[v],C=k.transferSize,B=k.initiatorType,Q=k.duration;
vendor: 9,837 bytes, line 412
412if(C&&Q&&v7(B)){for(B=0,Q=k.responseEnd,v+=1;v<m.length;v++){var oe=m[v],ve=oe.startTime;if(ve>Q)break;var Te=oe.transferSize,Re=oe.initiatorType;Te&&v7(Re)&&(oe=oe.responseEnd,B+=Te*(oe<Q?1:(Q-ve)/(oe-ve)))}if(--v,h+=8*(C+B)/(k.duration/1e3),u++,10<u)break}}if(0<u)return h/u/1e6}return navigator.connection&&(u=navigator.connection.downlink,typeof u=="number")?u:5}var pE=null,mE=null;function ly(u){return u.nodeType===9?u:u.ownerDocument}function w7(u){switch(u){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function S7(u,h){if(u===0)switch(h){case"svg":return 1;case"math":return 2;default:return 0}return u===1&&h==="foreignObject"?0:u}function gE(u,h){return u==="textarea"||u==="noscript"||typeof h.children=="string"||typeof h.children=="number"||typeof h.children=="bigint"||typeof h.dangerouslySetInnerHTML=="object"&&h.dangerouslySetInnerHTML!==null&&h.dangerouslySetInnerHTML.__html!=null}var bE=null;function Qse(){var u=window.event;return u&&u.type==="popstate"?u===bE?!1:(bE=u,!0):(bE=null,!1)}var _7=typeof setTimeout=="function"?setTimeout:void 0,Jse=typeof clearTimeout=="function"?clearTimeout:void 0,x7=typeof Promise=="function"?Promise:void 0,eae=typeof queueMicrotask=="function"?queueMicrotask:typeof x7<"u"?function(u){return x7.resolve(null).then(u).catch(tae)}:_7;function tae(u){setTimeout(function(){throw u})}function gc(u){return u==="head"}function E7(u,h){var m=h,v=0;do{var k=m.nextSibling;if(u.removeChild(m),k&&k.nodeType===8)if(m=k.data,m==="/$"||m==="/&"){if(v===0){u.removeChild(k),zh(h);return}v--}else if(m==="$"||m==="$?"||m==="$~"||m==="$!"||m==="&")v++;else if(m==="html")vm(u.ownerDocument.documentElement);else if(m==="head"){m=u.ownerDocument.head,vm(m);for(var C=m.firstChild;C;){var B=C.nextSibling,Q=C.nodeName;C[Pp]||Q==="SCRIPT"||Q==="STYLE"||Q==="LINK"&&C.rel.toLowerCase()==="stylesheet"||m.removeChild(C),C=B}}else m==="body"&&vm(u.ownerDocument.body);m=k}while(m);zh(h)}function k7(u,h){var m=u;u=0;do{var v=m.nextSibling;if(m.nodeType===1?h?(m._stashedDisplay=m.style.display,m.style.display="none"):(m.style.display=m._stashedDisplay||"",m.getAttribute("style")===""&&m.removeAttribute("style")):m.nodeType===3&&(h?(m._stashedText=m.nodeValue,m.nodeValue=""):m.nodeValue=m._stashedText||""),v&&v.nodeType===8)if(m=v.data,m==="/$"){if(u===0)break;u--}else m!=="$"&&m!=="$?"&&m!=="$~"&&m!=="$!"||u++;m=v}while(m)}function yE(u){var h=u.firstChild;for(h&&h.nodeType===10&&(h=h.nextSibling);h;){var m=h;switch(h=h.nextSibling,m.nodeName){case"HTML":case"HEAD":case"BODY":yE(m),x_(m);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(m.rel.toLowerCase()==="stylesheet")continue}u.removeChild(m)}}function nae(u,h,m,v){for(;u.nodeType===1;){var k=m;if(u.nodeName.toLowerCase()!==h.toLowerCase()){if(!v&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(v){if(!u[Pp])switch(h){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(C=u.getAttribute("rel"),C==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(C!==k.rel||u.getAttribute("href")!==(k.href==null||k.href===""?null:k.href)||u.getAttribute("crossorigin")!==(k.crossOrigin==null?null:k.crossOrigin)||u.getAttribute("title")!==(k.title==null?null:k.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(C=u.getAttribute("src"),(C!==(k.src==null?null:k.src)||u.getAttribute("type")!==(k.type==null?null:k.type)||u.getAttribute("crossorigin")!==(k.crossOrigin==null?null:k.crossOrigin))&&C&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(h==="input"&&u.type==="hidden"){var C=k.name==null?null:""+k.name;if(k.type==="hidden"&&u.getAttribute("name")===C)return u}else return u;if(u=Js(u.nextSibling),u===null)break}return null}function rae(u,h,m){if(h==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!m||(u=Js(u.nextSibling),u===null))return null;return u}function C7(u,h){for(;u.nodeType!==8;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!h||(u=Js(u.nextSibling),u===null))return null;return u}function vE(u){return u.data==="$?"||u.data==="$~"}function wE(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState!=="loading"}function iae(u,h){var m=u.ownerDocument;if(u.data==="$~")u._reactRetry=h;else if(u.data!=="$?"||m.readyState!=="loading")h();else{var v=function(){h(),m.removeEventListener("DOMContentLoaded",v)};m.addEventListener("DOMContentLoaded",v),u._reactRetry=v}}function Js(u){for(;u!=null;u=u.nextSibling){var h=u.nodeType;if(h===1||h===3)break;if(h===8){if(h=u.data,h==="$"||h==="$!"||h==="$?"||h==="$~"||h==="&"||h==="F!"||h==="F")break;if(h==="/$"||h==="/&")return null}}return u}var SE=null;function T7(u){u=u.nextSibling;for(var h=0;u;){if(u.nodeType===8){var m=u.data;if(m==="/$"||m==="/&"){if(h===0)return Js(u.nextSibling);h--}else m!=="$"&&m!=="$!"&&m!=="$?"&&m!=="$~"&&m!=="&"||h++}u=u.nextSibling}return null}function A7(u){u=u.previousSibling;for(var h=0;u;){if(u.nodeType===8){var m=u.data;if(m==="$"||m==="$!"||m==="$?"||m==="$~"||m==="&"){if(h===0)return u;h--}else m!=="/$"&&m!=="/&"||h++}u=u.previousSibling}return null}function R7(u,h,m){switch(h=ly(m),u){case"html":if(u=h.documentElement,!u)throw Error(r(452));return u;case"head":if(u=h.head,!u)throw Error(r(453));return u;case"body":if(u=h.body,!u)throw Error(r(454));return u;default:throw Error(r(451))}}function vm(u){for(var h=u.attributes;h.length;)u.removeAttributeNode(h[0]);x_(u)}var ea=new Map,N7=new Set;function cy(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var gl=K.d;K.d={f:sae,r:aae,D:oae,C:lae,L:cae,m:uae,X:hae,S:dae,M:fae};function sae(){var u=gl.f(),h=ey();return u||h}function aae(u){var h=ih(u);h!==null&&h.tag===5&&h.type==="form"?WL(h):gl.r(u)}var Bh=typeof document>"u"?null:document;function O7(u,h,m){var v=Bh;if(v&&typeof h=="string"&&h){var k=qs(h);k='link[rel="'+u+'"][href="'+k+'"]',typeof m=="string"&&(k+='[crossorigin="'+m+'"]'),N7.has(k)||(N7.add(k),u={rel:u,crossOrigin:m,href:h},v.querySelector(k)===null&&(h=v.createElement("link"),Wr(h,"link",u),Or(h),v.head.appendChild(h)))}}function oae(u){gl.D(u),O7("dns-prefetch",u,null)}function lae(u,h){gl.C(u,h),O7("preconnect",u,h)}function cae(u,h,m){gl.L(u,h,m);var v=Bh;if(v&&u&&h){var k='link[rel="preload"][as="'+qs(h)+'"]';h==="image"&&m&&m.imageSrcSet?(k+='[imagesrcset="'+qs(m.imageSrcSet)+'"]',typeof m.imageSizes=="string"&&(k+='[imagesizes="'+qs(m.imageSizes)+'"]')):k+='[href="'+qs(u)+'"]';var C=k;switch(h){case"style":C=Ph(u);break;case"script":C=Fh(u)}ea.has(C)||(u=f({rel:"preload",href:h==="image"&&m&&m.imageSrcSet?void 0:u,as:h},m),ea.set(C,u),v.querySelector(k)!==null||h==="style"&&v.querySelector(wm(C))||h==="script"&&v.querySelector(Sm(C))||(h=v.createElement("link"),Wr(h,"link",u),Or(h),v.head.appendChild(h)))}}function uae(u,h){gl.m(u,h);var m=Bh;if(m&&u){var v=h&&typeof h.as=="string"?h.as:"script",k='link[rel="modulepreload"][as="'+qs(v)+'"][href="'+qs(u)+'"]',C=k;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":C=Fh(u)}if(!ea.has(C)&&(u=f({rel:"modulepreload",href:u},h),ea.set(C,u),m.querySelector(k)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(m.querySelector(Sm(C)))return}v=m.createElement("link"),Wr(v,"link",u),Or(v),m.head.appendChild(v)}}}function dae(u,h,m){gl.S(u,h,m);var v=Bh;if(v&&u){var k=sh(v).hoistableStyles,C=Ph(u);h=h||"default";var B=k.get(C);if(!B){var Q={loading:0,preload:null};if(B=v.querySelector(wm(C)))Q.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":h},m),(m=ea.get(C))&&_E(u,m);var oe=B=v.createElement("link");Or(oe),Wr(oe,"link",u),oe._p=new Promise(function(ve,Te){oe.onload=ve,oe.onerror=Te}),oe.addEventListener("load",function(){Q.loading|=1}),oe.addEventListener("error",function(){Q.loading|=2}),Q.loading|=4,uy(B,h,v)}B={type:"stylesheet",instance:B,count:1,state:Q},k.set(C,B)}}}function hae(u,h){gl.X(u,h);var m=Bh;if(m&&u){var v=sh(m).hoistableScripts,k=Fh(u),C=v.get(k);C||(C=m.querySelector(Sm(k)),C||(u=f({src:u,async:!0},h),(h=ea.get(k))&&xE(u,h),C=m.createElement("script"),Or(C),Wr(C,"link",u),m.head.appendChild(C)),C={type:"script",instance:C,count:1,state:null},v.set(k,C))}}function fae(u,h){gl.M(u,h);var m=Bh;if(m&&u){var v=sh(m).hoistableScripts,k=Fh(u),C=v.get(k);C||(C=m.querySelector(Sm(k)),C||(u=f({src:u,async:!0,type:"module"},h),(h=ea.get(k))&&xE(u,h),C=m.createElement("script"),Or(C),Wr(C,"link",u),m.head.appendChild(C)),C={type:"script",instance:C,count:1,state:null},v.set(k,C))}}function I7(u,h,m,v){var k=(k=Ee.current)?cy(k):null;if(!k)throw Error(r(446));switch(u){case"meta":case"title":return null;case"style":return typeof m.precedence=="string"&&typeof m.href=="string"?(h=Ph(m.href),m=sh(k).hoistableStyles,v=m.get(h),v||(v={type:"style",instance:null,count:0,state:null},m.set(h,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(m.rel==="stylesheet"&&typeof m.href=="string"&&typeof m.precedence=="string"){u=Ph(m.href);var C=sh(k).hoistableStyles,B=C.get(u);if(B||(k=k.ownerDocument||k,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},C.set(u,B),(C=k.querySelector(wm(u)))&&!C._p&&(B.instance=C,B.state.loading=5),ea.has(u)||(m={rel:"preload",as:"style",href:m.href,crossOrigin:m.crossOrigin,integrity:m.integrity,media:m.media,hrefLang:m.hrefLang,referrerPolicy:m.referrerPolicy},ea.set(u,m),C||pae(k,u,m,B.state))),h&&v===null)throw Error(r(528,""));return B}if(h&&v!==null)throw Error(r(529,""));return null;case"script":return h=m.async,m=m.src,typeof m=="string"&&h&&typeof h!="function"&&typeof h!="symbol"?
vendor: 5,371 bytes, line 412
412(h=Fh(m),m=sh(k).hoistableScripts,v=m.get(h),v||(v={type:"script",instance:null,count:0,state:null},m.set(h,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,u))}}function Ph(u){return'href="'+qs(u)+'"'}function wm(u){return'link[rel="stylesheet"]['+u+"]"}function D7(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function pae(u,h,m,v){u.querySelector('link[rel="preload"][as="style"]['+h+"]")?v.loading=1:(h=u.createElement("link"),v.preload=h,h.addEventListener("load",function(){return v.loading|=1}),h.addEventListener("error",function(){return v.loading|=2}),Wr(h,"link",m),Or(h),u.head.appendChild(h))}function Fh(u){return'[src="'+qs(u)+'"]'}function Sm(u){return"script[async]"+u}function M7(u,h,m){if(h.count++,h.instance===null)switch(h.type){case"style":var v=u.querySelector('style[data-href~="'+qs(m.href)+'"]');if(v)return h.instance=v,Or(v),v;var k=f({},m,{"data-href":m.href,"data-precedence":m.precedence,href:null,precedence:null});return v=(u.ownerDocument||u).createElement("style"),Or(v),Wr(v,"style",k),uy(v,m.precedence,u),h.instance=v;case"stylesheet":k=Ph(m.href);var C=u.querySelector(wm(k));if(C)return h.state.loading|=4,h.instance=C,Or(C),C;v=D7(m),(k=ea.get(k))&&_E(v,k),C=(u.ownerDocument||u).createElement("link"),Or(C);var B=C;return B._p=new Promise(function(Q,oe){B.onload=Q,B.onerror=oe}),Wr(C,"link",v),h.state.loading|=4,uy(C,m.precedence,u),h.instance=C;case"script":return C=Fh(m.src),(k=u.querySelector(Sm(C)))?(h.instance=k,Or(k),k):(v=m,(k=ea.get(C))&&(v=f({},m),xE(v,k)),u=u.ownerDocument||u,k=u.createElement("script"),Or(k),Wr(k,"link",v),u.head.appendChild(k),h.instance=k);case"void":return null;default:throw Error(r(443,h.type))}else h.type==="stylesheet"&&(h.state.loading&4)===0&&(v=h.instance,h.state.loading|=4,uy(v,m.precedence,u));return h.instance}function uy(u,h,m){for(var v=m.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),k=v.length?v[v.length-1]:null,C=k,B=0;B<v.length;B++){var Q=v[B];if(Q.dataset.precedence===h)C=Q;else if(C!==k)break}C?C.parentNode.insertBefore(u,C.nextSibling):(h=m.nodeType===9?m.head:m,h.insertBefore(u,h.firstChild))}function _E(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.title==null&&(u.title=h.title)}function xE(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.integrity==null&&(u.integrity=h.integrity)}var dy=null;function L7(u,h,m){if(dy===null){var v=new Map,k=dy=new Map;k.set(m,v)}else k=dy,v=k.get(m),v||(v=new Map,k.set(m,v));if(v.has(u))return v;for(v.set(u,null),m=m.getElementsByTagName(u),k=0;k<m.length;k++){var C=m[k];if(!(C[Pp]||C[$r]||u==="link"&&C.getAttribute("rel")==="stylesheet")&&C.namespaceURI!=="http://www.w3.org/2000/svg"){var B=C.getAttribute(h)||"";B=u+B;var Q=v.get(B);Q?Q.push(C):v.set(B,[C])}}return v}function B7(u,h,m){u=u.ownerDocument||u,u.head.insertBefore(m,h==="title"?u.querySelector("head > title"):null)}function mae(u,h,m){if(m===1||h.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof h.precedence!="string"||typeof h.href!="string"||h.href==="")break;return!0;case"link":if(typeof h.rel!="string"||typeof h.href!="string"||h.href===""||h.onLoad||h.onError)break;return h.rel==="stylesheet"?(u=h.disabled,typeof h.precedence=="string"&&u==null):!0;case"script":if(h.async&&typeof h.async!="function"&&typeof h.async!="symbol"&&!h.onLoad&&!h.onError&&h.src&&typeof h.src=="string")return!0}return!1}function P7(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function gae(u,h,m,v){if(m.type==="stylesheet"&&(typeof v.media!="string"||matchMedia(v.media).matches!==!1)&&(m.state.loading&4)===0){if(m.instance===null){var k=Ph(v.href),C=h.querySelector(wm(k));if(C){h=C._p,h!==null&&typeof h=="object"&&typeof h.then=="function"&&(u.count++,u=hy.bind(u),h.then(u,u)),m.state.loading|=4,m.instance=C,Or(C);return}C=h.ownerDocument||h,v=D7(v),(k=ea.get(k))&&_E(v,k),C=C.createElement("link"),Or(C);var B=C;B._p=new Promise(function(Q,oe){B.onload=Q,B.onerror=oe}),Wr(C,"link",v),m.instance=C}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(m,h),(h=m.state.preload)&&(m.state.loading&3)===0&&(u.count++,m=hy.bind(u),h.addEventListener("load",m),h.addEventListener("error",m))}}var EE=0;function bae(u,h){return u.stylesheets&&u.count===0&&py(u,u.stylesheets),0<u.count||0<u.imgCount?function(m){var v=setTimeout(function(){if(u.stylesheets&&py(u,u.stylesheets),u.unsuspend){var C=u.unsuspend;u.unsuspend=null,C()}},6e4+h);0<u.imgBytes&&EE===0&&(EE=62500*Zse());var k=setTimeout(function(){if(u.waitingForImages=!1,u.count===0&&(u.stylesheets&&py(u,u.stylesheets),u.unsuspend)){var C=u.unsuspend;u.unsuspend=null,C()}},(u.imgBytes>EE?50:800)+h);return u.unsuspend=m,function(){u.unsuspend=null,clearTimeout(v),clearTimeout(k)}}:null}function hy(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)py(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var fy=null;function py(u,h){u.stylesheets=null,u.unsuspend!==null&&(u.count++,fy=new Map,h.forEach(yae,u),fy=null,hy.call(u))}function yae(u,h){if(!(h.state.loading&4)){var m=fy.get(u);if(m)var v=m.get(null);
vendor: 6,683 bytes, line 412
412else{m=new Map,fy.set(u,m);for(var k=u.querySelectorAll("link[data-precedence],style[data-precedence]"),C=0;C<k.length;C++){var B=k[C];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(m.set(B.dataset.precedence,B),v=B)}v&&m.set(null,v)}k=h.instance,B=k.getAttribute("data-precedence"),C=m.get(B)||v,C===v&&m.set(null,k),m.set(B,k),this.count++,v=hy.bind(this),k.addEventListener("load",v),k.addEventListener("error",v),C?C.parentNode.insertBefore(k,C.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(k,u.firstChild)),h.state.loading|=4}}var _m={$$typeof:E,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function vae(u,h,m,v,k,C,B,Q,oe){this.tag=1,this.containerInfo=u,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=Zl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zl(0),this.hiddenUpdates=Zl(null),this.identifierPrefix=v,this.onUncaughtError=k,this.onCaughtError=C,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=oe,this.incompleteTransitions=new Map}function F7(u,h,m,v,k,C,B,Q,oe,ve,Te,Re){return u=new vae(u,h,m,B,oe,ve,Te,Re,Q),h=1,C===!0&&(h|=24),C=ws(3,null,null,h),u.current=C,C.stateNode=u,h=rx(),h.refCount++,u.pooledCache=h,h.refCount++,C.memoizedState={element:v,isDehydrated:m,cache:h},ox(C),u}function z7(u){return u?(u=mh,u):mh}function U7(u,h,m,v,k,C){k=z7(k),v.context===null?v.context=k:v.pendingContext=k,v=sc(h),v.payload={element:m},C=C===void 0?null:C,C!==null&&(v.callback=C),m=ac(u,v,h),m!==null&&(Ji(m,u,h),em(m,u,h))}function j7(u,h){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var m=u.retryLane;u.retryLane=m!==0&&m<h?m:h}}function kE(u,h){j7(u,h),(u=u.alternate)&&j7(u,h)}function H7(u){if(u.tag===13||u.tag===31){var h=xu(u,67108864);h!==null&&Ji(h,u,67108864),kE(u,67108864)}}function $7(u){if(u.tag===13||u.tag===31){var h=ks();h=th(h);var m=xu(u,h);m!==null&&Ji(m,u,h),kE(u,h)}}var my=!0;function wae(u,h,m,v){var k=G.T;G.T=null;var C=K.p;try{K.p=2,CE(u,h,m,v)}finally{K.p=C,G.T=k}}function Sae(u,h,m,v){var k=G.T;G.T=null;var C=K.p;try{K.p=8,CE(u,h,m,v)}finally{K.p=C,G.T=k}}function CE(u,h,m,v){if(my){var k=TE(v);if(k===null)hE(u,h,v,gy,m),G7(u,v);else if(xae(k,u,h,m,v))v.stopPropagation();else if(G7(u,v),h&4&&-1<_ae.indexOf(u)){for(;k!==null;){var C=ih(k);if(C!==null)switch(C.tag){case 3:if(C=C.stateNode,C.current.memoizedState.isDehydrated){var B=Ci(C.pendingLanes);if(B!==0){var Q=C;for(Q.pendingLanes|=2,Q.entangledLanes|=2;B;){var oe=1<<31-Ot(B);Q.entanglements[1]|=oe,B&=~oe}uo(C),(nn&6)===0&&(Qb=Ge()+500,gm(0))}}break;case 31:case 13:Q=xu(C,2),Q!==null&&Ji(Q,C,2),ey(),kE(C,2)}if(C=TE(v),C===null&&hE(u,h,v,gy,m),C===k)break;k=C}k!==null&&v.stopPropagation()}else hE(u,h,v,null,m)}}function TE(u){return u=R_(u),AE(u)}var gy=null;function AE(u){if(gy=null,u=rh(u),u!==null){var h=s(u);if(h===null)u=null;else{var m=h.tag;if(m===13){if(u=a(h),u!==null)return u;u=null}else if(m===31){if(u=o(h),u!==null)return u;u=null}else if(m===3){if(h.stateNode.current.memoizedState.isDehydrated)return h.tag===3?h.stateNode.containerInfo:null;u=null}else h!==u&&(u=null)}}return gy=u,null}function V7(u){switch(u){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(He()){case he:return 2;case Ie:return 8;case $e:case mt:return 32;case kt:return 268435456;default:return 32}default:return 32}}var RE=!1,bc=null,yc=null,vc=null,xm=new Map,Em=new Map,wc=[],_ae="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 G7(u,h){switch(u){case"focusin":case"focusout":bc=null;break;case"dragenter":case"dragleave":yc=null;break;case"mouseover":case"mouseout":vc=null;break;case"pointerover":case"pointerout":xm.delete(h.pointerId);break;case"gotpointercapture":case"lostpointercapture":Em.delete(h.pointerId)}}function km(u,h,m,v,k,C){return u===null||u.nativeEvent!==C?(u={blockedOn:h,domEventName:m,eventSystemFlags:v,nativeEvent:C,targetContainers:[k]},h!==null&&(h=ih(h),h!==null&&H7(h)),u):(u.eventSystemFlags|=v,h=u.targetContainers,k!==null&&h.indexOf(k)===-1&&h.push(k),u)}function xae(u,h,m,v,k){switch(h){case"focusin":return bc=km(bc,u,h,m,v,k),!0;case"dragenter":return yc=km(yc,u,h,m,v,k),!0;case"mouseover":return vc=km(vc,u,h,m,v,k),!0;case"pointerover":var C=k.pointerId;return xm.set(C,km(xm.get(C)||null,u,h,m,v,k)),!0;case"gotpointercapture":return C=k.pointerId,Em.set(C,km(Em.get(C)||null,u,h,m,v,k)),!0}return!1}function q7(u){var h=rh(u.target);if(h!==null){var m=s(h);if(m!==null){if(h=m.tag,h===13){if(h=a(m),h!==null){u.blockedOn=h,aM(u.priority,function(){$7(m)});return}}else if(h===31){if(h=o(m),h!==null){u.blockedOn=h,aM(u.priority,function(){$7(m)});return}}else if(h===3&&m.stateNode.current.memoizedState.isDehydrated){u.blockedOn=m.tag===3?m.stateNode.containerInfo:null;return}}}u.blockedOn=null}function by(u){if(u.blockedOn!==null)return!1;for(var h=u.targetContainers;0<h.length;){var m=TE(u.nativeEvent);if(m===null){m=u.nativeEvent;var v=new m.constructor(m.type,m);A_=v,m.target.dispatchEvent(v),A_=null}else return h=ih(m),h!==null&&H7(h),u.blockedOn=m,!1;h.shift()}return!0}function W7(u,h,m){by(u)&&m.delete(h)}
vendor: 4,613 bytes, line 412
412function Eae(){RE=!1,bc!==null&&by(bc)&&(bc=null),yc!==null&&by(yc)&&(yc=null),vc!==null&&by(vc)&&(vc=null),xm.forEach(W7),Em.forEach(W7)}function yy(u,h){u.blockedOn===h&&(u.blockedOn=null,RE||(RE=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Eae)))}var vy=null;function K7(u){vy!==u&&(vy=u,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){vy===u&&(vy=null);for(var h=0;h<u.length;h+=3){var m=u[h],v=u[h+1],k=u[h+2];if(typeof v!="function"){if(AE(v||m)===null)continue;break}var C=ih(m);C!==null&&(u.splice(h,3),h-=3,Tx(C,{pending:!0,data:k,method:m.method,action:v},v,k))}}))}function zh(u){function h(oe){return yy(oe,u)}bc!==null&&yy(bc,u),yc!==null&&yy(yc,u),vc!==null&&yy(vc,u),xm.forEach(h),Em.forEach(h);for(var m=0;m<wc.length;m++){var v=wc[m];v.blockedOn===u&&(v.blockedOn=null)}for(;0<wc.length&&(m=wc[0],m.blockedOn===null);)q7(m),m.blockedOn===null&&wc.shift();if(m=(u.ownerDocument||u).$$reactFormReplay,m!=null)for(v=0;v<m.length;v+=3){var k=m[v],C=m[v+1],B=k[Wi]||null;if(typeof C=="function")B||K7(m);else if(B){var Q=null;if(C&&C.hasAttribute("formAction")){if(k=C,B=C[Wi]||null)Q=B.formAction;else if(AE(k)!==null)continue}else Q=B.action;typeof Q=="function"?m[v+1]=Q:(m.splice(v,3),v-=3),K7(m)}}}function Y7(){function u(C){C.canIntercept&&C.info==="react-transition"&&C.intercept({handler:function(){return new Promise(function(B){return k=B})},focusReset:"manual",scroll:"manual"})}function h(){k!==null&&(k(),k=null),v||setTimeout(m,20)}function m(){if(!v&&!navigation.transition){var C=navigation.currentEntry;C&&C.url!=null&&navigation.navigate(C.url,{state:C.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var v=!1,k=null;return navigation.addEventListener("navigate",u),navigation.addEventListener("navigatesuccess",h),navigation.addEventListener("navigateerror",h),setTimeout(m,100),function(){v=!0,navigation.removeEventListener("navigate",u),navigation.removeEventListener("navigatesuccess",h),navigation.removeEventListener("navigateerror",h),k!==null&&(k(),k=null)}}}function NE(u){this._internalRoot=u}wy.prototype.render=NE.prototype.render=function(u){var h=this._internalRoot;if(h===null)throw Error(r(409));var m=h.current,v=ks();U7(m,v,u,h,null,null)},wy.prototype.unmount=NE.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var h=u.containerInfo;U7(u.current,2,null,u,null,null),ey(),h[nh]=null}};function wy(u){this._internalRoot=u}wy.prototype.unstable_scheduleHydration=function(u){if(u){var h=S_();u={blockedOn:null,target:u,priority:h};for(var m=0;m<wc.length&&h!==0&&h<wc[m].priority;m++);wc.splice(m,0,u),m===0&&q7(u)}};var X7=e.version;if(X7!=="19.2.3")throw Error(r(527,X7,"19.2.3"));K.findDOMNode=function(u){var h=u._reactInternals;if(h===void 0)throw typeof u.render=="function"?Error(r(188)):(u=Object.keys(u).join(","),Error(r(268,u)));return u=c(h),u=u!==null?d(u):null,u=u===null?null:u.stateNode,u};var kae={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Sy=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sy.isDisabled&&Sy.supportsFiber)try{It=Sy.inject(kae),vn=Sy}catch{}}return Wm.createRoot=function(u,h){if(!i(u))throw Error(r(299));var m=!1,v="",k=r8,C=i8,B=s8;return h!=null&&(h.unstable_strictMode===!0&&(m=!0),h.identifierPrefix!==void 0&&(v=h.identifierPrefix),h.onUncaughtError!==void 0&&(k=h.onUncaughtError),h.onCaughtError!==void 0&&(C=h.onCaughtError),h.onRecoverableError!==void 0&&(B=h.onRecoverableError)),h=F7(u,1,!1,null,null,m,v,null,k,C,B,Y7),u[nh]=h.current,dE(u),new NE(h)},Wm.hydrateRoot=function(u,h,m){if(!i(u))throw Error(r(299));var v=!1,k="",C=r8,B=i8,Q=s8,oe=null;return m!=null&&(m.unstable_strictMode===!0&&(v=!0),m.identifierPrefix!==void 0&&(k=m.identifierPrefix),m.onUncaughtError!==void 0&&(C=m.onUncaughtError),m.onCaughtError!==void 0&&(B=m.onCaughtError),m.onRecoverableError!==void 0&&(Q=m.onRecoverableError),m.formState!==void 0&&(oe=m.formState)),h=F7(u,1,!0,h,m??null,v,k,oe,C,B,Q,Y7),h.context=z7(null),m=h.current,v=ks(),v=th(v),k=sc(v),k.callback=null,ac(m,k,v),m=v,h.current.lanes=m,Mn(h,m),uo(h),u[nh]=h.current,dE(u),new wy(h)},Wm.version="19.2.3",Wm}var eV;function S$e(){if(eV)return uC.exports;eV=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),uC.exports=w$e(),uC.exports}var _$e=S$e();const mie=document.getElementById("root");
412if(!mie)throw new Error("Root element not found");_$e.createRoot(mie).render(x.jsx(A.StrictMode,{children:x.jsx(b$e,{})}));export{XK as $,Vfe as A,i1 as B,sVe as C,rVe as D,Uv as E,xd as F,Cg as G,Ide as H,T$e as I,oi as J,kVe as K,q4 as L,bTe as M,yTe as N,wTe as O,Oc as P,zV as Q,Pe as R,D0 as S,vTe as T,EVe as U,CVe as V,TVe as W,W4 as X,AVe as Y,HTe as Z,hxe as _,H$e as a,RVe as a$,fxe as a0,JK as a1,ef as a2,tY as a3,Dce as a4,nY as a5,Mde as a6,Lde as a7,Fde as a8,zde as a9,C$e as aA,V$e as aB,pF as aC,G$e as aD,t5e as aE,q$e as aF,rEe as aG,iEe as aH,W$e as aI,DY as aJ,J$e as aK,X$e as aL,wde as aM,xG as aN,Ede as aO,Cde as aP,Tde as aQ,Q$e as aR,Y$e as aS,M5e as aT,B5e as aU,CLe as aV,z5e as aW,W9e as aX,Z$e as aY,K$e as aZ,Q1 as a_,Bde as aa,Ude as ab,Lce as ac,STe as ad,zce as ae,G4 as af,lp as ag,p0 as ah,$V as ai,tt as aj,V4 as ak,D4 as al,M4 as am,x$e as an,M$e as ao,jxe as ap,Hxe as aq,$xe as ar,nV as as,Tn as at,$4 as au,kce as av,Oce as aw,Rce as ax,A$e as ay,H4 as az,$$e as b,L6e as b$,NVe as b0,P$e as b1,k$e as b2,c$ as b3,Jxe as b4,eY as b5,F$e as b6,j$e as b7,IY as b8,z$e as b9,Yt as bA,Tr as bB,Je as bC,Cxe as bD,I1 as bE,D$e as bF,$R as bG,eVe as bH,Exe as bI,tGe as bJ,iS as bK,FV as bL,wxe as bM,R$e as bN,QVe as bO,sp as bP,To as bQ,Gy as bR,L$e as bS,W6e as bT,ge as bU,bA as bV,PVe as bW,rIe as bX,fIe as bY,UVe as bZ,jVe as b_,U$e as ba,NY as bb,OY as bc,Vce as bd,OV as be,xr as bf,Ny as bg,HUe as bh,eUe as bi,dUe as bj,JUe as bk,bxe as bl,cT as bm,yje as bn,kde as bo,Tje as bp,Bje as bq,Fje as br,JVe as bs,We as bt,eGe as bu,Kc as bv,$o as bw,Va as bx,Et as by,to as bz,wi as c,ps as c0,Ht as c1,da as c2,$J as c3,LVe as c4,pr as c5,st as c6,$a as c7,Q6e as c8,ni as c9,De as ca,US as cb,hIe as cc,mu as cd,WS as ce,W0 as cf,bf as cg,see as ch,Xt as ci,oa as cj,Sw as ck,MIe as cl,$Ve as cm,HVe as cn,jIe as co,FVe as cp,zVe as cq,J6e as cr,DVe as cs,gn as ct,A6e as cu,zi as d,b0 as e,TY as f,tu as g,BY as h,tVe as i,lF as j,x as k,R1 as l,Yv as m,iVe as n,E2e as o,k2e as p,Ug as q,A as r,hT as s,X2e as t,B$e as u,Zr as v,eke as w,ss as x,F2e as y,fke as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.